import { Dispose } from './dispose';
export declare class EventEmitter {
    private _events;
    constructor();
    emit(evt: string, ...args: any[]): boolean;
    on(evt: string, fn?: Function): Dispose;
    once(evt: string, fn?: Function): Dispose;
    off(evt: string, fn?: Function): this;
    removeAllListeners(evt?: string): this;
}
