import { type AMQPChannel } from "@cloudamqp/amqp-client"; import type { AMQPConfig } from "./types.js"; /** * Manages AMQP connection lifecycle with reconnection support */ export declare class AMQPConnection { private client; private publishChannel; private consumeChannel; private config; private logger; private reconnectAttempts; private isReconnecting; private reconnectPromise; constructor(config: AMQPConfig); /** * Establish connection to AMQP broker and setup channels */ connect(): Promise; /** * Handle connection loss and attempt reconnection */ private handleDisconnect; /** * Perform the actual reconnection logic */ private performReconnection; /** * Get publish channel */ getPublishChannel(): Promise; /** * Get consume channel */ getConsumeChannel(): Promise; /** * Get exchange name from config */ getExchange(): string; /** * Get full config */ getConfig(): Required; /** * Close connection gracefully */ close(): Promise; } //# sourceMappingURL=AMQPConnection.d.ts.map