/**
 * Schema Conversion Utilities
 *
 * Converts between Zod schemas and JSON Schema format for MCP tool integration
 * and AI SDK interoperability.
 */
import { z } from "zod";
/**
 * Minimal JSON Schema interface for MCP tool input schemas.
 */
export interface JsonSchema {
    type?: string;
    properties?: Record<string, JsonSchemaProperty>;
    required?: string[];
}
export interface JsonSchemaProperty {
    type?: string;
    description?: string;
}
/**
 * JSON Schema output shape from zodToJsonSchema.
 */
export interface JsonSchemaOutput {
    type: "object";
    properties: Record<string, JsonSchemaPropertyOutput>;
    required: string[];
}
export interface JsonSchemaPropertyOutput {
    type: string;
    description?: string;
    enum?: string[];
}
/**
 * Lightweight Zod to JSON Schema converter.
 *
 * Accesses Zod internal `shape` and `_def` properties which lack public type
 * declarations. We use `unknown` with narrowing where possible and explicit
 * interface casts for Zod internals that have no public API surface.
 */
export declare function zodToJsonSchema(schema: z.ZodTypeAny): JsonSchemaOutput;
/**
 * Simple JSON Schema to Zod converter for MCP tools.
 */
export declare function jsonSchemaToZod(schema: JsonSchema | undefined): z.ZodObject<Record<string, z.ZodTypeAny>>;
