/// <reference path="../../adonis-typings/mail.d.ts" />
import { MessageNode, SmtpMailResponse, SmtpDriverContract, SmtpConfig } from '@ioc:Adonis/Addons/Mail';
/**
 * Smtp driver to send email using smtp
 */
export declare class SmtpDriver implements SmtpDriverContract {
    private transporter;
    constructor(config: SmtpConfig);
    /**
     * Send message
     */
    send(message: MessageNode): Promise<SmtpMailResponse>;
    /**
     * Close transporter connection, helpful when using connections pool
     */
    close(): Promise<void>;
}
