import type { EOACode7702AuthorizationList } from '@ethereumjs/util'; import type { EIP7702CompatibleTx } from '../types.ts'; /** * The amount of gas paid for the data in this tx */ export declare function getDataGas(tx: EIP7702CompatibleTx): bigint; /** * Returns the authorization list of the tx in JSON format. * * For frozen txs the result is computed once, frozen (the tx cannot change * anymore, so neither can its JSON representation) and cached, and repeated * calls return the same frozen object. For non-frozen txs a fresh (mutable) * copy is returned on every call, since the underlying authorization list * bytes could still change. */ export declare function getAuthorizationListJSON(tx: EIP7702CompatibleTx): EOACode7702AuthorizationList; /** * Verifies the authorization list shape and field bounds. * * @throws If the list is empty or any entry is not 6 fields with valid lengths */ export declare function verifyAuthorizationList(tx: EIP7702CompatibleTx): void; //# sourceMappingURL=eip7702.d.ts.map