import { Validator, type ValidityAndMessage } from "../utils/index.ts"; export type RadioState = { /** * Whether the radio is checked. */ readonly checked: boolean; /** * Whether the radio is required. */ readonly required: boolean; }; export type RadioGroupState = readonly [RadioState, ...RadioState[]]; declare class RadioValidator extends Validator { private _radioControl?; protected computeValidity(states: RadioGroupState): ValidityAndMessage; protected equals(prevGroup: RadioGroupState, nextGroup: RadioGroupState): boolean; protected copy(states: RadioGroupState): RadioGroupState; } export default RadioValidator;