/// <reference types="node" />
import type { SendMailOptions } from 'nodemailer';
interface To {
    email: string;
    name?: string;
    type?: 'to' | 'cc' | 'bcc';
}
interface Attachments {
    type: string;
    name: string;
    content: string;
}
export declare namespace Mandrill {
    const buildData: (data: SendMailOptions, key: string) => {
        key: string;
        message: {
            html: string | Buffer | import("stream").Readable | import("nodemailer/lib/mailer").AttachmentLike;
            text: string | Buffer | import("stream").Readable | import("nodemailer/lib/mailer").AttachmentLike;
            subject: string;
            from_email: string;
            from_name: string;
            to: To[];
            headers: Object;
            attachments: Attachments[];
            images: Attachments[];
        };
    };
}
export {};
