import type { SkillInfo, WorkspaceContext } from "./types.js"; /** * Look up a skill by name inside a workspace context. * * @returns The matching {@link SkillInfo}, or `undefined` if no skill with * that name exists in the workspace. */ export declare function findSkill(wsCtx: WorkspaceContext, name: string): SkillInfo | undefined; /** * Resolve the eval.yaml path for a skill within a workspace context. * * Uses a 3-priority cascade: * * 1. **Separated convention** — `{wsCtx.root}/{wsCtx.evalsDir}/{skillName}/eval.yaml` * 2. **Nested subdir** — `{skillInfo.dir}/evals/eval.yaml` * 3. **Co-located / legacy** — `{skillInfo.dir}/eval.yaml` * * @returns Absolute path to `eval.yaml`, or `undefined` if no eval file is * found at any of the three locations. * @throws If the skill name is not found in the workspace context. */ export declare function findEval(wsCtx: WorkspaceContext, skillName: string): string | undefined; //# sourceMappingURL=find-eval.d.ts.map