import React, { type ReactNode } from 'react'; import type { CheckoutFees } from '../../domains/fees'; import type { FunkitCheckoutQuoteResult } from '../../domains/quote'; import { type FunTooltipProps } from '../FunTooltip/FunTooltip'; import type { AnalyticsNamedStep } from '../../hooks/track/analytics/mappers'; export declare const NO_DATA_VALUE = "-"; interface PaymentFeesSummaryProps { isLoading: boolean; quote: FunkitCheckoutQuoteResult | null | undefined; /** If set and quote is missing, display fees based on this data */ fallbackFees?: CheckoutFees; /** If set, displays a `-` instead of the values, the breakdown is not expandable */ valuesNotAvailable?: boolean; isWithdrawal: boolean; extraSourceChainGasUsd?: number; step: AnalyticsNamedStep; /** * Integrator rows rendered before the SDK's own rows. * - Display-only: excluded from the total, expandability and analytics. */ extraFeeItems?: FeeItem[]; /** Overrides `confirmationScreen.showTransactionDigest` for screens that always want the collapsed preview */ isFeePreviewEnabled?: boolean; /** Overrides `confirmationScreen.showSelectedRoute` for screens that always name the route */ isSelectedRouteEnabled?: boolean; } export declare function PaymentFeesSummary({ isLoading, quote, fallbackFees, isWithdrawal, valuesNotAvailable, extraSourceChainGasUsd, step, extraFeeItems, isFeePreviewEnabled, isSelectedRouteEnabled, }: PaymentFeesSummaryProps): React.JSX.Element; export interface FeeItem { label: string; value: string; testId?: string; valueIcon?: ReactNode; tooltipText?: string | ReactNode; tooltipPosition?: FunTooltipProps['tooltipPosition']; tooltipWidth?: 'default' | 'wide'; } export {};