import type React from 'react'; export interface ExitConfirmPanelProps { leaderActive: boolean; subagentCount: number; backgroundCount?: number | undefined; } export interface ExitConfirmationKey { escape?: boolean | undefined; return?: boolean | undefined; } export type ExitConfirmationDecision = true | false | null; /** * Deterministic keyboard state machine shared by the App input router and * regression tests. Returning `null` means "keep waiting" — the panel * stays open with no decision committed yet. * * `/exit` requires an explicit acknowledgement while any work is in flight, * so any printable key is ignored. Pressing Enter confirms, pressing Esc * cancels. This mirrors the `/clear` invariant: never tear down in-flight * work without an affirmative keystroke. */ export declare function exitConfirmationDecision(input: string, key: ExitConfirmationKey): ExitConfirmationDecision; /** * Modal confirmation for `/exit` while work is active. The panel makes the * active fleet obvious so the user understands what `/exit` would tear down * before they press Enter. */ export declare function ExitConfirmPanel({ leaderActive, subagentCount, backgroundCount, }: ExitConfirmPanelProps): React.ReactElement; //# sourceMappingURL=exit-confirm-panel.d.ts.map