import type { ServerConfig, AttachOptions, ServiceStatus } from './types.js'; /** * Unified service for managing DuckDB MCP servers and clients * Provides high-level API for server management and resource attachment */ export declare class DuckDBMcpNativeService { private servers; private clients; private mappers; private readonly resourceCache; constructor(); /** * Start an MCP server with the given name and configuration */ startServer(name: string, config?: ServerConfig): Promise; /** * Stop and remove an MCP server */ stopServer(name: string): Promise; /** * Attach to an external MCP server and map its resources */ attachMCP(url: string, alias: string, options?: AttachOptions): Promise; /** * Detach from an MCP server */ detachMCP(alias: string): Promise; /** * Create a virtual table from an MCP resource */ createVirtualTable(alias: string, resourceUri: string, tableName?: string): Promise; /** * Call a tool on a connected MCP server */ callTool(alias: string, toolName: string, args: unknown): Promise; /** * Get the status of all servers and clients */ getStatus(): ServiceStatus; /** * Clear the resource cache */ clearCache(): void; /** * Get a list of active server names */ getServerNames(): string[]; /** * Get a list of active client aliases */ getClientAliases(): string[]; /** * Get resources for a specific client */ getClientResources(alias: string): Promise; /** * Get tools for a specific client */ getClientTools(alias: string): Promise; } /** * Get or create the singleton service instance */ export declare function getDuckDBMcpNativeService(): DuckDBMcpNativeService; /** * Create a new service instance (non-singleton) */ export declare function createDuckDBMcpNativeService(): DuckDBMcpNativeService; //# sourceMappingURL=DuckDBMcpNativeService.d.ts.map