import { OnUpdateCacheParamsType, RequestCacheStrategy } from '../_types'; import { DebugCacheLogger } from './debug-cache-logger'; declare type ParamsType = { cache: Cache; requestCacheKey: string; response: any; apiExpires: string; apiTimestamp: string; cachedResponse?: any; old: boolean; onUpdateCache?: (params: OnUpdateCacheParamsType) => void; debugCacheLogger: DebugCacheLogger; strategy: RequestCacheStrategy; quotaExceed: boolean; }; export declare const writeToCache: ({ cache, requestCacheKey, response, apiExpires, apiTimestamp, cachedResponse, old, onUpdateCache, debugCacheLogger, strategy, quotaExceed, }: ParamsType) => Promise; export {};