/** * InputManager - handles command input and history navigation */ export interface InputManagerConfig { /** Command input element */ commandInput: HTMLInputElement | null; /** Callback to execute a command */ onCommand: (command: string) => Promise; /** Check if dialog is open (to prevent input) */ isDialogOpen: () => boolean; } export declare class InputManager { private commandInput; private onCommand; private isDialogOpen; private commandHistory; private historyIndex; constructor(config: InputManagerConfig); /** * Set up input event handlers */ setupHandlers(): void; /** * Handle command submission */ private handleSubmit; /** * Navigate command history */ navigateHistory(direction: number): void; /** * Clear the input field */ clearInput(): void; /** * Focus the input field */ focus(): void; /** * Disable the input field */ disable(): void; /** * Enable the input field */ enable(): void; /** * Set the command prompt text displayed before the input field */ setPrompt(text: string): void; /** * Get the command history */ getHistory(): string[]; } //# sourceMappingURL=InputManager.d.ts.map