interface Test { (regexp: RegExp, str: string): boolean; (regexp: RegExp): (str: string) => boolean; } /** * Determines whether a given string matches a given regular expression. * * @param {RegExp} pattern * @param {String} str * @return {Boolean} */ declare const _default: Test; export default _default;