/**
 * Coding Agent HTTP Hooks — Webhook Endpoint
 *
 * Receives structured hook events from coding agent CLI hooks systems.
 * Claude Code sends native HTTP hooks; Gemini CLI bridges via curl commands.
 * 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.ts";
/**
 * 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<boolean>;
//# sourceMappingURL=hook-routes.d.ts.map