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