import { Opcode } from "../spec"; import { Instruction } from "./"; export interface BranchInstruction extends Instruction { opcode: Opcode.IFEQ | Opcode.IFNE | Opcode.IFLT | Opcode.IFGE | Opcode.IFGT | Opcode.IFLE | Opcode.IF_ICMPEQ | Opcode.IF_ICMPNE | Opcode.IF_ICMPLT | Opcode.IF_ICMPGE | Opcode.IF_ICMPGT | Opcode.IF_ICMPLE | Opcode.IF_ACMPEQ | Opcode.IF_ACMPNE | Opcode.GOTO | Opcode.GOTO_W | Opcode.JSR | Opcode.JSR_W | Opcode.IFNULL | Opcode.IFNONNULL; branchOffset: number; } export declare const readBranch: (insn: Instruction) => BranchInstruction; export declare const writeBranch: (insn: BranchInstruction) => Instruction;