import { Options } from 'amqplib' ; import { Replies } from 'amqplib/properties' ; export interface AmqpExchangeInterface { createExchangeIfNotExist ( name , type , options ? ) : Promise < Replies . AssertExchange > ; getExchangeStatus ( name ) : Promise < Replies . Empty > ; deleteExchange ( name , options ? ) : Promise < Replies . Empty > ; bindExchangeToExchange ( target , from , key , args ? ) : Promise < Replies . Empty > ; unbindExchangeToExchange ( target , from , key , args ? ) : Promise < Replies . Empty > ; }