import type React from 'react'; export interface ClearConfirmPanelProps { leaderActive: boolean; subagentCount: number; value: string; } export interface ClearConfirmationKey { escape?: boolean | undefined; return?: boolean | undefined; backspace?: boolean | undefined; delete?: boolean | undefined; ctrl?: boolean | undefined; meta?: boolean | undefined; } export type ClearConfirmationKeyResult = { decision: true | false; value: string; } | { decision: null; value: string; }; /** Exact token accepted by the destructive clear confirmation. */ export declare function isClearConfirmation(value: string): boolean; /** * Deterministic keyboard state machine shared by the App input router and * regression tests. An invalid Enter is deliberately a no-op: the panel stays * open and keeps the typed value visible. */ export declare function clearConfirmationKeyResult(value: string, input: string, key: ClearConfirmationKey): ClearConfirmationKeyResult; /** * Modal confirmation for `/clear` while work is active. The typed value is * rendered inside the panel so keystrokes can never appear to disappear. */ export declare function ClearConfirmPanel({ leaderActive, subagentCount, value, }: ClearConfirmPanelProps): React.ReactElement; //# sourceMappingURL=clear-confirm-panel.d.ts.map