import { Core } from '@strapi/strapi'; export type Recipient = string | string[]; export interface SendOptions { cc?: Recipient; bcc?: Recipient; from?: string; replyTo?: string; } export interface SendRawOptions extends SendOptions { subject: string; html: string; to: Recipient; } export interface EmailSenderService { sendEmail: (templateId: string, to: Recipient, data?: Record, options?: SendOptions) => Promise<{ templateId: string; templateName: string; to: Recipient; subject: string; provider: unknown; }>; sendRawEmail: (opts: SendRawOptions) => Promise<{ to: Recipient; subject: string; provider: unknown; }>; renderTemplate: (templateId: string, data?: Record) => Promise<{ subject: string; html: string; text: string; }>; } declare const factory: ({ strapi }: { strapi: Core.Strapi; }) => EmailSenderService; export default factory; //# sourceMappingURL=email-sender.d.ts.map