interface AbstractWorkerimport { type AbstractWorker } from "https://deno.land/x/windmill@v1.361.1/node_modules/evt/lib/types/lib.dom.d.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