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 { EvolutionResearchPlan, EvolutionRun } from "../types.ts"; import type { MaterializedCorpus } from "./research-corpus.ts"; export declare function parseEvolutionResearchPlanValue(value: unknown): EvolutionResearchPlan; export interface RunEvolutionResearchPlanOptions { paths: EvoPaths; run: EvolutionRun; corpus: EvidenceCorpus; /** On-disk corpus tree; when present the prompt carries only its index. */ materializedCorpus?: MaterializedCorpus; runner: ModelRunner; cwd: string; agentDir?: string; model: string; thinkingLevel?: ThinkingLevel; activePreferences?: string; signal?: AbortSignal; } export interface EvolutionResearchPlanResult { plan: EvolutionResearchPlan; run: ModelRunResult; state: EvolutionRun; } export declare function persistEvolutionResearchPlan(options: { paths: EvoPaths; run: EvolutionRun; plan: unknown; }): Promise<{ plan: EvolutionResearchPlan; state: EvolutionRun; }>; export declare function runEvolutionResearchPlan(options: RunEvolutionResearchPlanOptions): Promise; //# sourceMappingURL=research-plan.d.ts.map