interface EventBusCallback {
    (...args: any[]): void;
}
declare function off(eventName: string, callback: EventBusCallback): void;
declare function on(eventName: string, callback: EventBusCallback): () => void;
declare function emit(eventName: string, ...args: any[]): void;
declare function clear(eventName?: string): void;
declare const eventBus: {
    on: typeof on;
    off: typeof off;
    emit: typeof emit;
    clear: typeof clear;
};

export { type EventBusCallback, eventBus };
