/** * KeyboardSystem.ts * * Handles virtual keyboard interactions. * Listens for UI events and updates TextInput components. */ import { HSPlusRuntime } from '@holoscript/core'; /** Extended runtime interface for keyboard-specific methods */ interface KeyboardRuntime extends HSPlusRuntime { findInstanceById(id: string): { node: { id: string; type: string; properties: Record; }; children?: Array<{ node: { id: string; type: string; properties: Record; }; }>; } | null; updateNodeProperty(id: string, key: string, value: unknown): void; } export declare class KeyboardSystem { private runtime; private focusedInputId; private cursorIndex; private static readonly CHAR_WIDTH; private static readonly START_X; constructor(runtime: KeyboardRuntime); private setupListeners; handleEvent(event: string, payload: any): void; private handleKeyPress; private insertAtCursor; private getText; private updateInputState; private setCursorVisible; private updateCursorVisuals; } export {}; //# sourceMappingURL=KeyboardSystem.d.ts.map