import type { Artifact, Sample, SampleEnvironment, Task } from '../types/index.js'; /** * 把 sample.environment 渲染成自然语言段落,放在用户 prompt 前。 * 让 LLM 读到"环境已就绪",跳过 Glob / find / which / Read 这些环境探测, * 直接进入 skill 描述的工作流 — 评测信号纯,mock 设计也简化(不用 mock 探测命令)。 * * 输出 null 表示 sample 没声明 environment,prompt 不变。 */ export declare function renderEnvironmentSection(env: SampleEnvironment | undefined): string | null; export declare function buildTasks(samples: Sample[], variants: string[], skills: Record): Task[]; export declare function buildTasksFromArtifacts(samples: Sample[], artifacts: Artifact[]): Task[];