import type { IMcpClient, McpResource, McpTool, McpToolResult } from './types';
/**
 * SDK-based MCP Client implementation
 *
 * Wraps the official @modelcontextprotocol/sdk Client to provide
 * the IMcpClient interface used by the rest of polka-codes.
 */
export declare class SdkMcpClient implements IMcpClient {
    private readonly serverName;
    private readonly config;
    private client;
    private transport;
    private initialized;
    constructor(serverName: string, config: {
        command: string;
        args?: string[];
        env?: Record<string, string>;
    });
    /**
     * Connect to the MCP server and initialize
     */
    connect(): Promise<void>;
    /**
     * Check if connected
     */
    isConnected(): boolean;
    /**
     * Disconnect from the server
     */
    disconnect(): Promise<void>;
    /**
     * List available tools from the server
     */
    listTools(): Promise<McpTool[]>;
    /**
     * Call a tool on the server
     */
    callTool(name: string, args: Record<string, unknown>): Promise<McpToolResult>;
    /**
     * List available resources from the server
     */
    listResources(): Promise<McpResource[]>;
    /**
     * Read a resource from the server
     */
    readResource(uri: string): Promise<string>;
    /**
     * Get the server name
     */
    getServerName(): string;
}
//# sourceMappingURL=sdk-client.d.ts.map