/** * Benchmark document loading and validation for dsh-eval. YAML parses with * js-yaml's safe loader; zod validates the parsed shape; prompt files and * workspaces resolve against the benchmark file's directory. * * @module dsh-eval/benchmark */ import type { Benchmark } from './types.ts'; /** * Parse benchmark YAML text into a validated runtime document. * @param text - the benchmark document's YAML source. * @param baseDir - absolute directory used to resolve prompt and workspace paths. * @returns the validated benchmark. */ export declare function parseBenchmark(text: string, baseDir: string): Promise; /** * Load and validate a benchmark document from disk. * @param path - path to the benchmark YAML file. * @returns the validated benchmark. */ export declare function loadBenchmark(path: string): Promise;