import React from 'react'; import { PaymentDetails, PaymentMethodData } from './AccountPayment.model'; import { PaymentVendorFactoryEnum } from '../../../enums/paymentVendorFactoryEnum'; interface CreditCardFormProps { isFormDisabled?: boolean; paymentDetails: PaymentDetails; externalId?: string; tenantId?: string; providerType?: PaymentVendorFactoryEnum | null; providerProps?: any; isHostedPaymentPage?: boolean | null; hasReadPropertiesError?: boolean | null; readPropertiesMessageError?: string | null; enabled?: boolean | null; data?: PaymentMethodData; actionLabel?: string; /** When false, the manual card form hides its "save this card" checkbox. */ allowSaveMethod?: boolean; setSelectedPaymentAccount?: (paymentAccount: any) => void; onStatusChange?: (paymentFormResult: any) => void; /** S2S bearer token; forwarded to the hosted payment provider form. */ s2sToken?: string; /** Tenant ID required alongside `s2sToken` for S2S mode API calls. */ s2sTenantId?: string; } /** * Credit-card branch of the payment form. Shows: * - A radio list of saved cards (when any exist) + an "Other / new card" * option, per D3 of REFACTOR_PLAN.md * - Either the hosted-payment iframe (when `isHostedPaymentPage`) or the * manual `NewCreditCardForm` once the user picks "Other". */ export declare const CreditCardForm: ({ isFormDisabled, data, externalId, paymentDetails, providerType, providerProps, isHostedPaymentPage, hasReadPropertiesError, readPropertiesMessageError, actionLabel, allowSaveMethod, onStatusChange, setSelectedPaymentAccount, s2sToken, s2sTenantId, }: CreditCardFormProps) => React.JSX.Element; export {}; //# sourceMappingURL=CreditCardForm.d.ts.map