export declare type Branch = { name: string; current: boolean; modified?: boolean; status?: string; }; export declare type Repo = { dir: string; name: string; origin: string; branches?: Branch[]; }; export declare const parseOrigin: (origin: string) => any; /** * Get root path of current repo or undefined if not in a repo directory. */ export declare const getRepo: () => Promise; /** * Get list of repos. * @param root Optional root directory. */ export declare const getRepos: (root?: string | undefined) => Promise; export declare const parseRepo: (repo: string) => string | undefined; //# sourceMappingURL=git.d.ts.map