1 | export declare class Cached {
|
2 | private tmpFile;
|
3 | private reader;
|
4 | private writer;
|
5 | data: Array<string>;
|
6 | limit: number;
|
7 | constructor(uri: string, history: boolean | 'clean');
|
8 | clean(): void;
|
9 | load(): Promise<void>;
|
10 | push(cmd: string): Promise<void>;
|
11 | save(): Promise<void>;
|
12 | }
|