/** * Cache-first strategy for fetch requests * @param request The request to handle * @param cacheName The name of the cache to use * @returns Promise resolving to the response */ declare function cacheFirstStrategy(request: Request, cacheName: string): Promise; /** * Cache-first strategy for the Cache API * @param cache The cache object * @param url The URL to fetch * @param fetchOptions Options for the fetch request * @returns Promise resolving to the response */ declare function cacheFirstWithCacheAPI(cache: Cache, url: string, fetchOptions?: RequestInit): Promise; export { cacheFirstStrategy, cacheFirstWithCacheAPI };