import 'reflect-metadata'; import { StringFormatType } from '../../utils/index'; import { ValidationContext, ValidatorBase } from '../index'; export declare const VALIDATOR_REQUIRED_METADATA_KEY: unique symbol; export declare function isRequired(errorMessage?: StringFormatType): (target: Record, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor) => void; export declare class RequiredValidator extends ValidatorBase { constructor(errorMessage?: StringFormatType); validate(context: ValidationContext): Promise; }