/**
 * Walk upward from `cwd` looking for a `.git` directory or file (worktrees use a `.git` file).
 * Returns the directory containing `.git`, or `null` if not in a git repo.
 */
export declare function findGitRoot(cwd: string): string | null;
//# sourceMappingURL=git-root.d.ts.map