import { Connection } from 'rhea-promise';
export declare class AMQConnectionStorage {
    /**
     * Add Connection to storage
     *
     * @param {string} name Name of the Connection, will be used as key
     * @param {Connection} connection The connection object
     */
    static add(name: string, connection: Connection): void;
    /**
     * Retreive stored Connection from storage
     *
     * @param {string} name Name of the connection
     *
     * @returns {Connection | null} The stored connection or null
     */
    static get(name: string): Connection | null;
    /**
     * Get all connection keys
     *
     * @returns {string[]}
     */
    static getConnectionNames(): string[];
    private static readonly storage;
}
