import type { GraderFn } from "../types.js"; /** Options for the `noHallucinatedNumbers` grader. Integers in the range 1900–2100 are always skipped as years regardless of options. */ export interface NoHallucinatedNumbersOptions { /** Relative tolerance for matching numbers (e.g., 0.005 = 0.5%). @default 0.005 */ readonly tolerance?: number | undefined; /** Skip integers with absolute value less than 10 (commonly used as labels, not data). @default true */ readonly skipSmallIntegers?: boolean | undefined; } /** * Checks that numbers in output.text are grounded in tool call results. * Catches the #1 most dangerous agent failure mode: fabricated numbers. * * Algorithm: * 1. Extract all numbers from output.text * 2. Extract all numbers from tool call results * 3. For each number in text, check if any tool result number matches within tolerance * 4. Report hallucinated numbers (text numbers with no source in tool results) */ export declare function noHallucinatedNumbers(options?: NoHallucinatedNumbersOptions): GraderFn; //# sourceMappingURL=no-hallucinated-numbers.d.ts.map