import type { ThinkingLevel } from "@ch1nyzzz/pi-agent-core"; import type { EvoPaths } from "../paths.ts"; import type { EvidenceCorpus } from "../reflect/evidence.ts"; import type { ModelRunner, ModelRunResult } from "../reflect/model-runner.ts"; import type { CounterfactualReplayResult } from "../reflect/replay.ts"; import type { EvolutionResearchPlan, Proposal } from "../types.ts"; import type { MaterializedCorpus } from "./research-corpus.ts"; declare const EVALUATION_VERDICTS: readonly ["verified", "needs-evidence", "unsupported", "invalid"]; export type EvolutionEvaluationVerdict = (typeof EVALUATION_VERDICTS)[number]; export interface EvolutionEvaluationResult { proposal: Proposal; verdict: EvolutionEvaluationVerdict; evaluation: ModelRunResult; adversarialReview: ModelRunResult; markdown: string; } export declare function runEvolutionEvaluator(options: { paths: EvoPaths; plan: EvolutionResearchPlan; proposal: Proposal; corpus: Pick; /** On-disk corpus tree; when present the prompt carries only its index. */ materializedCorpus?: MaterializedCorpus; replay?: CounterfactualReplayResult; /** * Recommended (non-required) evidence profiles the harness deferred to an * explicit user decision. Their absence bounds claims but is not a defect. */ deferredProfiles?: readonly string[]; runner: ModelRunner; cwd: string; agentDir?: string; model: string; thinkingLevel?: ThinkingLevel; activePreferences?: string; /** * Proposal review artifacts are immutable per revision; re-evaluations (evidence * resumption) keep their markdown in the run directory instead. Default true. */ attachArtifact?: boolean; signal?: AbortSignal; }): Promise; export {}; //# sourceMappingURL=evaluator.d.ts.map