export declare class ChatInputHandler {
    private history;
    private historyIndex;
    private inputBuffer;
    private cursorPosition;
    private savedCurrentInput;
    private isRawMode;
    constructor(history?: string[]);
    private enableRawMode;
    private disableRawMode;
    private renderInputLine;
    private parseAnsiSequence;
    private handleKeyPress;
    private handleSpecialKey;
    private insertCharacter;
    private handleBackspace;
    private handleEnter;
    private navigateHistory;
    private restoreCurrentInput;
    private clearInput;
    private resetHistoryNavigation;
    promptForInput(): Promise<string>;
    updateHistory(newHistory: string[]): void;
    close(): void;
}
//# sourceMappingURL=chat-input-handler.d.ts.map