import type { Prompter } from "./prompter.js"; import type { SelectOption } from "./ask.js"; export interface EditableSelectQuestion { key: string; message: string; options: readonly SelectOption[]; recommended?: T; required?: boolean; editable: { key: string; value: T; label: string; recommended: string; validate?: (raw: string) => string | null; }; } export interface EditableSelectAnswer { value: T; text?: string; } /** Renders the specialized one-row editable select through a terminal prompter. */ export declare function renderEditableQuestion(prompter: Prompter, question: EditableSelectQuestion): Promise>;