type EventHandler = (payload?: any) => void;
declare class EventBus {
    private events;
    on(event: string, callBack: EventHandler): void;
    off(event: string, callBack: EventHandler): void;
    emit(event: string, payload?: any): void;
}
export declare const eventBus: EventBus;
export {};
