/**
 * Check if a directory is a git repository
 * @param dirPath Directory path
 * @returns "Yes" if it's a git repository, "No" otherwise
 */
export declare function isGitRepository(dirPath: string): string;
/**
 * Get the root directory of the git repository
 * @param cwd Working directory
 * @returns Repository root path
 */
export declare function getGitRepoRoot(cwd: string): string;
/**
 * Get the common directory of the git repository (handles worktrees)
 * @param cwd Working directory
 * @returns Repository common directory path
 */
export declare function getGitCommonDir(cwd: string): string;
/**
 * Get the main repository root directory (the first worktree in the list)
 * @param cwd Working directory
 * @returns Main repository root path
 */
export declare function getGitMainRepoRoot(cwd: string): string;
/**
 * Get the default remote branch (e.g., origin/main)
 * @param cwd Working directory
 * @returns Default remote branch name
 */
export declare function getDefaultRemoteBranch(cwd: string): string;
/**
 * Check if there are uncommitted changes in the working directory
 * @param cwd Working directory
 * @returns True if there are uncommitted changes
 */
export declare function hasUncommittedChanges(cwd: string): boolean;
/**
 * Check if there are new commits in the current branch that are not in the base branch
 * @param cwd Working directory
 * @param baseBranch Base branch name (e.g., origin/main)
 * @returns True if there are new commits
 */
export declare function hasNewCommits(cwd: string, baseBranch?: string): boolean;
//# sourceMappingURL=gitUtils.d.ts.map