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