/** * Thermostat mode utilities for IOTAS thermostats. * * IOTAS stores thermostat modes as indices into a colon-delimited string * (e.g., "Off:Heat:Cool:Auto"). This module provides a canonical enum * and helpers to parse and look up modes. */ export declare enum ThermostatMode { Off = 0, Heat = 1, Cool = 2, EmergencyHeat = 3, Auto = 4, Unknown = -1 } export declare function parseThermostatModeString(modeStr: string): ThermostatMode; export declare function parseThermostatModes(valuesString?: string): ThermostatMode[]; export declare function getThermostatModeAt(modes: ThermostatMode[], index: number): ThermostatMode; export declare function findThermostatModeIndex(modes: ThermostatMode[], mode: ThermostatMode): number;