import type { EventSubscribeInput, EventSubscribeOutput, SelectedEvent } from "@opencode/client/effect/api" import type { Stream } from "effect" type EventType = NonNullable[number] export interface EventDomain { readonly subscribe: (input?: { readonly types?: ReadonlyArray }) => Stream.Stream, unknown> }