import React, { ReactNode } from 'react'; import { Styles } from 'react-select'; import { OrderHistoryClassesType } from './components/OrderHistory'; import { PaginationClassName } from '../Pagination/type'; import { ThumborSettingType } from '../Common/types'; import { MembershipStatusClassesType, MembershipHistoryClassesType, AccountClassesType, SettingNotificationClassesType, defaultTabType } from './types'; import { ItemPerPageClasses } from '../ItemPerPage/types'; export declare type AccountPropsType = { /**@deprecated */ currency?: string; defaultTab?: defaultTabType; logistixStyles?: Partial; myAccountHeader?: any; isEditable?: boolean; logoutRedirect?: string; onErrorMsg: (msg: string) => void; onSuccessMsg: (msg: string, data: any) => void; onSuccessChPass: (msg: string) => void; onFetchCompleted?: (msg: string, data: any) => void; /**@deprecated */ getLoyaltyPoint?: (loyaltyPoint: number) => void; onClickNeedReview?: (id: string) => void; orderHistoryType?: 'table' | 'list'; orderHistoryIsCallPagination?: boolean; orderHistoryIsInfinite?: boolean; orderHistoryItemPerPage?: number; paymentHrefPrefix: string; loadingComponent?: React.ReactNode; emptyStateComponent?: React.ReactNode; errorComponent?: React.ReactNode; classes?: Partial; orderHistoryPaginationClasses?: PaginationClassName; icons?: { changePassword?: any; myAccount?: any; orderHistory?: any; membershipHistory?: ReactNode; settingNotification?: ReactNode; logout?: any; loadingIcon?: ReactNode; infoIcon?: ReactNode; closeIcon?: ReactNode; trackIcon?: ReactNode; uploadIcon?: ReactNode; invoiceIcon?: ReactNode; accordionIcon?: ReactNode; chevronUpIcon?: ReactNode; chevronDownIcon?: ReactNode; iconTracker?: ReactNode; notification?: ReactNode; email?: ReactNode; whatsApp?: ReactNode; line?: ReactNode; telegram?: ReactNode; }; passwordViewIcon?: any; passwordHideIcon?: any; passwordUnfulfilledCriteriaIcon?: any; passwordFulfilledCriteriaIcon?: any; mapIcon?: React.ReactNode; mapButtonCloseIcon?: React.ReactNode; mapCenterIcon?: React.ReactNode; thumborSetting?: ThumborSettingType; membershipItemPerPageOptions?: number[]; continueShoppingRoute?: string; membershipPaginationClasses?: PaginationClassName; membershipPaginationNextLabel?: React.ReactNode; membershipPaginationPrevLabel?: React.ReactNode; membershipEmptyStateComponent?: React.ReactNode; membershipWithShoppingButton?: boolean; showSettingNotification?: boolean; lazyLoadedImage?: boolean; widthImage?: number; heightImage?: number; }; declare const Account: { ({ classes, orderHistoryPaginationClasses, isEditable, defaultTab, icons, logistixStyles, myAccountHeader, onErrorMsg, onSuccessMsg, onSuccessChPass, onFetchCompleted, getLoyaltyPoint, onClickNeedReview, logoutRedirect, orderHistoryType, orderHistoryIsCallPagination, orderHistoryIsInfinite, orderHistoryItemPerPage, passwordViewIcon, passwordHideIcon, passwordUnfulfilledCriteriaIcon, passwordFulfilledCriteriaIcon, paymentHrefPrefix, mapIcon, mapButtonCloseIcon, mapCenterIcon, thumborSetting, membershipItemPerPageOptions, continueShoppingRoute, membershipPaginationClasses, membershipPaginationNextLabel, membershipPaginationPrevLabel, membershipEmptyStateComponent, membershipWithShoppingButton, loadingComponent, emptyStateComponent, errorComponent, showSettingNotification, lazyLoadedImage, widthImage, heightImage, }: AccountPropsType): JSX.Element; displayName: string; __docgenInfo: { description: string; displayName: string; props: { currency: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; defaultTab: { defaultValue: { value: string; }; description: string; name: string; required: boolean; type: { name: string; value: { value: string; }[]; }; }; logistixStyles: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; myAccountHeader: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; isEditable: { defaultValue: { value: boolean; }; description: string; name: string; required: boolean; type: { name: string; }; }; logoutRedirect: { defaultValue: { value: string; }; description: string; name: string; required: boolean; type: { name: string; }; }; onErrorMsg: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onSuccessMsg: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onSuccessChPass: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onFetchCompleted: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; getLoyaltyPoint: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onClickNeedReview: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; orderHistoryType: { defaultValue: { value: string; }; description: string; name: string; required: boolean; type: { name: string; value: { value: string; }[]; }; }; orderHistoryIsCallPagination: { defaultValue: { value: boolean; }; description: string; name: string; required: boolean; type: { name: string; }; }; orderHistoryIsInfinite: { defaultValue: { value: boolean; }; description: string; name: string; required: boolean; type: { name: string; }; }; orderHistoryItemPerPage: { defaultValue: { value: number; }; description: string; name: string; required: boolean; type: { name: string; }; }; paymentHrefPrefix: { defaultValue: { value: string; }; description: string; name: string; required: boolean; type: { name: string; }; }; loadingComponent: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; emptyStateComponent: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; errorComponent: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; classes: { defaultValue: { value: string; }; description: string; name: string; required: boolean; type: { name: string; }; }; orderHistoryPaginationClasses: { defaultValue: { value: string; }; description: string; name: string; required: boolean; type: { name: string; }; }; icons: { defaultValue: { value: string; }; description: string; name: string; required: boolean; type: { name: string; }; }; passwordViewIcon: { defaultValue: { value: string; }; description: string; name: string; required: boolean; type: { name: string; }; }; passwordHideIcon: { defaultValue: { value: string; }; description: string; name: string; required: boolean; type: { name: string; }; }; passwordUnfulfilledCriteriaIcon: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; passwordFulfilledCriteriaIcon: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; mapIcon: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; mapButtonCloseIcon: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; mapCenterIcon: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; thumborSetting: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; membershipItemPerPageOptions: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; continueShoppingRoute: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; membershipPaginationClasses: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; membershipPaginationNextLabel: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; membershipPaginationPrevLabel: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; membershipEmptyStateComponent: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; membershipWithShoppingButton: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; showSettingNotification: { defaultValue: { value: boolean; }; description: string; name: string; required: boolean; type: { name: string; }; }; lazyLoadedImage: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; widthImage: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; heightImage: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; }; }; }; export default Account;