import { OrderInfo } from '@accelbyte/sdk-platform'; import React from 'react'; export { P as PaymentForIframe } from './PaymentForIframe-b7348853.js'; interface PaymentPageProps { orderNo: string; redirectPath?: string; onClosePaymentDialog?: (orderInfo: { status: 'orders-cancelled' | 'payment-processing'; } | { status: 'payment-succeeded'; order: OrderInfo; }) => void; isOnlyShowCloseButton?: boolean; } interface AppUrlParamContext { namespace: string; paymentOrderNo: string; returnUrl?: string; paymentStatus?: string; reason?: string; } declare const AppUrlParamContext: React.Context; declare type OnClosePaymentDialogHandler = PaymentPageProps['onClosePaymentDialog']; interface PaymentWidgetProps extends AppUrlParamContext { redirectPath?: string; onClosePaymentDialog?: OnClosePaymentDialogHandler; isOnlyShowCloseButton?: boolean; } declare function PaymentWidget({ paymentOrderNo, namespace, ...props }: PaymentWidgetProps): JSX.Element; export { OnClosePaymentDialogHandler, PaymentWidget, PaymentWidgetProps };