import { HttpRequest, HttpResponse } from "./protocol-http/index.js"; export interface NodeFetchHandlerOptions { requestTimeout?: number; keepAlive?: boolean; } export declare class NodeFetchHandler { private config; constructor(options?: NodeFetchHandlerOptions); handle(request: HttpRequest): Promise<{ response: HttpResponse; }>; private buildUrl; private serializeBody; private getTransformedHeadersFromFetch; } export declare const collectFetchBodyString: (streamBody: any) => Promise; export declare const destroyFetchStream: (stream: ReadableStream | null) => Promise;