export type AuditEvidenceLevel = "required" | "diagnostic"; export type AuditEventType = "tool_call" | "workflow_transition" | "review_result" | "policy_sync" | "approval" | "session" | "security_scan"; export type AuditEntry = { timestamp: string; tool: string; input: Record; result_count: number; entities_returned: string[]; rules_applied: string[]; duration_ms: number; status?: "success" | "error"; error?: string; event_type?: AuditEventType; evidence_level?: AuditEvidenceLevel; resource_type?: string; resource_id?: string; repo?: string; instance_id?: string; session_id?: string; metadata?: Record; }; type AuditWriterOptions = { onEntry?: (entry: AuditEntry) => void; }; export declare class AuditWriter { private readonly auditDir; private readonly onEntry; private initialized; constructor(contextDir: string, options?: AuditWriterOptions); log(entry: AuditEntry): void; private writeAsync; } export {}; //# sourceMappingURL=writer.d.ts.map