export declare class ConnectionHandler { private reconnect; private recreateChannel; constructor(reconnect: () => Promise, recreateChannel: () => Promise); handleConnectionError(error: Error): Promise; handleConnectionClosed(): Promise; handleChannelError(error: Error): Promise; handleChannelClosed(): Promise; }