// Public privacy / retention / audit types for the Local Knowledge Connector (Epic #189,
// Issue #201). Kept type-only so importing this module costs nothing at runtime. The audit
// event union deliberately carries ONLY metadata (ids, counts, error codes) — no
// `excerpt`, `message`, or `text` field that could leak raw extracted content into the
// audit ledger. Diagnostic-shaped strings (parser errors) flow through `redactDiagnosticMessage`
// in `./diagnostic-redactor.ts` BEFORE they reach a `parser_diagnostics` row; they are
// intentionally not part of `CapsuleAuditEvent`.
//
// `CapsuleRetentionPolicy` uses optional `readonly` fields so `undefined` (or the absence
// of the field) means "retain indefinitely". This is enforced by `applyRetentionToCapsule`:
// a missing field skips the corresponding DELETE entirely.
export {};
