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