import type { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js';
import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
export type TransportType = 'stdio' | 'http';
export interface HttpSessionContext {
    /** License key provided via HTTP header for this session */
    licenseKey?: string;
    /** MCP session ID */
    sessionId: string;
}
export interface TransportConfig {
    transport: TransportType;
    port: number;
    host: string;
    corsOrigin?: string;
}
export type McpServerFactory = () => McpServer;
export interface SessionEntry {
    transport: StreamableHTTPServerTransport;
    server: McpServer;
    /** Per-session license key from HTTP header (hosted multi-tenant mode) */
    licenseKey?: string;
}
//# sourceMappingURL=transport.d.ts.map