/** * @ignore */ export declare class KlevuFetchCache { _cache: Map; _timestamp: Map; /** * checks if cache has value and returns it * * @param key * @param force For testing purposes * @returns undefined if not cached */ check(key: T, force?: boolean): K | undefined; cache(key: T, data: K, timetocache?: number): void; private hash; }