Files
memecoin-botV2/.pnpm-store/v10/files/31/16a6667a803855cdb5af722d6388b8722920c6c0c45c90448ce6876f14aa1d02b1aa8fdbfc343d6bf1691be928a37e717b989afe7a9842a078176b4b7fde3b

13 lines
624 B
Plaintext

import type * as JSONSchema from "../core/json-schema.js";
import { type $ZodRegistry } from "../core/registries.js";
import type { ZodType } from "./schemas.js";
type JSONSchemaVersion = "draft-2020-12" | "draft-7" | "draft-4" | "openapi-3.0";
interface FromJSONSchemaParams {
defaultTarget?: JSONSchemaVersion;
registry?: $ZodRegistry<any>;
}
/**
* Converts a JSON Schema to a Zod schema. This function should be considered semi-experimental. It's behavior is liable to change. */
export declare function fromJSONSchema(schema: JSONSchema.JSONSchema | boolean, params?: FromJSONSchemaParams): ZodType;
export {};