/** * Simple Event Emitter class * * @public */ export declare class EventEmitter { #private; /** * Allow events to be called to object * * @param eventType - The event type to listen for * @param callback - The callback function to execute when the event is dispatched * @public * @returns {void} */ addEventListener(eventType: string, callback: (event: CustomEvent) => void): void; /** * Dispatch events * * @param eventType - The event type to dispatch * @param data - The data to pass to the event listeners * @public * @returns {void} */ dispatchEvent(eventType: string, data: any): void; }