export declare function flushHistoryWrites(): Promise; export declare class ReplHistory { private _entries; private _index; private _draft; constructor(entries: string[]); get length(): number; getEntries(): readonly string[]; push(text: string): void; back(currentDraft: string): string | null; forward(): string | null; resetRecall(): void; get inRecall(): boolean; removeAt(idx: number): boolean; clear(): void; } export declare function loadHistory(): Promise;