import type { KeyboardEvent as ReactKeyboardEvent } from 'react'; /** Tab stops inside `root` in order (as react-tw/lib/dom.ts): native controls, and custom elements that delegate focus (a Lit field) as one stop. */ export declare function tabStops(root: Element): HTMLElement[]; /** Tab stays inside `root` (a modal panel): from its last stop to the first, Shift+Tab from the first to the last. */ export declare function trapTab(event: ReactKeyboardEvent, root: HTMLElement): void;