import type { IEventEmitter } from '../../ricos-types/index.js';
export declare class EventEmitter implements IEventEmitter {
    private callbacks;
    on(event: string, fn: Function): this;
    protected emit(event: string, ...args: any): this;
    off(event: string, fn?: Function): this;
    protected removeAllListeners(): void;
}
//# sourceMappingURL=event-emitter.d.ts.map