import type { Express } from 'express'; /** The Express app behind `codesearch mcp --http`, without listening (tests use it directly). */ export declare function createMcpHttpApp(): { app: Express; sessionCount: () => number; }; export declare function startMcpHttpServer(port?: number): Promise;