import { Validator, type ValidityAndMessage } from "../utils/index.ts"; export type PinInputState = { /** * The value of the input. */ readonly value: string; /** * Whether the input is required. */ readonly required: boolean; /** * The number of inputs. */ readonly pins: number; /** * The number of each input's length. */ readonly pinLength: number; }; declare class PinInputValidator extends Validator { private _control?; protected computeValidity(state: PinInputState): ValidityAndMessage; protected equals(prev: PinInputState, next: PinInputState): boolean; protected copy(state: PinInputState): PinInputState; } export default PinInputValidator;