/// <reference types="@adonisjs/logger/build/adonis-typings/logger" />
import { MailgunConfig } from '@ioc:Adonis/Addons/Mail';
import { LoggerContract } from '@ioc:Adonis/Core/Logger';
/**
 * Mailgun transport for node mailer. Uses the `/message.mime` to send MIME
 * representation of the email
 */
export declare class MailgunTransport {
    private config;
    private logger;
    name: string;
    version: string;
    constructor(config: MailgunConfig, logger: LoggerContract);
    /**
     * Converts a boolean flag to a yes/no string.
     */
    private flagToYesNo;
    /**
     * Returns pre-configured otags
     */
    private getOTags;
    /**
     * Returns base url for sending emails
     */
    private getBaseUrl;
    /**
     * Returns an object of custom headers
     */
    private getHeaders;
    /**
     * Formats an array of recipients to a string accepted by mailgun
     */
    private formatReceipents;
    /**
     * Returns an object of `to`, `cc` and `bcc`
     */
    private getRecipients;
    /**
     * Send email
     */
    send(mail: any, callback: any): Promise<void>;
}
