import { type CommandRunner } from "./process.js"; export interface GitWorktreeEntry { readonly path: string; readonly head: string | null; readonly branch: string | null; } /** * Reads the worktrees Git itself knows about. Herdr reports what it did; this is the * independent check that the repository really changed the same way. * * `-z` ends every record with a NUL, so a path that contains a newline cannot pretend to be * another record. It needs Git 2.36 or newer. */ export declare function readGitWorktrees(runner: CommandRunner, cwd: string, signal: AbortSignal | undefined): Promise; export declare function findGitWorktree(entries: readonly GitWorktreeEntry[], path: string): GitWorktreeEntry | undefined; //# sourceMappingURL=worktree.d.ts.map