///
///
///
///
///
///
import * as http from 'http';
import * as https from 'https';
type HeaderMap = Record;
type RequestUrl = string | URL;
export interface IHttpTransportOptions {
method?: string;
headers?: HeaderMap;
body?: unknown;
agent?: http.Agent | https.Agent;
}
export interface IBufferedResponse {
status: number;
headers: HeaderMap;
text(): Promise;
binary(): Promise;
}
export declare function sendFetchRequest(url: RequestUrl, options: IHttpTransportOptions): Promise;
export declare function sendBufferedRequest(url: RequestUrl, options: IHttpTransportOptions): Promise;
export {};