import type * as z from "zod"; import type { McpbManifestSchema as McpbManifestSchemaAny } from "./schemas/any.js"; import type { McpbManifestSchema as McpbManifestSchemaV0_2 } from "./schemas/0.2.js"; import type { McpbManifestAuthorSchema, McpbManifestCompatibilitySchema, McpbManifestMcpConfigSchema, McpbManifestPlatformOverrideSchema, McpbManifestPromptSchema, McpbManifestRepositorySchema, McpbManifestServerSchema, McpbManifestToolSchema, McpbSignatureInfoSchema, McpbUserConfigurationOptionSchema, McpbUserConfigValuesSchema, McpServerConfigSchema, } from "./schemas/0.3.js"; export type McpServerConfig = z.infer; export type McpbManifestAuthor = z.infer; export type McpbManifestRepository = z.infer< typeof McpbManifestRepositorySchema >; export type McpbManifestPlatformOverride = z.infer< typeof McpbManifestPlatformOverrideSchema >; export type McpbManifestMcpConfig = z.infer; export type McpbManifestServer = z.infer; export type McpbManifestCompatibility = z.infer< typeof McpbManifestCompatibilitySchema >; export type McpbManifestTool = z.infer; export type McpbManifestPrompt = z.infer; export type McpbUserConfigurationOption = z.infer< typeof McpbUserConfigurationOptionSchema >; export type McpbUserConfigValues = z.infer; /** * McpbManifest type representing the union of all manifest versions */ export type McpbManifestAny = z.infer; /** * McpbManifest type for v0.2 (default version) for backwards compatibility * @deprecated Use McpbManifestAny instead to support all manifest versions. */ export type McpbManifest = z.infer; /** * Information about a MCPB package signature */ export type McpbSignatureInfo = z.infer; export interface Logger { log: (...args: unknown[]) => void; error: (...args: unknown[]) => void; warn: (...args: unknown[]) => void; }