import type { FunAddress } from '@funkit/api-base'; import React from 'react'; import type { PaymentMethodInfo } from '../../domains/paymentMethods'; import type { DestinationLineItem, FunkitCheckoutConfig } from '../../providers/FunkitCheckoutContext/types'; import { type HealthFactorInfo } from './DestinationHealthFactorRow'; interface PaymentMethodSummaryProps { paymentMethodInfo: PaymentMethodInfo; customRecipient: FunAddress | undefined; isLoading: boolean; estimatedTimeText: string; isWithdrawal?: boolean; /** * Integrator-provided yield metadata for the destination. When present, it's * rendered as Supply APY / Collateralization rows after the Estimated Time row. */ destinationYieldInfo?: FunkitCheckoutConfig['destinationYieldInfo']; /** * Projected health factor for an Aave supply. When present, rendered as a * Health factor (before → after) row after the yield rows. The SDK computes * this from the live confirmation amount (Aave supply checkouts only). */ healthFactorInfo?: HealthFactorInfo; /** Integrator-resolved rows (`resolveDestinationLineItems`), rendered last in the summary box. */ destinationLineItems?: DestinationLineItem[] | null; } export declare function PaymentMethodSummary({ paymentMethodInfo, customRecipient, estimatedTimeText, isLoading, isWithdrawal, destinationYieldInfo, healthFactorInfo, destinationLineItems, }: PaymentMethodSummaryProps): React.JSX.Element; export {};