import { e as ToolDefinition } from '../types-BxPfGHKO.js'; import '@modelcontextprotocol/ext-apps'; import '@modelcontextprotocol/sdk/types.js'; /** * Read tool definitions from a manifest.json file. * Extracts tools from the MCP standard `tools` array. */ declare function readFromManifest(manifestPath: string): ToolDefinition[]; /** * Read tool definitions from a running MCP server via tools/list. * Connects to the server's HTTP endpoint and calls the JSON-RPC method. */ declare function readFromServer(url: string): Promise; /** * Read entity schemas from a directory and generate CRUD tool definitions. * Each .schema.json file becomes create/read/update/delete/list tools. */ declare function readFromSchemaDir(dirPath: string): ToolDefinition[]; /** * Generate TypeScript interfaces from tool definitions. */ declare function generateTypes(tools: ToolDefinition[], appName: string): string; export { ToolDefinition, generateTypes, readFromManifest, readFromSchemaDir, readFromServer };