/** * Queries the document/element for any elements matching the given selector, and returns an array. * * @param {Element} [el] Restrict the search to the contents of the given DOMElement * @param {string} selector * @param {Predicate} [predicate] Optional predicate function to transform the found elements. * * @returns {Array} * @category DOM */ export function qsa(el?: Element, selector: string, predicate?: Predicate): any[]; /** * Returns true of the provided DOMElement has the given classname * * @param {Element} el * @param {string} className * * @returns {boolean} * @category DOM */ export function hasClassName(el: Element, className: string): boolean; /** * Adds the given classname to the provided DOMElement * * @param {Element} el * @param {string} className * @category DOM */ export function addClassName(el: Element, className: string): void; /** * Removes the given classname to the provided DOMElement, if it exists * * @param {Element} el * @param {string} className * @category DOM */ export function removeClassName(el: Element, className: string): void;