/// /** * Creates a request handler function for service worker fetch events. * The handler implements HTTP caching with configurable strategies (cache-first, network-first, stale-while-revalidate), * automatic cache invalidation for mutations, and periodic cache cleanup. Only handles same-origin GET requests * that match the configured scope. * * @param {HandleRequestConfig} config - Configuration options including cache name, scope, default strategy, and TTL settings * @returns {(event: FetchEvent) => Promise | null} Request handler function that can be used in service worker fetch event listeners */ export function createHandleRequest(config: HandleRequestConfig): (event: FetchEvent) => Promise | null; export { cleanupOldCacheEntries } from "./helpers.js";