import type { McpClientLike, McpToolDescriptor } from './mcp.js'; export interface StdioMcpClientOptions { command: string; args?: string[]; cwd?: string; env?: Record; requestTimeoutMs?: number; } export declare class StdioMcpClient implements McpClientLike { private readonly child; private readonly pending; private readonly requestTimeoutMs; private nextId; private buffer; constructor(options: StdioMcpClientOptions); listTools(): Promise; callTool(input: { name: string; arguments?: unknown; }): Promise; close(): Promise; private request; private onData; private handleMessage; private rejectAll; } export declare function createStdioMcpClient(options: StdioMcpClientOptions): StdioMcpClient; //# sourceMappingURL=mcp-stdio.d.ts.map