import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { type ToolManifest } from './lib/package-root.js'; import { type ToolsetSelection } from './lib/toolsets.js'; /** * `mimi-seed://tools/catalog` 페이로드 — **이 서버에 실제로 등록된 도구만** 담는다. * * MIMI_SEED_TOOLSETS 로 도메인을 줄였으면 카탈로그도 같이 줄어야 한다 (안 그러면 에이전트가 등록되지 않은 * 도구를 부르려 한다). 판정은 레지스트라와 같은 `selection.isToolEnabled` 를 쓴다. 폐기 예정 별칭은 * `tools` 가 아니라 `deprecated`(별칭 → 정식)에, 쓰기/파괴 분류는 `write` / `destructive` 에 싣는다. * `total` 은 등록된 도구 수(별칭 포함) = tools/list 길이다. */ export declare function buildToolCatalog(manifest: ToolManifest, selection: ToolsetSelection): { total: number; manifestTotal: number; toolsets: { all: boolean; enabled: string[]; include: string[]; exclude: string[]; note: string; }; legend: { total: string; tools: string; write: string; destructive: string; deprecated: string; }; deferredHint: string; deprecated: Record; domains: { id: string; label: string; credential: string; summary: string; toolCount: number; tools: string[]; write: string[]; destructive: string[]; }[]; }; export declare function registerResources(server: McpServer, options?: { manifest?: ToolManifest; toolsets?: ToolsetSelection; }): void;