/** The `beforeinstallprompt` event, dispatched when the browser offers to install the application. */ export interface BeforeInstallPromptEvent extends Event { readonly platforms: Array; readonly userChoice: Promise<{ readonly outcome: 'accepted' | 'dismissed'; readonly platform: string; }>; prompt(): Promise; } /** Registers service workers, and prompts to install the application as a progressive web app. */ export declare class PwaHelper { private static pwaPrompt?; /** The service worker container, if the browser supports service workers. */ static get serviceWorkerContainer(): ServiceWorkerContainer | undefined; /** Registers the service worker at the path for the whole origin and prompts to install the application, logging any error. */ static registerServiceWorker(absolutePath: string): Promise; static unregisterServiceWorkers(): Promise; private static requestInstallation; } //# sourceMappingURL=PwaHelper.d.ts.map