import { type SandboxRegex, type SandboxValue } from "../values.js";
import { type RegexMatch } from "../regex/engine.js";
export type RegexMethodName = "exec" | "test";
export declare function isRegexMethodName(property: string | number): property is RegexMethodName;
export declare function getRegexMember(target: SandboxRegex, property: string | number): SandboxValue | undefined;
export declare function setRegexMember(target: SandboxRegex, property: string | number, value: SandboxValue): void;
export declare function callRegexMethod(target: SandboxRegex, methodName: RegexMethodName, args: readonly SandboxValue[]): SandboxValue;
export declare function executeRegex(target: SandboxRegex, input: string): RegexMatch | null;
export declare function toMatchArray(match: RegexMatch | null, input: string): SandboxValue;
