/** * Creates an event emitter, that can dispatch CustomEvent instances for the given * element with the specified event name. * Event options default to bubbles, cancelable and composed set to true. */ export declare class EventEmitter { private _element; private _eventName; private _options; constructor(_element: HTMLElement, _eventName: string, _options?: { bubbles?: boolean; cancelable?: boolean; composed?: boolean; }); /** * Dispatches an event. * @param detail The detail to dispatch with the event. * @returns true when the event was successfully emitted or false, * if preventDefault() was called. Always returns true in SSR. */ emit(detail?: T): boolean; } //# sourceMappingURL=event-emitter.d.ts.map