export interface SafeRegExpOptions { readonly operation: string; readonly maxPatternChars?: number | undefined; readonly maxInputChars?: number | undefined; } export declare function compileSafeRegExp(source: string, flags: string, options: SafeRegExpOptions): RegExp; export declare function assertSafeRegexInput(input: string, options: SafeRegExpOptions): void; export declare function safeRegExpTest(regex: RegExp, input: string, options: SafeRegExpOptions): boolean; export declare function safeRegExpExec(regex: RegExp, input: string, options: SafeRegExpOptions): RegExpExecArray | null; //# sourceMappingURL=safe-regex.d.ts.map