/** * Get the current git branch name. * Returns null if not in a git repo or if the command fails. */ export declare function getCurrentBranch(): string | null; /** * Check if a branch name is considered protected (main, master, develop). */ export declare function isProtectedBranch(branch: string): boolean; export declare function createBranch(name: string): void; export declare function branchExists(name: string): boolean; /** * Get the default branch from origin, falling back to main/master detection. */ export declare function getDefaultBranch(): string; /** * Check if the GitHub CLI (gh) is available. */ export declare function hasGhCli(): boolean; /** * Get list of uncommitted/untracked files from git status. */ export declare function getUncommittedFiles(): string[];