/** * Canonical registration path shared by the stdio server, remote Worker, and * generated public-surface contract. Transport/auth setup stays with each host; * the exposed MCP operations/resources/prompts are composed here exactly once. */ import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import type { IFrihetClient } from "./client-interface.js"; export interface McpSurfaceComposition { readonly openaiMode: boolean; readonly groupedMode: boolean; readonly includeDynamicResources: boolean; } export declare function localMcpSurfaceComposition(openaiMode: boolean, groupedMode: boolean): McpSurfaceComposition; export declare function remoteMcpSurfaceComposition(openaiMode: boolean, groupedMode: boolean): McpSurfaceComposition; export declare function registerMcpSurface(server: McpServer, client: IFrihetClient, options: McpSurfaceComposition): void; //# sourceMappingURL=server-composition.d.ts.map