Import
import { State } from "@typed/ui/Hovercard";Signatures
export interface State {
readonly id: string;
readonly open: boolean;
}Why
A stable id links the anchor to focusable native popover content while state remains renderer-independent.
Ownership and lifetime
Plain data retains no resources; RefSubject observation is Scope-owned.
Property: id
Stable id used by aria-controls and content.
Property: id: Why
Deterministic identity preserves server/client DOM relationships.
Property: id: Ownership and lifetime
Plain data acquires no resources.
Property: open
Whether the hovercard is open.
Property: open: Why
One value coordinates delayed interactions and native popover state.
Property: open: Ownership and lifetime
Plain data acquires no resources.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.