import { AxiosResponse } from 'axios' ; typeparam typeparam internal export type ParametersType < ApiT , FnT extends keyof ApiT > = ApiT [ FnT ] extends ( ... args : any ) => any ? Parameters < ApiT [ FnT ] > : never ; typeparam typeparam internal export type FunctionReturnType < ApiT , FnT extends keyof ApiT > = ApiT [ FnT ] extends ( ... args : any ) => any ? UnPromisify < ReturnType < ApiT [ FnT ] > > : never ; internal export type UnwrapAxiosResponse < T > = T extends AxiosResponse < infer U > ? U : T ; typeparam internal export type UnPromisify < T > = T extends Promise < infer U > ? U : T ; typeparam internal export type ConstructorType < T > = new ( ... args ) => T ;