import { SubmissionTypes } from '@oneblink/types'; import React from 'react'; import { CaptchaType } from '../../types/form'; import type { PaymentFormSession } from '../../apps/services/payment-handoff'; /** * Renders the payment form for a payment that is taken inside the application * (for example Westpac QuickStream). The payment session is provided by the * application, so the form does not depend on where the payment was started. */ declare function SessionPaymentForm({ session, captchaSiteKey, captchaType, onCompleted, onCancelled, appImageUrl, title, }: { session: PaymentFormSession; /** When provided, a CAPTCHA is shown and must be completed to make the payment */ captchaSiteKey?: string; captchaType?: CaptchaType; onCompleted: (result: { formSubmissionPayment: SubmissionTypes.FormSubmissionPayment; }) => void; onCancelled: () => void; appImageUrl?: string; title?: string; }): import("react/jsx-runtime").JSX.Element; declare const _default: React.MemoExoticComponent; export default _default;