import { API, DynamicPlatformPlugin, Logger, PlatformAccessory, PlatformConfig, Service, Characteristic } from 'homebridge';
import { Observation } from './tempest';
/**
 * WeatherFlowTempestPlatform
 */
export declare class WeatherFlowTempestPlatform implements DynamicPlatformPlugin {
    readonly log: Logger;
    readonly config: PlatformConfig;
    readonly api: API;
    readonly Service: typeof Service;
    readonly Characteristic: typeof Characteristic;
    readonly accessories: PlatformAccessory[];
    private tempestApi;
    private tempestSocket;
    observation_data: Observation;
    tempest_battery_level: number;
    tempest_device_id: number;
    private activeAccessory;
    constructor(log: Logger, config: PlatformConfig, api: API);
    private initializeBySocket;
    private socketDataRecieved;
    private initializeByApi;
    private pollLocalStationCurrentObservation;
    private pollStationCurrentObservation;
    /**
     * This function is invoked when homebridge restores cached accessories from disk at startup.
     * It should be used to setup event handlers for characteristics and update respective values.
     */
    configureAccessory(accessory: PlatformAccessory): void;
    private areSensorsSet;
    /**
     * Discover Configured Sensors.
     */
    private discoverDevices;
    private initAccessory;
    /**
     * Remove Tempest inactive sensors that are no loger used.
     */
    private removeDevices;
}
//# sourceMappingURL=platform.d.ts.map