interface Emitterimport { type Emitter } from "https://deno.land/x/aleph@1.0.0-beta.42/server/deps.ts"; Type ParametersEvents extends Record<EventType, unknown>Propertiesall: EventHandlerMap<Events>Methodson<Key extends keyof Events>(type: Key, handler: Handler<Events[Key]>): voidon(type: "*", handler: WildcardHandler<Events>): voidoff<Key extends keyof Events>(type: Key, handler?: Handler<Events[Key]>): voidoff(type: "*", handler: WildcardHandler<Events>): voidemit<Key extends keyof Events>(type: Key, event: Events[Key]): voidemit<Key extends keyof Events>(type: undefined extends Events[Key] ? Key : never): void