import React from 'react'; import { StyleProp, TextStyle, ViewStyle } from 'react-native'; import { ICartTimerStyles } from '../../components/cartTimer/types'; import { ILoginBrandImages, ILoginSuccessData, ILoginViewStyles } from '../../components/login/types'; import { IRegisterUserResponse } from '../auth/types'; import { CheckoutFormStyles } from './form/styles'; import { ICheckoutSuccessData } from './hooks/use-checkout'; import { CheckoutTexts, OrderResult } from './types'; export interface CheckoutV2Props { isSinglePageCheckout?: boolean; onCartExpired?: () => void; onCheckoutSuccess?: (data: ICheckoutSuccessData) => void; onCheckoutError?: (error: any) => void; onPaymentSuccess?: (data: OrderResult) => void; onPaymentError?: (error: any) => void; onLoginSuccess?: (data: ILoginSuccessData) => void; onLoginError?: (error: any) => void; onLogoutSuccess?: () => void; onRegistrationSuccess?: (data: IRegisterUserResponse) => void; onRegistrationError?: (error: any) => void; isAgeRequired?: boolean; minimumAge?: number; isPhoneRequired?: boolean; isPhoneHidden?: boolean; loginBrandImages?: ILoginBrandImages; styles?: CheckoutStyles; texts?: CheckoutTexts; } export interface CheckoutStyles { container?: StyleProp; contentContainer?: StyleProp; title?: StyleProp; login?: ILoginViewStyles; cartTimer?: ICartTimerStyles; form?: CheckoutFormStyles; paymentForm?: CheckoutFormStyles; } export declare const CheckoutController: ({ isSinglePageCheckout, onCartExpired: _onCartExpired, onCheckoutSuccess: _onCheckoutSuccess, onCheckoutError: _onCheckoutError, onPaymentSuccess: _onPaymentSuccess, onPaymentError: _onPaymentError, onLoginSuccess: _onLoginSuccess, onLoginError: _onLoginError, onLogoutSuccess: _onLogoutSuccess, onRegistrationSuccess: _onRegistrationSuccess, onRegistrationError: _onRegistrationError, isAgeRequired, minimumAge, isPhoneRequired, isPhoneHidden, loginBrandImages, styles: stylesProp, texts: textsProp, }: CheckoutV2Props) => import("react/jsx-runtime").JSX.Element; export declare const CheckoutProvider: ({ children }: { children: React.ReactNode; }) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=index.d.ts.map