import { IValidator, ValidatorContext } from '../validate';
export declare function message<V = unknown>(messagenerator: (ctx: ValidatorContext<V>) => string): (validator: IValidator<V>) => IValidator<V>;
