Files
airllm-fork-nodejs/node_modules/node-llama-cpp/dist/utils/ReplHistory.d.ts
2026-02-05 15:27:49 +08:00

10 lines
316 B
TypeScript

export declare class ReplHistory {
private readonly _filePath;
private _fileContent;
private constructor();
add(line: string): Promise<void>;
get history(): readonly string[];
private _addItemToHistory;
static load(filePath: string, saveAndLoadHistory?: boolean): Promise<ReplHistory>;
}