import React from 'react'; import type { Key } from 'ink'; export interface ConfirmationOption { label: string; value: string; color?: string; } interface ConfirmationProps { title?: React.ReactNode; message?: React.ReactNode; options: ConfirmationOption[]; onSelect: (value: string) => void; initialIndex?: number; indicatorColor?: string; hint?: React.ReactNode; onCancel?: () => void; onEscape?: () => void; onCustomInput?: (input: string, key: Key) => boolean; } /** * Reusable confirmation component with SelectInput UI pattern */ declare const Confirmation: React.FC; export default Confirmation; interface SimpleConfirmationProps { message: string | React.ReactNode; onConfirm: () => void; onCancel: () => void; confirmText?: string; cancelText?: string; confirmColor?: string; cancelColor?: string; } export declare const SimpleConfirmation: React.FC;