export declare const DEFAULT_SERVICE_WORKER_FILENAME = "service-worker.js"; export interface IServiceWorkerConfig { swFileName?: string; onNewContent?: () => void; onContentPrecached?: () => void; onRedundant?: () => void; onRegistration?: (registration: ServiceWorkerRegistration) => void; onRegistrationError?: (error: any) => void; } export default function registerServiceWorker({ swFileName, onNewContent, onContentPrecached, onRedundant, onRegistration, onRegistrationError, }?: IServiceWorkerConfig): void; export declare function unregister(): void;