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 EstimateL1GasUsedParameters | undefined = ContractFunctionName> = OracleTransactionParameters; /** * Options for specifying the transaction being estimated */ export type GasPriceOracleEstimator = | undefined = ContractFunctionName>(client: PublicClient, options: OracleTransactionParameters) => Promise; /** * Returns the L1 gas used * @example * const L1GasUsedValue = await estimateL1GasUsed(data, { * abi, * functionName: balanceOf, * args: [address], * }); */ export declare const estimateL1GasUsed: GasPriceOracleEstimator; //# sourceMappingURL=estimateL1GasUsed.d.ts.map