import { ActionsObservable, StateObservable } from 'redux-observable'; import { Observable } from 'rxjs'; import { GlobalMerchantBasePayload } from '../../../../entity/globalMerchant/globalMerchantPayload'; import { updateGlobalMerchants, updateGlobalMerchantsBase, updateTenantMerchants } from '../../../../entity/globalMerchant/globalMerchantReducer'; import { UserPayload } from '../../../../entity/user/userPayload'; import { updateAllUsers } from '../../../../entity/user/userReducer'; import { RootState } from '../../../../rootStateTypes'; import { ZeniAPI } from '../../../../zeniAPI'; import { VendorGlobalReviewPayload } from '../vendorGlobalReviewViewPayload'; import { fetchVendorGlobalReviewView, fetchVendorGlobalReviewViewFailure, fetchVendorGlobalReviewViewSuccess, initializeVendorGlobalReviewViewLocalData } from '../vendorGlobalReviewViewReducer'; export type ActionType = ReturnType | ReturnType | ReturnType | ReturnType | ReturnType | ReturnType | ReturnType | ReturnType; export declare const fetchVendorGlobalReviewViewEpic: (actions$: ActionsObservable, state$: StateObservable, zeniAPI: ZeniAPI) => Observable; /** * Helpers */ export declare const toUsersPayload: (vendorsResponse: VendorGlobalReviewPayload[]) => UserPayload[]; export declare const mapGlobalReviewPayloadToGlobalMerchantsBasePayload: (vendorsResponse: VendorGlobalReviewPayload[]) => GlobalMerchantBasePayload[];