/************ Processor: ts ************/ // index.ts declare namespace ns_0 { interface IDataSend { to: string; subject: string; module: string; data: any; from?: string | null; attachments?: Array<{ filename: string; path: string; }>; } export class MailManager { #private; private idApplication; private module; private conectionMail; header: string; footer: string; constructor(); hasPermission(token: string): Promise; private setInfo; getData(data: any, module: any): Promise; private findChildrenTemplates; insertValueIntoChildren: (children: any, childrenData: any) => any; getAdditionals: (data: any) => Promise; processChildren({ tpl, items }: { tpl: any; items: any; }): any; getTpl(content: any, data: any): Promise; setDataTpl(tpl: any, data: any): any; send({ to, subject, module, data, from, attachments }: IDataSend): Promise<{ status: boolean; response: any; } | { error: string; }>; } export {}; } export import MailManager = ns_0.MailManager; export declare const hmr: {on: (event: string, listener: any) => void, off: (event: string, listener: any) => void };