/** * Detect the git repository root for the current working directory. * Returns the absolute path to the git root, or null if not in a git repo. * Result is cached per execution to prevent spawning multiple processes. */ export declare function getGitRoot(): string | null; /** * Reset the cached git root. Useful for testing or when the cwd changes significantly. */ export declare function resetGitRootCache(): void;