import type { EventBus } from '../kernel/events.js'; import type { MetricsSink } from '../types/observability.js'; /** * Subscribes a MetricsSink to the EventBus. Returns an unsubscribe function * that detaches all listeners. This is the single integration point between * the agent's event stream and the observability layer — no metric calls * leak into core call sites. */ export declare function wireMetricsToEvents(events: EventBus, sink: MetricsSink): () => void; //# sourceMappingURL=event-bridge.d.ts.map