import { syscall } from "../syscall.ts"; /** * Renders * @param template * @param obj * @param globals * @returns */ export function renderTemplate( template: string, obj: any, globals: Record = {}, ): Promise { return syscall("template.renderTemplate", template, obj, globals); } export function parseTemplate( template: string, ): Promise { return syscall("template.parseTemplate", template); }