import { Serializable } from './internal.js'; /** * All OpCode bytes. */ export declare enum OpCode { IMPORT = 161, LOAD = 162, LOADBYORIGIN = 163, NEW = 177, CALL = 178, EXEC = 179, FUND = 193, LOCK = 194, DEPLOY = 209, SIGN = 225, SIGNTO = 226 } /** * Instruction base class. * * An Instruction is Aldea's smallest contiguous unit of execution. A * transaction consists of a `OpCode` byte and a number of arguments, depending * on the `OpCode`. */ export declare class Instruction { opcode: OpCode; constructor(opcode: OpCode); static fromBytes(bytes: Uint8Array): Instruction; toBytes(): Uint8Array; } /** * InstructionRef class - just a wrapper around number */ export declare class InstructionRef { idx: number; constructor(idx: number); get [Symbol.toStringTag](): string; toString(): string; } /** * Wrap a number with InstructionRef */ export declare function ref(idx: number): InstructionRef; /** * Instruction Serializer object - implements the Serializable interface. */ export declare const InstructionSerializer: Serializable; //# sourceMappingURL=instruction.d.ts.map