/** * ruRE Phase 4 — EVM bytecode static inventory (ADR-0005). * Aligned disassembly + pattern scan over bytes. There is no interpreter: * nothing is executed, no RPC, no network. */ export declare const MAX_EVM_BYTES: number; export declare function opcodeName(op: number): string | null; export interface EvmInfo { byteLength: number; instructionCount: number; jumpdestCount: number; invalidOpcodeCount: number; selectors: { selector: string; name: string | null; offset: number; }[]; hazards: Record; addresses: string[]; eventTopics: { topic: string; name: string | null; offset: number; }[]; minimalProxy: { implementation: string; } | null; metadata: { solc?: string; ipfs?: string; bzzr?: string; experimental?: boolean; } | null; strings: string[]; disassembly?: string[]; warnings: string[]; truncated: boolean; } export type HexParse = { ok: true; bytes: Buffer; } | { ok: false; error: string; }; /** Accepts `0x`-optional hex; rejects odd length, non-hex, empty, and over-cap input. */ export declare function parseHex(text: string): HexParse; export declare function analyzeEvm(b: Buffer, includeDisassembly?: boolean): EvmInfo; //# sourceMappingURL=evm-parse.d.ts.map