/**
 * Git 快照 API 路由
 *
 * 提供 Git Stash 快照的创建、列表、恢复和删除功能
 */
export declare const gitRouter: import("express-serve-static-core").Router;
export declare function assertGitWorkspacePathAccessible(workspacePath: string): Promise<void>;
type GitDiffFileStatus = 'modified' | 'added' | 'deleted' | 'renamed';
/**
 * 判断 Git diff 汇总行是否应该展示在差异树中。
 * 普通 modified 且文本增删均为 0 通常是 filemode/元数据噪声，避免显示为“无差异内容”。
 */
export declare function shouldIncludeGitDiffSummaryFile(status: GitDiffFileStatus, additions: number, deletions: number, isBinaryDiff: boolean): boolean;
export {};
//# sourceMappingURL=git.d.ts.map