export type MailgunConfig = {
    apiKey: string;
    domain: string;
    baseUrl?: string;
};
export type MailAddress = {
    email: string;
    name?: string;
};
export type MailAttachment = {
    filename: string;
    content: Buffer;
};
export type MailMessage = {
    to: string | string[];
    from: MailAddress;
    subject: string;
    text: string;
    html?: string;
    attachments?: MailAttachment[];
};
export type SendResult = {
    ok: boolean;
    provider: 'mailgun';
    messageId?: string;
};
export declare const MailgunDriver: Readonly<{
    send(config: MailgunConfig, message: MailMessage): Promise<SendResult>;
}>;
export default MailgunDriver;
//# sourceMappingURL=Mailgun.d.ts.map