import { Connection } from 'amqplib'; export default function sendToExchange(exchangeName: string, routingKey: string, message: T, connection: Connection): Promise;