/** * Git repository and hook manager detection */ /** * Types of hook managers detected */ export type HookManager = 'husky' | 'simple-git-hooks' | 'native' | 'none'; /** * Git detection result */ export interface GitDetectionResult { /** Is current directory a git repository */ isGitRepo: boolean; /** Detected hook manager type */ hookManager: HookManager; /** Path to git directory */ gitDir: string | null; } /** * Detect if current directory is a git repository * @returns True if in git repository */ export declare function isGitRepository(): Promise; /** * Get path to .git directory * @returns Path to .git directory or null if not found */ export declare function getGitDirectory(): Promise; /** * Detect which hook manager is being used * @returns Hook manager type */ export declare function detectHookManager(): HookManager; /** * Perform full git detection * @returns Git detection result with repo status and hook manager */ export declare function detectGitEnvironment(): Promise; //# sourceMappingURL=detector.d.ts.map