export interface RepoValidationResult { valid: boolean; csprojCount: number; } /** Resolved-repo mode label used to tailor the error fix-line. */ export type ValidationRepoMode = "local" | "managed"; /** * Check whether a resolved repo on disk is a .NET C# repository — i.e. its * committed git tree (`HEAD`) contains at least one `*.csproj` file * (case-insensitive, non-empty stem). `*.cs` files alone do not count, and * `.vbproj`/`.fsproj` do not count (mcp-digger only handles C# syntax). * * Reads `HEAD` via `git ls-tree` (not the index via `git ls-files`) so a * staged-but-uncommitted `.csproj` does NOT make the repo pass validation * — every other mcp-digger tool reads from `HEAD` (`git show HEAD:`), * so the validity criterion must match downstream behaviour. Working-tree * and index-only `.csproj` files are intentionally ignored. */ export declare function validateNetCSharpRepo(repoPath: string): Promise; /** * Build the user-facing error message surfaced when a repo fails .NET C# * validation. Includes the repo name, the resolved path that was checked, * and a mode-specific fix hint so the user knows whether to inspect their * `localPath` or `url`. */ export declare function buildNotNetCSharpError(repoName: string, checkedPath: string, mode?: ValidationRepoMode): string; //# sourceMappingURL=repoValidation.d.ts.map