import { IResponse } from '../../../types'; import { CacheRequestParamsType, CacheStateType, IRequestCache, IRequestCacheParamsType } from '../_types'; import { DebugCacheLogger } from '../_utils/debug-cache-logger'; export declare class CacheFirstWithRevalidate implements IRequestCache { timestamp: number; storageCacheName: string; requestCacheKey: string; debugCacheLogger: DebugCacheLogger; constructor({ timestamp, storageCacheName, requestCacheKey, debugCacheLogger, }: IRequestCacheParamsType); cacheRequest: , Record>>({ request, onUpdateCache, expires, expiresToDate, disabledCache, onRequestError, onCacheHit, cacheState, onCacheMiss, }: CacheRequestParamsType & { cacheState: CacheStateType; }) => Promise; }