import type { AuditEntry } from "./types.js"; export declare class AuditLog { private readonly logs; /** Maximum number of thread IDs retained before the oldest is evicted. */ private readonly maxThreadIds; constructor(maxThreadIds?: number); record(threadId: string, entry: AuditEntry): void; getLog(threadId: string): AuditEntry[]; getByAgent(threadId: string, agent: string): AuditEntry[]; getByAction(threadId: string, action: AuditEntry["action"]): AuditEntry[]; clear(threadId: string): void; clearAll(): void; toJSON(threadId: string): string; fromJSON(threadId: string, json: string): void; } //# sourceMappingURL=audit.d.ts.map