export type RawStreamCapture = {
    totalBytes: number;
    text: string;
    truncated: boolean;
};
export type RawStreamCaptureResult = {
    stream: TransformStream<Uint8Array, Uint8Array>;
    capture: Promise<RawStreamCapture>;
};
export declare function createRawStreamCapture(): RawStreamCaptureResult;
