/** * Modal overlay component * Renders a box with content on top of existing screen */ import { Screen } from '../Screen'; import { BoxStyle } from './Box'; export interface ModalOptions { title: string; content: string[]; width?: number; height?: number; boxStyle?: BoxStyle; borderColor?: string; titleColor?: string; contentColor?: string; centered?: boolean; x?: number; y?: number; } export interface ModalAction { key: string; label: string; action: () => void; } /** * Render a modal on the screen */ export declare function renderModal(screen: Screen, options: ModalOptions): void; /** * Render a help/info modal with key bindings */ export declare function renderHelpModal(screen: Screen, title: string, items: Array<{ key: string; description: string; }>, footer?: string): void; /** * Render a confirmation modal with Yes/No options */ export declare function renderConfirmModal(screen: Screen, title: string, message: string[], selectedOption: 'yes' | 'no', confirmLabel?: string, cancelLabel?: string): void; /** * Render a list selection modal */ export declare function renderListModal(screen: Screen, title: string, items: string[], selectedIndex: number, footer?: string): void;