import type { Check } from '../types.js'; /** * FEAT-498: `captureActive` is the same enablement signal * `checkProxyCapture`/`checkAutoCapture` (proxy-capture.ts, auto-capture.ts) * read — `autoCaptureEnabled || (proxyEnabled && proxyCaptureEnabled)` — * computed once by the caller (`checks/index.ts`) and passed in, rather than * this check re-deriving it from raw config, so the "what counts as active * capture" definition lives in exactly one place. * * Zero fires over the trailing 7d is ambiguous on its own: it could mean * "genuinely no secrets appeared" (the common, healthy case) or "a detector * gap is letting real secrets through unredacted" — indistinguishable from * inside this check alone. `captureActive` is what turns "zero" from * unremarkable into worth a look: zero fires while nothing is being * captured is expected (there is no traffic for a detector to fire on), so * that case stays `ok: true` exactly as before this FEAT. Zero fires WHILE * capture is actively ingesting real transcripts over a full week is the * suspicious case — this is the same "measure the rate, not just * existence" discipline ADR-015 established for the entity-extraction and * auto-capture canaries (né #200/#217). */ export declare function checkRedaction(dataDir: string, enabled: boolean, encryptionEnabled: boolean, captureActive?: boolean): Check;