/** * HTTP/SSE transport bootstrap for the MCP server. * * Handles: * - HTTP server creation with all routes (POST/GET/DELETE /mcp) * - CORS handling * - Dashboard routing * - Auth checking (MCP_HTTP_SECRET) * - Session management (transports map, activity tracking) * - Session reaper interval * - Graceful shutdown (SIGINT/SIGTERM/SIGBREAK) */ import type { Database } from "better-sqlite3"; import type { ThreadLifecycleService } from "../services/thread-lifecycle.service.js"; import type { CreateMcpServerFn } from "../lib/types.js"; export declare function startHttpServer(createMcpServerFn: CreateMcpServerFn, getMemoryDb: () => Database, closeMemoryDb: () => void, threadLifecycle: ThreadLifecycleService): { closeServer: () => Promise; ready: Promise; }; //# sourceMappingURL=http-server.d.ts.map