import type { AnyDatabaseNotification, BaseEmailTemplateRenderer, BaseNotificationTypeConfig, JsonObject } from 'vintasend'; import { BaseNotificationAdapter } from 'vintasend'; export interface MailgunConfig { apiKey: string; domain: string; fromEmail: string; fromName?: string; baseUrl?: string; } /** * Email adapter using the Mailgun REST API directly via fetch. * Avoids the mailgun.js npm package to keep Medplum bot bundles small. */ export declare class MailgunAdapter, Config extends BaseNotificationTypeConfig> extends BaseNotificationAdapter { key: string | null; private config; constructor(templateRenderer: TemplateRenderer, enqueueNotifications: boolean, config: MailgunConfig); get supportsAttachments(): boolean; send(notification: AnyDatabaseNotification, context: JsonObject): Promise; private appendAttachments; } export declare class MailgunAdapterFactory { create>(templateRenderer: TemplateRenderer, enqueueNotifications: boolean, config: MailgunConfig): MailgunAdapter; } //# sourceMappingURL=mailgun-adapter.d.ts.map