import * as d from '../../declarations';
export declare function generateServiceWorkers(config: d.Config, compilerCtx: d.CompilerCtx, buildCtx: d.BuildCtx): Promise<void>;
export declare function hasServiceWorkerChanges(config: d.Config, buildCtx: d.BuildCtx): boolean;
export declare function getRegisterSW(swUrl: string): string;
export declare const UNREGISTER_SW = "\nif ('serviceWorker' in navigator && location.protocol !== 'file:') {\n  // auto-unregister service worker during dev mode\n  navigator.serviceWorker.getRegistration().then(function(registration) {\n    if (registration) {\n      registration.unregister().then(function() { location.reload(true) });\n    }\n  });\n}\n";
