import type { BalanceDelta, RawPrestateDiff } from "../types.js"; /** * Compute net ETH balance changes from a prestateTracer diff-mode payload. * Returns one `BalanceDelta` per address whose balance changed, sorted by * address ascending for deterministic output. * * `delta` is signed (`postBalance - preBalance`); positive means the address * received ETH, negative means it sent. Addresses with `delta === 0n` are * filtered out — they may still appear in the input if non-balance fields * (nonce, storage) changed, but this parser is balance-only by design. * * Missing `pre.balance` is treated as zero (account didn't exist before). * Missing `post` entry is treated as zero balance (self-destruct or empty * account). These two cases cover the wire-format edge cases for new and * destroyed accounts. */ export declare function parsePrestateDiff(raw: RawPrestateDiff): BalanceDelta[]; //# sourceMappingURL=prestateDiff.d.ts.map