import { AxiosResponse, AxiosRequestConfig } from "axios"; import { Readable } from "node:stream"; interface httpClientConfig extends Partial { baseURL?: string; defaultHeaders?: any; responseParser?: (res: AxiosResponse) => T; } export default class HTTPClient { private instance; private readonly config; constructor(config?: httpClientConfig); get(url: string, params?: any): Promise; getStream(url: string, params?: any): Promise; post(url: string, body?: any, config?: Partial): Promise; private responseParse; put(url: string, body?: any, config?: Partial): Promise; postForm(url: string, body?: any): Promise; postFormMultipart(url: string, form: FormData): Promise; putFormMultipart(url: string, form: FormData, config?: Partial): Promise; toBuffer(data: Buffer | Readable): Promise; postBinary(url: string, data: Buffer | Readable, contentType?: string): Promise; postBinaryContent(url: string, body: Blob): Promise; delete(url: string, params?: any): Promise; private wrapError; } export {}; //# sourceMappingURL=http-axios.d.ts.map