import { ElementType } from "./visitors"; declare function isTemplate(node: any): boolean; declare function isWXAttributeInterpolation(node: any): boolean; declare function isElementWithWxFor(node: any): boolean; declare function isTemplateIdent(node: any): boolean; declare class Scope { uid: number; block: any; path: any; labels: Map; inited: boolean; bindings: any; globals: any; uids: any; data: any; crawling: boolean; isolatedNamespace: boolean; key: string; /** * * @param {NodePath} path * @returns */ constructor(path: any); init(): void; crawl(): void; getProgramParent(): this; getParent(): any; /** * TODO: 第二个参数应该是path,还是在wx:for情况下局部变量的变量名? * - template可以认为是一个独立的wxml * - template中可以使用