import { type Abi, type ContractFunctionName, type PublicClient, type Transport } from 'viem'; import { type Chain } from 'viem/chains'; import type { OracleTransactionParameters } from '../../../types/gasPriceOracle.js'; export type EstimateL1FeeParameters | undefined = ContractFunctionName> = OracleTransactionParameters; /** * Options for specifying the transaction being estimated */ export type GasPriceOracleEstimator = | undefined = ContractFunctionName>(client: PublicClient, options: OracleTransactionParameters) => Promise; /** * Computes the L1 portion of the fee based on the size of the rlp encoded input * transaction, the current L1 base fee, and the various dynamic parameters. * @example * const L1FeeValue = await estimateL1Fee(publicClient, { * abi, * functionName: balanceOf, * args: [address], * }); */ export declare const estimateL1Fee: GasPriceOracleEstimator; //# sourceMappingURL=estimateL1Fee.d.ts.map