import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; /** * Registers the 'update_file' tool with the MCP server. * This tool accepts a JSON object with 'path', 'blocks' (array of {search, replace}), * and optional 'useRegex' and 'replaceAll' flags. * * @param {McpServer} server - The McpServer instance to register the tool with. * @returns {Promise} A promise that resolves when the tool is registered. * @throws {McpError} Throws an error if registration fails. */ export declare const registerUpdateFileTool: (server: McpServer) => Promise;