import type { EventTransport } from './types.js'; import type { BaseEvent } from './base-event.js'; /** * Non-transactional fan-out event bus */ export declare class EventBus { private readonly transports; private readonly logger; constructor(transports: readonly EventTransport[]); /** * Fan-out an event to all configured transports. Each transport is isolated: * one failure is logged and won't break the others. */ produceEvent(event: BaseEvent): Promise; produceEventSafely(event: BaseEvent): void; getEnabledTransportNames(): readonly string[]; } /** * Create EventBus instance using env configuration. */ export declare function createEventBusFromEnv(env?: NodeJS.ProcessEnv): EventBus; //# sourceMappingURL=event-bus.d.ts.map