/** * Pure MCP server projection helpers. * * @experimental This API is unstable and may change without notice. */ import type { McpActivationField, McpEnvExpansion, McpRemoteDialect, McpStdioDialect } from "../agent-capabilities/index.js"; import type { McpServerEntry } from "../settings/index.js"; export type InlineRemoteTransport = "streamable-http" | "sse"; export type InlineRemoteTransportInference = { readonly _tag: "supported"; readonly transport: InlineRemoteTransport; } | { readonly _tag: "unsupported"; readonly reason: string; }; export type ExpectedAgentEntry = { readonly _tag: "projected"; readonly entry: Readonly>; readonly warnings: ReadonlyArray; } | { readonly _tag: "unsupported"; readonly reason: string; }; export type DriftReport = { readonly _tag: "absent"; } | { readonly _tag: "match"; } | { readonly _tag: "drift"; readonly fields: ReadonlyArray; } | { readonly _tag: "unmanaged"; }; export interface ProjectExpectedEntryArgs { readonly serverName: string; readonly entry: McpServerEntry; readonly stdio: McpStdioDialect | null; readonly remote: McpRemoteDialect | null; readonly activationField: McpActivationField; readonly envExpansion?: McpEnvExpansion | undefined; readonly remoteTransport?: InlineRemoteTransport | undefined; } export declare const inferInlineRemoteTransport: (url: string) => InlineRemoteTransportInference; export declare const renderEnvValue: (raw: string, capability: McpEnvExpansion) => { readonly value: string; readonly warning?: string; }; export declare const projectExpectedEntry: (args: ProjectExpectedEntryArgs) => ExpectedAgentEntry; export declare const diffAgentEntry: (expected: ExpectedAgentEntry, actual: Readonly> | undefined) => DriftReport; //# sourceMappingURL=projection.d.ts.map