import { ActionsObservable, StateObservable } from 'redux-observable'; import { Observable } from 'rxjs'; import { RootState } from '../../../reducer'; import { ZeniAPI } from '../../../zeniAPI'; import { fetchSkillVersions, fetchSkills, saveSkill, saveSkillFailure, saveSkillSuccess } from '../aiCfoViewReducer'; export type ActionType = ReturnType | ReturnType | ReturnType | ReturnType | ReturnType; /** * POST /1.0/skills (create) or PUT /1.0/skills/{macroId} (new version). * * One epic for both because they are the same action to a user — "save what I wrote" — * and the server answers both with the detail payload. Splitting them would duplicate * the payload mapping and the error handling for a difference the form does not have. */ export declare const saveSkillEpic: (actions$: ActionsObservable, state$: StateObservable, zeniAPI: ZeniAPI) => Observable;