import { BaseNode, Program, Statement } from 'estree'; export declare class Transformer { static SCOPE_NAME: string; static ITEMS_NAME: string; static ENUMS_NAME: string; static GLOBAL_NAME: string; static STDLIB_NAME: string; static VBSHELPER_NAME: string; static PLAYER_NAME: string; protected readonly ast: Program; private readonly scopeManager; protected readonly rootScope: any; constructor(ast: Program, analyzeScope?: boolean); protected isKnown(node: BaseNode, parent: BaseNode): boolean; protected isKnownNode(node: BaseNode): boolean; protected isKnownParent(parent: BaseNode): boolean; protected isLocalVariable(node: any): boolean; /** * Using `escope`, we acquire the current scope for each node and attach it * to the node for later usage. * * This is a separate run because it's done when *leaving* the node. */ protected addScope(): void; protected isRootScope(node: any): boolean; protected replaceMany(nodes: Statement[], node: BaseNode): Program; protected getName(node: any): string; protected getTopParentNode(node: any): any; protected getTopMemberName(node: any): string; }