import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; /** * Create the Long Tail DB Query MCP server. * * Provides read-only query tools against the lt_* tables: * - find_tasks -- search tasks by status, workflow type, or origin * - find_escalations -- search escalations by status, role, type * - get_process_summary -- aggregate process view grouped by origin_id * - get_escalation_stats -- real-time escalation statistics * - get_workflow_types -- list registered workflow configurations * - get_system_health -- overall system health snapshot */ export declare function createDbServer(options?: { name?: string; /** When true, skip the singleton cache and create a dedicated instance. */ fresh?: boolean; }): Promise; /** * Get the current DB MCP server instance. */ export declare function getDbServer(): McpServer | null; /** * Stop the DB MCP server and release resources. */ export declare function stopDbServer(): Promise;