import type { Validator } from './base'; export declare interface EnumValidatorType extends Validator { getAllowedValues: () => readonly string[] custom: (fn: (value: string) => boolean, message: string) => EnumValidatorType }