import { RequestInit } from "node-fetch"; import { HttpClientInitOpts, RequestInterceptor, ResponseTransformer } from "./types"; declare class HttpClient { readonly baseUrl: string; readonly baseHeaders: Record; readonly baseOptions: Omit; readonly useJson: boolean; protected transformResponse: ResponseTransformer; protected willSendRequest?: RequestInterceptor; constructor({ baseUrl, baseHeaders, baseOptions, json }: HttpClientInitOpts); get: (url: string, req?: RequestInit) => Promise; post: (url: string, body?: any, req?: RequestInit) => Promise; put: (url: string, body?: any, req?: RequestInit) => Promise; patch: (url: string, body?: any, req?: RequestInit) => Promise; delete: (url: string, req?: RequestInit) => Promise; private buildRequestArgs; } export default HttpClient; //# sourceMappingURL=httpClient.d.ts.map