import type { Grader, GraderInput, GraderMetadata, GraderResult } from "../types.js"; export declare class CustomMetricsGrader implements Grader { metadata: GraderMetadata; constructor(); /** `custom-metrics metrics.json` — the metrics file discriminates. */ defaultName(config: Record): string; /** * A pass condition of pure absence: every assertion checks that a metric is * `absent`. Such a config is satisfied by an empty metrics object, so on the * `vally oracle` baseline (which synthesizes empty metrics for a withheld * `golden_custom_metrics`) it passes correctly and is reported N/A rather than * flagged as trivially passing. Any presence/value assertion makes the config * a presence assertion (expected to fail on the empty baseline), so all * assertions must be `absent` for this to hold. */ assertsAbsence(config: Record): boolean; grade(input: GraderInput): Promise; private resolvePath; private normalizeAssertions; private normalizeAssertion; private loadMetrics; private fileFailure; private evaluateAssertion; private detail; } //# sourceMappingURL=custom-metrics-grader.d.ts.map