import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs/internal/Observable'; import { WeatherCloudConfigContext } from '../contexts/wc-config.context'; import { WeatherCloudConfig } from '../models/wc-config.model'; import { WeatherCloudSearchModel } from '../models/wc-search.model'; export declare class WeatherCloudService { protected http: HttpClient; protected wcConfigCtxt: WeatherCloudConfigContext; protected apiRoot: string; protected forecastWrapper: string; protected wcConfig: WeatherCloudConfig; constructor(http: HttpClient, wcConfigCtxt: WeatherCloudConfigContext); Blend(): Observable<{ ImageVarNames: any; ImageValidTimes: any; }>; /** * Return data for the departure table * * @param apiKey token key * @param origin starting location * @param destination ending location * @param departTime departure time * @param includeAlts include alternative routes */ GetDepartureTableData(apiKey: string, origin: string, destination: string, departTime: string, includeAlts: boolean): Observable; /** * Data returned from route search * * @param search object containing search information */ HandleRoute(search: WeatherCloudSearchModel): Observable; SearchAzureMapsPOI(text: string, lbsKey: string): Observable; LoadDataSources(): { Name: string; URLPrefix: string; FcstCfg: string; Host: string; VarNames: string; }[]; /** * API call when creating geofence shape regions on the map * * @param points array of lat/long values that represent each point of the shape */ ShapeRegion(points: Array>, searchData: WeatherCloudSearchModel): any; /** * Remap the data being returned so it fits with format we expect * * @param val Date being returned from API */ private remapData; }