import { EventSource } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.webworker.d.ts";
type
{ prototype: EventSource; readonly CONNECTING: 0; readonly OPEN: 1; readonly CLOSED: 2; new (url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource; }