/** * `peaks hooks *` — the Peaks-managed hook entry in the adapter's settings.json. * * The `install` verb and the hook-script distribution stay in this file because * three source-scanning guards pin file-level facts to this exact path: * * - `tests/unit/cli/ide-option-help-lists-the-registry.test.ts` needs an * `--ide` option declaration here whose help is derived from the registry; * - `tests/unit/runtime/vendor-neutral-identity-guard.test.ts` pins the two * user-global Claude Code skill-bridge copy targets to this file * (`settingsPaths: 2` in its `KNOWN_DEBT` census); * - `tests/unit/hooks/gate-enforce-machine-local-shell.test.ts` scans this * file for the CJS module-directory global, because this is where the hook * script sources are resolved. * * The other verbs live beside it: `hooks-uninstall-command.ts`, * `hooks-status-command.ts`, the two install envelopes in * `hooks-install-envelopes.ts`, and the scope / IDE resolution in * `hooks-command-shared.ts`. */ import type { Command } from 'commander'; import { type ProgramIO } from '../cli-helpers.js'; export declare function registerHooksCommands(program: Command, io: ProgramIO): void;