declare const TinyPluginLayer: typeof import("../../../plugin/TinyPlugin.mjs").TinyPluginLayer; export type GlobBypassOptions = { /** * - Array of glob patterns (e.g., ['\*\*\/*.js', '\*\*\/\*.{css,html}']) that, when matched, make the request bypass the router validation. */ patterns: string[]; /** * - Array of glob patterns to ignore (e.g., ['**\/sw.js']). */ exclude?: string[]; /** * - When true, only same-origin requests are evaluated. */ sameOriginOnly?: boolean; }; /** * Configuration options for the GlobBypassPlugin. * @typedef {Object} GlobBypassOptions * @property {string[]} patterns - Array of glob patterns (e.g., ['\*\*\/*.js', '\*\*\/\*.{css,html}']) that, when matched, make the request bypass the router validation. * @property {string[]} [exclude] - Array of glob patterns to ignore (e.g., ['**\/sw.js']). * @property {boolean} [sameOriginOnly=true] - When true, only same-origin requests are evaluated. */ /** * A plugin for TinyServiceWorkerEngine that bypasses the router validation for * every request whose pathname matches one of the provided glob patterns. * * @type {import('../TinyServiceWorkerEngine.mjs').SwPluginInstaller, 'GlobBypass', '1.0.0', [GlobBypassOptions]>} * @throws {TypeError} If the engine is invalid or if the provided options do not match the required schema. */ declare const GlobBypassPlugin: import('../TinyServiceWorkerEngine.mjs').SwPluginInstaller, 'GlobBypass', '1.0.0', [GlobBypassOptions]>; export default GlobBypassPlugin; //# sourceMappingURL=GlobBypassPlugin.d.mts.map