import type { CurrentCommitInfo } from "./types"; /** * 检查当前仓库是否为初始 commit(无历史记录) * @returns 是否为初始 commit */ export declare const isInitialCommit: () => boolean; /** * 获取当前 HEAD commit 的信息 * @returns commit message 和 hash */ export declare const getCurrentCommit: () => CurrentCommitInfo; /** * 获取当前 commit 涉及的变更文件列表 * @returns 文件路径数组 */ export declare const getCommittedFiles: () => string[]; //# sourceMappingURL=git-files.d.ts.map