import type * as z4 from "zod/v4/core"; // FormData export type FormDataValidatorInput = FormData; export type FormDataValidatorParams = z4.$ZodShape; // Text export type DOMFormDataTextValidatorInput = string; export type DOMFormDataTextValidatorParams = z4.$ZodString | z4.$ZodOptional>; export type DOMFormDataTextValidatorOutput = string | undefined; // Numeric export type DOMFormDataNumericValidatorInput = string; export type DOMFormDataNumericValidatorParams = z4.$ZodNumber; export type DOMFormDataNumericValidatorOutput = number | undefined; // Checkbox export type DOMFormDataCheckboxValidatorInput = boolean | string | undefined; export type DOMFormDataCheckboxValidatorParams = { trueValue?: string }; export type DOMFormDataCheckboxValidatorOutput = boolean; // Checkbox is technically: // z4.$ZodUnion< // [ // z4.$ZodPipe, z4.$ZodTransform>, // z4.$ZodPipe, z4.$ZodTransform>, // z4.$ZodBoolean, // ] // >; // File export type DOMFormDataFileValidatorInput = File; export type DOMFormDataFileValidatorParams = z4.$ZodFile; export type DOMFormDataFileValidatorOutput = File | undefined;