export declare function getGitBranch(cwd: string): Promise<string | null>;
/** Count staged, modified, deleted, renamed, and untracked files. */
export declare function getGitDirtyFileCount(cwd: string): Promise<number>;
/**
 * Whether `cwd` is inside a git work tree. Distinct from getGitBranch, which
 * returns null both for non-repos AND for freshly-init'd repos with no commits
 * (rev-parse HEAD fails before the first commit).
 */
export declare function isGitRepo(cwd: string): Promise<boolean>;
//# sourceMappingURL=git.d.ts.map