import { EventEmitter, captureRejectionSymbol } from 'node:events';
import type { EventName, EventCallbackResult } from './buses';
interface KyooQueueToWorkerBusEventCallbacks {
    [captureRejectionSymbol]: (err: Error, event: EventName, ...args: any[]) => EventCallbackResult;
    terminated: () => EventCallbackResult;
    capturedError: (err: Error) => EventCallbackResult;
}
type KyooQueueToWorkerBusEvent = keyof KyooQueueToWorkerBusEventCallbacks;
type KyooQueueToWorkerBusEventEmitterEventMap = {
    [K in KyooQueueToWorkerBusEvent]: Parameters<KyooQueueToWorkerBusEventCallbacks[K]>;
};
export declare class KyooQueueToWorkerBus extends EventEmitter<KyooQueueToWorkerBusEventEmitterEventMap> {
    constructor();
}
export {};
