import { EventBroker } from './EventBroker'; /** * Publishes events to be consumed by subscribers for their topic. * The events can come from different (external) sources * like emitted themselves, received via HTTP endpoint (i.e. webhook) * or from event brokers, queues, etc. * * @public * @deprecated use the `EventsService` via the constructor, setter, or other means instead */ export interface EventPublisher { /** * @deprecated use the `EventsService` via the constructor, setter, or other means instead */ setEventBroker(eventBroker: EventBroker): Promise; }