/** * Find elements by given tag name * * @param elm - The DOM element to start the search from * @param tagNames - Tag name to find the elements by * @return List of found DOM elements */ declare function findByTagName(tagNames: string | string[]): Element[]; /** * Find elements by given tag name * * @param elm - The DOM element to start the search from * @param tagNames - Tag name to find the elements by * @return List of found DOM elements */ declare function findByTagName(elm: Document | Element, tagNames?: string | string[]): Element[]; export default findByTagName;