UNPKG

617 BTypeScriptView Raw
1import { WorkboxPlugin } from 'workbox-core/types.js';
2import { PrecacheController } from '../PrecacheController.js';
3import '../_version.js';
4/**
5 * A plugin, designed to be used with PrecacheController, to translate URLs into
6 * the corresponding cache key, based on the current revision info.
7 *
8 * @private
9 */
10declare class PrecacheCacheKeyPlugin implements WorkboxPlugin {
11 private readonly _precacheController;
12 constructor({ precacheController }: {
13 precacheController: PrecacheController;
14 });
15 cacheKeyWillBeUsed: WorkboxPlugin['cacheKeyWillBeUsed'];
16}
17export { PrecacheCacheKeyPlugin };