import type { GitFileContentResult } from "./types.js"; /** * 使用 `git cat-file --batch` 一次性高效地获取多个文件的完整内容。 * 这是为脚本设计的最高效的 Git 底层命令之一。 * * @param repoPath git 仓库的绝对或相对路径。 * @param commitRef 要从中读取文件的 commit 引用 (例如 'HEAD', 'main', 或一个 commit hash)。 * @param filePaths 一个包含文件路径的数组,路径相对于仓库根目录。 * @returns 一个 Promise,它解析为一个包含文件内容结果的数组。 */ export declare function gitCommitContents(repoPath: string, commitRef: string, filePaths: string[]): Promise; //# sourceMappingURL=gitCommitContents.d.ts.map