import { Transporter } from "nodemailer";
export declare const initializeAndConfigureTransport: ({
  username,
  password,
  host,
  port,
  templatesDir,
}: {
  username?: string;
  password?: string;
  host?: string;
  port?: number;
  templatesDir?: string;
}) => Transporter;
export declare const send: ({
  to,
  subject,
  context,
  template,
  from,
}: {
  to: string | string[];
  subject: string;
  context: Record<string, any>;
  template: string;
  from?: string;
}) => Promise<any>;
//# sourceMappingURL=mail.d.ts.map
