import type { SwarmTracer } from "../swarm/tracer.js"; import type { EventBus } from "./bus.js"; /** * Bridge SwarmTracer events to an EventBus. * * Maps: * - `agent_start` → `swarm.agent.started` * - `agent_complete` → `swarm.agent.completed` * - `agent_error` → `swarm.agent.failed` * * @param tracer The SwarmTracer to subscribe to * @param bus The EventBus to publish to * @param swarmId Identifier for the swarm (included in all events) * @returns Unsubscribe function — call to stop the bridge */ export declare function bridgeSwarmTracer(tracer: SwarmTracer, bus: EventBus, swarmId: string): () => void; //# sourceMappingURL=bridge.d.ts.map