import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import type { Transport } from "@modelcontextprotocol/sdk/shared/transport.js"; import type { StorageEngine } from "../core/storage/index.js"; import type { SyncRegistry } from "../core/sync/index.js"; import type { SyncConfig } from "../core/config.js"; /** * Creates an MCP server instance with all tools registered. * Exported for testing purposes. */ export declare function createMcpServer(storage: StorageEngine, syncRegistry?: SyncRegistry | null, syncConfig?: SyncConfig | null): McpServer; /** * Starts the MCP server with the given storage and transport. * If no transport is provided, uses StdioServerTransport. */ export declare function startMcpServer(storage: StorageEngine, syncRegistry?: SyncRegistry | null, syncConfig?: SyncConfig | null, transport?: Transport): Promise; //# sourceMappingURL=server.d.ts.map