import { Transport } from "viem"; import { PopulatedTransaction, providers } from "ethers"; import { BigNumber } from "../utils"; import { GasPriceEstimate } from "./types"; export interface GasPriceEstimateOptions { baseFeeMultiplier: BigNumber; priorityFeeMultiplier: BigNumber; legacyFallback: boolean; chainId: number; unsignedTx?: PopulatedTransaction; transport?: Transport; } /** * Provide an estimate for the current gas price for a particular chain. * @param provider A valid ethers provider. * @param {opts} GasPriceEstimateOptions optional parameters. * @returns An object of type GasPriceEstimate. */ export declare function getGasPriceEstimate(provider: providers.Provider, opts?: Partial): Promise; /** * Provide an estimate for the current gas price for a particular chain. * @param providerOrChainId A valid ethers provider or a chain ID. * @param transport An optional Viem Transport object for custom gas price retrieval. * @param unsignedTx Only used in Linea provider to estimate priority gas fee. * @returns An object of type GasPriceEstimate. */ export declare function _getViemGasPriceEstimate(providerOrChainId: providers.Provider | number, opts: GasPriceEstimateOptions): Promise;