export declare const MAX_AUDIT_LINES = 5000; /** Rotate by keeping only the tail (append-mostly; never edits in place). */ export declare function trimAuditTail(content: string, maxLines?: number): string; export declare function appendAuditLine(line: string): void; /** Durable tombstone so a UI "clear history" leaves a recoverable trail. */ export declare function recordAuditClear(cleared: number, at?: number): void; export declare function auditFilePath(): string;