import { InjectionKey } from 'vue';
import { EventBus } from '../common/createEventBus';
export declare const EVENT_BUS_KEY: InjectionKey<EventBus>;
export declare function useEventBus(): {
    clear: () => void;
    emit: (event: any, ...args: any[]) => void;
    emitRoot: (event: any, ...args: any[]) => void;
    off: (event: any, callback: any) => void;
    offRoot: (event: any, callback: any) => void;
    on: (event: any, callback: any) => any;
    onRoot: (event: any, callback: any) => any;
} | null;
