import type { ToolDefinition } from "../../extensibility/extensions/index.js";
import type { AutoresearchToolFactoryOptions, ExperimentState } from "../types.js";
export declare const HARNESS_FILENAME = "autoresearch.sh";
export declare const DEFAULT_HARNESS_COMMAND = "bash autoresearch.sh";
declare const initExperimentSchema: import("arktype/internal/variants/object.ts").ObjectType<{
    name: string;
    goal?: string | undefined;
    primary_metric: string;
    metric_unit?: string | undefined;
    direction?: "higher" | "lower" | undefined;
    secondary_metrics?: string[] | undefined;
    scope_paths?: string[] | undefined;
    off_limits?: string[] | undefined;
    constraints?: string[] | undefined;
    max_iterations?: number | undefined;
    new_segment?: boolean | undefined;
}, {}>;
interface InitExperimentDetails {
    state: ExperimentState;
    createdSession: boolean;
    bumpedSegment: boolean;
    abandonedRuns: number;
    harnessCommitted: boolean;
    baselineCommit: string | null;
}
export declare function createInitExperimentTool(options: AutoresearchToolFactoryOptions): ToolDefinition<typeof initExperimentSchema, InitExperimentDetails>;
export {};
