export declare function getCurrentCommitInfo(): Promise<{ /** commit hash `71f08b12d45d44255c31f7b7d135bd15a93fdaac` */ commitSha: string; /** committer date, UNIX timestamp in seconds */ timestamp: number; }>; /** * Returns a chornological list of commits from `$branch`. * * - `--format=format:%H`: Print the full commit hash only * - `-n`: Display up to n commits * - `--no-pager` suppress interactive mode * * (from git-log docs): * List commits that are reachable by following the parent links from the given commit(s), * but exclude commits that are reachable from the one(s) given with a ^ in front of them. * The output is given in reverse chronological order by default. */ export declare function getBranchCommitList(branch: string, n?: number): Promise; /** * Resolve a heads ref */ export declare function getBranchLatestCommit(branch: string): Promise; //# sourceMappingURL=git.d.ts.map