import { Server } from "@modelcontextprotocol/sdk/server/index.js"; import { type McpToolResult } from "./cjs-handlers.js"; export declare const CJS_TOOL_NAMES: string[]; export declare const NATIVE_TOOL_NAMES: string[]; /** * Create the MCP server + tool dispatch wiring. * * Exposed for unit testing: returns callTool and listTools helpers in addition * to the MCP Server instance. */ export declare function createForgeServer(projectRoot: string, toolDir: string): { server: Server; callTool: (name: string, args: Record) => Promise; listTools: () => { tools: Array<{ name: string; description: string; inputSchema: unknown; }>; }; }; export declare function main(): Promise;