import { Queue } from 'bull'; import Mail from 'nodemailer/lib/mailer'; import { MailerOptions } from '../interfaces/mailer-options.interface'; import { BaseMail } from '../mails/base.mail'; import { MailContentService } from './mail-content.service'; export declare class MailService { private mailerOptions; private mailContentService; private mailQueue; private logger; private transport; constructor(mailerOptions: MailerOptions, mailContentService: MailContentService, mailQueue: Queue); addToQueue(mail: BaseMail): Promise; send(mail: BaseMail): Promise; sendToTransport(options: Mail.Options): Promise; private getMailOptions; private getNodeMailerOptions; private getValidReceivers; private stringifyEmails; private logException; }