import { Http } from '@angular/http'; import { Observable } from 'rxjs/Observable'; import 'rxjs/add/operator/reduce'; import 'rxjs/add/observable/from'; import 'rxjs/add/operator/mergeMap'; import { HttpServiceBase } from './HttpService'; export interface IReadOnlyService { getAllItems(extra?: string): Observable; getItemById(id: string): Observable; getItemsById(ids: string[]): Observable; } export declare class ReadOnlyServiceBase extends HttpServiceBase implements IReadOnlyService { constructor(http: Http, baseUrl: string); getAllItems(extra?: string): Observable; getItemById(id: string): Observable; getItemsById(ids: string[]): Observable; protected getAllItemsInternal(hostUrl: string, extra?: string): Observable; protected getItemByIdInternal(id: string, hostUrl: string): Observable; protected getItemsByIdInternal(ids: string[], hostUrl: string): Observable; protected mapItems(data: any[]): TOut[]; protected mapItem(data: any): TOut; }