import { type Abi, type ContractFunctionName, type EstimateGasParameters, type PublicClient, type Transport } from 'viem'; import { type Chain } from 'viem/chains'; import type { GasPriceOracleParameters, OracleTransactionParameters } from '../../../types/gasPriceOracle.js'; export type EstimateFeesParameters | undefined = ContractFunctionName> = OracleTransactionParameters & GasPriceOracleParameters & Omit; export type EstimateFees = | undefined = ContractFunctionName>(client: PublicClient, options: EstimateFeesParameters) => Promise; /** * Estimates gas for an L2 transaction including the l1 fee * on non OP chains this is usually GasUsed * GasPrice * on OP chains this is GasUsed * GasPrice + L1Fee * @example * const feeValue = await estimateFees(publicClient, { * abi, * functionName: balanceOf, * args: [address], * }); */ export declare const estimateFees: EstimateFees; //# sourceMappingURL=estimateFees.d.ts.map