import nodemailer from 'nodemailer'; import type SMTPTransport from 'nodemailer/lib/smtp-transport/index.js'; import { AbstractMailHandler } from '@cedarjs/mailer-core'; import type { MailRenderedContent, MailResult, MailSendOptionsComplete } from '@cedarjs/mailer-core'; export type HandlerConfig = { transport: SMTPTransport | SMTPTransport.Options | string; defaults?: SMTPTransport.Options; }; export type HandlerOptions = nodemailer.SendMailOptions; export declare class NodemailerMailHandler extends AbstractMailHandler { protected config: HandlerConfig; protected transporter: nodemailer.Transporter; constructor(config: HandlerConfig); send(renderedContent: MailRenderedContent, sendOptions: MailSendOptionsComplete, handlerOptions?: HandlerOptions): Promise; internal(): { config: HandlerConfig; transporter: nodemailer.Transporter; }; } //# sourceMappingURL=index.d.ts.map