import { type ExperimentFileSystem, type ExperimentRunOptions as WorkspaceExperimentRunOptions, type ExperimentRunResult, type JournalEntry } from "../../packages/experiment-loop/dist/index.js"; import type { WorktreeExecutionOptions } from "./types.js"; export type { AgentRunInput, AgentRunResult, EvalResult, ExperimentFileSystem, ExperimentFrontmatter, ExperimentRunResult, ExperimentStopReason, JournalEntry, MetricDef, MetricDirection } from "../../packages/experiment-loop/dist/index.js"; export type ExperimentRunOptions = WorkspaceExperimentRunOptions & { worktree?: WorktreeExecutionOptions; }; export interface ExperimentJournalOptions { cwd: string; homeDir: string; docPath: string; fs?: ExperimentFileSystem; } export declare function runExperiment(options: ExperimentRunOptions): Promise; export declare function readExperimentJournal(options: ExperimentJournalOptions): Promise; export interface AppendJournalEntryOptions extends ExperimentJournalOptions { entry: JournalEntry; } export declare function appendExperimentJournalEntry(options: AppendJournalEntryOptions): Promise;