import React from 'react'; import { PaymentTenderTypeEnum } from '../../../../enums/paymentTenderTypeEnum'; /** * `FiservForm` Component * * This component is responsible for rendering an iframe for payment processing tailored for the Fiserv payment gateway. It manages the dynamic creation of the iframe URL based on the provided attributes and configures the iframe behavior accordingly. * * @param {Object} { * paymentMethod = PaymentTenderTypeEnum.CreditCard, * baseUrl = "https://fts-uat.cardconnect.com/itoke/ajax-tokenizer.html", * customCss = defaultCssStyles, * attributes = null * } The properties passed to the component. * @param {PaymentTenderTypeEnum} [paymentMethod=PaymentTenderTypeEnum.CreditCard] The payment method type, affecting the endpoint. * @param {Object} [onStatusChange=null] Callback function to handle the status change event. * @param {string} [baseUrl="https://fts-uat.cardconnect.com/itoke/ajax-tokenizer.html"] The base URL for the Fiserv payment gateway iframe. * @param {string} [customCss=defaultCssStyles] Custom CSS to apply within the iframe. * @param {Object} [attributes=null] Additional payment attributes to append as query parameters. * @param {string} [attributes.placeholder] Placeholder text for the card fields. * @param {string} [attributes.placeholdercvv] Placeholder text for the CVV field. * @param {string} [attributes.placeholdermonth] Placeholder for the expiration month field. * @param {string} [attributes.placeholderyear] Placeholder for the expiration year field. * @param {boolean} [attributes.useexpiry=true] Flag to enable the use of the expiration date. * @param {boolean} [attributes.usecvv=true] Flag to enable the use of the CVV code. * @param {boolean} [attributes.invalidcreditcardevent=true] Event triggered on invalid card input. * @param {boolean} [attributes.formatinput=true] Formats the card input fields. * @param {boolean} [attributes.unique=true] Ensures unique card number inputs. * @param {boolean} [attributes.enhancedresponse=true] Provides enhanced responses. * @param {boolean} [attributes.cardnumbernumericonly=true] Allows only numeric input for the card number. * @param {boolean} [attributes.fullmobilekeyboard=false] Enables full mobile keyboard access. * * @return {React.Component} The `FiservForm` component that handles the rendering of the payment iframe and processes payment data or errors. */ export declare const FiservForm: ({ paymentMethod, onStatusChange, baseUrl, customCss, attributes, paymentData }: { attributes?: any; baseUrl?: string; customCss?: string; onStatusChange?: (paymentFormResult: any) => void; paymentData?: any; paymentMethod?: PaymentTenderTypeEnum; }) => React.JSX.Element; //# sourceMappingURL=FiservForm.d.ts.map