@gensx/vercel-ai
Version:
Vercel AI SDK for GenSX.
18 lines • 616 B
TypeScript
/**
* This file is a helper to provide basic functionality and properly support both Zod v3 and Zod v4.
* See https://zod.dev/library-authors for a reference.
*/
import { ZodTypeAny } from "@gensx/core";
import * as z4 from "zod/v4";
export declare function toJsonSchema(schema: ZodTypeAny): z4.z.core.JSONSchema.BaseSchema | ({
title?: string;
default?: any;
description?: string;
markdownDescription?: string;
} & {
$schema?: string | undefined;
definitions?: {
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
} | undefined;
});
//# sourceMappingURL=zod.d.ts.map