import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import type { Logger } from '@polka-codes/core';
import type { DefaultProviderConfig, McpServerTool } from './types';
/**
 * Create an MCP server using the official SDK
 *
 * @param tools - Array of tools to register
 * @param logger - Optional logger instance
 * @param defaultProvider - Optional default provider configuration
 * @returns Configured MCP server instance
 */
export declare function createPolkaCodesMcpServer(tools: McpServerTool[], logger?: Logger, defaultProvider?: DefaultProviderConfig): McpServer;
/**
 * Start the MCP server on stdio transport
 *
 * @param server - MCP server instance
 * @param logger - Optional logger instance
 */
export declare function startStdioServer(server: McpServer, logger?: Logger): Promise<void>;
//# sourceMappingURL=sdk-server.d.ts.map