import { BigNumber, ethers } from "ethers";
import { EstimateL1FeeParams } from "../types";
/**
 * Get the estimated L1 fee for a given L2 chain, denominated in the destination
 * chain's native token wei.
 *
 * - OP Stack chains with ETH as native (optimism, base, blast, fraxtal, scroll):
 *   returns the oracle's getL1Fee(data) result, which is already in ETH wei.
 * - Mantle (post-Arsia): returns getL1Fee(data) × tokenRatio(), which converts
 *   the oracle's ETH-wei posting cost to MNT wei — matching what Mantle actually
 *   debits from the user's balance at tx inclusion.
 * - Arbitrum: returns 0. Arbitrum bundles the L1 component into the L2 gasUsed
 *   reported by eth_estimateGas, so there's no separate L1 fee to return here.
 *
 * @param provider JSON-RPC provider for the destination chain.
 * @param params Estimation parameters, including executeData and l2Type.
 * @returns The estimated L1 fee in the destination chain's native token wei.
 */
export declare function getL1FeeForL2(provider: ethers.providers.JsonRpcProvider, params: EstimateL1FeeParams): Promise<BigNumber>;
//# sourceMappingURL=getL1Fee.d.ts.map