declare namespace Addon { class PCRE2 { constructor(pattern: string, flags?: string); static readonly [Symbol.species]: PCRE2; exec(string: string): RegExpExecArray | null; test(string: string): boolean; toString(): string; readonly lastIndex: number; readonly source: string; readonly flags: string; readonly global: boolean; readonly ignoreCase: boolean; readonly multiline: boolean; readonly sticky: boolean; readonly unicode: boolean; readonly dotAll: boolean; readonly hasIndices: boolean; readonly unicodeSets: boolean; [Symbol.match](string: string): RegExpMatchArray | null; [Symbol.search](string: string): number; [Symbol.split](string: string, limit?: number): string[]; [Symbol.matchAll](str: string): RegExpStringIterator; [Symbol.replace](str: string, replacement: string): string; [Symbol.replace](string: string, replacer: (substring: string, ...args: unknown[]) => string): string; readonly extended: boolean; readonly extendedMore: boolean; readonly noAutoCapture: boolean; readonly asciiBsd: boolean; readonly asciiBss: boolean; readonly asciiBsw: boolean; readonly asciiDigit: boolean; readonly asciiPosix: boolean; readonly caselessRestrict: boolean; readonly dupnames: boolean; readonly ungreedy: boolean; readonly pcre2Mode: boolean; } const PCRE2_MAJOR: number; const PCRE2_MINOR: number; } export declare const PCRE2: typeof Addon.PCRE2, PCRE2_MAJOR: number, PCRE2_MINOR: number; type pcre2Tag = { (flags: string): pcre2Tag; (template: TemplateStringsArray, ...substitutions: unknown[]): Addon.PCRE2; }; export declare const pcre2: pcre2Tag; export {};