import type { IncomingMessage, ServerResponse } from "http"; import { Agent } from "../../agent/Agent"; type BodyReadResult = { success: true; body: unknown; } | { success: false; }; export declare function readBodyStream(req: IncomingMessage, res: ServerResponse, agent: Agent): Promise; export {};