import { FanControl, Thermostat } from 'matterbridge/matter/clusters'; import { type Device } from 'iotas-ts'; import type { DeviceFactoryContext, EndpointResult } from './types.js'; /** * Map IOTAS thermostat mode values to Matter SystemMode. * ThermostatMode enum values match IOTAS indices: 0=Off, 1=Heat, 2=Cool, 3=EmergencyHeat, 4=Auto */ export declare function iotasModeToSystemMode(iotasMode: number): Thermostat.SystemMode; /** * Map IOTAS FanMode to Matter FanControl.FanMode. * IOTAS: 0=Auto Low, 1=On Low, 2=Circulate * Matter: Off=0, Low=1, Medium=2, High=3, On=4, Auto=5 */ export declare function iotasFanModeToMatter(iotasMode: number): FanControl.FanMode; /** * Create endpoints for a thermostat device. * All are top-level bridged endpoints (no child device types) to avoid stored structure conflicts. */ export declare function createThermostat(device: Device, ctx: DeviceFactoryContext): EndpointResult[];