import { SentMessageInfo } from 'nodemailer';
import * as smtpTransport from 'nodemailer/lib/smtp-transport';
import { MailerOptions } from './interfaces/mailer-options.interface';
import { ISendMailOptions } from './interfaces/send-mail-options.interface';
import { MailerTransportFactory as IMailerTransportFactory } from './interfaces/mailer-transport-factory.interface';
export declare class MailerService {
    private readonly mailerOptions;
    private readonly transportFactory;
    private transporter;
    private transporters;
    private templateAdapter;
    private initTemplateAdapter;
    private readonly mailerLogger;
    constructor(mailerOptions: MailerOptions, transportFactory: IMailerTransportFactory);
    private validateTransportOptions;
    private createTransporter;
    private setupTransporters;
    private verifyTransporter;
    verifyAllTransporters(): Promise<boolean>;
    sendMail(sendMailOptions: ISendMailOptions): Promise<SentMessageInfo>;
    addTransporter(transporterName: string, config: string | smtpTransport | smtpTransport.Options): string;
}
