import { ActionsObservable } from 'redux-observable'; import { Observable } from 'rxjs'; import { ZeniAPI } from '../../../zeniAPI'; import { deleteRoutine, deleteRoutineFailure, deleteRoutineSuccess, fetchRoutines } from '../aiCfoViewReducer'; export type ActionType = ReturnType | ReturnType | ReturnType | ReturnType; /** * DELETE /1.0/routines/{scheduleId}. * * The row has already left the list by the time this runs — the reducer removes * it optimistically so the click does not feel ignored. * * A failure therefore has to put it BACK, not merely report. The routine still * exists and is still emailing the user their financials on a schedule; leaving * it hidden would tell them they had stopped something they had not. So a * failure drops the tombstone and refetches, and the error explains why the row * returned. */ export declare const deleteRoutineEpic: (actions$: ActionsObservable, _state$: unknown, zeniAPI: ZeniAPI) => Observable;