import CacheBaseStore from './CacheBaseStore'; declare class LocalPageCacheStore { pages: Map; pageKeys: Map>; setItem(pageKey: string, data: any, that: CacheBaseStore): void; mergeSetItem(pageKey: string, data: any, that: CacheBaseStore): void; getItem(pageKey: string, that: CacheBaseStore): any; removeItem(pageKey: string, that: CacheBaseStore): void; has(pageKey: string | RegExp, that: CacheBaseStore): boolean; clear: () => void; } interface CacheBaseStoreExtension extends CacheBaseStore { mergeSetItem: (code: string, data: any) => void; has: (pageKey: string | RegExp) => boolean; cacheStore: LocalPageCacheStore; } declare const testLocalPageCacheStore: CacheBaseStoreExtension; export { testLocalPageCacheStore as localPageCacheStore };