/** * Minimum spacing between botmux-generated Ctrl+C writes. * * Oh My Pi treats two Ctrl+C events within 500 ms as an exit gesture. Keep a * small margin so backend recovery and adapter cleanup cannot accidentally * terminate the CLI when consecutive transport failures happen quickly. */ export declare const TERMINAL_CANCEL_COOLDOWN_MS = 550; export type CriticalInterruptKey = 'ctrlc' | 'esc'; export declare function isCriticalInterruptKey(key: string): key is CriticalInterruptKey; /** * Deliver an interrupt-class terminal key with one bounded retry. * * Duplicate C-c / Escape is safer than silently claiming a stopped CLI while * an ambiguous transport keeps it running. Other navigation keys deliberately * stay outside this helper and retain best-effort semantics. */ export declare function sendCriticalControlKey(key: CriticalInterruptKey, sendOnce: () => void | boolean, wait?: (ms: number) => Promise): Promise; //# sourceMappingURL=critical-control-key.d.ts.map