import type { Run } from "../config/types.js"; import type { ReporterPlugin } from "./types.js"; /** * Escape a string for safe inclusion in XML attributes and text content. * Strips XML 1.0 illegal control characters (U+0000-U+0008, U+000B, * U+000C, U+000E-U+001F). LLM output commonly contains these. * Preserves: tab (0x09), newline (0x0A), carriage return (0x0D). */ export declare function escapeXml(str: string): string; /** Formats a Run artifact as a JUnit XML string. Multi-trial cases are grouped into a single testcase with pass/total counts. */ export declare function formatJunitXml(run: Run): string; /** Built-in JUnit XML reporter plugin. Writes to `options.output` if set, otherwise returns the XML string. */ export declare const junitReporterPlugin: ReporterPlugin; //# sourceMappingURL=junit.d.ts.map