/** * @file Safe references to `RegExp` and its prototype methods. `RegExp.escape` * is ES2025; the primordial is typed `Function | undefined` so older runtimes * still load. The Symbol-keyed `[Symbol.match]` / `[Symbol.replace]` slots * are exposed alongside the named methods because some callers use them via * dynamic dispatch (e.g. `String.prototype.match` invokes * `RegExp.prototype[Symbol.match]` internally). */ export declare const RegExpCtor: RegExpConstructor; export declare const RegExpEscape: ((s: string) => string) | undefined; export declare const RegExpPrototypeExec: (self: unknown, string: string) => RegExpExecArray | null; export declare const RegExpPrototypeTest: (self: unknown, string: string) => boolean; export declare const RegExpPrototypeSymbolMatch: (self: RegExp, str: string) => unknown; export declare const RegExpPrototypeSymbolReplace: (self: RegExp, str: string, replaceValue: string) => string;