import { SubmissionTypes } from '@oneblink/types'; import type { PaymentFormSession } from '../../apps/services/payment-handoff'; import React from 'react'; import { CaptchaType } from '../../typedoc'; interface TrustedFrame { submitForm(callback: (errors: Array<{ fieldName: string; messages: string[]; }> | undefined, data: { singleUseToken: { singleUseTokenId: string; }; }) => void): void; } declare global { interface Window { QuickstreamAPI: { init(options: { publishableApiKey: string; }): void; creditCards: { createTrustedFrame(options: unknown, callback: (errors: Array<{ fieldName: string; messages: string[]; }> | undefined, data: { trustedFrame: TrustedFrame; }) => void): void; }; }; } } declare function WestpacQuickStreamPaymentForm({ session, supplierBusinessCode, publishableApiKey, isTestMode, captchaSiteKey, captchaType, onCompleted, onCancelled, appImageUrl, title, }: { session: PaymentFormSession; supplierBusinessCode: string; publishableApiKey: string; isTestMode: boolean; /** When provided, a CAPTCHA is required before the payment is completed */ 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;