export declare function testRegexWithBoundedInput(regex: RegExp, input: string, maxWindow?: number): boolean;
export declare function hasNestedRepetition(source: string): boolean;
export declare function compileSafeRegex(source: string, flags?: string): RegExp | null;
