import { IToken } from 'ebnf'; import { Program } from 'estree'; export interface ESIToken extends IToken { estree: any; parent: ESIToken; children: ESIToken[]; } export declare class Grammar { private readonly GRAMMAR_KEYWORDS; private readonly GRAMMAR_IDENTIFIERS; private readonly GRAMMAR_TARGET_FORMAT; private readonly GRAMMAR_TARGET_PROGRAM; private readonly parser; private readonly keywordsMap; private readonly identifiersMap; private readonly postProcessors; constructor(); format(script: string): string; transpile(script: string): Program; vbsToJs(script: string): string; }