import { AbstractIntegration } from "./abstract.integration"; import type { ILoggerService, IDiscoveryService, IMailIntegration, NMailIntegration } from "../.."; export declare class MailIntegration extends AbstractIntegration implements IMailIntegration { protected readonly _discoveryService: IDiscoveryService; protected readonly _loggerService: ILoggerService; protected readonly _INTEGRATION_NAME: string; private _config; private _transport; constructor(_discoveryService: IDiscoveryService, _loggerService: ILoggerService); private _setConfig; init(): Promise; private _createTransport; destroy(): Promise; sendMailWithDynamicSender(mail: NMailIntegration.DynamicMail, options?: NMailIntegration.Options): Promise; sendMailWithStaticSender(mail: NMailIntegration.StaticMail, options?: NMailIntegration.Options): Promise; private _sendMail; private _throwConfigError; }