import type { EventConfig } from './types';
declare class EventBus {
    private listeners;
    on(event: string, config: EventConfig): void;
    off(event: string, handlerToRemove: EventConfig['handler']): void;
    emit(event: string, ...args: any[]): Promise<void>;
}
export declare const bus: EventBus;
export {};
