export interface CloneFirstWorktreeAdd { gitRoot: string; dest: string; branch?: { flag: "-b" | "-B"; name: string; }; detach?: boolean; quiet?: boolean; startPoint?: string; } export interface CloneFirstWorktreeResult { cloned: boolean; message: string; } export declare const worktreeRollbackError: (gitRoot: string, worktree: string, branch: string | undefined, error: unknown, cleanupError: unknown) => Error; export declare const addCloneFirstWorktree: (options: CloneFirstWorktreeAdd) => Promise; /** * Remove a worktree, then its branch when one is named. The branch is deleted * even when the worktree removal fails; the first failure is rethrown. */ export declare const removeWorktree: (gitRoot: string, worktree: string, branch?: string) => Promise; //# sourceMappingURL=clone-first-worktree.d.ts.map