/** * Check if a worktree or repository has uncommitted changes. * This includes unstaged changes, staged changes, and untracked files. * * @param worktreePath - The path to the worktree or repository * @returns true if there are uncommitted changes, false if clean */ export declare function hasUncommittedChanges(worktreePath: string): boolean; /** * Get the git repository root path from a given directory. * For worktrees, this returns the main repository root (parent of .git). * For submodules, this returns the submodule's working directory. * * @param cwd - The directory to start searching from * @returns The absolute path to the git repository root, or null if not in a git repo */ export declare function getGitRepositoryRoot(cwd: string): string | null;