export type GitResult = { ok: true; out: string; } | { ok: false; err: string; }; export declare function git(cwd: string, args: readonly string[]): string; export declare function gitMaybe(cwd: string, args: readonly string[]): GitResult; export declare function gitMaybeWithDirectoryDescriptor(cwd: string, args: readonly string[], fd: number): GitResult; export declare function worktreeInventory(cwd: string): Array<{ path: string; ref?: string; head?: string; }>; export declare function parseWorktreeInventory(body: string): Array<{ path: string; ref?: string; head?: string; }>; export declare function gitOperations(cwd: string): string[]; export declare function overwriteRiskPaths(cwd: string, changed: readonly string[]): string[]; export declare function isAncestor(cwd: string, ancestor: string, descendant: string): boolean; export declare function nulEntries(value: string): string[]; //# sourceMappingURL=git.d.ts.map