import { default as React } from 'react'; type IPaymentMethodsProps = { /** * The title of the payment methods * @default 'Payment Methods' */ title?: React.ReactNode; /** * Whether to allow updating payment methods * @default true */ allowUpdate?: boolean; /** * Callback function to be called when the payment methods are updated successfully */ onSuccess?: () => void; /** * Callback function to be called when the payment methods are updated unsuccessfully */ onError?: () => void; }; declare const PaymentMethods: ({ title, allowUpdate, onSuccess, onError, }: IPaymentMethodsProps) => React.JSX.Element | null; export default PaymentMethods;