import { ValidationError, type ValidationErrorOptions } from '../validation/types.js'; /** * A form-wide error that is not tied to any single input — an authentication * failure, a disabled submission, a server-side rejection that applies to the * whole form. * * @remarks * Routed by `formId` to the form-wide `FormMessages` outlet under `