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