/** * Streamable HTTP MCP gateway for Trellis room graph tools. * * @module trellis/server */ import type { AuthContext } from './auth.js'; import type { PermissionRegistry } from './permissions.js'; import type { SubscriptionManager } from './realtime.js'; import type { TenantPool } from './tenancy.js'; import type { UsageMeter } from './usage-meter.js'; import type { TrellisDbConfig } from '../client/config.js'; export interface McpGatewayRouteCtx { pool: TenantPool; permissions: PermissionRegistry | null; subs: SubscriptionManager; meter: UsageMeter; authConfig: import('./auth.js').AuthConfig; config: TrellisDbConfig; } export declare class RoomMcpGateway { private gateway; handle(req: Request, ctx: McpGatewayRouteCtx, auth: AuthContext, tenantId: string | null): Promise; close(): Promise; } /** Shared gateway instance for the process lifetime. */ export declare const roomMcpGateway: RoomMcpGateway; //# sourceMappingURL=mcp-gateway.d.ts.map