import { HTMLElement } from 'node-html-parser'; /** * html渲染 * * @param dom_node 结点对象,p应位于该结点之内 * @param data 数据 * @param tpl dot模板字符串 * @param position_id p名称,在html上属性`data-feidao-presentation`对应的属性值 * @example render(dom_node, data, tpl, position_id); */ export default function render(dom_node: HTMLElement, data: any, tpl: string, position_id: string): void;