/** * Call a tool on a connected server. * Resolves the server by ID or name, auto-connecting built-in servers. */ export declare function callServerTool(serverId: string, toolName: string, args: Record, authContext?: { userId?: string; delegationToken?: string; }): Promise; /** * Return a map of tool functions suitable for proxyActivities(). * * Each tool is wrapped as: * `mcp_{serverName}_{toolName}(args) => Promise` * * Usage in a workflow: * ```typescript * const tools = await mcpClient.toolActivities(serverId); * const proxied = Durable.workflow.proxyActivities({ activities: tools }); * const result = await proxied.mcp_myserver_search({ query: 'hello' }); * ``` */ export declare function toolActivities(serverId: string): Promise) => Promise>>;