export interface GitCommand { args: string[]; cwd: string; exitCode: number; stderr: string; } export type GitCommandObserver = (command: GitCommand) => void; export interface GitContext { cwd: string; onCommand?: GitCommandObserver; } interface Remote { name: string; url: string; } export declare const getRemotes: (ctx: GitContext) => Promise; export declare const getHead: (ctx: GitContext) => Promise; export declare const getGitVersion: (ctx: GitContext) => Promise; export declare const getCurrentBranch: (ctx: GitContext) => Promise; export declare const getUpstream: (ctx: GitContext) => Promise; export declare const getWorkTreeStatus: (ctx: GitContext) => Promise<{ hasChanges: boolean; untracked: string[]; }>; export declare const getRemoteBranchesContaining: (ctx: GitContext, sha: string) => Promise; export {}; //# sourceMappingURL=git.d.ts.map