import { AxiosRequestConfig, AxiosResponse } from 'axios'; interface DefaultsType { baseURL: string; timeout: number; auth?: { username: string; password: string; }; } export declare class Http { private authenticate?; private defaults; constructor(authenticate: (() => Promise) | undefined, defaults: DefaultsType); get, D = any>(path: string, config?: AxiosRequestConfig): Promise; post, D = any>(path: string, data?: D, config?: AxiosRequestConfig): Promise; delete, D = any>(path: string, config?: AxiosRequestConfig): Promise; private buildConfig; } export {};