/// import type { IncomingMessage, ServerResponse } from "http"; import type { Http2ServerResponse } from "http2"; interface NodeRequest { protocol?: string; hostname?: string; body?: any; url?: string; method?: string; headers: any; req?: IncomingMessage; raw?: IncomingMessage; } export declare function getNodeRequest(nodeRequest: NodeRequest): Promise; export declare type ServerResponseOrHttp2ServerResponse = ServerResponse | Http2ServerResponse; export declare function sendNodeResponse(responseResult: Response, serverResponseOrHttp2Response: ServerResponseOrHttp2ServerResponse): Promise; export {};