import type { TerminalCompositor } from '../../terminal-compositor.js'; import type { TurnState } from './repl-loop-shared.js'; export type InterruptChoice = 'stop' | 'cancel' | 'dismissed'; export interface InterruptPickerOptions { compositor: TerminalCompositor; signal: AbortSignal; onStop: () => void; onCancel: () => void; } export declare function showInterruptPicker(opts: InterruptPickerOptions): Promise; export interface LaunchInterruptPickerOptions { compositor: TerminalCompositor; turnState: TurnState; onStop: () => void; onCancel: () => void; } export declare function launchInterruptPicker(opts: LaunchInterruptPickerOptions): void;