import { BaseValidator } from './base'; import type { CustomValidatorType, ValidationNames } from '../types/index'; export declare function custom(validationFn: (value: T) => boolean, message: string): CustomValidator; export declare class CustomValidator extends BaseValidator implements CustomValidatorType { name: ValidationNames; constructor(validationFn: (value: T) => boolean, message: string); }