export interface WorktreeInfo { path: string; head: string; branch: string | null; } export declare class GitService { private git; constructor(repoPath: string); getCurrentBranch(): Promise; getRepoRoot(): Promise; getDefaultBranch(): Promise; createBranch(name: string): Promise; add(files: string | string[]): Promise; commit(message: string): Promise; push(branch: string, setUpstream?: boolean): Promise; addWorktree(path: string, branch: string): Promise; removeWorktree(path: string): Promise; listWorktrees(): Promise; createTag(name: string, message: string): Promise; pushWithTags(branch: string): Promise; getLatestTag(): Promise; getCommitsSinceTag(tag: string): Promise; }