import { ActionsObservable, StateObservable } from 'redux-observable'; import { Observable } from 'rxjs'; import { updateInvoicingCoupons } from '../../../entity/invoicing/coupon/couponReducer'; import { RootState } from '../../../rootStateTypes'; import { ZeniAPI } from '../../../zeniAPI'; import { fetchInvoicingCouponCounts, fetchInvoicingCouponList, fetchInvoicingCouponListPage, updateInvoicingCouponCounts, updateInvoicingCouponCountsFailure, updateInvoicingCouponList, updateInvoicingCouponListFailure } from './couponViewReducer'; export type ActionType = ReturnType | ReturnType | ReturnType | ReturnType | ReturnType | ReturnType | ReturnType | ReturnType; /** * Fetch unless the endpoint is already loaded or in flight — or always when the * caller forces a refresh via `cacheOverride` (e.g. on a filter/sort change). */ export declare const fetchInvoicingCouponCountsEpic: (actions$: ActionsObservable, state$: StateObservable, zeniAPI: ZeniAPI) => Observable; /** * Orchestrates the discounts list page: on `fetchInvoicingCouponListPage`, fans * out to the list and counts fetches, skipping any whose data is already * cached unless `cacheOverride` is set (e.g. on a filter/sort change). */