import { Attachment } from "../types/mailtrap"; import { NodemailerAttachment } from "../types/transport"; /** * Adopts Nodemailer attachment to Mailtrap. * Checks if filename or content are missing, then rejects with error. * Otherwise builds attachment object for Mailtrap. * @todo throw error when only filename is provided */ export default function adaptAttachment(nodemailerAttachment: NodemailerAttachment): Attachment; //# sourceMappingURL=attachement.d.ts.map