/** Every element inside `root` a Tab press can reach, in DOM order. */ export declare const tabbableWithin: (root: ParentNode) => HTMLElement[]; /** * The element a keyboard user actually lands on for `root`: `root` itself when it is tabbable, else * its first tabbable descendant. `null` when the subtree holds nothing reachable — a decorative or * disabled control, which the caller has to decide about. */ export declare const firstTabbable: (root: HTMLElement) => HTMLElement | null; /** * The element a description belongs to for `root`: its first focusable element, including a * roving-tabindex item (`tabindex="-1"`, an unselected tab or a menu item) that arrow keys still move * focus to — inside a `tablist` or `menu` the wrapper would be a child those roles do not allow. * Unlike `firstTabbable` it ignores a temporarily unreachable subtree: a reasoned control inside a * collapsed accordion panel (`inert`) or a `display: none` parent is still the element a description * belongs to once the panel opens, and neither state change re-renders the describer. */ export declare const firstFocusable: (root: HTMLElement) => HTMLElement | null;