Import
import { toggleState } from "@typed/ui/Dom/Events";Signatures
export declare function toggleState(event: Event): "open" | "closed" | undefined;Why
Popover and details components can follow the browser’s real toggle event while remaining usable with DOM libraries whose Event types lag the platform.
Ownership and lifetime
Pure read of the current event; no state or listener is retained.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.