import type { Core } from '@strapi/strapi'; type TEmailOptions = { to: string | string[]; from?: string; replyTo?: string; [key: string]: any; }; type TEmailTemplate = { referenceId: string; subject?: string; text?: string; html?: string; }; type TEmailData = { [key: string]: any; }; declare const email: ({ strapi }: { strapi: Core.Strapi; }) => { /** * fill subject, text and html using lodash template * @param {object} options - to, from and replyto... * @param {object} template - object containing attributes to fill * @param {object} data - data used to fill the template * @returns Promise<{ subject, text, subject }> */ sendLiquidEmail: (options: TEmailOptions, template: TEmailTemplate, data: string | TEmailData) => Promise; }; export { email };