import { ReactElement } from 'react';
import { PaymentMethod } from '@goatim/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> | PaymentMethod | StripePaymentMethod;
}
export declare function StripePaymentMethodSelector({ paymentMethods, onSelectPaymentMethod, selectedPaymentMethod, onAddCreditCard, }: StripePaymentMethodSelectorProps): ReactElement;
