import { Injector } from '@angular/core'; import { Observable } from 'rxjs/Observable'; import { PlatformService } from './platform.services'; import { CookieAttributes } from 'js-cookie'; export interface ICookieService { cookies$: Observable<{ [key: string]: any; }>; getAll(): any; get(name: string): any; set(name: string, value: any, options?: CookieAttributes): void; remove(name: string, options?: CookieAttributes): void; } export declare class CookieService implements ICookieService { private platformService; private injector; private cookieSource; cookies$: Observable<{ [key: string]: any; }>; req: any; constructor(platformService: PlatformService, injector: Injector); set(name: string, value: any, options?: CookieAttributes): void; remove(name: string, options?: CookieAttributes): void; get(name: string): any; getAll(): any; private updateSource(); }