import { Http } from '@angular/http'; import { Observable } from 'rxjs/Rx'; import 'rxjs/add/operator/map'; import { Repo } from './repo'; export declare class NpmService { http: Http; npmUrl: string; constructor(http: Http); getDowloadsPackage(packageName: string): Observable; getDownloads(packageName: string, provider: string): any; getDownloadsUserRepo(repo: Repo): any; getDownloadsOrgRepo(repo: Repo): any; getDownloadsRepo(repo: any, provider?: string): Observable; getDownloadsRepoPromise(repo: any, provider?: string): Promise; returnDownloads(res: any): any; corsanywhere(url: string, options: any): any; corsnow(url: string, options: any): any; crossGet(url: string, provider: any, options?: any): any; getDownloadCountsRepo(packageName: string): Observable; getDistTags(packageName: string): Observable; getPackageInfo(packageName: string): Observable; searchNpm(packageName: string): Observable; }