/** * Returns the (recursively-defined) accessible child text of a node, which * (in-order) is: * * 1. The element's aria-label * 2. If the element is a direct literal, the literal value * 3. Otherwise, merge all of its children * * @param {JSXElement} node - Node to traverse * @returns Child text as a string */ export default function getAccessibleChildText(node: JSXElement, elementType: any): string;