import type { BaseGrader } from "../grading/baseGrader.js"; import type { GradersSnapshot, RecordedGraders } from "../grading/gradingModule.js"; /** Load the graders of a `graders.json` from disk. Each grader is named by * the file and its hash, as a module's graders are, so a score row says * which version of the file produced it. */ export declare function loadGradersJson(filePath: string): Promise; /** What a run directory keeps for a `graders.json`: the file itself under * its hash. Loads the graders once so a broken file fails here, before any * agent runs. No JSON kind reads a file by path, so there are no judge * files; a checklist's context lives under `graderFiles/`, which the run * directory stores on its own. */ export declare function snapshotGradersJson(filePath: string): Promise; /** Load graders from a run directory's stored `graders.json`. The revision * is the hash under the original source path, so a row graded from the * snapshot and one graded live from the unchanged file agree. */ export declare function loadGradersJsonSnapshot(gradersDir: string, recorded: RecordedGraders): Promise;