/** * Returns focusable descendants using selectors supported by minimal-DOM SSR. * * @remarks Filters `disabled` and `tabindex="-1"` in JavaScript instead of `:not()` pseudo-classes. */ export declare function queryFocusableCandidates(root: ParentNode): HTMLElement[]; /** * Returns the full roving-tabindex collection for a container. * * @remarks Unlike {@link queryFocusableCandidates}, inactive roving items with `tabindex="-1"` * stay in the list so arrow-key navigation can move across the whole set. */ export declare function queryRovingTabindexItems(root: ParentNode): HTMLElement[]; /** Returns the first focusable descendant, or `undefined` when none match. */ export declare function findFirstFocusableCandidate(root: ParentNode): HTMLElement | undefined; /** Returns focusable descendants in DOM order, skipping hidden nodes. */ export declare function getFocusableElements(root: ParentNode): HTMLElement[];