/** * Shadow DOM traversal utilities. */ /** * Get all shadow roots within an element, including nested ones. */ export declare function getShadowRoots(root: Element | Document): ShadowRoot[]; /** * Find an element by traversing through shadow DOMs. */ export declare function deepQuery(root: Element | Document, selector: string): Element | null; /** * Find all elements matching a selector, including in shadow DOMs. */ export declare function deepQueryAll(root: Element | Document, selector: string): Element[]; /** * Get the composed path from an element to the document root, * including shadow boundaries. */ export declare function getComposedPath(element: Element): (Element | ShadowRoot | Document)[]; /** * Find the deepest element at a point, crossing shadow boundaries. */ export declare function deepElementFromPoint(x: number, y: number): Element | null; //# sourceMappingURL=shadow.d.ts.map