import './style.css'; import { ThemeOptions } from '@mui/material'; import { CSSProperties } from '@mui/styles'; import { AxiosError } from 'axios'; import { FormikHelpers, FormikValues } from 'formik'; import React from 'react'; import { IBillingInfoData } from '../../types'; import { IAddonContainterProps } from '../addonsContainer'; import { IPaymentPage } from '../paymentContainer'; export interface IBillingInfoPage { data?: IBillingInfoData[]; ticketHoldersFields?: IBillingInfoData; handleSubmit?: (values: FormikValues, formikHelpers: FormikHelpers, eventId: any, res: any, checkoutUpdateResponse?: any, paymentResponse?: any) => void; onRegisterSuccess?: (value: any) => void; onRegisterError?: (e: AxiosError, email: string) => void; onSubmitError?: (e: AxiosError) => void; onGetCartSuccess?: (res: any) => void; onGetCartError?: (e: AxiosError) => void; onGetCountriesSuccess?: (res: any) => void; onGetCountriesError?: (e: AxiosError) => void; onGetStatesSuccess?: (res: any) => void; onGetStatesError?: (e: AxiosError) => void; onGetProfileDataSuccess?: (res: any) => void; onGetProfileDataError?: (e: AxiosError) => void; onGetCheckoutConfigsSuccess?: (res: any) => void; onGetCheckoutConfigsError?: (e: AxiosError) => void; onLogin?: () => void; onLoginSuccess?: () => void; onErrorClose?: () => void; onCheckoutUpdateSuccess?: (res: any) => void; onCheckoutUpdateError?: (e: AxiosError) => void; initialValues?: FormikValues; buttonName?: string; freeOrderButtonName?: string; theme?: 'light' | 'dark'; isLoggedIn?: boolean; accountInfoTitle?: string | JSX.Element; hideLogo?: boolean; themeOptions?: ThemeOptions & { input?: CSSProperties; checkbox?: CSSProperties; }; hideErrorsAlertSection?: boolean; onSkipBillingPage: (data: any) => void; skipPage?: boolean; canSkipHolderNames?: boolean; shouldFetchCountries?: boolean; onForgotPasswordSuccess?: (res: any) => void; onForgotPasswordError?: (e: AxiosError) => void; onCountdownFinish?: () => void; enableTimer?: boolean; logo?: string; showForgotPasswordButton?: boolean; showSignUpButton?: boolean; brandOptIn?: boolean; showPoweredByImage?: boolean; isCountryCodeEditable?: boolean; customFieldsOrderKeys?: string[]; customFieldsTicketHolderKeys?: string[]; onPendingVerification?: () => void; includeAddons?: boolean; addonsProps?: IAddonContainterProps; addOnDataWithCustomFields?: any; isSinglePageCheckout?: boolean; paymentProps?: Partial; paymentSectionAddon?: React.ReactNode; } declare const WithCustomFieldsBillingInfoContainer: (props: any) => JSX.Element; export { WithCustomFieldsBillingInfoContainer as BillingInfoContainer };