declare type ListenerFunction = (...args: any[]) => void;
export declare class EventEmitter {
    private eventMap;
    emit(event: string, ...args: any[]): boolean;
    on(event: string, listener: ListenerFunction): this;
    off(event: string, listener: ListenerFunction): this;
    offAll(event?: string): this;
}
export {};
