UNPKG

robust-email-validator

Version:

A comprehensive email validation library with format, DNS, and deliverability checking

14 lines 436 B
export declare class FormatValidator { private static readonly RFC5322_REGEX; private static readonly STRICT_REGEX; static validate(email: string, strict?: boolean): { isValid: boolean; error?: string; }; static validateBatch(emails: string[], strict?: boolean): Array<{ email: string; isValid: boolean; error?: string; }>; } //# sourceMappingURL=format-validator.d.ts.map