Import
import type { TemplateEventHandlers } from "@typed/ui/Dom/Types";Signatures
export type TemplateEventHandlers = {
readonly [K in `@${string}`]?: EffectInput | EventHandler.EventHandler<Event, any, any> | null;
};Why
Custom or future event names remain expressible without waiting for a DOM interface update and without introducing a synthetic event layer.
Ownership and lifetime
The template Scope owns listener installation, abortion, and removal.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.