UNPKG

@ackplus/nest-dynamic-templates

Version:

A powerful and flexible dynamic template rendering library for NestJS applications with support for Nunjucks, Handlebars, EJS, Pug, MJML, Markdown, and more.

12 lines (11 loc) 466 B
import { TemplateLanguageEnum } from '../../interfaces/template.types'; import { LanguageEngine } from '../language-engine'; export declare class MjmlEngine extends LanguageEngine { private readonly options; static engineName: TemplateLanguageEnum; static displayName: string; static peerPackage: string; constructor(options?: Record<string, any>); render(content: string): Promise<string>; validate(content: string): Promise<boolean>; }