import { ActionsObservable, StateObservable } from 'redux-observable'; import { Observable } from 'rxjs'; import { updateJEOneTimeAccruals } from '../../../../entity/jeSchedules/jeSchedulesReducer'; import { RootState } from '../../../../reducer'; import { clearAll } from '../../../../rootActions'; import { ZeniAPI } from '../../../../zeniAPI'; import { fetchOneTimeAccrual, fetchOneTimeAccrualFailure, fetchOneTimeAccrualSuccess } from '../../reducers/jeSchedulesViewReducer'; export type ActionType = ReturnType | ReturnType | ReturnType | ReturnType | ReturnType; /** * Read one accrual by id so its detail page can render from a URL alone. * * Every other row on this page arrives with the JE Schedules list, and the accrual detail page used * to render only from what that list had already put in the store -- so opening its URL directly, on * a refresh or a shared link, had nothing to render and showed not-found. This is the read that * makes the URL self-sufficient. * * The response is the same `{accrual}` envelope promote / ignore / revert return, and it goes through * the same `updateJEOneTimeAccruals`, so a page loaded cold holds exactly the entity a page reached * through the list holds. */ export declare const fetchOneTimeAccrualEpic: (actions$: ActionsObservable, _state$: StateObservable, zeniAPI: ZeniAPI) => Observable;