import type { Channel, ChannelModel } from "amqplib"; export interface QueueConfig { queuePrefix: string; exchange: string; routingKeyPrefix: string; deadLetterExchange: string; className: string; isLiquidationEngineQueue: boolean; } export declare class BaseQueueManager { protected config: QueueConfig; constructor(config: QueueConfig); protected withChannel(connection: ChannelModel, operation: (channel: Channel) => Promise): Promise; protected handleError(functionName: string, error: unknown, message: string): void; generateQueueName(identifier: string): string; createQueue(connection: ChannelModel, identifier: string, exchangeIdentifier: string, isLiquidationEngineQueue?: boolean): Promise; addToQueue(connection: ChannelModel, identifier: string, exchangeIdentifier: string, data: unknown, priority?: number): Promise; deleteQueue(connection: ChannelModel, identifier: string): Promise; checkQueueExists(connection: ChannelModel, identifier: string): Promise; isQueueNotFoundError(error: unknown): Promise; isQueueEmpty(connection: ChannelModel, identifier: string): Promise; }