class AmqpConnection implements AmqpConnectionimport { AmqpConnection } from "https://deno.land/x/amqp@v0.23.1/mod.ts"; ConstructorsnewAmqpConnection(socket: AmqpSocket, options: AmqpConnectionOptions)Methodsclose()Gracefully close this connection. closed()Returns a promise that is settled when this connection is closed. If the connection is gracefully closed, the promise will resolve. If the connection is unexpectedly closed by the server or from an error, the promise will reject with the reason. open()Open this connection. openChannel(): Promise<AmqpChannel>Creates and opens a new channel