/**
 * Hook router — the central dispatcher for all hook events.
 *
 * Reads stdin JSON, resolves the project root, dynamically imports the
 * correct handler, and returns JSON. Wraps everything in try/catch so
 * no hook can ever crash.
 *
 * @module core/hooks/handlers/hook-router
 */
import type { HookResult } from './types.js';
/**
 * Route a hook event to the correct handler.
 *
 * @param eventType - The hook event type ('pre-tool-use' or 'user-prompt-submit')
 * @param rawStdin - Raw stdin string (JSON from Claude Code)
 * @returns HookResult — always valid JSON, never throws
 */
export declare function hookRouter(eventType: string, rawStdin: string): Promise<HookResult>;
//# sourceMappingURL=hook-router.d.ts.map