export interface GitInfo { repoUrl?: string; repoKind?: 'github' | 'gitlab' | 'bitbucket' | 'gitee'; repoBranch?: string; } /** * 从 Git 配置中自动检测仓库信息 */ export declare function detectGitInfo(projectPath: string): Promise; /** * 获取当前 Git 提交的 SHA */ export declare function getCurrentCommitSha(projectPath: string): string | undefined; /** * 获取最近的提交信息 */ export declare function getRecentCommits(projectPath: string, count?: number): string[]; //# sourceMappingURL=git.d.ts.map