/** * MultilineInput - wraps pi-tui's Editor to provide multiline text input * with the same interface as the single-line Input component. * * Supports: * - Enter to submit * - Shift+Enter for new line * - \\+Enter for new line (pi-tui convention) * - Text wrapping and scrolling */ import type { EditorTheme, TUI } from '@mariozechner/pi-tui'; export declare class MultilineInput { private editor; private _focused; onSubmit?: (value: string) => void; onEscape?: () => void; allowEmptySubmit: boolean; get focused(): boolean; set focused(value: boolean); constructor(tui: TUI, editorTheme: EditorTheme); getText(): string; setText(text: string): void; handleInput(data: string): void; invalidate(): void; /** * Render the editor content, stripping the Editor's own border chrome * so it can be embedded inside an existing bordered box. */ render(width: number): string[]; } //# sourceMappingURL=multiline-input.d.ts.map