import React from 'react'; import type { CheckoutData } from '../../core/resources/checkout'; export interface StripeExpressButtonProps { checkout: CheckoutData; onSuccess?: (result: { payment: any; order: any; }) => void; onError?: (error: string) => void; onCancel?: () => void; /** * Locale forwarded to Stripe Elements. Controls the wording inside * sheet-based wallets like PayPal, Klarna, and Link (Apple Pay / * Google Pay are localized by the OS and ignore this value). * Pass a 2-letter or BCP47 code (e.g. 'fr', 'pt-BR'); defaults to * 'auto' which uses the visitor's browser language. */ locale?: string; } export declare const StripeExpressButton: React.FC; export default StripeExpressButton;