import { Http } from '@angular/http'; import { Observable } from 'rxjs/Observable'; import 'rxjs/add/operator/catch'; import 'rxjs/add/operator/map'; import 'rxjs/add/observable/throw'; import { IRequestOptions } from './request-options.interface'; export declare class APIIRextService { private http; static readonly DEFAULT_URL: string; defaultPath: string; apiVersionUrl: string; readonly apiCategoriesURL: string; readonly apiBrandsByCategoriesURL: string; readonly apiIndexesURL: string; private _onServerError; readonly onServerError: Observable; constructor(http: Http); parseError(error: any): any; getCategories(apiKey: string, data?: any, options?: IRequestOptions): Observable; getBrandsByCategories(apiKey: string, data?: any, options?: IRequestOptions): Observable; getIndexes(apiKey: string, data?: any, options?: IRequestOptions): Observable; private addUrlParams(data, resourcePath); private extractData(res); private handleError(error); }