import { type IsolatedTeardownResult } from './worktree-managed.js'; export declare function lockWorktreeForBackground(repoRoot: string, worktreePath: string): Promise; export declare function unlockWorktreeForPromotion(repoRoot: string, worktreePath: string): Promise; export declare function teardownBackgroundWorktree(args: { repoRoot: string; worktreePath: string; }): Promise;