UNPKG

448 BTypeScriptView Raw
1import { PrecacheRouteOptions } from '../_types.js';
2import '../_version.js';
3/**
4 * This function will take the request URL and manipulate it based on the
5 * configuration options.
6 *
7 * @param {string} url
8 * @param {Object} options
9 * @return {string} Returns the URL in the cache that matches the request,
10 * if possible.
11 *
12 * @private
13 */
14export declare const getCacheKeyForURL: (url: string, options: PrecacheRouteOptions) => string | void;