export interface ValidationSuccess { valid: true; } export interface ValidationFailure { valid: false; error: string; } export type ValidationResult = ValidationSuccess | ValidationFailure; /** * Validate that the target path is a git repository. * Supports both regular repos (.git subdirectory) and bare repos (HEAD file at root). */ export declare function validateRepo(repoPath: string): Promise; /** * Validate that the `git` binary is available on PATH. */ export declare function validateGitBinary(): Promise; /** * Run all validations and return the first failure, or success. */ export declare function validate(repoPath: string): Promise; //# sourceMappingURL=validator.d.ts.map