import { SmtpOptions } from '@pgpmjs/types'; import { SendMailOptions } from 'nodemailer'; import SMTPTransport from 'nodemailer/lib/smtp-transport'; type SendInput = { to: string | string[]; subject: string; html?: string; text?: string; from?: string; cc?: string | string[]; bcc?: string | string[]; replyTo?: string; headers?: Record; attachments?: SendMailOptions['attachments']; }; export declare const send: (options: SendInput, smtpOverrides?: SmtpOptions) => Promise; export declare const resetTransport: () => void; export type { SendInput as SendOptions };