/// import { EventEmitter } from 'events'; import * as Amqp from 'amqplib'; import * as T from './types'; export declare class AmqpManager extends EventEmitter { private config; private started; private closed; private waitReady; private fsm; private connection; private channels; constructor(config: Partial); connect(): void; confirmChannel(name: string): Promise; channel(name: string): Promise; close(): Promise; private _channel(type, name); private _assertTopology(config, channel); }