/** * [WHO]: Input * [FROM]: Depends on ../keybindings.js, ../kill-ring.js, ../tui.js, ../undo-stack.js, ../utils.js * [TO]: Consumed by core/lib/tui/src/index.ts * [HERE]: core/lib/tui/src/components/input.ts - */ import { type Component, type Focusable } from "../tui.js"; /** * Input component - single-line text input with horizontal scrolling */ export declare class Input implements Component, Focusable { private value; private cursor; onSubmit?: (value: string) => void; onEscape?: () => void; /** Focusable interface - set by TUI when focus changes */ focused: boolean; private pasteBuffer; private isInPaste; private killRing; private lastAction; private undoStack; getValue(): string; setValue(value: string): void; handleInput(data: string): void; private insertCharacter; private handleBackspace; private handleForwardDelete; private deleteToLineStart; private deleteToLineEnd; private deleteWordBackwards; private deleteWordForward; private yank; private yankPop; private pushUndo; private undo; private moveWordBackwards; private moveWordForwards; private handlePaste; invalidate(): void; render(width: number): string[]; }