import type { BoberConfig } from "../config/schema.js"; import { type PipelineResult } from "./pipeline.js"; export declare function deriveWorktreeSlug(task: string): string; export interface RunInWorktreeOpts { /** When true, skip the dirty-tree check and allow worktree creation anyway. Default false. */ allowDirty?: boolean; /** When true, retain the worktree on success (overrides pipeline.cleanupWorktreeOnSuccess). Default false. */ keepOnSuccess?: boolean; /** Injected pipelineFn for testing. Defaults to the real runPipeline. */ pipelineFn?: (task: string, projectRoot: string, config: BoberConfig) => Promise; } export interface RunInWorktreeResult { runId: string; branch: string; worktreePath: string; } export declare function runInWorktree(task: string, projectRoot: string, config: BoberConfig, opts?: RunInWorktreeOpts): Promise; //# sourceMappingURL=worktree.d.ts.map