interface AbstractWorkerimport { type AbstractWorker } from "https://deno.land/x/windmill@v1.373.0/node_modules/evt/src/lib/types/lib.dom.ts"; Propertiesonerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | nullMethodsaddEventListener<K extends keyof AbstractWorkerEventMap>(type: K,listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any,options?: boolean | AddEventListenerOptions,): voidaddEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): voidremoveEventListener<K extends keyof AbstractWorkerEventMap>(type: K,listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any,options?: boolean | EventListenerOptions,): voidremoveEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | EventListenerOptions,): void