This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/@mariozechner/pi-tui/dist/components/input.d.ts
T

24 lines
751 B
TypeScript

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;
getValue(): string;
setValue(value: string): void;
handleInput(data: string): void;
private deleteWordBackwards;
private moveWordBackwards;
private moveWordForwards;
private handlePaste;
invalidate(): void;
render(width: number): string[];
}
//# sourceMappingURL=input.d.ts.map