import type { Readable, Writable } from 'node:stream'; export declare const MCP_PROTOCOL_VERSION = "2025-06-18"; type JsonRpcId = string | number | null; export interface JsonRpcSuccessResponse { jsonrpc: '2.0'; id: JsonRpcId; result: Record; } export interface JsonRpcErrorResponse { jsonrpc: '2.0'; id: JsonRpcId; error: { code: number; message: string; data?: unknown; }; } export type JsonRpcResponse = JsonRpcSuccessResponse | JsonRpcErrorResponse; interface MCPTool { name: string; title: string; description: string; inputSchema: { type: 'object'; properties: Record>; required?: string[]; }; annotations?: { title?: string; readOnlyHint?: boolean; destructiveHint?: boolean; idempotentHint?: boolean; openWorldHint?: boolean; }; } export declare const MCP_TOOLS: MCPTool[]; export declare function handleMCPMessage(message: unknown): Promise; export declare function runMCPServer(input?: Readable, output?: Writable, errorOutput?: Writable): Promise; export {}; //# sourceMappingURL=mcp.d.ts.map