import type { AxisConfig } from "../types/config.js"; import type { JudgeCriterion, Scenario } from "../types/scenario.js"; export declare function validateConfig(data: unknown, filePath: string): asserts data is AxisConfig; /** * Validates a scenario object. * * @param mode "file" — loaded from a JSON scenario file; the loader will assign * the `key` from the file path and rejects any user-supplied `key`. * "inline" — declared inline in `axis.config.*`; the user must * provide a non-empty `key` string. */ export declare function validateScenario(data: unknown, filePath: string, mode?: "file" | "inline"): asserts data is Scenario; export declare function validateMcpServers(data: unknown, filePath: string): void; /** * Resolve optional weights on judge entries. Entries with explicit weights * keep them; entries without a weight split the remaining budget equally. * If no entries have weights, each gets `1 / n`. */ export declare function resolveJudgeWeights(judge: JudgeCriterion[]): JudgeCriterion[]; //# sourceMappingURL=validator.d.ts.map