import * as z from "zod/v4";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { ClientCapabilities } from "./clientcapabilities.js";
import { MCPPrompt } from "./mcpprompt.js";
import { MCPResource } from "./mcpresource.js";
import { MCPServerCardMeta } from "./mcpservercardmeta.js";
import { MCPServerIcon } from "./mcpservericon.js";
import { MCPServerRemote } from "./mcpserverremote.js";
import { MCPServerRepository } from "./mcpserverrepository.js";
import { MCPToolMeta } from "./mcptoolmeta.js";
import { ServerCapabilities } from "./servercapabilities.js";
export type Resources = string | Array<MCPResource>;
export type Tools = string | Array<MCPToolMeta>;
export type Prompts = string | Array<MCPPrompt>;
export type MCPServerCard = {
    /**
     * URL to the JSON schema definition
     */
    dollarSchema?: string | null | undefined;
    /**
     * Server identifier in reverse-DNS format with exactly one /
     */
    name: string;
    /**
     * Server version (semantic versioning preferred)
     */
    version: string;
    /**
     * Capabilities that a server may support.
     */
    capabilities?: ServerCapabilities | undefined;
    title?: string | null | undefined;
    description?: string | null | undefined;
    websiteUrl?: string | null | undefined;
    repository?: MCPServerRepository | null | undefined;
    icons?: Array<MCPServerIcon> | null | undefined;
    remotes?: Array<MCPServerRemote> | null | undefined;
    requires?: ClientCapabilities | null | undefined;
    resources?: string | Array<MCPResource> | null | undefined;
    tools?: string | Array<MCPToolMeta> | null | undefined;
    prompts?: string | Array<MCPPrompt> | null | undefined;
    meta?: MCPServerCardMeta | null | undefined;
    [additionalProperties: string]: unknown;
};
/** @internal */
export declare const Resources$inboundSchema: z.ZodType<Resources, unknown>;
export declare function resourcesFromJSON(jsonString: string): SafeParseResult<Resources, SDKValidationError>;
/** @internal */
export declare const Tools$inboundSchema: z.ZodType<Tools, unknown>;
export declare function toolsFromJSON(jsonString: string): SafeParseResult<Tools, SDKValidationError>;
/** @internal */
export declare const Prompts$inboundSchema: z.ZodType<Prompts, unknown>;
export declare function promptsFromJSON(jsonString: string): SafeParseResult<Prompts, SDKValidationError>;
/** @internal */
export declare const MCPServerCard$inboundSchema: z.ZodType<MCPServerCard, unknown>;
export declare function mcpServerCardFromJSON(jsonString: string): SafeParseResult<MCPServerCard, SDKValidationError>;
//# sourceMappingURL=mcpservercard.d.ts.map