type HeaderMap = Readonly<Record<string, string>>;
export declare function requestBytes(params: Readonly<{
    url: string;
    headers?: HeaderMap;
    timeoutMs?: number;
}>): Promise<Buffer>;
export declare function requestText(params: Readonly<{
    url: string;
    headers?: HeaderMap;
    timeoutMs?: number;
}>): Promise<string>;
export declare function requestJson<T>(params: Readonly<{
    url: string;
    headers?: HeaderMap;
    timeoutMs?: number;
}>): Promise<T>;
export {};
//# sourceMappingURL=http.d.ts.map