/** * Git hook installation for different hook managers */ import { HookManager } from './detector'; /** * Hook installation result */ export interface HookInstallResult { /** Installation was successful */ success: boolean; /** Error message if failed */ error?: string; /** Hook file path that was modified */ hookPath?: string; /** Whether hook was already installed */ alreadyInstalled?: boolean; } /** * Install pre-commit hook based on detected hook manager * @param hookManager - Detected hook manager type * @param gitDir - Path to .git directory * @returns Installation result */ export declare function installPreCommitHook(hookManager: HookManager, gitDir: string): HookInstallResult; //# sourceMappingURL=hook-installer.d.ts.map