import { type FeeMarket1559Tx, type FeeMarketEIP1559TxData, type TxOptions } from "@ethereumjs/tx"; import type { Address } from "./util.js"; export { type AccessList, AccessList2930Tx as AccessListEIP2930Transaction, type AccessListItem, Blob4844Tx as BlobEIP4844Transaction, Capability, createEOACode7702Tx as createEOACodeEIP7702Tx, createEOACode7702TxFromBytesArray as createEOACodeEIP7702TxFromBytesArray, createEOACode7702TxFromRLP as createEOACodeEIP7702TxFromRLP, createTx as TransactionFactory, createTxFromBlockBodyData, createTxFromRLP, type EIP1559CompatibleTx, type EIP4844CompatibleTx, EOACode7702Tx as EOACodeEIP7702Transaction, type EOACode7702TxData as EOACodeEIP7702TxData, FeeMarket1559Tx as FeeMarketEIP1559Transaction, isAccessList2930Tx as isAccessListEIP2930Tx, isBlob4844Tx as isBlobEIP4844Tx, isEOACode7702Tx as isEOACodeEIP7702Tx, isFeeMarket1559Tx as isFeeMarketEIP1559Tx, isLegacyTx, type JSONRPCTx as JsonRpcTx, type JSONTx as JsonTx, LegacyTx as LegacyTransaction, TransactionType, type TxData, type TxOptions, type TypedTransaction, } from "@ethereumjs/tx"; export * from "@ethereumjs/tx"; export interface ImpersonatedTx extends FeeMarket1559Tx { isImpersonated: true; } export type ImpersonatedTxData = FeeMarketEIP1559TxData & { impersonatedAddress: Address; }; type ErrorOptionsWithCause = { cause?: unknown; }; export declare class InternalError extends Error { readonly _tag = "InternalError"; constructor(message?: string, options?: ErrorOptionsWithCause); } export declare class InvalidGasLimitError extends Error { readonly _tag = "InvalidGasLimitError"; constructor(message?: string, options?: ErrorOptionsWithCause); } /** * Creates an unsigned EIP-1559 transaction that behaves as if it were signed by * `impersonatedAddress`. */ export declare function createImpersonatedTx(txData: ImpersonatedTxData, opts?: TxOptions): ImpersonatedTx; //# sourceMappingURL=tx.d.ts.map