export declare function toRegExp(string: string, flags?: string): RegExp;
