
import { DebugEventEnvelope } from "@copilotkit/shared";
import { BaseEvent } from "@ag-ui/client";

//#region src/v2/runtime/core/debug-event-bus.d.ts
type DebugEventListener = (envelope: DebugEventEnvelope) => void;
declare class DebugEventBus {
  private listeners;
  subscribe(listener: DebugEventListener): () => void;
  broadcast(event: BaseEvent, metadata: {
    agentId: string;
    threadId: string;
    runId: string;
  }): void;
  get listenerCount(): number;
}
//#endregion
export { DebugEventBus };
//# sourceMappingURL=debug-event-bus.d.cts.map