import { ActionsObservable } from 'redux-observable'; import { Observable } from 'rxjs'; import { openSnackbar } from '../../../../entity/snackbar/snackbarReducer'; import { bulkUploadReceiptsSuccess, clearBulkUpload, fetchBulkUploadBatchDetailsSuccess, restoreBulkUploadMatchingState, storeBatchDetails } from '../../reducers/missingReceiptsViewReducer'; export type ActionType = ReturnType | ReturnType | ReturnType | ReturnType | ReturnType | ReturnType; /** * Show a success toast when batch details arrive for the current upload batch, * e.g. "17 out of 20 Receipts Matched". Scoped per upload session so it fires * only once: starts on `bulkUploadReceiptsSuccess` (or `restoreBulkUploadMatchingState` * for a restored session), waits for the first batch-details action for that batch, * emits the toast, then stops. `clearBulkUpload` cancels the in-flight wait. */ export declare const bulkUploadMatchResultToastEpic: (actions$: ActionsObservable) => Observable;