export declare function toRegExp(string: string): {
test(s: string): boolean;
};
export declare function isRegExp(string: string): boolean;