import { AskHandler } from "./prompt-tool.cjs"; import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; //#region src/mcp.d.ts export interface McpServerOptions { /** * Expose the `permission_prompt` tool. `onAsk` settles calls the policy asks about; without it * they are denied. */ permissionPrompt?: { onAsk?: AskHandler; }; } /** * Build the server for a project root without connecting it. It exposes no tools unless the * permission-prompt mode is on. */ export declare function createMcpServer(root: string, options: McpServerOptions): McpServer; /** * Serve on stdio from the current directory, running the sync the policy's `sync.mode` asks for. */ export declare function startMcpServer(options: McpServerOptions): Promise; //#endregion //# sourceMappingURL=mcp.d.cts.map