declare const TinyPluginLayer: typeof import("../../../plugin/TinyPlugin.mjs").TinyPluginLayer; export type GlobCacheOptions = { /** * - Array of glob patterns (e.g., ['\*\*\/\*.js', '\*\*\/\*.{css,html}']). */ patterns: string[]; /** * - Array of glob patterns to ignore (e.g., ['\*\*\/sw.js']). */ exclude?: string[]; sameOriginOnly?: boolean; /** * - The name of the CacheStorage bucket to use. */ cacheName: string; }; /** * @typedef {Object} GlobCacheOptions * @property {string[]} patterns - Array of glob patterns (e.g., ['\*\*\/\*.js', '\*\*\/\*.{css,html}']). * @property {string[]} [exclude] - Array of glob patterns to ignore (e.g., ['\*\*\/sw.js']). * @property {boolean} [sameOriginOnly=true] * @property {string} cacheName - The name of the CacheStorage bucket to use. */ /** * A plugin for TinyServiceWorkerEngine that implements runtime caching based on glob patterns. * @type {import('../TinyServiceWorkerEngine.mjs').SwPluginInstaller, 'GlobCache', '1.0.0', [GlobCacheOptions]>} * @throws {TypeError} If options or patterns are invalid. */ declare const GlobCachePlugin: import('../TinyServiceWorkerEngine.mjs').SwPluginInstaller, 'GlobCache', '1.0.0', [GlobCacheOptions]>; export default GlobCachePlugin; //# sourceMappingURL=GlobCachePlugin.d.mts.map