export declare const commandLedgerPath: () => string; /** The exit handler: the only end-record writer in production. Fires on * natural exit, on `process.exit` (including the crash tier's exit 4), and * on signal-induced exits - never on SIGKILL, which is exactly the * start-without-end trace. */ export declare const recordExit: (code: number) => void; /** Append the start line before work. `command` is the subcommand name, or * "hcn" for a bare invocation. Also installs the exit handler that will * write this invocation's end line. */ export declare const beginCommandRecord: (command: string | undefined) => void; /** The crash tier marks the pending record before the process exits; the * exit handler turns it into a `crashed: true` end line. */ export declare const markCrashed: (message: string) => void; //# sourceMappingURL=ledger.d.ts.map