import { CheckoutData } from '../../core/resources/checkout'; export interface UseApplePayCheckoutOptions { checkout: CheckoutData | undefined; onSuccess?: (result: { payment: any; order?: any; }) => void; onError?: (error: string) => void; onCancel?: () => void; } export declare function useApplePayCheckout({ checkout, onSuccess, onError, onCancel, }: UseApplePayCheckoutOptions): { handleApplePayClick: () => void; processingPayment: boolean; error: string | null; clearError: () => void; };