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