import { SetupIntentResult } from '@stripe/stripe-js';
import { AddCardPaymentSourceType, CardPaymentSelectorView, ID } from '@zeniai/client-epic-state';
interface CardCheckoutFormProps {
    cardPaymentView: CardPaymentSelectorView;
    cardSetupInProgress: boolean;
    clientSecret: string;
    handleAddCardPaymentSource: (paymentType: AddCardPaymentSourceType, paymentMethod: string, paymentId: string) => void;
    handleConfirmCardSetupIntent: (setupIntentData: SetupIntentResult) => void;
    setCardSetupInProgress: (cardSetupInProgress: boolean) => void;
    updateCardPaymentModalState: (isCardPaymentPopupOpen: boolean) => void;
}
export interface CardPaymentProps extends Omit<CardCheckoutFormProps, "clientSecret" | "cardSetupInProgress"> {
    cardSetupInProgress: boolean;
    isCardPaymentOpen: boolean;
    stripeKey: ID;
    handleCreateCardSetupIntent: (paymentMethod: string[]) => void;
    handleResetCardPaymentErrorStatuses: () => void;
}
declare const CardPaymentModal: ({ isCardPaymentOpen, cardPaymentView, stripeKey, cardSetupInProgress, handleConfirmCardSetupIntent, updateCardPaymentModalState, handleCreateCardSetupIntent, handleAddCardPaymentSource, handleResetCardPaymentErrorStatuses, setCardSetupInProgress, }: CardPaymentProps) => import("react/jsx-runtime").JSX.Element;
export default CardPaymentModal;
