import React from "react";
export interface PaymentModalProps {
    isOpen: boolean;
    publicKey: string;
    priceId: string;
    userEmail: string;
    userId: string;
    apiUrl?: string;
    onClose?: () => void;
    onPaymentSuccess: (paymentIntentId?: string) => void;
    onPaymentError: (error?: string) => void;
}
export declare const PaymentModal: ({ isOpen, publicKey, priceId, userEmail, userId, onClose, onPaymentSuccess, onPaymentError, apiUrl, }: PaymentModalProps) => React.JSX.Element | null;
