export type BuildContentReq = { data: any; } export interface ITemplateProvider { buildContent: (params: BuildContentReq) => Promise; buildDefaultContent:(params: BuildContentReq) => Promise; } export type EmailContent = { subject:string, content?:string, html?:string };