import Mail = require("nodemailer/lib/mailer"); export declare function sendMail(to: string[], subject: string, text?: string, html?: string, attachments?: Mail.Attachment[]): Promise; export declare function sendNiceMail(recipients: string[], subject: string, html: string, parameters: { [key: string]: string; }): Promise; export declare function closeTransport(): Promise; export interface IEmailEvents { STARTUP: any; SHUTDOWN: any; ERROR: any; UPLOAD: any; } export declare function sendEventEmail(event: keyof IEmailEvents, text?: string, attachments?: Mail.Attachment[]): Promise; //# sourceMappingURL=mail.handler.d.ts.map