import type { JsonValue } from "#shared/json.js"; import { type AgentRouterInput } from "#execution/tools/agent-router.js"; import { type WorkflowTaskToolDefinition } from "#tools/workflow-definition.js"; export type { AgentRouterInput }; export type AgentRouterTool = WorkflowTaskToolDefinition; /** * Defines a workflow tool that uses JEV to route a task across all available * agent targets. Each call runs as a task. */ export declare function agentRouter(): AgentRouterTool;