export declare class CommandHistory { private history; private currentIndex; private maxSize; private historyFile; private tempCommand; constructor(maxSize?: number, historyFile?: string); private loadHistory; saveHistory(): Promise; add(command: string): void; getPrevious(currentInput?: string): string | undefined; getNext(): string | undefined; resetPosition(): void; getAll(): string[]; clear(): void; search(query: string): string[]; } //# sourceMappingURL=history.d.ts.map