/** * 编译指定的模板为函数 * @param content 要编译的模板内容 * @param async 是否返回异步函数 * @param path 模块的路径,用于在模块内部导入其它模块 * @param paramName 函数接收的参数名,在模板中可以直接使用此参数值 * @param escape 编码模板中表达式计算结果的回调函数 */ export declare function compileTPL(content: string, async?: boolean, path?: string, paramName?: string, escape?: (s: any) => string): (data?: any) => string | Promise;