import { langType } from '../tools'; import Validator from './Validator'; /** * A validator for a minimum value length. */ export default class MinLength implements Validator { private readonly minLength; readonly params: [number]; /** * Create the validator. * * @param minLength - The minimum allowed length. */ constructor(minLength: number); validate(value: string): '$shared$minLength' | undefined; }