import { SubmissionTypes } from '@oneblink/types'; import React from 'react'; import { CaptchaType } from '../../types/form'; /** * Renders the in-app payment form for a form submission. Reads the payment * session from the page URL and the submission result from local storage, then * renders ``. `onCompleted` and `onCancelled` receive the * receipt URL for that submission. */ declare function PaymentForm({ captchaSiteKey, captchaType, onCompleted, onCancelled, appImageUrl, title, }: { captchaSiteKey: string; captchaType?: CaptchaType; onCompleted: (result: { formSubmissionPayment: SubmissionTypes.FormSubmissionPayment; paymentReceiptUrl: string; }) => void; onCancelled: (result: { paymentReceiptUrl: string; }) => void; appImageUrl?: string; title?: string; }): import("react/jsx-runtime").JSX.Element; declare const _default: React.MemoExoticComponent; export default _default;