import type { Grade } from "./types.js"; /** * Combine the k single-shot trials of one grader into a single Grade. * Scalar scores are averaged; binary scores use `any`/`all`; feedback is the * newline-joined non-empty feedback across trials (undefined if none). * * Throws on an empty trials array: an empty `every`/`some` would silently * report a passing binary grade. Callers guarantee at least one trial. */ export declare function aggregateGrades(trials: Grade[], mode: "any" | "all"): Grade;