import { CacheEntry, CacheSettings } from "./index"; import { CacheRefreshStrategy } from "../../types"; export declare class MemoryCache { private readonly store; private readonly staleTTL; private readonly expiresTTL; readonly allowStale: boolean; readonly cacheRefreshStrategy: CacheRefreshStrategy; constructor({ staleTTL, // 1 minute expiresTTL, // 10 minutes allowStale, cacheRefreshStrategy, }?: CacheSettings); get(key: string): Promise; set(key: string, payload: unknown): Promise; getStatus(): Promise; }