/// interface OutgoingHttpHeaders { [header: string]: number | string | string[] | undefined; } export interface HttpOptions { body?: any; auth?: string; baseUrl?: string; headers?: OutgoingHttpHeaders; throwHttpErrors?: boolean; useCache?: boolean; } export interface HttpPostOptions extends HttpOptions { body: unknown; } export interface HttpResponse { body: T; headers: any; } export declare class Http { private hostType; private options?; constructor(hostType: string, options?: HttpOptions); private request; get(url: string, options?: HttpOptions): Promise; private requestJson; getJson(url: string, options?: HttpOptions): Promise>; postJson(url: string, options: HttpPostOptions): Promise>; putJson(url: string, options: HttpPostOptions): Promise>; patchJson(url: string, options: HttpPostOptions): Promise>; deleteJson(url: string, options: HttpPostOptions): Promise>; headJson(url: string, options: HttpPostOptions): Promise>; stream(url: string, options?: HttpOptions): NodeJS.ReadableStream; } export {};