export declare const toRegExp: (re: string) => RegExp; export default toRegExp;