import { ReactElement } from 'react';
import { FormFields } from '@cezembre/forms';
import { PaymentMethod as StripePaymentMethod, StripeCardElement, StripeCardNumberElement } from '@stripe/stripe-js';
export interface Fields extends FormFields {
    card: StripeCardElement | StripeCardNumberElement | {
        token: string;
    };
}
export interface NewStripeCard {
    payment_method: StripePaymentMethod;
}
export interface StripeCreditCardFormProps {
    onSubmit?: (newStripeCard: NewStripeCard) => unknown;
    onCancel?: () => unknown;
}
export declare function StripeCreditCardForm({ onSubmit, onCancel, }: StripeCreditCardFormProps): ReactElement;
