/** A discovered eval file. */ export interface DiscoveredEval { filePath: string; /** The pattern that matched this file, if available. */ matchedPattern?: string; } /** An error encountered during eval discovery. */ export interface EvalDiscoveryError { path: string; reason: string; } /** Result of eval discovery: found evals and any errors. */ export interface EvalDiscoveryResult { evals: DiscoveredEval[]; errors: EvalDiscoveryError[]; } /** Options for {@link discoverEvals}. */ export interface DiscoverEvalOptions { /** Filename patterns to match. Defaults to {@link DEFAULT_EVAL_FILENAMES}. */ patterns?: readonly string[]; } /** * Discover eval files under one or more directories. * * - Recursively scans for files matching the configured patterns (default: * `eval.yaml`, `eval.yml`) up to {@link MAX_SCAN_DEPTH} levels deep * (currently 10, matching workspace detection). Directories beyond that * depth are skipped and recorded as warnings in `errors`. * - All matching files in each directory are collected — not just the first. * - Excludes `node_modules`, `.git`, `dist`, and hidden dirs. * - Non-existent directories are recorded as errors, not thrown. * - Readdir failures within the tree are recorded as errors, not thrown. * - Deduplicates by resolved absolute path. * - Results are sorted by filePath for deterministic output. */ export declare function discoverEvals(evalDirs: string[], options?: DiscoverEvalOptions): Promise; //# sourceMappingURL=discover-evals.d.ts.map