export interface AuditEntry { timestamp: string; session_id: string; event: string; tool?: string; args?: Record; result?: string; error?: string; [key: string]: any; } export declare class AuditLogger { private logPath; private sessionId; private enabled; constructor(gitagentDir: string, sessionId: string, enabled: boolean); log(event: string, data?: Partial): Promise; logToolUse(tool: string, args: Record): Promise; logToolResult(tool: string, result: string): Promise; logResponse(): Promise; logError(error: string): Promise; logSessionStart(): Promise; logSessionEnd(): Promise; } /** * Check if audit logging is enabled via compliance config. */ export declare function isAuditEnabled(compliance?: Record): boolean;