import { type IncomingMessage, type ServerResponse } from 'node:http';
import { type ApiRequest, type ApiResponse } from '../api-handler/request-response';
export declare function requestHeaders(headers: IncomingMessage['headers']): Headers;
export declare function toApiRequest(req: IncomingMessage & {
    body: any;
}): ApiRequest;
export declare function pipeResponseTo(apiResponse: ApiResponse, res: ServerResponse): Promise<void>;
//# sourceMappingURL=node-request-response.d.ts.map