import { type DrainableTui } from './tui-lifecycle.js'; type StartableTui = DrainableTui & { start: () => void; }; /** * Pause the TUI (drain stdin + stop), run async work with a normal terminal, then restart. * Caller should refocus the editor after `start()` if needed. */ export declare function withTuiSuspended(tui: StartableTui, work: () => Promise): Promise; export {};