import type { AuditSourceInput } from './feedback-audit-source.mts'; export type AuditCaps = { ciBytes: number; sandboxBytes: number; }; type AuditInput = AuditSourceInput & { knownSensitiveValues?: string[] | undefined; }; /** Rendering attempts: measured shrinks, then every audit group omitted. */ export declare const AUDIT_ATTEMPTS = 5; export declare const UNBOUNDED_CAPS: AuditCaps; /** * Caps for the next attempt after an overflow, scaled by how much of the rendered audit markdown * (`auditBytes`) must go. The last attempt allows nothing, leaving only omission notes. */ export declare function shrinkCaps(caps: AuditCaps, auditBytes: number, overflowBytes: number, last: boolean): AuditCaps; /** * Audit source with redaction applied to raw field text (escaping first would defeat matching) and * byte caps. A caller-supplied redactor runs first, then the built-in one; caller-supplied caps * can only lower the computed ones. */ export declare function boundedAuditSource(input: AuditInput, caps: AuditCaps): AuditSourceInput; export {};