import { VirtualValue } from '../HandleDelay/virtualValue'; export interface Context { path: (string | number)[]; /** 原来模板中的位置 */ templatePath: (string | number)[]; currentContext: Object | any[]; templateCurrentContext: Object | any[]; /** 推迟执行的函数模板 */ delay: { /** 值引用依赖 */ path: VirtualValue[]; /**函数引用依赖 */ function: VirtualValue[]; }; templateRoot: any; } /** 模板对象解析器,所有的函数的解析入口 */ export declare function gen(template: unknown, key?: string, context?: Context): any; export declare function genInput(template: string): any;