Import
import type { ElementEventHandlers } from "@typed/ui/Dom/Types";Signatures
export type ElementEventHandlers<Element extends globalThis.Element> = {
readonly [K in keyof Element as K extends `on${string}` ? K : never]?: EffectInput | EventHandler.EventHandler<EventOf<Element[K]>, any, any> | null;
};Why
The browser’s own element interface supplies event names and event types, keeping custom hosts aligned with web standards.
Ownership and lifetime
Handlers run as Effects and are detached with the rendering Scope.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.