import type { ProxyBodyCaptureInput, ServerContext } from "../types/index.js";
/** Capture serialized client output and explicitly labelled SDK observations.
 * This observer never reads a stream or creates a second consumer. */
export declare function createProxyRouteBodyCapture(ctx: ServerContext, model: string, stream: boolean, startedAt: number): {
    log: (capture: ProxyBodyCaptureInput) => void;
    request(): void;
    json(body: unknown, responseStatus: number): void;
    accumulator(phase: string, contentType: string, attempt?: number): {
        append: (value: Uint8Array) => void;
        appendEvent(value: unknown): void;
        finish(responseStatus: number): void;
    };
};
