import 'intersection-observer'; import React, { ReactNode } from 'react'; import { PopupOrderConfirmationClassesType } from './components/PopupOrderConfirmation'; import { PageInfoType } from '../products/types'; import { OrderInfoClassesType, OrderHistoryTableClassesType } from './types'; import { PaginationClassName } from '../Pagination/type'; import { ThumborSettingType } from '../Common/commonTypes'; export declare type OrderHistoryClassesType = Partial; export declare type OrderHistoryPropsType = { paymentHrefPrefix: string; type: 'list' | 'table'; loadingComponent?: React.ReactNode; emptyStateComponent?: React.ReactNode; errorComponent?: React.ReactNode; isCallPagination?: boolean; isInfinite?: boolean; itemPerPage?: number; pageNumber?: number; getPageInfo?: (pageInfo: PageInfoType) => void; onClickNeedReview?: (id: string) => void; onErrorMsg: (msg: string) => void; onSuccessMsg: (msg: string, data: any) => void; prevLabel?: string; nextLabel?: string; classes: OrderHistoryClassesType; paginationClasses?: PaginationClassName; thumborSetting?: ThumborSettingType; reviewStatusCheckMark?: ReactNode; closeIcon?: ReactNode; loadingIcon?: ReactNode; infoIcon?: ReactNode; uploadIcon?: ReactNode; trackIcon?: ReactNode; chevronUpIcon?: ReactNode; chevronDownIcon?: ReactNode; invoiceIcon?: ReactNode; iconTracker?: ReactNode; lazyLoadedImage?: boolean; widthImage?: number; heightImage?: number; }; declare const OrderHistory: { ({ classes, type, paymentHrefPrefix, errorComponent, loadingComponent, emptyStateComponent, isCallPagination, isInfinite, pageNumber, itemPerPage, getPageInfo, onClickNeedReview, onErrorMsg, onSuccessMsg, prevLabel, nextLabel, paginationClasses, thumborSetting, reviewStatusCheckMark, closeIcon, loadingIcon, infoIcon, uploadIcon, invoiceIcon, iconTracker, chevronUpIcon, chevronDownIcon, trackIcon, lazyLoadedImage, widthImage, heightImage, }: OrderHistoryPropsType): JSX.Element; displayName: string; __docgenInfo: { description: string; displayName: string; props: { paymentHrefPrefix: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; type: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; value: { value: string; }[]; }; }; loadingComponent: { defaultValue: { value: string; }; 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; }; }; isCallPagination: { defaultValue: { value: boolean; }; description: string; name: string; required: boolean; type: { name: string; }; }; isInfinite: { defaultValue: { value: boolean; }; description: string; name: string; required: boolean; type: { name: string; }; }; itemPerPage: { defaultValue: { value: number; }; description: string; name: string; required: boolean; type: { name: string; }; }; pageNumber: { defaultValue: { value: number; }; description: string; name: string; required: boolean; type: { name: string; }; }; getPageInfo: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onClickNeedReview: { defaultValue: null; 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; }; }; prevLabel: { defaultValue: { value: string; }; description: string; name: string; required: boolean; type: { name: string; }; }; nextLabel: { defaultValue: { value: string; }; description: string; name: string; required: boolean; type: { name: string; }; }; classes: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; paginationClasses: { defaultValue: { value: string; }; description: string; name: string; required: boolean; type: { name: string; }; }; thumborSetting: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; reviewStatusCheckMark: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; closeIcon: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; loadingIcon: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; infoIcon: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; uploadIcon: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; trackIcon: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; chevronUpIcon: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; chevronDownIcon: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; invoiceIcon: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; iconTracker: { defaultValue: null; 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 OrderHistory;