import { type ToolDefinition } from "@opencode-ai/plugin"; import type { SkillDefinition } from '../skills/types.js'; import type { McpConfig } from '../mcp/types.js'; /** * Skill-Embedded MCPs * * Skills can bring their own MCP servers. When a skill with embedded MCP * is loaded, the MCP server is started on-demand. */ /** * Get MCP config from a skill definition */ export declare function getSkillMcpConfig(skill: SkillDefinition): Record | null; /** * skill_mcp Tool * * Invokes MCP server operations from skill-embedded MCPs. */ export declare const skillMcpTool: ToolDefinition; /** * List skill MCPs Tool */ export declare const listSkillMcpsTool: ToolDefinition;