ai-persona-hub
Version:
AI Profile CLI - Create custom AI profiles run against dynamic LLM providers
26 lines • 764 B
TypeScript
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