import type { Director } from '@wrongstack/core/coordination'; import { type Dispatch, type MutableRefObject } from 'react'; import type { AppProps } from '../app-props.js'; import type { Action } from '../app-action-type.js'; import type { State } from '../app-state.js'; interface InterruptLadderOptions { stateRef: MutableRefObject; exitRequestedRef: MutableRefObject; agent: AppProps['agent']; liveDirector: () => Director | null | undefined; onExit: AppProps['onExit']; exit: () => void; dispatch: Dispatch; activeCtrlRef: MutableRefObject; clearPendingConfirms: () => void; getEternalEngine: AppProps['getEternalEngine']; getParallelEngine: AppProps['getParallelEngine']; eternalLoopRunningRef: MutableRefObject; parallelLoopRunningRef: MutableRefObject; switchAutonomy: AppProps['switchAutonomy']; getSddRun: AppProps['getSddRun']; confirmExitRef: MutableRefObject; } /** Implements the synchronous three-stage Ctrl+C/SIGINT escalation ladder. */ export declare function useInterruptLadder({ stateRef, exitRequestedRef, agent, liveDirector, onExit, exit, dispatch, activeCtrlRef, clearPendingConfirms, getEternalEngine, getParallelEngine, eternalLoopRunningRef, parallelLoopRunningRef, switchAutonomy, getSddRun, confirmExitRef, }: InterruptLadderOptions): { interruptsSyncRef: MutableRefObject; runInterruptLadder: () => void; }; export {}; //# sourceMappingURL=use-interrupt-ladder.d.ts.map