/// <reference types="node" />
import '../../node-polyfill-fetch';
import type { IncomingMessage } from 'http';
import type { Writable, Readable } from 'stream';
export declare const invokeRequest: (targetUrl: string, requestInit: {
    headers: IncomingMessage['headers'];
    method: IncomingMessage['method'];
}, readableBody?: Readable | ReadableStream) => Promise<Response>;
export declare function pipeReadable(readable: ReadableStream, writable: Writable): Promise<void>;
