import { FetchStateAndError, FetchedState, ID } from '../../../commonStateTypes/common'; import { SortOrder } from '../../../commonStateTypes/selectorTypes/sortOrderTypes'; import { PageToken } from '../../../commonStateTypes/viewAndReport/viewAndReport'; import { GlobalVendorReviewRowCurrentSelection } from '../common/state/commonTypes'; import { RecommendedNonExistingGlobalMerchant } from '../common/state/recommendedNonExistingGlobalMerchant'; export declare const toVendorGlobalReviewColumnSortKeyType: (v: string) => "recommended" | "originalVendor" | "tenants" | "requestedVendor"; export type VendorGlobalReviewViewColumnSortKey = ReturnType; export interface GlobalReviewPageCurrentSelectionByColumn { originalVendor: boolean; recommendedFirst: boolean; recommendedSecond: boolean; requested: boolean; } export interface VendorGlobalReviewViewUIState { pageToken: PageToken; scrollYOffset: number; searchText: string; sortKey: VendorGlobalReviewViewColumnSortKey; sortOrder: SortOrder; totalCount: number; limit?: number; } export interface VendorGlobalReviewViewLocalData { currentSelection: GlobalVendorReviewRowCurrentSelection; merchantId: ID; recommendationIds: ID[]; recommendedNonExistingGlobalMerchants: RecommendedNonExistingGlobalMerchant[]; selectedMerchantId: ID | null; tenantId: ID; } export interface VendorGlobalReviewView { approveStatus: FetchStateAndError; rejectStatus: FetchStateAndError; vendorGlobalReviewViewLocalData: VendorGlobalReviewViewLocalData; } export interface VendorGlobalReviewViewState extends FetchedState { uiState: VendorGlobalReviewViewUIState; vendorGlobalByMerchantId: Record; }