import { ClientAnalytics } from '@zeniai/client-analytics'; import { GlobalMerchantAutoCompleteView, GlobalMerchantBase, ID, TenantMerchant, VendorGlobalReview, ZeniUrl } from '@zeniai/client-epic-state'; import { FormSectionProps } from '../../../../formElements/common/formSection'; import { OptionType as AutoCompleteOptionType, CreatableAutoCompleteSingleSelectFieldValue } from '../../../../formElements/creatableAutoCompleteSingleSelectField/CreatableAutoCompleteSingleSelectField'; /** * Component & its Props */ export interface GlobalReviewListRowProps extends FormSectionProps { allGlobalMerchants: GlobalMerchantBase[]; analytics: ClientAnalytics; globalMerchantAutoCompleteView: GlobalMerchantAutoCompleteView; vendorGlobalReviewData: VendorGlobalReview; onApproveGlobalReview: (merchantId: ID) => void; onClearGlobalMerchantAutoCompleteResults: () => void; onCreateGlobalMerchant: (merchantId: ID, newMerchantName: string, merchantWebsiteUrl?: ZeniUrl) => void; onLoadGlobalMerchants: (merchantName: string, callback: (defaultOptions: AutoCompleteOptionType[]) => void) => void; onRejectGlobalReview: (merchantId: ID) => void; } export declare const GlobalReviewListRow: ({ vendorGlobalReviewData, allGlobalMerchants, globalMerchantAutoCompleteView, sectionId, isDisabled, analytics, onLoadGlobalMerchants, onCreateGlobalMerchant, onApproveGlobalReview, onRejectGlobalReview, onClearGlobalMerchantAutoCompleteResults, }: GlobalReviewListRowProps) => import("react/jsx-runtime").JSX.Element; export declare const GlobalReviewListEmptyRow: () => import("react/jsx-runtime").JSX.Element; /** * Helpers */ export declare const getDefaultMerchantValue: (selectedMerchantId: ID, merchant: TenantMerchant, allGlobalMerchants: GlobalMerchantBase[]) => CreatableAutoCompleteSingleSelectFieldValue;