import { Validator, type ValidityAndMessage } from "../utils/index.ts"; export type CheckboxState = { /** * Whether the checkbox is checked. */ readonly checked: boolean; /** * Whether the checkbox is required. */ readonly required: boolean; }; declare class CheckboxValidator extends Validator { private _checkboxControl?; protected computeValidity(state: CheckboxState): ValidityAndMessage; protected equals(prev: CheckboxState, next: CheckboxState): boolean; protected copy(state: CheckboxState): CheckboxState; } export default CheckboxValidator;