UNPKG

669 BTypeScriptView Raw
1import "rxjs/add/operator/map";
2import "rxjs/add/operator/mergeMap";
3import "rxjs/add/operator/switchMap";
4import { Router } from "@angular/router";
5import { Observable } from "rxjs/Observable";
6import { Actions } from "@ngrx/effects";
7import { UserService } from "../services";
8import { SearchStartAction, SearchFailed, SearchSucceed } from "./search.actions";
9export declare class SearchEffects {
10 private actions$;
11 private router;
12 private userService;
13 constructor(actions$: Actions<any>, router: Router, userService: UserService);
14 canSearch$: Observable<SearchStartAction>;
15 search$: Observable<SearchSucceed | SearchFailed>;
16}