import { Ref } from 'vue'; import { AgentModelProvider } from '@opentiny/next-sdk'; import { PluginInfo } from '@opentiny/tiny-robot'; /** * 自定义添加 MCP 工具的 composable * @param agent - MCP Agent 实例 * @param installedPlugins - 已安装插件列表的响应式引用 * @param defaultPluginSrc - 默认插件图标 */ export declare const useCustomMcpServer: (agent: AgentModelProvider, installedPlugins: Ref, defaultPluginSrc: string) => { handleCustomAdd: (_type: "code" | "form", data: any) => Promise; };