/**
 * @fileoverview Node.js HTTP server bootstrap for the MCP transport.
 * Splits the Node-only `@hono/node-server` `serve()` start path and `node:http`
 * port-probe out of `httpTransport.ts` so the Worker bundle (which only needs
 * `createHttpApp`) can drop both via tree-shaking.
 * @module src/mcp-server/transports/http/httpServer
 */
import { type ServerType } from '@hono/node-server';
import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import type { ServerManifest } from '../../../core/serverManifest.js';
import type { RequestContext } from '../../../utils/internal/requestContext.js';
/**
 * Handle returned by {@link startHttpTransport} bundling the HTTP server
 * and a shutdown function that cleans up all associated resources
 * (session store intervals, etc.).
 */
export interface HttpTransportHandle {
    server: ServerType;
    stop: (parentContext: RequestContext) => Promise<void>;
}
export declare function startHttpTransport(serverFactory: () => Promise<McpServer>, parentContext: RequestContext, manifest: ServerManifest): Promise<HttpTransportHandle>;
//# sourceMappingURL=httpServer.d.ts.map