interface SWOptions { onUpdated?: () => void; onInstalled?: () => void; } export default function register(swUrl: any, opts?: SWOptions): void; export declare function unregister(): void; export {};