UNPKG

634 BTypeScriptView Raw
1import { NormalizedCache, NormalizedCacheObject, StoreObject } from './types';
2export declare class DepTrackingCache implements NormalizedCache {
3 private data;
4 private depend;
5 constructor(data?: NormalizedCacheObject);
6 toObject(): NormalizedCacheObject;
7 get(dataId: string): StoreObject;
8 set(dataId: string, value?: StoreObject): void;
9 delete(dataId: string): void;
10 clear(): void;
11 replace(newData: NormalizedCacheObject | null): void;
12}
13export declare function defaultNormalizedCacheFactory(seed?: NormalizedCacheObject): NormalizedCache;
14//# sourceMappingURL=depTrackingCache.d.ts.map
\No newline at end of file