/**
 * Polyfill for String.prototype.matchAll() from the ES2020 spec
 *
 * Note: The 'string.prototype.matchall' npm package was unstable for me so providing my own version here
 *
 * @param text - The text to search
 * @param regExp - The RegExp object to use
 */
export declare function matchAll(text: string, regExp: RegExp): {
    [index: number]: string;
    index: number;
    input: string;
}[];
/**
 * Sort elements/nodes based on the order of their appearance in the document
 *
 * @param arr - The array to sort
 * @param sortCallback - The callback to use to sort the elements
 * @param getElement - An optional callback that returns the element to compare from each arr entry
 */
export declare function sortElements<T>(arr: T[], sortCallback: (a: any, b: any) => number, getElementCallback: (entry: T) => any): T[];
/**
 * Indicates if an element is either a component host element or part of a component's view/template
 *
 * @param element - The element to inspect
 */
export declare function isAngularManagedElement(element: any): boolean;
