/** * Core shadow DOM traversal logic that can be reused across different testing frameworks. * Note: Requires browser support for Shadow DOM APIs (customElements, shadowRoot, etc.). */ /** * Walks a root node (Document or ShadowRoot) depth-first to find elements. * @param {Document | ShadowRoot} root - The root node to start searching from * @param {string} selector - CSS selector to search for * @returns {Element | null} - The found element, or null */ export declare function walkShadowDom(root: Document | ShadowRoot, selector: string): Element | null; /** * Helper function to create a data-testid selector * @param {string} testId - The data-testid value * @returns {string} - CSS selector for the data-testid */ export declare function createDataTestIdSelector(testId: string): string;