@bestdefense/bd-agent
Version:
An AI-powered coding assistant CLI that connects to AWS Bedrock
18 lines • 555 B
TypeScript
export declare class HistoryManager {
private historyFile;
private history;
private currentIndex;
private maxHistorySize;
private tempInput;
constructor();
private loadHistory;
private saveHistory;
addToHistory(command: string): void;
getPreviousCommand(currentInput: string): string | null;
getNextCommand(): string | null;
resetPosition(): void;
getHistory(limit?: number): string[];
clearHistory(): void;
searchHistory(query: string): string[];
}
//# sourceMappingURL=history-manager.d.ts.map