export interface LineDiff { added: number; deleted: number; } export interface TrackedFile { basename: string; fullPath: string; type: 'modified' | 'added' | 'deleted'; lineDiff?: LineDiff; } export interface FileStats { modified: number; added: number; deleted: number; untracked: number; trackedFiles: TrackedFile[]; } export interface GitStatus { branch: string; isDirty: boolean; ahead: number; behind: number; fileStats?: FileStats; lineDiff?: LineDiff; branchUrl?: string; /** Which VCS produced this status. Omitted (undefined) means 'git'. */ vcs?: 'git' | 'jj'; /** jj-native: true when the working-copy commit has an unresolved conflict. */ conflict?: boolean; } export declare function getGitBranch(cwd?: string): Promise; export declare function getGitStatus(cwd?: string): Promise; //# sourceMappingURL=git.d.ts.map