import { Http } from '@angular/http'; import { Observable } from 'rxjs/Observable'; export declare const nestDeviceTypes: { cameras: { model: string; }; smoke_co_alarms: { model: string; }; thermostats: { model: string; }; }; export declare type NestDevice = { deviceId: string; name: string; type: string; }; export declare class NestService { private http; static readonly NEST_MODEL: string; static readonly ACCESS_TOKEN_URL: string; static readonly API_URL: string; constructor(http: Http); getNestToken(account: any): any; requestAccessToken(clientId: string, clientSecret: string, code: string): Observable; readAllData(accessToken: string): Observable; }