/** * crewx hook-dispatch — CLI subcommand invoked by Claude/Codex PreToolUse hook. * * Reads stdin JSON from the provider, loads HookPlugins from crewx.yaml, * evaluates them, and writes stdout JSON response back. * * Protocol: * stdin → ClaudeHookInput JSON * stdout → ClaudeHookOutput JSON * exit 0 → allow, exit 2 → deny * * Security (M1): * --provider argument is REQUIRED. Missing → process.exit(1) fail-closed. */ export declare function handleHookDispatch(args: string[]): Promise;