interface Window
          
   extends EventTarget
onerror: ((this: Window,ev: ErrorEvent,) => any) | null
      
    
onbeforeunload: (() => any) | null
      
    
onunhandledrejection: ((this: Window,) => any) | null
      
    
onrejectionhandled: ((this: Window,) => any) | null
      
    
close: () => void
      
    readonly
closed: boolean
      
    
alert: (message?: string) => void
      
    
confirm: (message?: string) => boolean
      
    
prompt: (message?: string,defaultValue?: string,) => string | null
      
    
Deno: Deno
      
    
name: string
      
    
addEventListener<K extends keyof WindowEventMap>(type: K,listener: (this: Window,ev: WindowEventMap[K],) => any,options?: boolean | AddEventListenerOptions,): void
      
    
addEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): void
      
    
removeEventListener<K extends keyof WindowEventMap>(type: K,listener: (this: Window,ev: WindowEventMap[K],) => any,options?: boolean | EventListenerOptions,): void
      
    
removeEventListener(): void