/** * Extract the pure email address from a potentially formatted address string. * Handles formats like: * - "Alice " → "alice@example.com" * - "alice@example.com" → "alice@example.com" * - Malformed "<>" or "" → falls back to trimmed raw input */ export declare function extractEmailAddress(from: string): string; /** * Check if a sender email is allowed based on whitelist patterns * @param from - Sender email address (may include display name) * @param allowFrom - Array of whitelist patterns * @returns true if sender is allowed */ export declare function isAllowedSender(from: string, allowFrom: string[] | undefined): boolean;