import type { DaemonSentry } from "./sentry.js"; /** Fatal errors still terminate with status 1; wait only a bounded interval for the error envelope. */ export declare function installDaemonErrorReporting(sentry: Pick, options?: { events?: Pick; beforeExit?: () => void; log?: (operation: string, cause: unknown) => void; exit?: (code: number) => void; }): () => void;