export declare class BaseEventTarget extends EventTarget { #private; constructor({ onListenerCountChange, }: { onListenerCountChange: OnListenerCountChange; }); addEventListener(type: string, listener: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void; } type OnListenerCountChange = (type: string, count: number) => void; export {};