import { Http } from '@angular/http'; import { Observable } from 'rxjs/Observable'; export declare const honeywellDeviceTypes: { Thermostat: { model: string; }; }; export declare type HoneywellDevice = { deviceId: string; name: string; type: string; locationId: string; refresh_token: string; }; export declare class HoneywellService { private http; static readonly HONEYWELL_MODEL: string; static readonly ACCESS_TOKEN_URL: string; static readonly API_URL: string; constructor(http: Http); getHoneywellTokens(account: any): any; requestAccessToken(clientId: string, clientSecret: string, code: string, redirectUri: string): Observable; requestRefreshToken(clientId: string, clientSecret: string, refresh_token: string): Observable; private encodeAuthHeader(clientId, clientSecret); readAllData(accessToken: string, clientId: string): Observable; }