import TinyEmitter from 'tiny-emitter';
import { HashMap } from '../typings/common';
declare type EventHandler = {
    fn: Function;
    ctx?: any;
};
declare class EventBus extends TinyEmitter {
    e: HashMap<EventHandler[]>;
    emit(event: string, ...args: any[]): TinyEmitter;
}
declare const _default: EventBus;
/**
 * @alias utils/EventBus:eventBus
 */
export default _default;
