import blessed from 'blessed'; import { Widget } from '../widget'; export type PromptOptions = { boxElement?: blessed.Widgets.BoxOptions; formElement?: blessed.Widgets.FormOptions; textareaElement?: blessed.Widgets.TextareaOptions; } & blessed.Widgets.ElementOptions; export interface PromptFormData { value: string; } export declare class Prompt extends Widget { readonly formElement: blessed.Widgets.FormElement; readonly boxElement: blessed.Widgets.BoxElement; readonly textareaElement: blessed.Widgets.TextareaElement; getElements(): blessed.Widgets.BlessedElement[]; getRootElements(): blessed.Widgets.BlessedElement[]; constructor(options?: PromptOptions); setContent(content: string): void; read(): Promise; }