import { EventEmitter } from "events"; import { AgentExecutionEvent, IExecutionEventBus } from "./event_bus.js"; export declare class InMemoryEventBus extends EventEmitter implements IExecutionEventBus { private contextListeners; constructor(); publish(event: AgentExecutionEvent): Promise; registerContext(contextId: string): void; onContext(contextId: string, listener: (e: AgentExecutionEvent) => void): this; unregisterContext(contextId: string): void; removeAllListeners(eventName?: "event"): this; close(): Promise; } //# sourceMappingURL=in_memory_event_bus.d.ts.map