import { User } from '../../../../../models'; /** * MailRecipient class * @class MailRecipient * @description Represents a recipient, which may be an email address or a username */ export declare class MailRecipient { /** * Creates a new Recipient instance * @constructor * @param {string} email - The email address of the recipient * @param {string} [username] - The username of the recipient (optional) */ constructor(email: string, username?: string); /** * The email address of the recipient */ email: string; /** * The username of the recipient */ username: string; /** * Returns a string representation of the recipient * @returns {string} The string representation of the recipient */ toString(): string; static fromUser(user: User): MailRecipient; }