import { AxiosResponse, AxiosRequestConfig } from "axios"; export interface HttpInstanceParam { baseURL: string; } export interface AxiosOpt { method?: string; url?: any; responseType?: any; data?: {}; formData?: any; timeout?: number; [x: string]: any; } export declare class HttpInstance { baseURL: string; constructor(param: HttpInstanceParam); private init; protected convertRequest(config: AxiosRequestConfig): AxiosRequestConfig; protected convertResponse(config: AxiosResponse): AxiosResponse; create(opts: AxiosOpt): Promise; handleSuccess(response: AxiosResponse, resolve: { (value?: unknown): void; (arg0: any): void; }, opts: AxiosOpt): void; handleError(error: any, reject: { (reason?: any): void; (arg0: any): void; }, opts: AxiosOpt): void; } //# sourceMappingURL=axios.d.ts.map