export declare function getLogPath(): string; export declare function auditLog(event: string, payload?: unknown): Promise; export declare function clearAuditLogs(): Promise<{ removed: number; }>; export declare function getLogsDir(): string; export declare function clearArtifacts(): Promise<{ removed: number; }>; /** Export local, metadata-only diagnostics. User prompts, project code, commands, and tool output are excluded by default. */ export declare function exportDiagnostics(destination: string): Promise<{ path: string; events: number; }>;