/** SDK-owned platform module. This implementation is maintained in goodvibes-sdk. */ import type { RuntimeEventBus } from '../events/index.js'; import type { ProcessRegistry } from './types.js'; export interface FleetEmitBridgeDeps { /** The live registry, only its snapshot subscription is used. */ readonly registry: Pick; /** The runtime event bus the fleet events are emitted onto. */ readonly bus: RuntimeEventBus; /** * Trace id source for the emitted envelopes. Fleet lifecycle deltas are not * born of a single caller turn, so absent a real trace a fresh id per event * is honest (default). Injected in tests for determinism. */ readonly traceId?: (() => string) | undefined; } /** * Attach the bridge. Returns an unsubscribe function that detaches the registry * subscription. Safe to call once at composition time; the subscription lives * for the registry's lifetime (there is no daemon-wide shutdown seam, mirrors * the fleet/push verb registrations). */ export declare function attachFleetEmitBridge(deps: FleetEmitBridgeDeps): () => void; //# sourceMappingURL=emit-bridge.d.ts.map