import { ReactElement } from 'react'; import { PaymentMethod } from '@fridaygame/client'; import { PaymentMethod as StripePaymentMethod } from '@stripe/stripe-js'; import { NewStripeCard } from './stripeCreditCardForm'; export interface StripePaymentMethodSelectorProps { paymentMethods?: (PaymentMethod | StripePaymentMethod)[]; onSelectPaymentMethod?: (paymentMethod: PaymentMethod | StripePaymentMethod | null) => unknown; selectedPaymentMethod?: PaymentMethod | StripePaymentMethod | string | null; onAddCreditCard?: (newStripeCard: NewStripeCard) => Promise | PaymentMethod | StripePaymentMethod; } export declare function StripePaymentMethodSelector({ paymentMethods, onSelectPaymentMethod, selectedPaymentMethod, onAddCreditCard, }: StripePaymentMethodSelectorProps): ReactElement;