/** * Claude Code HTTP Hooks — Webhook Endpoint * * Receives structured hook events from Claude Code's HTTP hooks system. * Replaces fragile PTY output scraping for state detection with deterministic * event-driven signals. * * @module api/hook-routes */ import type { IncomingMessage, ServerResponse } from "node:http"; import type { RouteContext } from "./routes.js"; /** * Handle Claude Code HTTP hook routes. * Returns true if the route was handled, false otherwise. */ export declare function handleHookRoutes(req: IncomingMessage, res: ServerResponse, pathname: string, ctx: RouteContext): Promise; //# sourceMappingURL=hook-routes.d.ts.map