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