import { type ValidityState } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";
The validity states that an element can be in, with respect to constraint validation. Together, they help explain why an element's value fails to validate, if it's not valid.