import type { IEvent } from './event.interface'; export interface IEventBus { publish(event: TEvent): any; publishAll(events: TEvent[]): any; }