import { AgentRunContext, ToolType } from "../agent-types.js";
import { ToolSet } from "ai";

//#region src/domains/run/agents/tools/tool-wrapper.d.ts
declare function sanitizeToolsForAISDK(tools: Record<string, any>): Record<string, any>;
declare function wrapToolWithStreaming(ctx: AgentRunContext, toolName: string, toolDefinition: ToolSet[string], streamRequestId?: string, toolType?: ToolType, options?: {
  needsApproval?: boolean;
  mcpServerId?: string;
  mcpServerName?: string;
}): ToolSet[string];
//#endregion
export { sanitizeToolsForAISDK, wrapToolWithStreaming };