import type { Hex } from 'viem'; import type { TransakConfig } from '../../contexts/CheckoutModal.js'; import type { Collectible, CreditCardProviders } from '../../contexts/SelectPaymentModal.js'; import { type UseCreditCardPaymentReturn } from './useCreditCardPayment.js'; import { type UseCryptoPaymentReturn } from './useCryptoPayment.js'; import { type UseOrderSummaryReturn } from './useOrderSummary.js'; interface UseCheckoutUIArgs { chain: string | number; currencyAddress: string; totalPriceRaw: string; collectible: Collectible; collectionAddress: string; recipientAddress: string; targetContractAddress: string; txData: Hex; transactionConfirmations?: number; slippageBps?: number; creditCardProvider?: CreditCardProviders; transakConfig?: TransakConfig; onSuccess?: (txHash: string) => void; onError?: (error: Error) => void; } interface UseCheckoutUIReturn { orderSummary: UseOrderSummaryReturn; creditCardPayment: UseCreditCardPaymentReturn; cryptoPayment: UseCryptoPaymentReturn; } export declare const useCheckoutUI: ({ chain, currencyAddress, totalPriceRaw, collectible, collectionAddress, recipientAddress, targetContractAddress, txData, transactionConfirmations, creditCardProvider, transakConfig, slippageBps, onSuccess, onError }: UseCheckoutUIArgs) => UseCheckoutUIReturn; export {}; //# sourceMappingURL=index.d.ts.map