/** * JSON-RPC MCP methods for the stdio server (no transport). */ export declare const PROTOCOL = "2025-03-26"; export declare function packageVersion(): string; export interface JsonRpcReq { jsonrpc?: string; id?: string | number | null; method?: string; params?: unknown; } export interface JsonRpcRes { jsonrpc: "2.0"; id: string | number | null; result?: unknown; error?: { code: number; message: string; }; } export declare function listedTools(): { name: string; title: string; description: string; inputSchema: Record; outputSchema: Record; annotations: { title: string; readOnlyHint: boolean; destructiveHint: boolean; idempotentHint: boolean; openWorldHint: boolean; }; }[]; export declare const MAX_FRAME_BYTES = 1048576; export declare const MAX_HEADER_BYTES = 8192; export declare function consumeLsp(buf: Buffer): { rest: Buffer; bodies: string[]; }; export declare function handleRpc(raw: unknown): Promise; //# sourceMappingURL=mcp-rpc.d.ts.map