type Listener = (...args: unknown[]) => void;
/**
 * Minimal event emitter implementation for runtime-neutral (Edge/Web) usage.
 */
export declare class EventEmitter {
    private listenersMap;
    on(eventName: string, listener: Listener): this;
    addListener(eventName: string, listener: Listener): this;
    off(eventName: string, listener: Listener): this;
    removeListener(eventName: string, listener: Listener): this;
    once(eventName: string, listener: Listener): this;
    emit(eventName: string, ...args: unknown[]): boolean;
    removeAllListeners(eventName?: string): this;
}
export {};
