import SharedWorkerPonyfill from './ponyfill.js'; /** * A polyfill class for `SharedWorker`, it accepts a URL/string as well as any other options the spec. allows for `SharedWorker`. It supports all the same methods and properties as the original, except it adds compatibility methods and properties for older browsers that don't support `SharedWorker`, so, it can switch to normal `Workers` instead. */ declare class SharedWorkerPolyfill extends SharedWorkerPonyfill { constructor(url: string | URL, opts?: WorkerOptions); } export { SharedWorkerPolyfill, SharedWorkerPolyfill as default };