import * as babel from '@babel/core'; import { BabelFileResult, Node } from '@babel/core'; import { File, Program } from '@babel/types'; export interface TransformerOptions { plugins: babel.PluginObj[]; } export declare function getAst(code: string): Promise; export declare function renderFromAst(ast: Node, data: any, options?: Partial): Promise; export declare function render(template: string, data: any, options?: Partial): Promise; export declare function renderFile(fileName: string, data: any, options?: Partial): Promise;