/** * Regex pattern validator with ReDoS protection */ import type { ValidationResult } from '../types.js'; /** * Validates regex patterns for ReDoS vulnerabilities */ export declare class RegexValidator { private readonly maxLength; constructor(maxLength?: number); /** * Validate regex pattern for safety */ validate(pattern: string): ValidationResult; /** * Detect nested quantifiers like (a+)+ which cause exponential backtracking */ private hasNestedQuantifiers; /** * Detect alternation groups with quantifiers which can cause backtracking */ private hasAmbiguousAlternation; } //# sourceMappingURL=regex-validator.d.ts.map