export declare type ServiceWorkerRegistrationConfig = { onRegister?: (registration: ServiceWorkerRegistration) => void; onSuccess?: (registration: ServiceWorkerRegistration) => void; onUpdate?: (registration: ServiceWorkerRegistration) => void; }; export declare function register(config?: ServiceWorkerRegistrationConfig): void; export declare function unregister(): void;