/** * While an agent stage runs in this process, an error nobody caught (an * extension, a tool) would kill the pipeline without a word in its state. * The guard hands it to `onCrash`, which records the stage and exits. */ export declare class CrashGuard { private readonly onCrash; private readonly listener; constructor(onCrash: (err: unknown) => void); arm(): void; disarm(): void; }