import { Hardfork } from '@ethereumjs/common'; import type { TypedTransaction, TypedTxData } from '@ethereumjs/tx'; import type { Hex } from '@metamask/utils'; import type { TransactionParams } from '../types.js'; export declare const HARDFORK = Hardfork.Prague; /** * Creates an `etheruemjs/tx` transaction object from the raw transaction parameters. * * @param chainId - Chain ID of the transaction. * @param txParams - Transaction parameters. * @returns The transaction object. */ export declare function prepareTransaction(chainId: Hex, txParams: TransactionParams): TypedTransaction; /** * Serializes transaction data into a hex string. * * @param chainId - Chain ID of the transaction. * @param txData - The signed transaction data. * @returns The prefixed hex string. */ export declare function serializeTransaction(chainId: Hex, txData: TypedTxData): Hex; //# sourceMappingURL=prepare.d.ts.map