import { Constraints } from './Constraints'; export default function validate(value: any, context: any, constraint?: Constraints): string | boolean;