/** * Gets all the elements that a given element is nested within * * @param element - The element to get the ancestors of. * @returns An array of ancestor elements, starting from the immediate parent and going up to the root of the document. */ export declare function getAncestors(element: HTMLElement): HTMLElement[];