@visulima/email
Version:
A comprehensive email library with multi-provider support, crypto utilities, and template engines
12 lines (11 loc) • 546 B
TypeScript
import type { TemplateRenderer } from "./types.d.ts";
/**
* Renders a Vue Email component to HTML.
* @param template The Vue component from \@vue-email/components to render.
* @param data Data and variables to pass to the template.
* @param options Render options including pretty formatting, plainText output, and htmlToTextOptions.
* @returns The rendered HTML or plain text string.
* @throws {EmailError} When \@vue-email/render is not installed or rendering fails.
*/
declare const vueEmail: TemplateRenderer;
export default vueEmail;