import { Http, Response } from '@angular/http'; import { Observable } from 'rxjs/Rx'; export declare class NewsService { private http; apiKey: string; url: string; source: string; private cnnUrl; constructor(http: Http); getNews(src: string): Observable; extractJson(res: Response): any[]; }