/** * Hooks Checker — dry-runs the SpecWeave 2.0 hook launcher for each of the * four supported events (including compatibility-only handlers) with a sample stdin and validates the JSON output * against the per-event Claude Code schema. */ import type { HealthChecker, CategoryResult, DoctorOptions } from '../types.js'; import { HOOK_EVENTS } from '../../hooks/handlers/types.js'; /** Per-event launcher budget: a hook that needs longer than this is broken. */ export declare const DRY_RUN_TIMEOUT_MS = 10000; /** Sample payloads that must never trigger a block or a side effect. */ export declare const SAMPLE_HOOK_INPUT: Record<(typeof HOOK_EVENTS)[number], Record>; /** The specweave package root: walk up from this file until package.json name === 'specweave'. */ export declare function packageRoot(): string; export declare class HooksChecker implements HealthChecker { category: string; check(projectRoot: string, options: DoctorOptions): Promise; /** hooks.json uses a quoted node command string (Codex ignores separate args). */ private checkHooksJson; private dryRun; } //# sourceMappingURL=hooks-checker.d.ts.map