/** * Cross-platform terminal selection utilities with arrow key navigation * Supports both Deno and Node.js runtimes */ export interface SelectOption { value: string; label: string; description?: string; } export interface PromptDisplayOptions { showMarker?: boolean; showInstructions?: boolean; showDescriptions?: boolean; clearOnCancel?: boolean; interruptOnCtrlC?: boolean; } export declare class PromptInterruptedError extends Error { name: string; } export declare function formatPrompt(question: string, showMarker?: boolean, instructions?: string): [string, string]; export declare function formatSelectOption(option: SelectOption, selected: boolean, showDescription?: boolean): string; /** * Single-select with arrow key navigation */ export declare function select(question: string, options: SelectOption[], defaultIndex?: number, display?: PromptDisplayOptions): Promise; /** * Multi-select with arrow key navigation and space to toggle */ export declare function multiSelect(question: string, options: SelectOption[], preselected?: string[]): Promise; /** * Text input with cursor editing */ export declare function textInput(question: string, defaultValue?: string, display?: PromptDisplayOptions): Promise; //# sourceMappingURL=terminal-select.d.ts.map