import { EpicMiddleware } from 'redux-observable'; import 'rxjs/add/operator/catch'; import 'rxjs/add/operator/map'; import { AjaxItemActions } from './ajax-item.actions'; import { AjaxItemService } from './ajax-item.service'; export declare class AjaxItemEpics { private service; private actions; constructor(service: AjaxItemService, actions: AjaxItemActions); /** * * param {string} itemType * returns {EpicMiddleware} */ createEpic(itemType: string): EpicMiddleware; /** * * param props - see params passed to simpleEpic * returns {EpicMiddleware} */ createSimpleEpic(props: any): EpicMiddleware; /** * * param {(action$:any)=>Observable} action - The action/observable to output * param {string} [filter] - Optional property to filter on (if property exists return true) * param {(action$:any)=>Observable} trigger - The input action/observable * returns {(action$:any)=>Observable} - Returns action if not filtered */ private simpleEpic(config); /** * * param {object} response * param {string} itemType * returns {(action$:any)=>Observable} */ private loadFailed(response, itemType); /** * * param {string} itemType * returns {(action$:any)=>Observable} */ private createLoadItemEpic(itemType); }