import type { EvmBytecode } from './EvmBytecode'; import IOpcode from './interfaces/IOpcode'; import Stack from './Stack'; export declare class OpcodesWalker { evm: EvmBytecode; opcodes: IOpcode[]; current: IOpcode; stack: Stack; constructor(evm: EvmBytecode, opcodes: IOpcode[]); getMethodOpcodes(mix: string | { sig: string; }): { opcodes: IOpcode[]; exit: "STOP" | "RETURN" | "REVERT" | "INVALID" | "LOOP" | "END"; }; private goToExit; private next; } export declare namespace IsOpcode { export function ofType(opcode: IOpcode, name: keyof typeof rgxes): boolean; const rgxes: { PUSH: RegExp; JUMP: RegExp; JUMPDEST: RegExp; RETURN: RegExp; }; export {}; }