export declare const JSON_SCHEMA_2020_12 = "https://json-schema.org/draft/2020-12/schema"; /** Complexity limits for untrusted schemas; also enforced by the client before validation. */ export declare const MAX_JSON_SCHEMA_DEPTH = 128; export declare const MAX_JSON_SCHEMA_NODES = 10000; /** * Converts a 2019-09 schema (e.g. from zod v3) into 2020-12 form. Tuples are the * only structural difference handled: array-form `items` becomes `prefixItems`, * and `additionalItems` becomes `items`. * * Returns `undefined` when the schema does not declare 2019-09, or relies on * features this conversion cannot preserve (`$recursiveRef`/`$recursiveAnchor`, * `$ref` pointers into tuple members, embedded `$schema` declarations, * `unevaluatedItems`, `prefixItems`, or `contentSchema`), or exceeds the depth/node limits. * Callers should then keep the original. */ export declare function toJsonSchema2020(schema: T): T | undefined; //# sourceMappingURL=json-schema-dialect.d.ts.map