import type { DonationSettings, TCheckoutSession, TLineItemExpanded, TPaymentCurrency, TPaymentIntent, TPaymentMethodExpanded } from '@blocklet/payment-types';
import { type LiveRateInfo, type LiveQuoteSnapshot } from '../hooks/dynamic-pricing';
import type { SlippageConfigValue } from '../components/slippage-config';
type Props = {
    items: TLineItemExpanded[];
    currency: TPaymentCurrency;
    trialInDays: number;
    trialEnd?: number;
    billingThreshold: number;
    showStaking?: boolean;
    onUpsell?: Function;
    onDownsell?: Function;
    onQuantityChange?: Function;
    onChangeAmount?: Function;
    onApplyCrossSell?: Function;
    onCancelCrossSell?: Function;
    checkoutSessionId?: string;
    crossSellBehavior?: string;
    donationSettings?: DonationSettings;
    action?: string;
    completed?: boolean;
    checkoutSession?: TCheckoutSession;
    paymentIntent?: TPaymentIntent | null;
    onPromotionUpdate?: () => void;
    paymentMethods?: TPaymentMethodExpanded[];
    showFeatures?: boolean;
    rateUnavailable?: boolean;
    rateError?: string;
    isRateLoading?: boolean;
    onQuoteExpired?: (forceRefresh?: boolean) => void;
    onRefreshRate?: () => Promise<void>;
    onSlippageChange?: (slippageConfig: SlippageConfigValue) => void;
    slippageConfig?: SlippageConfigValue;
    liveRate?: LiveRateInfo;
    liveQuoteSnapshot?: LiveQuoteSnapshot;
    isStripePayment?: boolean;
    isSubscription?: boolean;
};
export default function PaymentSummary({ items, currency, trialInDays, billingThreshold, onUpsell, onDownsell, onQuantityChange, onApplyCrossSell, onCancelCrossSell, onChangeAmount, checkoutSessionId, crossSellBehavior, showStaking, donationSettings, action, trialEnd, completed, checkoutSession, paymentIntent, paymentMethods, onPromotionUpdate, showFeatures, rateUnavailable, isRateLoading, rateError: _rateError, // Technical errors are logged but not displayed to users
onQuoteExpired, onRefreshRate, onSlippageChange, slippageConfig: slippageConfigProp, liveRate, liveQuoteSnapshot, isStripePayment, isSubscription: isSubscriptionProp, ...rest }: Props): import("react").JSX.Element | null;
export {};
