import Command from "../../command/Command.js"; import CliKernel from "../CliKernel.js"; /** * Commande `nodefony git:hooks` — hooks git natifs (`core.hooksPath`), zéro * dépendance. * * **Exécutée en « standalone » (zéro boot).** L'enregistrement ici sert au help * (`nodefony --help`) et à la complétion ; l'exécution réelle est interceptée * par le fast-path de {@link CliKernel.start} AVANT toute construction de * Kernel — la commande n'écrit que deux fichiers et une clé de config. Le * `generate()` ci-dessous n'est qu'un FILET. * * @example * ```bash * nodefony git:hooks # pose .githooks/ + core.hooksPath * nodefony git:hooks --dry-run # le plan, sans rien écrire ni configurer * ``` */ declare class GitHooks extends Command { constructor(cli: CliKernel); generate(opts?: { dryRun?: boolean; json?: boolean; cwd?: string; }): Promise; } export default GitHooks;