/** * Matches a string with a regular expression, and returns an iterable of matches containing the results of that search. * @param regexp A variable name or string literal containing the regular expression pattern and flags. */ export declare function matchAll(regexp: RegExp): (string: string) => IterableIterator;