Typed event map for Context.events. Known events get full autocomplete; custom events can be typed at the call site via generic parameter.