import type { ShellManager } from './shell_manager'; /** * A class that manages the Service Worker registration and communication, used to * access stdin whilst WebAssembly commands are running. * May also install its own service worker rather than using one that is already * installed by, for example. JupyterLite. */ export declare class ServiceWorkerManager { readonly baseUrl: string; readonly shellManager: ShellManager; constructor(baseUrl: string, shellManager: ShellManager); get enabled(): boolean; get browsingContextId(): string; get ready(): Promise; private _initialize; private _onBroadcastMessage; private _pingServiceWorker; private _setRegistration; private _unregisterOldServiceWorkers; private _registration; private _ready; private _broadcastChannel; private _browsingContextId; }