export interface ActivateHooksResult {
    /** True when `core.hooksPath` was set during this call. */
    activated: boolean;
    /** Why the call short-circuited; populated when `activated` is false. */
    reason?: 'not-a-git-repo' | 'git-missing' | 'already-set-elsewhere' | 'already-set-correctly' | 'git-error';
    /** Value `core.hooksPath` held before any write attempt. */
    previousValue?: string;
}
/**
 * Pure-ish core: takes a cwd, returns a structured outcome. Side
 * effects are limited to invoking `git config` against the supplied
 * cwd. The CLI wrapper renders log output from the result.
 */
export declare function activateHooks(cwd: string): ActivateHooksResult;
/**
 * CLI wrapper. Renders a short status line and ALWAYS exits 0 so a
 * postinstall hook never aborts `npm install`.
 */
export declare function runHooksActivate(cwd: string): void;
//# sourceMappingURL=hooks-cli.d.ts.map