import type { ProcessedProxyBodyCapture, ProxyBodyCaptureEntry, ProxyBodyCaptureWorkerSnapshot } from "../types/index.js";
export declare const PROXY_BODY_CAPTURE_DEADLINE_MS = 20000;
/** Bounded bulk capture. Failures are indexed; never fall back to blocking work. */
export declare function captureProxyBody(entry: ProxyBodyCaptureEntry, logDir: string | null, consume: (result: ProcessedProxyBodyCapture) => Promise<void>): Promise<void>;
/**
 * Return independent counters for processing, rejection, failure, and
 * retained publication work.
 */
export declare function getBodyCaptureWorkerSnapshot(): ProxyBodyCaptureWorkerSnapshot;
/** Isolated tests point at a separately executed built worker. */
export declare const __bodyCaptureWorkerTestHooks: {
    /**
     * Reset an isolated worker after capture publications drain, optionally selecting a fixture entry.
     */
    reset(url?: URL): Promise<void>;
};
