import { Strategy } from "./Strategy.js"; import type { StrategyHandler } from "./StrategyHandler.js"; /** * An implementation of the [cache only](https://developer.chrome.com/docs/workbox/caching-strategies-overview/#cache_only) * request strategy. * * This class is useful if you already have your own precaching step. * * If there is no cache match, this will throw a {@linkcode SerwistError} exception. */ export declare class CacheOnly extends Strategy { /** * @private * @param request A request to run this strategy for. * @param handler The event that triggered the request. * @returns */ _handle(request: Request, handler: StrategyHandler): Promise; } //# sourceMappingURL=CacheOnly.d.ts.map