import type { DomainEvent } from "@tff/core"; export interface EventBus { publish(event: DomainEvent): void; subscribe(type: string, handler: (event: DomainEvent) => void): void; }