import { EventEmitter, captureRejectionSymbol } from 'node:events';
import type { EventName, EventCallbackResult } from './buses';
interface KyooConnectionToQueueBusEventCallbacks {
    [captureRejectionSymbol]: (err: Error, event: EventName, ...args: any[]) => EventCallbackResult;
    terminated: () => EventCallbackResult;
    disconnecting: () => EventCallbackResult;
    disconnected: () => EventCallbackResult;
}
type KyooConnectionToQueueBusEvent = keyof KyooConnectionToQueueBusEventCallbacks;
type KyooConnectionToQueueBusEventEmitterEventMap = {
    [K in KyooConnectionToQueueBusEvent]: Parameters<KyooConnectionToQueueBusEventCallbacks[K]>;
};
export declare class KyooConnectionToQueueBus extends EventEmitter<KyooConnectionToQueueBusEventEmitterEventMap> {
    constructor();
}
export {};
