interface EventSource implements EventTargetimport { type EventSource } from "https://deno.land/x/windmill@v1.361.1/node_modules/evt/src/lib/types/lib.dom.ts"; Propertiesonerror: ((this: EventSource, ev: Event) => any) | nullonmessage: ((this: EventSource, ev: MessageEvent) => any) | nullonopen: ((this: EventSource, ev: Event) => any) | nullreadonlyreadyState: numberReturns the state of this EventSource object's connection. It can have the values described below. readonlyurl: stringReturns the URL providing the event stream. readonlywithCredentials: booleanReturns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise. readonlyCLOSED: numberreadonlyCONNECTING: numberreadonlyOPEN: numberMethodsclose(): voidAborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED. addEventListener<K extends keyof EventSourceEventMap>(type: K,listener: (this: EventSource, ev: EventSourceEventMap[K]) => any,options?: boolean | AddEventListenerOptions,): voidaddEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): voidremoveEventListener<K extends keyof EventSourceEventMap>(type: K,listener: (this: EventSource, ev: EventSourceEventMap[K]) => any,options?: boolean | EventListenerOptions,): voidremoveEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | EventListenerOptions,): void