import { Renderer , ResolveFn , ResolveFnAsync } from './renderer' ; import { Scope } from './get' ; import { compile , CompileOptions } from './compile' ; warning param template param scope param options throws returns export function render ( template , scope ? , options ? ) { const renderer = compile ( template , options ) ; return renderer . render ( scope ) ; } param resolveFn throws returns export function renderFn ( template , resolveFn , scope ? , options ? ) { const renderer = compile ( template , options ) ; return renderer . renderFn ( resolveFn , scope ) ; } param resolveFn throws returns export function renderFnAsync ( template , resolveFnAsync , scope ? , options ? ) { const renderer = compile ( template , options ) ; return renderer . renderFnAsync ( resolveFnAsync , scope ) ; }