import amqp from 'amqplib';
import { Logger, type ILogObj } from 'tslog';
import type { RabbitMQConnectionManager } from './ConnectionManager.js';
export declare class RabbitMQChannelManager {
    private connectionManager;
    private channelMap;
    protected _logger: Logger<ILogObj>;
    constructor(connectionManager: RabbitMQConnectionManager, logger?: Logger<ILogObj>);
    getChannel(channelId: string): Promise<amqp.Channel>;
    closeChannel(channelId: string): Promise<void>;
    closeAll(): Promise<void>;
    private recreateChannels;
}
