import { StringFormatType } from '../../utils/index'; import { ValueTypeValidatorBase } from './index'; export declare const VALIDATOR_ENUM_METADATA_KEY: unique symbol; export declare function isEnum(valueType: string, errorMessage?: StringFormatType): (target: Record, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor) => void; export declare class EnumValidator extends ValueTypeValidatorBase { constructor(valueType: string, errorMessage?: StringFormatType); }