import type { ValidationState } from '../../validation/types.js'; import type { ValidateFieldOptions } from '../form.types.js'; /** * The control-provided contract, with callbacks read live so registration * stays stable across renders. * @internal */ export interface FormRuntimeRegistrationOptions { /** Logical form-control id. */ id: string; /** Submit key; snapshot values are keyed by `name ?? id`. */ name?: string; /** Associates with a `