import type { ChildProcess } from "node:child_process"; import type { GatewayIdentity } from "../gateway/contracts.js"; import { type GatewayMcpRequest, type GatewayMcpResult } from "../gateway/mcp-contracts.js"; import { GatewayRequestClient } from "./gateway-request-client.js"; /** MCP只提供报文codec;关联、超时、断连由child共享请求模块处理。 */ export declare class GatewayMcpClient { private readonly identity; private readonly requests; constructor(child: ChildProcess | GatewayRequestClient, identity: GatewayIdentity, timeoutMs?: number); request(request: GatewayMcpRequest): Promise; close(): void; } //# sourceMappingURL=gateway-mcp-client.d.ts.map