/** * Parse git status --porcelain=v2 --branch output. * * Format reference: * - Branch headers: # branch.oid, # branch.head, # branch.upstream, # branch.ab * - Ordinary changed entries: 1 * - Renamed/copied entries: 2 * - Unmerged entries: u

* - Untracked entries: ? * - Ignored entries: ! */ export interface StatusInfo { branch: { oid: string; head: string; upstream?: string; ahead?: number; behind?: number; }; isDetachedHead: boolean; unmergedPaths: string[]; stagedFiles: string[]; modifiedFiles: string[]; untrackedFiles: string[]; } export declare function parseStatus(status: string): StatusInfo; //# sourceMappingURL=status-parser.d.ts.map