/** * Concrete MCP server extension ref types. * * @experimental This API is unstable and may change without notice. * @packageDocumentation */ import * as Schema from "effect/Schema"; import type { Handle } from "../handle.js"; /** Selects one unchanged plugin configuration entry independently from its package. */ export declare const NativeMcpComponentSchema: Schema.Struct<{ readonly format: Schema.Literal<"agent-plugins">; readonly configPath: Schema.NonEmptyString; readonly name: Schema.NonEmptyString; }>; export type NativeMcpComponent = typeof NativeMcpComponentSchema.Type; type ExternalMcpRefDetails = Omit & { readonly owner?: Handle; readonly nativeComponent?: NativeMcpComponent; }; import type { McpServerExtensionRefBase, GitHostedRefDetails, RegistryRefDetails, LocalRefDetails, WorkspaceRefDetails } from "./ref-base.js"; import type { GitBasedSource, RegistrySource, LocalSource, WorkspaceSource } from "../../sources/types.js"; /** @experimental */ export type GitHostedMcpServerRef = McpServerExtensionRefBase<"git-hosted", GitBasedSource> & ExternalMcpRefDetails; /** @experimental */ export type RegistryMcpServerRef = McpServerExtensionRefBase<"registry", RegistrySource> & RegistryRefDetails; /** @experimental */ export type LocalMcpServerRef = McpServerExtensionRefBase<"local", LocalSource> & ExternalMcpRefDetails; /** @experimental */ export type WorkspaceMcpServerRef = McpServerExtensionRefBase<"workspace", WorkspaceSource> & WorkspaceRefDetails; /** @experimental */ export type McpServerExtensionRef = GitHostedMcpServerRef | RegistryMcpServerRef | LocalMcpServerRef | WorkspaceMcpServerRef; export {}; //# sourceMappingURL=mcp-server.d.ts.map