export declare function createEventBus(channelId?: string): {
    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;
};
export type EventBus = ReturnType<typeof createEventBus>;
