/**
 * @license
 * Copyright 2025 Steven Roussey <sroussey@gmail.com>
 * SPDX-License-Identifier: Apache-2.0
 *
 * Builds the JSON Schema for the `server` object in MCP task config/input schemas.
 * Uses the platform-injected {@link McpTaskDeps.mcpServerConfigSchema} so browser
 * builds get the correct (stdio-free) transport enum.
 */
import type { JsonSchema } from "@workglow/util/schema";
import type { McpTaskDeps } from "../util/McpTaskDeps";
/** Optional fields from {@link McpServerRecordSchema} not present on {@link mcpServerConfigSchema}. */
export declare const mcpServerRecordMetadataProperties: {
    readonly server_id: {
        readonly type: "string";
        readonly title: "Server ID";
        readonly description: "MCP server repository id; present when the server reference was resolved from the registry";
    };
    readonly label: {
        readonly type: "string";
        readonly title: "Label";
        readonly description: "Display label for the server (optional)";
    };
    readonly description: {
        readonly type: "string";
        readonly title: "Description";
        readonly description: "Optional human-readable description";
    };
};
/**
 * Builds the complete `server` oneOf schema for MCP task config/input schemas.
 *
 * Accepts the platform-injected `mcpServerConfigSchema` so that the transport
 * enum and conditional validation rules match the current runtime.
 */
export declare function TypeMcpServer(mcpServerConfigSchema: McpTaskDeps["mcpServerConfigSchema"]): JsonSchema;
//# sourceMappingURL=mcpServerReferenceObjectSchema.d.ts.map