Repository URL to install this package:
|
Version:
8.0.13 ▾
|
import { KeyValueCacheType } from './typings';
export declare function fromCacheKeyToFileName(key: string): string;
export declare class FileSystemJsonKeyValueCache implements KeyValueCacheType {
store: Map<string, string>;
rehydrate(): Promise<void>;
get(key: string): Promise<string | undefined>;
/**
* @todo debounce?
*/
set(key: string, value: string, options?: {
ttl?: number;
}): Promise<void>;
clear(shouldDeleteFiles?: boolean): Promise<void>;
}