import type React from 'react'; export interface SlashConfirmPanelProps { question: string; defaultYes: boolean; } export interface SlashConfirmationKey { escape?: boolean | undefined; return?: boolean | undefined; } /** Resolve a generic confirmation key; null means keep waiting. */ export declare function slashConfirmationDecision(input: string, key: SlashConfirmationKey, defaultYes: boolean): boolean | null | 'cancel'; /** Visible modal used by slash commands that previously prompted via readline. */ export declare function SlashConfirmPanel({ question, defaultYes, }: SlashConfirmPanelProps): React.ReactElement; //# sourceMappingURL=slash-confirm-panel.d.ts.map