/** * Recursively find an ancestor element by attribute name and value. This also checks children of the ancestor. * @func findAncestorByAttributeValue * @param {HTMLElement} startNode - Origin node of the search. * @param {string} attributeName - Name of the attribute to search for. * @param {string} attributeValue - Value of the attribute to search for. */ export declare const findAncestorByAttributeValue: (startNode: HTMLElement | ParentNode, attributeName: string, attributeValue: string) => HTMLElement | null;