import { a as AgentToolEventState, c as AgentToolRunInspection, d as AgentToolStoredChunk, f as AgentToolTerminalStatus, h as RunAgentToolResult, i as AgentToolEventMessage, l as AgentToolRunState, m as RunAgentToolOptions, n as AgentToolDisplayMetadata, o as AgentToolLifecycleResult, p as ChatCapableAgentClass, r as AgentToolEvent, s as AgentToolRunInfo, t as AgentToolChildAdapter, u as AgentToolRunStatus } from "./agent-tool-types-DSteYkkS.js"; import { Tool } from "ai"; //#region src/agent-tools.d.ts type SchemaLike = { parse(value: unknown): T; }; type AgentToolFactoryOptions = { description: string; inputSchema: unknown; outputSchema?: SchemaLike; displayName?: string; icon?: string; display?: AgentToolDisplayMetadata; }; /** * Create an AI SDK tool that dispatches a chat-capable sub-agent through * `Agent.runAgentTool`. */ declare function agentTool( cls: ChatCapableAgentClass, options: AgentToolFactoryOptions ): Tool< Input, | string | Output | { ok: false; error: string; } >; //#endregion export { type AgentToolChildAdapter, type AgentToolDisplayMetadata, type AgentToolEvent, type AgentToolEventMessage, type AgentToolEventState, type AgentToolFactoryOptions, type AgentToolLifecycleResult, type AgentToolRunInfo, type AgentToolRunInspection, type AgentToolRunState, type AgentToolRunStatus, type AgentToolStoredChunk, type AgentToolTerminalStatus, type ChatCapableAgentClass, type RunAgentToolOptions, type RunAgentToolResult, agentTool }; //# sourceMappingURL=agent-tools.d.ts.map