import type { ProjectAutoDetectResult } from '../types/index.js';
/**
 * SPEC-509: Detect the git repository root from the current working directory.
 * Runs `git rev-parse --show-toplevel` synchronously (non-blocking, fast).
 * Returns the git root path or null when not inside a git repo.
 */
export declare function detectGitRoot(): string | null;
/**
 * Attempt to resolve a projectId + projectPath from the provided inputs.
 *
 * When the caller passes `projectPath` or `projectId` explicitly, this
 * function returns immediately without hitting the filesystem.
 *
 * When neither is provided it falls back to:
 *  1. `PLANU_PROJECT_PATH` env var
 *  2. Single registered project in the global registry
 *  3. Ambiguous / missing error with the full registered-project list
 *
 * @param params.projectId  - Optional explicit project hash
 * @param params.projectPath - Optional explicit absolute path
 * @returns ProjectAutoDetectResult discriminated union
 */
export declare function resolveProjectPath(params: {
    projectId?: string;
    projectPath?: string;
}): Promise<ProjectAutoDetectResult>;
//# sourceMappingURL=resolve-project-path.d.ts.map