import { IError, IKeyObjectValue } from "../../type";
import { VScriptType } from './enum';
export default class ParseToJs {
    private _nameMap;
    private _argChangeMap;
    private _prefixNameVar;
    private _prefixNameFunc;
    private _prefixNameConst;
    private _userTypes;
    private _isInFunc;
    private _currentFuncName?;
    private _varlist;
    private _memberIndexList;
    private _blockCount;
    private _inputCount;
    private _count;
    private _isSwitch;
    private _isInIf;
    private _isInLoop;
    private _codesCol;
    private _dependsObj;
    private _enums;
    private _preRunMembers;
    private _isInConditionalStmt;
    private _preRunMembersFuncs;
    private _preRunMemberFuncsCount;
    private __count;
    preParseCode: string;
    private _hasLeftVisibleBarTime;
    private _hasRightVisibleBarTime;
    private _isExperssion;
    private _hasAlert;
    private _libTitle?;
    private _exportEles;
    private _scriptType?;
    private _tmpVarNames;
    private _importCodes;
    private _requestDependsData;
    private _reqCount;
    constructor(prefix: string, scriptType?: VScriptType, libTitle?: string);
    preParser(values: IKeyObjectValue[]): string | undefined;
    private _requestFuncStmtDependsHandle;
    parser(values: IKeyObjectValue[]): {
        code: string;
        hasLeftVisibleBarTime: boolean;
        hasRightVisibleBarTime: boolean;
        hasAlert: boolean;
        errors: IError[] | undefined;
    } | undefined;
    parserlib(values?: IKeyObjectValue[]): {
        errors: IError[];
        code?: undefined;
        hasLeftVisibleBarTime?: undefined;
        hasRightVisibleBarTime?: undefined;
    } | {
        code: string;
        hasLeftVisibleBarTime: boolean;
        hasRightVisibleBarTime: boolean;
        errors: IError[];
    };
    private _getExportCodes;
    private _parserStmt;
    private _parserEnumStatement;
    private _parserTypeStatement;
    private _parserVarBlockStmt;
    private _getDepends;
    private _parserForToStatement;
    private _parserForInStatement;
    private _parserAgainAssign;
    private _parserSwitchStatement;
    private _parserCases;
    private _parserDefaultCase;
    private _parserCase;
    private _parserWhileStatement;
    private _parserIfStatement;
    private _parserBlockLine;
    private _parserReturnBlock;
    private _getMembersCode;
    private _parserArrowMethod;
    private _parserArrowFunction;
    private _parserParameters;
    private _parserBlock;
    private _addVarList;
    private _parserDeclareAssign;
    private _parserDeclareAssignNames;
    private _parserSingleExpression;
    private _parserEqualityExpression;
    private _parserAdditiveExpression;
    private _parserMemberIndexExpression;
    private _getOtherVarMemberIndexs;
    private _getUserVarMemberIndexs;
    private _parseLiteral;
    private _colorToRgba;
    private _parserName;
    private _setDepend;
    private _parserMethodExpression;
    private _parserMethodElement;
    private _parserArguments;
    private _requestParamsHandle;
    private _getExpressionContext;
    private _getDependsCode;
    private _getStmtFuncDepends;
    private _parserBrackethesized;
    private _functionalProcess;
}
