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