import { activeElement } from "../../dom/active-element.js"; import { contains } from "../../dom/contains.js"; import { getTarget } from "../../dom/get-target.js"; import type { PopupTriggerMap } from "../popup-trigger-map.js"; export { activeElement, contains, getTarget }; export declare function isTargetInsideEnabledTrigger(target: EventTarget | null, triggerElements: PopupTriggerMap): boolean; export declare function isEventTargetWithin(event: Event, node: Node | null | undefined): boolean; export declare function isRootElement(element: Element): boolean; export declare function isTypeableElement(element: unknown): boolean; export declare function isInteractiveElement(element: Element | null): boolean; export declare function isTypeableCombobox(element: Element | null): boolean; /** * `:focus-visible` is unreliable in happy-dom / jsdom (the test DOMs don't * distinguish keyboard vs mouse focus), so we short-circuit to `true` there. * Matches the React source's `isJSDOM` gate but broadened to cover happy-dom * too — see `detect-browser.ts`. */ export declare function matchesFocusVisible(element: Element | null): boolean; export declare function getFloatingFocusElement(floatingElement: HTMLElement | null | undefined): HTMLElement | null; //# sourceMappingURL=element.d.ts.map