///
import * as child_process from "mz/child_process";
export declare function git(cmd: string, args?: string[] | Record, options?: child_process.ExecFileOptions): Promise;
export declare function gitBranch(cwd?: string): Promise;
export declare function gitHead(cwd?: string): Promise;
export interface Commit {
hash: string;
subject: string;
body: string;
changes?: string[];
}
export declare function getCommits({ gitRef, cwd, filter, cache, }: {
gitRef?: string;
cwd?: string;
filter?: string;
cache?: Map;
}): Promise;
export declare function resolveGitRef(refs: string[], options?: {
cwd?: string;
cache?: Map;
}): Promise;
export declare function dargs(input?: Record | string[]): string[];