import { MessageFunctionType, Result } from '../types'; export interface IsEMailErrors { TARGET_ARGUMENT_NOT_A_STRING: MessageFunctionType; } export declare const IS_EMAIL_ERRORS: IsEMailErrors; /** * IsEmail Options. */ export interface IsEmailOptions { require_display_name?: boolean; allow_display_name?: boolean; allow_utf8_local_part?: boolean; require_tld?: boolean; blacklisted_chars: string; ignore_max_length: boolean; host_blacklist: any[]; domain_specific_validation: boolean; allow_ip_domain: boolean; } /** * Tests whether the `target` string is a valid email address * * ### Example * ``` * expect(isEmail('foo@bar.com').value).toBeTruthy() * ``` * * @param target The target * @param options The options */ export declare function isEmail(target: string, options?: IsEmailOptions): Result;