interface WindowEventHandlersimport { type WindowEventHandlers } from "https://deno.land/x/windmill@v1.361.1/node_modules/evt/src/lib/types/lib.dom.ts"; Propertiesonafterprint: ((this: WindowEventHandlers, ev: Event) => any) | nullonbeforeprint: ((this: WindowEventHandlers, ev: Event) => any) | nullonbeforeunload: ((this: WindowEventHandlers, ev: BeforeUnloadEvent) => any) | nullonhashchange: ((this: WindowEventHandlers, ev: HashChangeEvent) => any) | nullonlanguagechange: ((this: WindowEventHandlers, ev: Event) => any) | nullonmessage: ((this: WindowEventHandlers, ev: MessageEvent) => any) | nullonmessageerror: ((this: WindowEventHandlers, ev: MessageEvent) => any) | nullonoffline: ((this: WindowEventHandlers, ev: Event) => any) | nullononline: ((this: WindowEventHandlers, ev: Event) => any) | nullonpagehide: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | nullonpageshow: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | nullonpopstate: ((this: WindowEventHandlers, ev: PopStateEvent) => any) | nullonrejectionhandled: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | nullonstorage: ((this: WindowEventHandlers, ev: StorageEvent) => any) | nullonunhandledrejection: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | nullonunload: ((this: WindowEventHandlers, ev: Event) => any) | nullMethodsaddEventListener<K extends keyof WindowEventHandlersEventMap>(type: K,listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any,options?: boolean | AddEventListenerOptions,): voidaddEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): voidremoveEventListener<K extends keyof WindowEventHandlersEventMap>(type: K,listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any,options?: boolean | EventListenerOptions,): voidremoveEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | EventListenerOptions,): void