import { Response } from 'node-fetch'; import { Transport } from '../Transport/Transport'; import FormData from 'form-data'; import { ClientConfig } from "../interfaces/ClientConfig"; export declare class HttpClient extends Transport { private proxyAgent; protected cfg: ClientConfig; constructor(cfg?: ClientConfig); private init; get(url: string): Promise; post(url: string, body: any): Promise; delete(url: string): Promise; put(url: string, body: FormData): Promise; protected handleError(error: unknown, context: string): Error; protected hostURL(): string; }