import type { TransactionMeta } from "@metamask/transaction-controller"; import type { Hex } from "@metamask/utils"; import type { TransactionPayControllerMessenger } from "../index.cjs"; import type { FiatValue } from "../types.cjs"; /** * * Calculate the estimated gas cost for a given transaction in fiat. * * @param transaction - Transaction to calculate gas cost for * @param messenger - Controller messenger. * @returns Estimated gas cost for the transaction. */ export declare function calculateGasCost(transaction: TransactionMeta, messenger: TransactionPayControllerMessenger): FiatValue; /** * Get gas fee estimates for a given chain. * * @param chainId - Chain ID. * @param messenger - Controller messenger. * @returns Gas fee estimates for the chain. */ export declare function getGasFee(chainId: Hex, messenger: TransactionPayControllerMessenger): { estimatedBaseFee: string | undefined; maxFeePerGas: string | undefined; maxPriorityFeePerGas: string | undefined; }; //# sourceMappingURL=gas.d.cts.map