export declare enum Op {
    STMT1_CALL0 = 2,
    STMT2_CALL1 = 3,
    STMT3_CALL2 = 4,
    STMT4_CALL3 = 5,
    STMT5_CALL4 = 6,
    STMT6_CALL5 = 7,
    STMT7_CALL6 = 8,
    STMT8_CALL7 = 9,
    STMT9_CALL8 = 10,
    STMT2_CALL_ARRAY = 79,
    STMT1_RETURN = 12,
    STMTx_JMP = 13,
    STMTx1_JMP_Z = 14,
    STMTx_JMP_RET_VAL_Z = 78,
    STMTx_TRY = 80,
    STMTx_END_TRY = 81,
    STMT0_CATCH = 82,
    STMT0_FINALLY = 83,
    STMT1_THROW = 84,
    STMT1_RE_THROW = 85,
    STMTx1_THROW_JMP = 86,
    STMT0_DEBUGGER = 87,
    STMTx1_STORE_LOCAL = 17,
    STMTx1_STORE_GLOBAL = 18,
    STMT4_STORE_BUFFER = 19,
    EXPRx_LOAD_LOCAL = 21,
    EXPRx_LOAD_GLOBAL = 22,
    STMTx2_STORE_CLOSURE = 73,
    EXPRx1_LOAD_CLOSURE = 74,
    EXPRx_MAKE_CLOSURE = 75,
    STMT1_STORE_RET_VAL = 93,
    EXPR2_INDEX = 24,
    STMT3_INDEX_SET = 25,
    STMT2_INDEX_DELETE = 11,
    EXPRx1_BUILTIN_FIELD = 26,
    EXPRx1_ASCII_FIELD = 27,
    EXPRx1_UTF8_FIELD = 28,
    EXPRx_MATH_FIELD = 29,
    EXPRx_DS_FIELD = 30,
    EXPRx_OBJECT_FIELD = 16,
    EXPR1_NEW = 88,
    EXPR2_BIND = 15,
    STMT0_ALLOC_MAP = 31,
    STMT1_ALLOC_ARRAY = 32,
    STMT1_ALLOC_BUFFER = 33,
    EXPRx_STATIC_SPEC_PROTO = 34,
    EXPRx_STATIC_BUFFER = 35,
    EXPRx_STATIC_BUILTIN_STRING = 36,
    EXPRx_STATIC_ASCII_STRING = 37,
    EXPRx_STATIC_UTF8_STRING = 38,
    EXPRx_STATIC_FUNCTION = 39,
    EXPRx_STATIC_SPEC = 94,
    EXPRx_LITERAL = 40,
    EXPRx_LITERAL_F64 = 41,
    EXPRx_BUILTIN_OBJECT = 1,
    STMT0_REMOVED_42 = 42,
    EXPR3_LOAD_BUFFER = 43,
    EXPR0_RET_VAL = 44,
    EXPR1_TYPEOF = 45,
    EXPR1_TYPEOF_STR = 76,
    EXPR0_UNDEFINED = 46,
    EXPR0_NULL = 90,
    EXPR1_IS_UNDEFINED = 47,
    EXPR2_INSTANCE_OF = 89,
    EXPR1_IS_NULLISH = 72,
    EXPR0_TRUE = 48,
    EXPR0_FALSE = 49,
    EXPR1_TO_BOOL = 50,
    EXPR0_NAN = 51,
    EXPR0_INF = 20,
    EXPR1_ABS = 52,
    EXPR1_BIT_NOT = 53,
    EXPR1_IS_NAN = 54,
    EXPR1_NEG = 55,
    EXPR1_UPLUS = 23,
    EXPR1_NOT = 56,
    EXPR1_TO_INT = 57,
    EXPR2_ADD = 58,
    EXPR2_SUB = 59,
    EXPR2_MUL = 60,
    EXPR2_DIV = 61,
    EXPR2_BIT_AND = 62,
    EXPR2_BIT_OR = 63,
    EXPR2_BIT_XOR = 64,
    EXPR2_SHIFT_LEFT = 65,
    EXPR2_SHIFT_RIGHT = 66,
    EXPR2_SHIFT_RIGHT_UNSIGNED = 67,
    EXPR2_EQ = 68,
    EXPR2_LE = 69,
    EXPR2_LT = 70,
    EXPR2_NE = 71,
    EXPR2_APPROX_EQ = 91,
    EXPR2_APPROX_NE = 92,
    STMT0_REMOVED_77 = 77,
    OP_PAST_LAST = 95
}
export declare const OP_PROPS = "`\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u0012Qp1B`11\u0014@  A\u0002\u0013!!!``\u0010\u0011\u0011````````\u0010\u0003\0A@A@@A@AAAAAABBBBBBBBBBBBBBA2! A\u00100\u00120p\u0010\u0010QQq\u0010AB@BB\u0011`";
export declare const OP_TYPES = "\u0001\f\f\f\f\f\f\f\f\f\f\f\f\f\b\v\f\f\f\u0001\v\v\u0001\v\f\v\v\v\v\v\f\f\f\v\u0004\t\t\t\b\u0001\u0001\f\u0001\v\u0001\f\u0006\u0006\u0006\u0006\u0001\u0001\u0001\u0006\u0001\u0006\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0006\u0006\u0006\u0006\u0006\f\v\b\u0001\f\f\f\f\f\f\f\f\f\f\f\b\u0006\f\u0006\u0006\f\v";
export declare enum BinFmt {
    IMG_VERSION_MAJOR = 2,
    IMG_VERSION_MINOR = 8,
    IMG_VERSION_PATCH = 3,
    IMG_VERSION = 34078723,
    MAGIC0 = 1400268100,
    MAGIC1 = 4046024202,
    NUM_IMG_SECTIONS = 10,
    FIX_HEADER_SIZE = 32,
    SECTION_HEADER_SIZE = 8,
    FUNCTION_HEADER_SIZE = 16,
    ASCII_HEADER_SIZE = 2,
    UTF8_HEADER_SIZE = 4,
    UTF8_TABLE_SHIFT = 4,
    BINARY_SIZE_ALIGN = 32,
    MAX_STACK_DEPTH = 10,
    MAX_CALL_DEPTH = 100,
    DIRECT_CONST_OP = 128,
    DIRECT_CONST_OFFSET = 16,
    FIRST_MULTIBYTE_INT = 248,
    FIRST_NON_OPCODE = 65536,
    FIRST_BUILTIN_FUNCTION = 50000,
    MAX_ARGS_SHORT_CALL = 8,
    SERVICE_SPEC_HEADER_SIZE = 16,
    SERVICE_SPEC_PACKET_SIZE = 8,
    SERVICE_SPEC_FIELD_SIZE = 4,
    ROLE_BITS = 15
}
export declare enum StrIdx {
    BUFFER = 0,
    BUILTIN = 1,
    ASCII = 2,
    UTF8 = 3,
    _SHIFT = 14
}
export declare enum OpCall {
    __MAX = 4,
    SYNC = 0,
    BG = 1,
    BG_MAX1 = 2,
    BG_MAX1_PEND1 = 3,
    BG_MAX1_REPLACE = 4
}
export declare enum BytecodeFlag {
    NUM_ARGS_MASK = 15,
    IS_STMT = 16,
    TAKES_NUMBER = 32,
    IS_STATELESS = 64,
    IS_FINAL_STMT = 64
}
export declare enum FunctionFlag {
    NEEDS_THIS = 1,
    IS_CTOR = 2,
    HAS_REST_ARG = 4
}
export declare enum NumFmt {
    __MAX = 12,
    U8 = 0,
    U16 = 1,
    U32 = 2,
    U64 = 3,
    I8 = 4,
    I16 = 5,
    I32 = 6,
    I64 = 7,
    F8 = 8,
    F16 = 9,
    F32 = 10,
    F64 = 11,
    SPECIAL = 12
}
export declare enum NumFmtSpecial {
    __MAX = 6,
    EMPTY = 0,
    BYTES = 1,
    STRING = 2,
    STRING0 = 3,
    BOOL = 4,
    PIPE = 5,
    PIPE_PORT = 6
}
export declare enum PacketSpecCode {
    REGISTER = 4096,
    EVENT = 32768,
    COMMAND = 0,
    REPORT = 8192,
    MASK = 61440
}
export declare enum ServiceSpecFlag {
    DERIVE_MASK = 15,
    DERIVE_BASE = 0,
    DERIVE_SENSOR = 1,
    DERIVE_LAST = 1
}
export declare enum PacketSpecFlag {
    __MAX = 1,
    MULTI_FIELD = 1
}
export declare enum FieldSpecFlag {
    __MAX = 2,
    IS_BYTES = 1,
    STARTS_REPEATS = 2
}
export declare enum ObjectType {
    __MAX = 12,
    UNDEFINED = 0,
    NUMBER = 1,
    MAP = 2,
    ARRAY = 3,
    BUFFER = 4,
    ROLE = 5,
    BOOL = 6,
    FIBER = 7,
    FUNCTION = 8,
    STRING = 9,
    PACKET = 10,
    EXOTIC = 11,
    NULL = 12,
    ANY = 11,
    VOID = 12
}
export declare enum BuiltInObject {
    __MAX = 39,
    MATH = 0,
    OBJECT = 1,
    OBJECT_PROTOTYPE = 2,
    ARRAY = 3,
    ARRAY_PROTOTYPE = 4,
    BUFFER = 5,
    BUFFER_PROTOTYPE = 6,
    STRING = 7,
    STRING_PROTOTYPE = 8,
    NUMBER = 9,
    NUMBER_PROTOTYPE = 10,
    DSFIBER = 11,
    DSFIBER_PROTOTYPE = 12,
    DSROLE = 13,
    DSROLE_PROTOTYPE = 14,
    FUNCTION = 15,
    FUNCTION_PROTOTYPE = 16,
    BOOLEAN = 17,
    BOOLEAN_PROTOTYPE = 18,
    DSPACKET = 19,
    DSPACKET_PROTOTYPE = 20,
    DEVICESCRIPT = 21,
    DSPACKETINFO_PROTOTYPE = 22,
    DSREGISTER_PROTOTYPE = 23,
    DSCOMMAND_PROTOTYPE = 24,
    DSEVENT_PROTOTYPE = 25,
    DSREPORT_PROTOTYPE = 26,
    ERROR = 27,
    ERROR_PROTOTYPE = 28,
    TYPEERROR = 29,
    TYPEERROR_PROTOTYPE = 30,
    RANGEERROR = 31,
    RANGEERROR_PROTOTYPE = 32,
    SYNTAXERROR = 33,
    SYNTAXERROR_PROTOTYPE = 34,
    JSON = 35,
    DSSERVICESPEC = 36,
    DSSERVICESPEC_PROTOTYPE = 37,
    DSPACKETSPEC = 38,
    DSPACKETSPEC_PROTOTYPE = 39
}
export declare enum BuiltInString {
    __MAX = 169,
    _EMPTY = 0,
    MINFINITY = 1,
    DEVICESCRIPT = 2,
    E = 3,
    INFINITY = 4,
    LN10 = 5,
    LN2 = 6,
    LOG10E = 7,
    LOG2E = 8,
    NAN = 9,
    PI = 10,
    SQRT1_2 = 11,
    SQRT2 = 12,
    ABS = 13,
    ALLOC = 14,
    ARRAY = 15,
    BLITAT = 16,
    BOOLEAN = 17,
    BUFFER = 18,
    CBRT = 19,
    CEIL = 20,
    CHARCODEAT = 21,
    CLAMP = 22,
    EXP = 23,
    FALSE = 24,
    FILLAT = 25,
    FLOOR = 26,
    FOREACH = 27,
    FUNCTION = 28,
    GETAT = 29,
    IDIV = 30,
    IMUL = 31,
    ISBOUND = 32,
    JOIN = 33,
    LENGTH = 34,
    LOG = 35,
    LOG10 = 36,
    LOG2 = 37,
    MAP = 38,
    MAX = 39,
    MIN = 40,
    NEXT = 41,
    NULL = 42,
    NUMBER = 43,
    ONCHANGE = 44,
    ONCONNECTED = 45,
    ONDISCONNECTED = 46,
    PACKET = 47,
    _PANIC = 48,
    POP = 49,
    POW = 50,
    PREV = 51,
    PROTOTYPE = 52,
    PUSH = 53,
    RANDOM = 54,
    RANDOMINT = 55,
    READ = 56,
    RESTART = 57,
    ROUND = 58,
    SETAT = 59,
    SETLENGTH = 60,
    SHIFT = 61,
    SIGNAL = 62,
    SLICE = 63,
    SPLICE = 64,
    SQRT = 65,
    STRING = 66,
    SUBSCRIBE = 67,
    TOSTRING = 68,
    TRUE = 69,
    UNDEFINED = 70,
    UNSHIFT = 71,
    WAIT = 72,
    WRITE = 73,
    SLEEP = 74,
    IMOD = 75,
    FORMAT = 76,
    INSERT = 77,
    START = 78,
    CLOUD = 79,
    MAIN = 80,
    CHARAT = 81,
    OBJECT = 82,
    PARSEINT = 83,
    PARSEFLOAT = 84,
    ASSIGN = 85,
    KEYS = 86,
    VALUES = 87,
    __FUNC__ = 88,
    ROLE = 89,
    DEVICEIDENTIFIER = 90,
    SHORTID = 91,
    SERVICEINDEX = 92,
    SERVICECOMMAND = 93,
    PAYLOAD = 94,
    DECODE = 95,
    ENCODE = 96,
    _ONPACKET = 97,
    CODE = 98,
    NAME = 99,
    ISEVENT = 100,
    EVENTCODE = 101,
    ISREGSET = 102,
    ISREGGET = 103,
    REGCODE = 104,
    FLAGS = 105,
    ISREPORT = 106,
    ISCOMMAND = 107,
    ISARRAY = 108,
    INLINE = 109,
    ASSERT = 110,
    PUSHRANGE = 111,
    SENDCOMMAND = 112,
    __STACK__ = 113,
    ERROR = 114,
    TYPEERROR = 115,
    RANGEERROR = 116,
    STACK = 117,
    MESSAGE = 118,
    CAUSE = 119,
    __NEW__ = 120,
    SETPROTOTYPEOF = 121,
    GETPROTOTYPEOF = 122,
    CONSTRUCTOR = 123,
    __PROTO__ = 124,
    _LOGREPR = 125,
    PRINT = 126,
    EVERYMS = 127,
    SETINTERVAL = 128,
    SETTIMEOUT = 129,
    CLEARINTERVAL = 130,
    CLEARTIMEOUT = 131,
    SYNTAXERROR = 132,
    JSON = 133,
    PARSE = 134,
    STRINGIFY = 135,
    _DCFGSTRING = 136,
    ISSIMULATOR = 137,
    _ROLE = 138,
    FIBER = 139,
    SUSPEND = 140,
    RESUME = 141,
    TERMINATE = 142,
    SELF = 143,
    CURRENT = 144,
    ID = 145,
    _COMMANDRESPONSE = 146,
    ISACTION = 147,
    MILLIS = 148,
    FROM = 149,
    HEX = 150,
    UTF8 = 151,
    UTF_8 = 152,
    SUSPENDED = 153,
    REBOOT = 154,
    SERVER = 155,
    SPEC = 156,
    SERVICESPEC = 157,
    CLASSIDENTIFIER = 158,
    LOOKUP = 159,
    PACKETSPEC = 160,
    PARENT = 161,
    RESPONSE = 162,
    SERVERINTERFACE = 163,
    _ONSERVERPACKET = 164,
    _SERVERSEND = 165,
    NOTIMPLEMENTED = 166,
    DELAY = 167,
    FROMCHARCODE = 168,
    _ALLOCROLE = 169
}
export declare const OP_PRINT_FMTS: string[];
export declare const OBJECT_TYPE: string[];
export declare const BUILTIN_STRING__VAL: string[];
export declare const BUILTIN_OBJECT__VAL: string[];
//# sourceMappingURL=bytecode.d.ts.map