import { ListChildComponentProps } from 'react-window'; import { ClientAnalytics } from '@zeniai/client-analytics'; import { FetchState, GlobalMerchantAutoCompleteView, GlobalMerchantBase, ID, PageToken, VendorGlobalReview, VendorGlobalReviewViewUIState, ZeniUrl } from '@zeniai/client-epic-state'; import { FormSectionProps } from '../../../formElements/common/formSection'; import { OptionType as AutoCompleteOptionType } from '../../../formElements/creatableAutoCompleteSingleSelectField/CreatableAutoCompleteSingleSelectField'; /** * Component & its Props */ interface ListItemProps extends FormSectionProps, ListChildComponentProps { allGlobalMerchants: GlobalMerchantBase[]; globalMerchantAutoCompleteView: GlobalMerchantAutoCompleteView; onApproveGlobalReview: (merchantId: ID) => void; onClearGlobalMerchantAutoCompleteResults: () => void; onCreateGlobalMerchant: (merchantId: ID, newMerchantName: string, merchantWebsiteUrl?: ZeniUrl) => void; onLoadGlobalMerchants: (merchantName: string, callback: (defaultOptions: AutoCompleteOptionType[]) => void) => void; onRejectGlobalMerchantReview: (merchantId: ID) => void; } export interface GlobalReviewListTableProps extends Omit { analytics: ClientAnalytics; listFetchState: FetchState; uiState: VendorGlobalReviewViewUIState; vendorGlobalReviewList: VendorGlobalReview[]; onApproveGlobalMerchantReview: (merchantId: ID) => void; onFetchGlobalReviewList: (searchString?: string, keepExistingListItems?: boolean, pageToken?: PageToken) => void; onRejectGlobalMerchantReview: (merchantId: ID) => void; onUpdateGlobalReviewUIState: (uiState: Partial) => void; } export declare const GlobalReviewListTable: ({ vendorGlobalReviewList, allGlobalMerchants, sectionId, listFetchState, globalMerchantAutoCompleteView, uiState, isDisabled, analytics, onLoadGlobalMerchants, onUpdateGlobalReviewUIState, onFetchGlobalReviewList, onCreateGlobalMerchant, onApproveGlobalMerchantReview, onRejectGlobalMerchantReview, onClearGlobalMerchantAutoCompleteResults, }: GlobalReviewListTableProps) => import("react/jsx-runtime").JSX.Element; export {};