import { NativeConfig } from './types'; export declare const SERVICE_WORKER_TEMPLATE: string; /** * Render the canonical sw.js for a product (`version` defaults to `v1`). * * NOTE ON `version`: bumping it invalidates every cache on activate, and it is * also what forces an already-installed service worker to be replaced promptly. * A push/notificationclick change only reaches installed clients through the * hourly `registration.update()` poll unless the version is bumped * deliberately, so bump it in the release that enables push. */ export declare function renderServiceWorker(cfg: NativeConfig, version?: string): string; //# sourceMappingURL=service-worker.d.ts.map