An interface a type can extend to associate a map of event names to event
types with itself, in the style of HTMLElementEventMap et al. This allows
the type system to discover the events available for a specific
EventTarget descendant.
Get the Events type associated with a type that extends
DeclareEvents<Events>.
Get the Events type associated with a type that extends
DeclareEvents<Events>.
Utility types for DOM events.