export interface WorktreeResult {
    worktreePath: string;
    branchName: string;
}
/**
 * Create a git worktree on a new branch from HEAD.
 * The worktree is placed as a sibling directory to the repo.
 */
export declare function createWorktree(repoPath: string, branchName: string): WorktreeResult;
/**
 * Remove a git worktree and optionally delete the branch.
 */
export declare function cleanupWorktree(repoPath: string, worktreePath: string, branchName?: string, deleteBranch?: boolean): void;
//# sourceMappingURL=git.d.ts.map