1 | import { WorkboxPlugin } from 'workbox-core/types.js';
|
2 | import { PrecacheController } from '../PrecacheController.js';
|
3 | import '../_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 | */
|
10 | declare class PrecacheCacheKeyPlugin implements WorkboxPlugin {
|
11 | private readonly _precacheController;
|
12 | constructor({ precacheController }: {
|
13 | precacheController: PrecacheController;
|
14 | });
|
15 | cacheKeyWillBeUsed: WorkboxPlugin['cacheKeyWillBeUsed'];
|
16 | }
|
17 | export { PrecacheCacheKeyPlugin };
|