import { Value, BooleanValue, JSStringValue, UndefinedValue } from '../value.mts'; import { ThrowCompletion, type ValueEvaluator } from '../completion.mts'; import type { Mutable } from '../utils/language.mts'; import type { RegExpObject } from '../intrinsics/RegExp.mts'; import { type FunctionObject } from './all.mts'; /** https://tc39.es/ecma262/#sec-regexpalloc */ export declare function RegExpAlloc(newTarget: FunctionObject): ValueEvaluator; /** https://tc39.es/ecma262/#sec-regexpinitialize */ export declare function RegExpInitialize(obj: Mutable, pattern: Value, flags: Value): Generator | ThrowCompletion, import("#self").EvaluatorNextType>; /** https://tc39.es/ecma262/#sec-regexpcreate */ export declare function RegExpCreate(P: Value, F: Value): ValueEvaluator; /** https://tc39.es/ecma262/#sec-escaperegexppattern */ export declare function EscapeRegExpPattern(P: JSStringValue, _F: Value): JSStringValue; /** https://tc39.es/ecma262/#sec-getstringindex */ export declare function GetStringIndex(S: JSStringValue, Input: readonly string[], e: number): number; export interface MatchRecord { readonly StartIndex: number; readonly EndIndex: number; } /** https://tc39.es/ecma262/#sec-getmatchstring */ export declare function GetMatchString(S: JSStringValue, match: MatchRecord): JSStringValue; /** https://tc39.es/ecma262/#sec-getmatchindexpair */ export declare function GetMatchIndexPair(S: JSStringValue, match: MatchRecord): import("#self").OrdinaryObject; /** https://tc39.es/ecma262/#sec-makematchindicesindexpairarray */ export declare function MakeMatchIndicesIndexPairArray(S: JSStringValue, indices: readonly (MatchRecord | UndefinedValue)[], groupNames: readonly (JSStringValue | UndefinedValue)[], hasGroups: BooleanValue): import("#self").OrdinaryObject; /** https://tc39.es/ecma262/#sec-regexphasflag */ export declare function RegExpHasFlag(R: Value, codeUnit: string): BooleanValue | BooleanValue | ThrowCompletion | UndefinedValue; //# sourceMappingURL=regexp-objects.d.mts.map