import { Miniflare, type RequestInit } from "miniflare";
import type { IncomingMessage, ServerResponse } from "node:http";
type MiniflareResponse = Awaited<ReturnType<typeof Miniflare.prototype.dispatchFetch>>;
export declare const nodeToWebRequest: (req: IncomingMessage) => Request & RequestInit;
export declare const webToNodeResponse: (webResponse: Response | MiniflareResponse, nodeResponse: ServerResponse) => Promise<void>;
export {};
