import type { GraderFn } from "../types.js"; /** Options for the `regex` grader. */ export interface RegexOptions { /** RegExp flags (e.g., `"i"` for case-insensitive, `"s"` for dotAll). Only used when `pattern` is a string. */ readonly flags?: string | undefined; } /** Checks that output.text matches the given regex pattern. */ export declare function regex(pattern: string | RegExp, options?: RegexOptions): GraderFn; //# sourceMappingURL=regex.d.ts.map