import { IEventHandler } from './event.handler.interface'; import { ISubExchangeOptions } from '../../../application/port/communication.option.interface'; import { IBusConnection } from '../connection/connection.interface'; export interface IMessageReceiver { connection: IBusConnection; receiveRoutingKeyMessage(queueName: string, exchangeName: string, topicKey: string, callback: IEventHandler, options?: ISubExchangeOptions): Promise; }