/**
 * @fileoverview Worker-safe Hono application factory for the HTTP MCP transport.
 * Builds the routing, auth, session, and per-request server lifecycle wiring
 * using only web-standard APIs. The Node-only `serve()` start path lives in
 * `httpServer.ts` so the Worker bundle drops `@hono/node-server` and
 * `node:http` via tree-shaking.
 *
 * Implements MCP Specification 2025-06-18 Streamable HTTP Transport.
 * @see {@link https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#streamable-http | MCP Streamable HTTP Transport}
 * @module src/mcp-server/transports/http/httpTransport
 */
import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { Hono } from 'hono';
import type { ServerManifest } from '../../../core/serverManifest.js';
import type { HonoNodeBindings } from '../../../mcp-server/transports/http/httpTypes.js';
import { SessionStore } from '../../../mcp-server/transports/http/sessionStore.js';
import { type RequestContext } from '../../../utils/internal/requestContext.js';
/**
 * Creates a Hono HTTP application for the MCP server.
 *
 * This function is generic and can create apps with different binding types:
 * - Node.js environments use HonoNodeBindings (default)
 * - Cloudflare Workers use CloudflareBindings
 *
 * The function itself doesn't access bindings; they're only used at runtime
 * when the app processes requests in its specific environment.
 *
 * @template TBindings - The Hono binding type (must extend object, defaults to HonoNodeBindings for Node.js)
 * @param mcpServer - The MCP server instance
 * @param parentContext - Parent request context for logging
 * @returns Configured Hono application with the specified binding type
 */
export declare function createHttpApp<TBindings extends object = HonoNodeBindings>(serverFactory: () => Promise<McpServer>, parentContext: RequestContext, manifest: ServerManifest): Promise<{
    app: Hono<{
        Bindings: TBindings;
    }>;
    sessionStore: SessionStore | null;
}>;
//# sourceMappingURL=httpTransport.d.ts.map