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} */ export declare const test: Test; export default test;