import type { ThinkingLevel } from "@ch1nyzzz/pi-agent-core"; import { type TrialComparison } from "../comparison.ts"; import type { EvoPaths } from "../paths.ts"; import type { Proposal, TrialState } from "../types.ts"; import { type EvidenceCorpus } from "./evidence.ts"; import type { ModelRunner, ModelRunResult } from "./model-runner.ts"; export interface RunRetrospectiveOptions { paths: EvoPaths; runner: ModelRunner; cwd?: string; agentDir?: string; model?: string; thinkingLevel?: ThinkingLevel; maxCorpusBytes?: number; } export type TrialRecommendation = "keep" | "rollback" | "extend"; export interface RetrospectiveRunResult { proposal: Proposal; trial: TrialState; corpus: EvidenceCorpus; comparison: TrialComparison; retrospectiveMarkdown: string; recommendation?: TrialRecommendation; reused: boolean; run?: ModelRunResult; } export declare function runRetrospective(options: RunRetrospectiveOptions): Promise; //# sourceMappingURL=retrospective.d.ts.map