import { ZodStringDef } from "zod"; import { ErrorMessages } from "../errorMessages"; import { Refs } from "../Refs"; export type JsonSchema7StringType = { type: "string"; minLength?: number; maxLength?: number; format?: "email" | "uri" | "uuid" | "date-time"; pattern?: string; allOf?: { pattern: string; errorMessage?: ErrorMessages<{ pattern: string; }>; }[]; errorMessage?: ErrorMessages; }; export declare function parseStringDef(def: ZodStringDef, refs: Refs): JsonSchema7StringType;