export declare function recordProcessDiagnostic(event: string, detail: unknown): void; /** Independent of SQLite and async logger transports; safe to use during process failure. */ export declare function createProcessDiagnosticWriter(path: string): (event: string, detail: unknown) => void; /** Observe fatal exceptions without resuming execution in an unknown process state. */ export declare function installProcessDiagnostics(path: string): () => void;