import { CallToolResult, Server, Tool } from "@modelcontextprotocol/server"; /** The `tools/list` entries `archives mcp` answers with. */ export declare const toolListings: readonly Tool[]; /** * Runs one tool the way `tools/call` of `archives mcp` does, errors as results, never as a throw. * * @param {string} name - The tool's name, such as `archives_snapshots`. * @param {Readonly>} args - The arguments the client sent. * @param {Readonly} [signal] - The request's signal, which stops the archive requests. * @returns {Promise} The tool's text, or the sanitized error. */ export declare function callTool(name: string, args: Readonly>, signal?: Readonly): Promise; /** * Creates an unconnected MCP server exposing archive snapshot, content, diff and provider tools. * * @returns {Server} Unconnected MCP server. */ export declare function createMcpServer(): Server;