import { ActionsObservable } from 'redux-observable'; import { Observable } from 'rxjs'; import { ZeniAPI } from '../../../zeniAPI'; import { fetchRoutines, saveRoutine, saveRoutineFailure, saveRoutineSuccess } from '../aiCfoViewReducer'; export type ActionType = ReturnType | ReturnType | ReturnType | ReturnType; /** * POST /1.0/routines (create) or PUT /1.0/routines/{scheduleId} (update). * * One epic for both: to a user they are the same act, and the server answers * both with the routine. Splitting them would duplicate the body mapping and * the error handling for a difference the form does not have. */ export declare const saveRoutineEpic: (actions$: ActionsObservable, _state$: unknown, zeniAPI: ZeniAPI) => Observable;