export declare function escapeXml(s: string): string; /** * Best-effort JSON extractor for LLM grader responses. Tries, in order: * * 1. Parse the whole string (with ```json``` fencing stripped). * 2. Scan for every top-level balanced `{...}` block, respecting string * quoting so JSON-internal `{` / `}` don't confuse depth counting. * 3. Try the blocks from last to first — graders almost always put the * answer *after* their reasoning prose. * * Returns the first successful parse, or `null` if nothing parses. */ export declare function tryParseJson(s: string): unknown; //# sourceMappingURL=utils.d.ts.map