import type { TCustomer } from '@blocklet/payment-types'; export type StripeCheckoutFormProps = { clientSecret: string; intentType: string; customer: TCustomer; mode: string; onConfirm: Function; onSkip?: Function | null; returnUrl?: string; submitButtonText?: string; }; export type StripeCheckoutProps = { clientSecret: string; intentType: string; publicKey: string; mode: string; customer: TCustomer; onConfirm: Function; onCancel: Function; onSkip?: Function | null; returnUrl?: string; title?: string; submitButtonText?: string; }; export default function StripeCheckout({ clientSecret, intentType, publicKey, mode, customer, onConfirm, onCancel, onSkip, returnUrl, title, submitButtonText, }: StripeCheckoutProps): import("react").JSX.Element;