/** * Regex compiler with auto-anchoring support */ import type { CompiledRegex } from '../types.js'; import type { RegexValidator } from './regex-validator.js'; /** * Compiles regex patterns with validation and auto-anchoring */ export declare class RegexCompiler { private validator; constructor(validator: RegexValidator); /** * Compile a regex pattern with validation and auto-anchoring * @throws InvalidRegexError if pattern is invalid or unsafe */ compile(pattern: string, context: string): CompiledRegex; /** * Auto-anchor pattern with ^ and $ if not already present */ private autoAnchor; } //# sourceMappingURL=regex-compiler.d.ts.map