import type { IHistoryManager } from './IHistoryManager'; import type { IStorageAdapter } from './IStorageAdapter'; /** * Default history manager implementation */ export declare class DefaultHistoryManager implements IHistoryManager { private history; private position; private storageKey; private storage; private maxSize; constructor(storage: IStorageAdapter, storageKey?: string, maxSize?: number); add(command: string): void; get(index: number): string | undefined; getPrevious(): string | undefined; getNext(): string | undefined; getAll(): string[]; search(query: string): string[]; clear(): void; persist(): Promise; load(): Promise; getPosition(): number; resetPosition(): void; } //# sourceMappingURL=DefaultHistoryManager.d.ts.map