import { Cache } from './cache'; import { CacheItem } from './cache-item'; import { Storage } from './storage'; export declare class MemoryCache implements Cache { private readonly _storage?; private readonly _store; private _storageKeyLoaded; readonly storage: Storage | null | undefined; readonly keys: string[]; constructor(_storage?: Storage | undefined); init(data?: { [key: string]: CacheItem; }): void; setItem(key: string, value: CacheItem): void; getItem(key: string): CacheItem | null | undefined; removeItem(key: string): void; clear(): void; }