/** * A custom event dispatcher for a component. `T` is the type of `event.detail`, * which will be set to whatever is passed in to `dispatch()`. */ export interface Dispatcher { dispatch: (detail: T) => CustomEvent; } /** Defines a component class property as a dispatcher for a custom event. */ export declare function EventDispatcher(eventName?: string): PropertyDecorator;