export declare function closestElement(selector: string, el: any): null | Element; export declare function getSlottedElements(slot: any): R[]; export declare function hasSlottedElements(slot: any): boolean; export declare function containsElement(target: Element, element: Element): boolean; export declare function closestPassShadow(node: Node, selector: string): HTMLElement | null; /** * Returns an array of elements representing the path from the given element * to the document root, similar to Event.composedPath(). * This function respects shadow DOM boundaries and traverses through them. * * @param element - The HTMLElement to start the path from * @returns An array of Elements including the element itself, shadow roots, and parent elements * * @example * ```typescript * const button = document.querySelector('ix-button'); * const path = getComposedPath(button); * // Returns: [button, shadow-root, ix-button, body, html, document] * ``` */ export declare function getComposedPath(element: HTMLElement): Element[];