import { Readable } from "node:stream"; export interface FetchRequestConfig { headers?: Record; } interface httpFetchClientConfig { baseURL: string; defaultHeaders: Record; } export declare function convertResponseToReadable(response: Response): Readable; export default class HTTPFetchClient { private readonly baseURL; private readonly defaultHeaders; constructor(config: httpFetchClientConfig); get(url: string, params?: any): Promise; post(url: string, body?: any, config?: Partial): Promise; 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; postBinaryContent(url: string, body: Blob): Promise; delete(url: string, params?: any): Promise; private checkResponseStatus; } export {}; //# sourceMappingURL=http-fetch.d.ts.map