/** * Validates an email address, ensuring it is in the correct domain and * complies with the Home Office email address standards. * * Note that an empty string is not considered invalid. You should use * validateRequired (Validate.required) for that sort of validation. * @param {*} value The value to validate. * @param {string} label The label to use in any error message. * @param {array} customErrors The array of custom errors to use for format message. * @returns An error if the email address is invalid. */ declare const validateEmail: (value: any, label?: string, customErrors?: never[]) => any; export default validateEmail;