/** * Resolve the main repository root if the given directory is inside a git worktree. * * @param projectDir - Absolute path to the project directory * @returns The main repo root path if inside a worktree, or `null` if not a worktree */ export declare function resolveWorktreeRoot(projectDir: string): string | null; /** Returns worktree root if in a worktree, otherwise the original projectDir. */ export declare function getCanonicalProjectPath(projectDir: string): string; //# sourceMappingURL=worktree.d.ts.map