/** The focused element anywhere on the page, followed down through open shadow roots — what to give focus back to. */ export declare function deepActiveElement(): HTMLElement | null; /** Whether focus is on `container` or inside it. */ export declare const hasFocusWithin: (container: Element | null | undefined) => boolean; /** Focus on the next Tab stop inside `container` (Shift+Tab: the one before), round from the last to the first: a dialog's Tab. */ export declare function cycleFocus(container: Element, back: boolean): void;