interface Dict { [key: string]: T; } declare class Cacher { private cache; constructor(cache: Dict); define(key: string, val: T): void; get(key: string): T; remove(key: string): void; reset(): void; load(cacheObj: Dict): void; } export { Cacher };