import { ConfigService } from "@nestjs/config"; import { BaseConfigInterface } from "../../../config/interfaces/base.config.interface"; import { AppLoggingService } from "../../logging/services/logging.service"; export interface EmailAttachment { filename: string; content: Buffer; contentType: string; } export interface EmailParams { to: string | string[]; subject?: string; attachments?: EmailAttachment[]; [key: string]: any; } export declare class EmailService { private readonly config; private readonly logger; private templateBasePath; private libraryTemplateBasePath; private readonly defaultLocale; constructor(config: ConfigService, logger: AppLoggingService); private loadTemplate; sendEmail(templateId: string, emailParams: EmailParams, locale: string): Promise; /** * Send an already-rendered HTML email through the configured platform * provider. No template loading, no Handlebars: callers that render their * own body (a360ai's client mailer wraps the studio's layout around the * notification body) use this so the fallback path shares the exact * Brevo / SendGrid / SMTP transports that `sendEmail` uses. */ sendRendered(params: { to: string | string[]; subject: string; html: string; attachments?: EmailAttachment[]; }): Promise; private dispatch; private sendEmailWithBrevo; private sendEmailWithSendGrid; private convertToEmailAddressArray; private sendEmailWithSmtp; } //# sourceMappingURL=email.service.d.ts.map