/** * @license * Copyright 2023 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * Gets the active element, even if it's nested inside shadow DOMs. * * If the active element is in a shadow DOM, document.activeElement will be the * light DOM element whose shadow DOM contains it, so this is needed to find the * true active element. * * @return The active element, or `
` or null if there is none. */ export declare function getDeepActiveElement(): Element | null; /** * Generator function that yields the chain of parent nodes upwards in the DOM * starting at `node`, and piercing shadow boundaries. */ export declare function deepParentChain(node: Node): Generator