export declare class Regex { private static patternWithFlags; private static whiteSpaceRegex; static fromString(patternString: string): RegExp; static isNullOrWhiteSpace(str: string): boolean; }