/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { ActionContext } from "#behavior/context/ActionContext.js";
import { ValueSupervisor } from "#behavior/supervision/ValueSupervisor.js";
import { Endpoint } from "#endpoint/Endpoint.js";
import { Observable } from "@matter/general";
import { Val } from "@matter/protocol";
import { ClusterType, TypeFromPartialBitSchema } from "@matter/types";
import { Thermostat } from "@matter/types/clusters/thermostat";
declare const ThermostatBehaviorLogicBase: import("../../index.js").ClusterBehavior.Type<import("@matter/types").ClusterComposer.WithFeatures<ClusterType.Of<{
    readonly id: 513;
    readonly name: "Thermostat";
    readonly revision: 9;
    readonly features: {
        readonly heating: import("@matter/types").BitFlag;
        readonly cooling: import("@matter/types").BitFlag;
        readonly occupancy: import("@matter/types").BitFlag;
        readonly scheduleConfiguration: import("@matter/types").BitFlag;
        readonly setback: import("@matter/types").BitFlag;
        readonly autoMode: import("@matter/types").BitFlag;
        readonly localTemperatureNotExposed: import("@matter/types").BitFlag;
        readonly matterScheduleConfiguration: import("@matter/types").BitFlag;
        readonly presets: import("@matter/types").BitFlag;
    };
    readonly attributes: {
        readonly localTemperature: import("@matter/types").Attribute<number | null, any>;
        readonly outdoorTemperature: import("@matter/types").OptionalAttribute<number | null, any>;
        readonly hvacSystemTypeConfiguration: import("@matter/types").OptionalWritableAttribute<TypeFromPartialBitSchema<{
            coolingStage: import("@matter/types").BitField;
            heatingStage: import("@matter/types").BitField;
            heatingIsHeatPump: import("@matter/types").BitFlag;
            heatingUsesFuel: import("@matter/types").BitFlag;
        }>, any>;
        readonly remoteSensing: import("@matter/types").OptionalWritableAttribute<TypeFromPartialBitSchema<{
            localTemperature: import("@matter/types").BitFlag;
            outdoorTemperature: import("@matter/types").BitFlag;
            occupancy: import("@matter/types").BitFlag;
        }>, any>;
        readonly controlSequenceOfOperation: import("@matter/types").WritableAttribute<Thermostat.ControlSequenceOfOperation, any>;
        readonly systemMode: import("@matter/types").WritableAttribute<Thermostat.SystemMode, any>;
        readonly temperatureSetpointHold: import("@matter/types").OptionalWritableAttribute<Thermostat.TemperatureSetpointHold, any>;
        readonly temperatureSetpointHoldDuration: import("@matter/types").OptionalWritableAttribute<number | null, any>;
        readonly thermostatProgrammingOperationMode: import("@matter/types").OptionalWritableAttribute<TypeFromPartialBitSchema<{
            scheduleActive: import("@matter/types").BitFlag;
            autoRecovery: import("@matter/types").BitFlag;
            economy: import("@matter/types").BitFlag;
        }>, any>;
        readonly thermostatRunningState: import("@matter/types").OptionalAttribute<TypeFromPartialBitSchema<{
            heat: import("@matter/types").BitFlag;
            cool: import("@matter/types").BitFlag;
            fan: import("@matter/types").BitFlag;
            heatStage2: import("@matter/types").BitFlag;
            coolStage2: import("@matter/types").BitFlag;
            fanStage2: import("@matter/types").BitFlag;
            fanStage3: import("@matter/types").BitFlag;
        }>, any>;
        readonly setpointChangeSource: import("@matter/types").OptionalAttribute<Thermostat.SetpointChangeSource, any>;
        readonly setpointChangeAmount: import("@matter/types").OptionalAttribute<number | null, any>;
        readonly setpointChangeSourceTimestamp: import("@matter/types").OptionalAttribute<number, any>;
        readonly emergencyHeatDelta: import("@matter/types").OptionalWritableAttribute<number, any>;
        readonly acType: import("@matter/types").OptionalWritableAttribute<Thermostat.AcType, any>;
        readonly acCapacity: import("@matter/types").OptionalWritableAttribute<number, any>;
        readonly acRefrigerantType: import("@matter/types").OptionalWritableAttribute<Thermostat.AcRefrigerantType, any>;
        readonly acCompressorType: import("@matter/types").OptionalWritableAttribute<Thermostat.AcCompressorType, any>;
        readonly acErrorCode: import("@matter/types").OptionalWritableAttribute<TypeFromPartialBitSchema<{
            compressorFail: import("@matter/types").BitFlag;
            roomSensorFail: import("@matter/types").BitFlag;
            outdoorSensorFail: import("@matter/types").BitFlag;
            coilSensorFail: import("@matter/types").BitFlag;
            fanFail: import("@matter/types").BitFlag;
        }>, any>;
        readonly acLouverPosition: import("@matter/types").OptionalWritableAttribute<Thermostat.AcLouverPosition, any>;
        readonly acCoilTemperature: import("@matter/types").OptionalAttribute<number | null, any>;
        readonly acCapacityFormat: import("@matter/types").OptionalWritableAttribute<Thermostat.AcCapacityFormat, any>;
        readonly setpointHoldExpiryTimestamp: import("@matter/types").OptionalAttribute<number | null, any>;
    };
    readonly commands: {
        readonly setpointRaiseLower: import("@matter/types").Command<import("@matter/types").TypeFromFields<{
            mode: import("@matter/types").FieldType<Thermostat.SetpointRaiseLowerMode>;
            amount: import("@matter/types").FieldType<number>;
        }>, void, any>;
        readonly atomicRequest: import("@matter/types").Command<import("@matter/types").TypeFromFields<{
            requestType: import("@matter/types").FieldType<Thermostat.RequestType>;
            attributeRequests: import("@matter/types").FieldType<import("@matter/types").AttributeId[]>;
            timeout: import("@matter/types").OptionalFieldType<number>;
        }>, import("@matter/types").TypeFromFields<{
            statusCode: import("@matter/types").FieldType<import("@matter/types").Status>;
            attributeStatus: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
                attributeId: import("@matter/types").FieldType<import("@matter/types").AttributeId>;
                statusCode: import("@matter/types").FieldType<import("@matter/types").Status>;
            }>[]>;
            timeout: import("@matter/types").OptionalFieldType<number>;
        }>, any>;
    };
    readonly extensions: readonly [{
        readonly flags: {
            readonly occupancy: true;
        };
        readonly component: {
            readonly attributes: {
                readonly occupancy: import("@matter/types").Attribute<TypeFromPartialBitSchema<{
                    occupied: import("@matter/types").BitFlag;
                }>, any>;
            };
        };
    }, {
        readonly flags: {
            readonly heating: true;
        };
        readonly component: {
            readonly attributes: {
                readonly absMinHeatSetpointLimit: import("@matter/types").OptionalFixedAttribute<number, any>;
                readonly absMaxHeatSetpointLimit: import("@matter/types").OptionalFixedAttribute<number, any>;
                readonly piHeatingDemand: import("@matter/types").OptionalAttribute<number, any>;
                readonly occupiedHeatingSetpoint: import("@matter/types").WritableAttribute<number, any>;
                readonly minHeatSetpointLimit: import("@matter/types").OptionalWritableAttribute<number, any>;
                readonly maxHeatSetpointLimit: import("@matter/types").OptionalWritableAttribute<number, any>;
            };
        };
    }, {
        readonly flags: {
            readonly cooling: true;
        };
        readonly component: {
            readonly attributes: {
                readonly absMinCoolSetpointLimit: import("@matter/types").OptionalFixedAttribute<number, any>;
                readonly absMaxCoolSetpointLimit: import("@matter/types").OptionalFixedAttribute<number, any>;
                readonly piCoolingDemand: import("@matter/types").OptionalAttribute<number, any>;
                readonly occupiedCoolingSetpoint: import("@matter/types").WritableAttribute<number, any>;
                readonly minCoolSetpointLimit: import("@matter/types").OptionalWritableAttribute<number, any>;
                readonly maxCoolSetpointLimit: import("@matter/types").OptionalWritableAttribute<number, any>;
            };
        };
    }, {
        readonly flags: {
            readonly localTemperatureNotExposed: false;
        };
        readonly component: {
            readonly attributes: {
                readonly localTemperatureCalibration: import("@matter/types").OptionalWritableAttribute<number, any>;
            };
        };
    }, {
        readonly flags: {
            readonly cooling: true;
            readonly occupancy: true;
        };
        readonly component: {
            readonly attributes: {
                readonly unoccupiedCoolingSetpoint: import("@matter/types").WritableAttribute<number, any>;
            };
        };
    }, {
        readonly flags: {
            readonly heating: true;
            readonly occupancy: true;
        };
        readonly component: {
            readonly attributes: {
                readonly unoccupiedHeatingSetpoint: import("@matter/types").WritableAttribute<number, any>;
            };
        };
    }, {
        readonly flags: {
            readonly autoMode: true;
        };
        readonly component: {
            readonly attributes: {
                readonly minSetpointDeadBand: import("@matter/types").WritableAttribute<number, any>;
                readonly thermostatRunningMode: import("@matter/types").OptionalAttribute<Thermostat.ThermostatRunningMode, any>;
            };
        };
    }, {
        readonly flags: {
            readonly scheduleConfiguration: true;
        };
        readonly component: {
            readonly attributes: {
                readonly startOfWeek: import("@matter/types").FixedAttribute<Thermostat.StartOfWeek, any>;
                readonly numberOfWeeklyTransitions: import("@matter/types").FixedAttribute<number, any>;
                readonly numberOfDailyTransitions: import("@matter/types").FixedAttribute<number, any>;
            };
            readonly commands: {
                readonly setWeeklySchedule: import("@matter/types").Command<import("@matter/types").TypeFromFields<{
                    numberOfTransitionsForSequence: import("@matter/types").FieldType<number>;
                    dayOfWeekForSequence: import("@matter/types").FieldType<TypeFromPartialBitSchema<{
                        sunday: import("@matter/types").BitFlag;
                        monday: import("@matter/types").BitFlag;
                        tuesday: import("@matter/types").BitFlag;
                        wednesday: import("@matter/types").BitFlag;
                        thursday: import("@matter/types").BitFlag;
                        friday: import("@matter/types").BitFlag;
                        saturday: import("@matter/types").BitFlag;
                        away: import("@matter/types").BitFlag;
                    }>>;
                    modeForSequence: import("@matter/types").FieldType<TypeFromPartialBitSchema<{
                        heatSetpointPresent: import("@matter/types").BitFlag;
                        coolSetpointPresent: import("@matter/types").BitFlag;
                    }>>;
                    transitions: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
                        transitionTime: import("@matter/types").FieldType<number>;
                        heatSetpoint: import("@matter/types").FieldType<number | null>;
                        coolSetpoint: import("@matter/types").FieldType<number | null>;
                    }>[]>;
                }>, void, any>;
                readonly getWeeklySchedule: import("@matter/types").Command<import("@matter/types").TypeFromFields<{
                    daysToReturn: import("@matter/types").FieldType<TypeFromPartialBitSchema<{
                        sunday: import("@matter/types").BitFlag;
                        monday: import("@matter/types").BitFlag;
                        tuesday: import("@matter/types").BitFlag;
                        wednesday: import("@matter/types").BitFlag;
                        thursday: import("@matter/types").BitFlag;
                        friday: import("@matter/types").BitFlag;
                        saturday: import("@matter/types").BitFlag;
                        away: import("@matter/types").BitFlag;
                    }>>;
                    modeToReturn: import("@matter/types").FieldType<TypeFromPartialBitSchema<{
                        heatSetpointPresent: import("@matter/types").BitFlag;
                        coolSetpointPresent: import("@matter/types").BitFlag;
                    }>>;
                }>, import("@matter/types").TypeFromFields<{
                    numberOfTransitionsForSequence: import("@matter/types").FieldType<number>;
                    dayOfWeekForSequence: import("@matter/types").FieldType<TypeFromPartialBitSchema<{
                        sunday: import("@matter/types").BitFlag;
                        monday: import("@matter/types").BitFlag;
                        tuesday: import("@matter/types").BitFlag;
                        wednesday: import("@matter/types").BitFlag;
                        thursday: import("@matter/types").BitFlag;
                        friday: import("@matter/types").BitFlag;
                        saturday: import("@matter/types").BitFlag;
                        away: import("@matter/types").BitFlag;
                    }>>;
                    modeForSequence: import("@matter/types").FieldType<TypeFromPartialBitSchema<{
                        heatSetpointPresent: import("@matter/types").BitFlag;
                        coolSetpointPresent: import("@matter/types").BitFlag;
                    }>>;
                    transitions: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
                        transitionTime: import("@matter/types").FieldType<number>;
                        heatSetpoint: import("@matter/types").FieldType<number | null>;
                        coolSetpoint: import("@matter/types").FieldType<number | null>;
                    }>[]>;
                }>, any>;
                readonly clearWeeklySchedule: import("@matter/types").Command<void, void, any>;
            };
        };
    }, {
        readonly flags: {
            readonly setback: true;
        };
        readonly component: {
            readonly attributes: {
                readonly occupiedSetback: import("@matter/types").WritableAttribute<number | null, any>;
                readonly occupiedSetbackMin: import("@matter/types").FixedAttribute<number | null, any>;
                readonly occupiedSetbackMax: import("@matter/types").FixedAttribute<number | null, any>;
            };
        };
    }, {
        readonly flags: {
            readonly setback: true;
            readonly occupancy: true;
        };
        readonly component: {
            readonly attributes: {
                readonly unoccupiedSetback: import("@matter/types").WritableAttribute<number | null, any>;
                readonly unoccupiedSetbackMin: import("@matter/types").FixedAttribute<number | null, any>;
                readonly unoccupiedSetbackMax: import("@matter/types").FixedAttribute<number | null, any>;
            };
        };
    }, {
        readonly flags: {
            readonly presets: true;
        };
        readonly component: {
            readonly attributes: {
                readonly presetTypes: import("@matter/types").FixedAttribute<import("@matter/types").TypeFromFields<{
                    presetScenario: import("@matter/types").FieldType<Thermostat.PresetScenario>;
                    numberOfPresets: import("@matter/types").FieldType<number>;
                    presetTypeFeatures: import("@matter/types").FieldType<TypeFromPartialBitSchema<{
                        automatic: import("@matter/types").BitFlag;
                        supportsNames: import("@matter/types").BitFlag;
                    }>>;
                }>[], any>;
                readonly numberOfPresets: import("@matter/types").FixedAttribute<number, any>;
                readonly activePresetHandle: import("@matter/types").Attribute<AllowSharedBufferSource | null, any>;
                readonly presets: import("@matter/types").WritableAttribute<import("@matter/types").TypeFromFields<{
                    presetHandle: import("@matter/types").FieldType<AllowSharedBufferSource | null>;
                    presetScenario: import("@matter/types").FieldType<Thermostat.PresetScenario>;
                    name: import("@matter/types").OptionalFieldType<string | null>;
                    coolingSetpoint: import("@matter/types").OptionalFieldType<number>;
                    heatingSetpoint: import("@matter/types").OptionalFieldType<number>;
                    builtIn: import("@matter/types").FieldType<boolean | null>;
                }>[], any>;
            };
            readonly commands: {
                readonly setActivePresetRequest: import("@matter/types").Command<import("@matter/types").TypeFromFields<{
                    presetHandle: import("@matter/types").FieldType<AllowSharedBufferSource | null>;
                }>, void, any>;
            };
        };
    }, {
        readonly flags: {
            readonly matterScheduleConfiguration: true;
        };
        readonly component: {
            readonly attributes: {
                readonly scheduleTypes: import("@matter/types").FixedAttribute<import("@matter/types").TypeFromFields<{
                    systemMode: import("@matter/types").FieldType<Thermostat.SystemMode>;
                    numberOfSchedules: import("@matter/types").FieldType<number>;
                    scheduleTypeFeatures: import("@matter/types").FieldType<TypeFromPartialBitSchema<{
                        supportsPresets: import("@matter/types").BitFlag;
                        supportsSetpoints: import("@matter/types").BitFlag;
                        supportsNames: import("@matter/types").BitFlag;
                        supportsOff: import("@matter/types").BitFlag;
                    }>>;
                }>[], any>;
                readonly numberOfSchedules: import("@matter/types").FixedAttribute<number, any>;
                readonly numberOfScheduleTransitions: import("@matter/types").FixedAttribute<number, any>;
                readonly numberOfScheduleTransitionPerDay: import("@matter/types").FixedAttribute<number | null, any>;
                readonly activeScheduleHandle: import("@matter/types").Attribute<AllowSharedBufferSource | null, any>;
                readonly schedules: import("@matter/types").WritableAttribute<import("@matter/types").TypeFromFields<{
                    scheduleHandle: import("@matter/types").FieldType<AllowSharedBufferSource | null>;
                    systemMode: import("@matter/types").FieldType<Thermostat.SystemMode>;
                    name: import("@matter/types").OptionalFieldType<string>;
                    presetHandle: import("@matter/types").OptionalFieldType<AllowSharedBufferSource>;
                    transitions: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
                        dayOfWeek: import("@matter/types").FieldType<TypeFromPartialBitSchema<{
                            sunday: import("@matter/types").BitFlag;
                            monday: import("@matter/types").BitFlag;
                            tuesday: import("@matter/types").BitFlag;
                            wednesday: import("@matter/types").BitFlag;
                            thursday: import("@matter/types").BitFlag;
                            friday: import("@matter/types").BitFlag;
                            saturday: import("@matter/types").BitFlag;
                            away: import("@matter/types").BitFlag;
                        }>>;
                        transitionTime: import("@matter/types").FieldType<number>;
                        presetHandle: import("@matter/types").OptionalFieldType<AllowSharedBufferSource>;
                        systemMode: import("@matter/types").OptionalFieldType<Thermostat.SystemMode>;
                        coolingSetpoint: import("@matter/types").OptionalFieldType<number>;
                        heatingSetpoint: import("@matter/types").OptionalFieldType<number>;
                    }>[]>;
                    builtIn: import("@matter/types").FieldType<boolean | null>;
                }>[], any>;
            };
            readonly commands: {
                readonly setActiveScheduleRequest: import("@matter/types").Command<import("@matter/types").TypeFromFields<{
                    scheduleHandle: import("@matter/types").FieldType<AllowSharedBufferSource>;
                }>, void, any>;
            };
        };
    }, {
        readonly flags: {
            readonly autoMode: true;
            readonly heating: false;
        };
        readonly component: false;
    }, {
        readonly flags: {
            readonly autoMode: true;
            readonly cooling: false;
        };
        readonly component: false;
    }, {
        readonly flags: {
            readonly heating: false;
            readonly cooling: false;
        };
        readonly component: false;
    }];
}>, readonly [Thermostat.Feature.Heating, Thermostat.Feature.Cooling, Thermostat.Feature.Occupancy, Thermostat.Feature.AutoMode, Thermostat.Feature.Presets]>, import("./ThermostatBehavior.js").ThermostatBehaviorConstructor, import("./ThermostatInterface.js").ThermostatInterface>;
/**
 * This is the default server implementation of {@link ThermostatBehavior}.
 *
 * The Matter specification requires the Thermostat cluster to support features we do not enable by default. You should
 * use {@link ThermostatServer.with} to specialize the class for the features your implementation supports.
 * We implement all features beside the following:
 * * MatterScheduleConfiguration: This feature is provisional.
 * * ScheduleConfiguration: This feature is deprecated and not allowed to be enabled.
 * * Setback: This feature is considered deprecated.
 * * The use of the "setpointHoldExpiryTimestamp" attribute is currently not supported.
 *
 * This implementation mainly provides all validation and base logic required by the Matter specification.
 * It implements some thermostat logic, partially beyond Matter specification definition, notably:
 * * Adjust the setpoints when a preset is activated
 * If this behavior is not desired, you can override the setActivePresetRequest method but should call
 * handleSetActivePresetRequest() to ensure compliance with the specification.
 *
 * The implementation also adds enhanced system mode logic that can be enabled by setting the state field
 * useAutomaticModeManagement to true. When enabled, the thermostat will:
 * * Adjust the thermostat running mode when in Auto system mode and the Setback feature is also supported
 * * Determine the system mode and/or running mode based on temperature changes
 *
 * For local temperature or occupancy values we check if there is a local cluster available on the same endpoint and use
 * them, alternatively raw measurements can be set in the states externalMeasuredIndoorTemperature and
 * externallyMeasuredOccupancy. The OutdoorTemperature can be set directly on the attribute if supported.
 * The RemoteSensing attribute need to be set correctly as needed by the developer to identify the measurement source.
 *
 * The following custom events are provided:
 * * calibratedTemperature$Changed: Emitted when the measured local temperature changes including any calibration applied. This event is mainly useful when the localTemperatureNotExposed feature is used.
 *
 * Important note: To access the current local temperature (including all calibrations applied) please use
 * this.internal.localTemperature because the localTemperature attribute in state might be null depending on the
 * configured features.
 *
 * TODO: Currently the general purpose "atomic write" Matter feature is only implemented in this specific cluster because
 *  only used here so far. Also see information in AtomicWriteHandler.ts.
 */
export declare class ThermostatBaseServer extends ThermostatBehaviorLogicBase {
    #private;
    protected internal: ThermostatBaseServer.Internal;
    state: ThermostatBaseServer.State;
    events: ThermostatBaseServer.Events;
    static readonly schema: import("@matter/model").ClusterModel;
    initialize(): Promise<void>;
    /**
     * The default implementation of the SetpointRaiseLower command. It handles all validation and setpoint adjustments
     * required by the Matter specification. This method only changes the Occupied setpoints.
     */
    setpointRaiseLower({ mode, amount }: Thermostat.SetpointRaiseLowerRequest): void;
    /**
     * Performs basic validation and sets the active preset handle when valid.
     * This fulfills the basic requirements of the SetActivePresetRequest matter command. Use this method if you need
     * to override setActivePresetRequest to ensure compliance.
     */
    protected handleSetActivePresetRequest({ presetHandle }: Thermostat.SetActivePresetRequest): Thermostat.Preset | undefined;
    /**
     * This default implementation of the SetActivePresetRequest command handler sets the active preset and
     * (additionally to specification requirements!) adjusts the setpoints to the preset values if defined.
     *
     * If you do not want this behavior, you can override this method but should call handleSetActivePresetRequest to
     * ensure compliance with the specification.
     */
    setActivePresetRequest({ presetHandle }: Thermostat.SetActivePresetRequest): void;
    /**
     * Whether the thermostat is currently considered occupied
     * Uses the occupancy state if the feature is supported, otherwise always true
     */
    protected get occupied(): boolean;
    /** The current heating setpoint depending on occupancy */
    protected get heatingSetpoint(): number;
    protected set heatingSetpoint(value: number);
    /** The current cooling setpoint depending on occupancy */
    protected get coolingSetpoint(): number;
    protected set coolingSetpoint(value: number);
    /** Whether heating is allowed in the current ControlSequenceOfOperation and features */
    protected get heatingAllowed(): boolean;
    /** Whether cooling is allowed in the current ControlSequenceOfOperation and features */
    protected get coolingAllowed(): boolean;
    /**
     * Adjust the running mode of the thermostat based on the new system mode when the thermostatRunningMode is supported
     */
    protected adjustRunningMode(newState: Thermostat.ThermostatRunningMode): void;
    /**
     * The current mode the thermostat is considered to be in based on local temperature and setpoints
     */
    protected get temperatureConsideration(): "belowTarget" | "onTarget" | "aboveTarget" | undefined;
    get heatSetpointMinimum(): number;
    get heatSetpointMaximum(): number;
    get coolSetpointMinimum(): number;
    get coolSetpointMaximum(): number;
    get setpointDeadBand(): number;
    [Symbol.asyncDispose](): Promise<void>;
    /** Implementation of the atomic request handling */
    atomicRequest(request: Thermostat.AtomicRequest): Promise<Thermostat.AtomicResponse>;
}
export declare namespace ThermostatBaseServer {
    class State extends ThermostatBehaviorLogicBase.State {
        /**
         * Otherwise measured temperature in Matter format as uint16 with a factor of 100. A calibration offset is applied
         * additionally from localTemperatureCalibration if set.
         * Use this if you have an external temperature sensor that should be used for thermostat control instead of a
         * local temperature measurement cluster.
         */
        externalMeasuredIndoorTemperature?: number;
        /**
         * Endpoint (Number or string-Id) where to find the indoor temperature measurement cluster to use as
         * local temperature measurement for the thermostat behavior.
         */
        localIndoorTemperatureMeasurementEndpoint?: number | string;
        /**
         * Otherwise measured occupancy as boolean.
         * Use this if you have an external occupancy sensor that should be used for thermostat control instead of a
         * internal occupancy sensing cluster.
         */
        externallyMeasuredOccupancy?: boolean;
        /**
         * Endpoint (Number or string-Id) where to find the occupancy sensing cluster to use as
         * local occupancy measurement for the thermostat behavior.
         */
        localOccupancyMeasurementEndpoint?: number | string;
        /**
         * Use to enable the automatic mode management, implemented by this standard implementation.  This is beyond
         * Matter specification! It reacts to temperature changes to adjust system running mode automatically. It also
         * requires the Auto feature to be  enabled and the ThermostatRunningMode attribute to be present.
         */
        useAutomaticModeManagement: boolean;
        /**
         * Persisted presets stored in the device, needed because the original "presets" is a virtual property
         */
        persistedPresets?: Thermostat.Preset[];
        /**
         * Implementation of the needed Preset attribute logic for Atomic Write handling.
         */
        [Val.properties](endpoint: Endpoint, session: ValueSupervisor.Session): {};
    }
    class Events extends ThermostatBehaviorLogicBase.Events {
        externalMeasuredIndoorTemperature$Changed: Observable<[value: number, oldValue: number, context: ActionContext], void>;
        externallyMeasuredOccupancy$Changed: Observable<[value: boolean, oldValue: boolean, context: ActionContext], void>;
        persistedPresets$Changed: Observable<[value: Thermostat.Preset[], oldValue: Thermostat.Preset[], context: ActionContext], void>;
        persistedPresets$Changing: Observable<[value: Thermostat.Preset[], oldValue: Thermostat.Preset[], context: ActionContext], void>;
        /**
         * Custom event emitted when the calibrated temperature changes.
         */
        calibratedTemperature$Changed: Observable<[value: number | null, oldValue: number | null, context: ActionContext], void>;
        /**
         * Custom event emitted when the Presets attribute is "virtually" changing as part of an atomic write operation.
         * Info: The events is currently needed to be a pure Observable to get errors thrown in the event handler be
         *  reported back to the emitter.
         */
        presets$AtomicChanging: Observable<[value: Thermostat.Preset[], oldValue: Thermostat.Preset[], context: ActionContext], void>;
        /**
         * Custom event emitted when the Presets attribute has "virtually" changed as part of an atomic write operation.
         * Info: The events is currently needed to be a pure Observable to get errors thrown in the event handler be
         * reported back to the emitter.
         */
        presets$AtomicChanged: Observable<[value: Thermostat.Preset[], oldValue: Thermostat.Preset[], context: ActionContext], void>;
        /**
         * Custom event emitted to inform the behavior implementation of an update of the PersistedPresets attribute.
         */
        updatePresets: Observable<[value: Thermostat.Preset[]], void>;
    }
    class Internal {
        /**
         * Local temperature in Matter format as uint16 with a factor of 100. It is the same value as the one reported
         * in the localTemperature Attribute, but also present when the LocalTemperatureNotExposed feature is enabled.
         * Means all logic and calculations are always done with this value.
         * The value will be updated on initialization and when the localTemperature Attribute changes.
         */
        localTemperature: number | null;
        /**
         * Storing fixed value internally to ensure it can not be modified.
         * This value will be initialized when the behavior is initialized and is static afterward.
         */
        minSetpointDeadBand: number;
        /**
         * Storing fixed value internally to ensure it can not be modified.
         * This value will be initialized when the behavior is initialized and is static afterward.
         */
        controlSequenceOfOperation: Thermostat.ControlSequenceOfOperation;
    }
}
declare const ThermostatServer_base: import("../../index.js").ClusterBehavior.Type<ClusterType.Of<{
    readonly id: 513;
    readonly name: "Thermostat";
    readonly revision: 9;
    readonly features: {
        readonly heating: import("@matter/types").BitFlag;
        readonly cooling: import("@matter/types").BitFlag;
        readonly occupancy: import("@matter/types").BitFlag;
        readonly scheduleConfiguration: import("@matter/types").BitFlag;
        readonly setback: import("@matter/types").BitFlag;
        readonly autoMode: import("@matter/types").BitFlag;
        readonly localTemperatureNotExposed: import("@matter/types").BitFlag;
        readonly matterScheduleConfiguration: import("@matter/types").BitFlag;
        readonly presets: import("@matter/types").BitFlag;
    };
    readonly attributes: {
        readonly localTemperature: import("@matter/types").Attribute<number | null, any>;
        readonly outdoorTemperature: import("@matter/types").OptionalAttribute<number | null, any>;
        readonly hvacSystemTypeConfiguration: import("@matter/types").OptionalWritableAttribute<TypeFromPartialBitSchema<{
            coolingStage: import("@matter/types").BitField;
            heatingStage: import("@matter/types").BitField;
            heatingIsHeatPump: import("@matter/types").BitFlag;
            heatingUsesFuel: import("@matter/types").BitFlag;
        }>, any>;
        readonly remoteSensing: import("@matter/types").OptionalWritableAttribute<TypeFromPartialBitSchema<{
            localTemperature: import("@matter/types").BitFlag;
            outdoorTemperature: import("@matter/types").BitFlag;
            occupancy: import("@matter/types").BitFlag;
        }>, any>;
        readonly controlSequenceOfOperation: import("@matter/types").WritableAttribute<Thermostat.ControlSequenceOfOperation, any>;
        readonly systemMode: import("@matter/types").WritableAttribute<Thermostat.SystemMode, any>;
        readonly temperatureSetpointHold: import("@matter/types").OptionalWritableAttribute<Thermostat.TemperatureSetpointHold, any>;
        readonly temperatureSetpointHoldDuration: import("@matter/types").OptionalWritableAttribute<number | null, any>;
        readonly thermostatProgrammingOperationMode: import("@matter/types").OptionalWritableAttribute<TypeFromPartialBitSchema<{
            scheduleActive: import("@matter/types").BitFlag;
            autoRecovery: import("@matter/types").BitFlag;
            economy: import("@matter/types").BitFlag;
        }>, any>;
        readonly thermostatRunningState: import("@matter/types").OptionalAttribute<TypeFromPartialBitSchema<{
            heat: import("@matter/types").BitFlag;
            cool: import("@matter/types").BitFlag;
            fan: import("@matter/types").BitFlag;
            heatStage2: import("@matter/types").BitFlag;
            coolStage2: import("@matter/types").BitFlag;
            fanStage2: import("@matter/types").BitFlag;
            fanStage3: import("@matter/types").BitFlag;
        }>, any>;
        readonly setpointChangeSource: import("@matter/types").OptionalAttribute<Thermostat.SetpointChangeSource, any>;
        readonly setpointChangeAmount: import("@matter/types").OptionalAttribute<number | null, any>;
        readonly setpointChangeSourceTimestamp: import("@matter/types").OptionalAttribute<number, any>;
        readonly emergencyHeatDelta: import("@matter/types").OptionalWritableAttribute<number, any>;
        readonly acType: import("@matter/types").OptionalWritableAttribute<Thermostat.AcType, any>;
        readonly acCapacity: import("@matter/types").OptionalWritableAttribute<number, any>;
        readonly acRefrigerantType: import("@matter/types").OptionalWritableAttribute<Thermostat.AcRefrigerantType, any>;
        readonly acCompressorType: import("@matter/types").OptionalWritableAttribute<Thermostat.AcCompressorType, any>;
        readonly acErrorCode: import("@matter/types").OptionalWritableAttribute<TypeFromPartialBitSchema<{
            compressorFail: import("@matter/types").BitFlag;
            roomSensorFail: import("@matter/types").BitFlag;
            outdoorSensorFail: import("@matter/types").BitFlag;
            coilSensorFail: import("@matter/types").BitFlag;
            fanFail: import("@matter/types").BitFlag;
        }>, any>;
        readonly acLouverPosition: import("@matter/types").OptionalWritableAttribute<Thermostat.AcLouverPosition, any>;
        readonly acCoilTemperature: import("@matter/types").OptionalAttribute<number | null, any>;
        readonly acCapacityFormat: import("@matter/types").OptionalWritableAttribute<Thermostat.AcCapacityFormat, any>;
        readonly setpointHoldExpiryTimestamp: import("@matter/types").OptionalAttribute<number | null, any>;
    };
    readonly commands: {
        readonly setpointRaiseLower: import("@matter/types").Command<import("@matter/types").TypeFromFields<{
            mode: import("@matter/types").FieldType<Thermostat.SetpointRaiseLowerMode>;
            amount: import("@matter/types").FieldType<number>;
        }>, void, any>;
        readonly atomicRequest: import("@matter/types").Command<import("@matter/types").TypeFromFields<{
            requestType: import("@matter/types").FieldType<Thermostat.RequestType>;
            attributeRequests: import("@matter/types").FieldType<import("@matter/types").AttributeId[]>;
            timeout: import("@matter/types").OptionalFieldType<number>;
        }>, import("@matter/types").TypeFromFields<{
            statusCode: import("@matter/types").FieldType<import("@matter/types").Status>;
            attributeStatus: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
                attributeId: import("@matter/types").FieldType<import("@matter/types").AttributeId>;
                statusCode: import("@matter/types").FieldType<import("@matter/types").Status>;
            }>[]>;
            timeout: import("@matter/types").OptionalFieldType<number>;
        }>, any>;
    };
    readonly extensions: readonly [{
        readonly flags: {
            readonly occupancy: true;
        };
        readonly component: {
            readonly attributes: {
                readonly occupancy: import("@matter/types").Attribute<TypeFromPartialBitSchema<{
                    occupied: import("@matter/types").BitFlag;
                }>, any>;
            };
        };
    }, {
        readonly flags: {
            readonly heating: true;
        };
        readonly component: {
            readonly attributes: {
                readonly absMinHeatSetpointLimit: import("@matter/types").OptionalFixedAttribute<number, any>;
                readonly absMaxHeatSetpointLimit: import("@matter/types").OptionalFixedAttribute<number, any>;
                readonly piHeatingDemand: import("@matter/types").OptionalAttribute<number, any>;
                readonly occupiedHeatingSetpoint: import("@matter/types").WritableAttribute<number, any>;
                readonly minHeatSetpointLimit: import("@matter/types").OptionalWritableAttribute<number, any>;
                readonly maxHeatSetpointLimit: import("@matter/types").OptionalWritableAttribute<number, any>;
            };
        };
    }, {
        readonly flags: {
            readonly cooling: true;
        };
        readonly component: {
            readonly attributes: {
                readonly absMinCoolSetpointLimit: import("@matter/types").OptionalFixedAttribute<number, any>;
                readonly absMaxCoolSetpointLimit: import("@matter/types").OptionalFixedAttribute<number, any>;
                readonly piCoolingDemand: import("@matter/types").OptionalAttribute<number, any>;
                readonly occupiedCoolingSetpoint: import("@matter/types").WritableAttribute<number, any>;
                readonly minCoolSetpointLimit: import("@matter/types").OptionalWritableAttribute<number, any>;
                readonly maxCoolSetpointLimit: import("@matter/types").OptionalWritableAttribute<number, any>;
            };
        };
    }, {
        readonly flags: {
            readonly localTemperatureNotExposed: false;
        };
        readonly component: {
            readonly attributes: {
                readonly localTemperatureCalibration: import("@matter/types").OptionalWritableAttribute<number, any>;
            };
        };
    }, {
        readonly flags: {
            readonly cooling: true;
            readonly occupancy: true;
        };
        readonly component: {
            readonly attributes: {
                readonly unoccupiedCoolingSetpoint: import("@matter/types").WritableAttribute<number, any>;
            };
        };
    }, {
        readonly flags: {
            readonly heating: true;
            readonly occupancy: true;
        };
        readonly component: {
            readonly attributes: {
                readonly unoccupiedHeatingSetpoint: import("@matter/types").WritableAttribute<number, any>;
            };
        };
    }, {
        readonly flags: {
            readonly autoMode: true;
        };
        readonly component: {
            readonly attributes: {
                readonly minSetpointDeadBand: import("@matter/types").WritableAttribute<number, any>;
                readonly thermostatRunningMode: import("@matter/types").OptionalAttribute<Thermostat.ThermostatRunningMode, any>;
            };
        };
    }, {
        readonly flags: {
            readonly scheduleConfiguration: true;
        };
        readonly component: {
            readonly attributes: {
                readonly startOfWeek: import("@matter/types").FixedAttribute<Thermostat.StartOfWeek, any>;
                readonly numberOfWeeklyTransitions: import("@matter/types").FixedAttribute<number, any>;
                readonly numberOfDailyTransitions: import("@matter/types").FixedAttribute<number, any>;
            };
            readonly commands: {
                readonly setWeeklySchedule: import("@matter/types").Command<import("@matter/types").TypeFromFields<{
                    numberOfTransitionsForSequence: import("@matter/types").FieldType<number>;
                    dayOfWeekForSequence: import("@matter/types").FieldType<TypeFromPartialBitSchema<{
                        sunday: import("@matter/types").BitFlag;
                        monday: import("@matter/types").BitFlag;
                        tuesday: import("@matter/types").BitFlag;
                        wednesday: import("@matter/types").BitFlag;
                        thursday: import("@matter/types").BitFlag;
                        friday: import("@matter/types").BitFlag;
                        saturday: import("@matter/types").BitFlag;
                        away: import("@matter/types").BitFlag;
                    }>>;
                    modeForSequence: import("@matter/types").FieldType<TypeFromPartialBitSchema<{
                        heatSetpointPresent: import("@matter/types").BitFlag;
                        coolSetpointPresent: import("@matter/types").BitFlag;
                    }>>;
                    transitions: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
                        transitionTime: import("@matter/types").FieldType<number>;
                        heatSetpoint: import("@matter/types").FieldType<number | null>;
                        coolSetpoint: import("@matter/types").FieldType<number | null>;
                    }>[]>;
                }>, void, any>;
                readonly getWeeklySchedule: import("@matter/types").Command<import("@matter/types").TypeFromFields<{
                    daysToReturn: import("@matter/types").FieldType<TypeFromPartialBitSchema<{
                        sunday: import("@matter/types").BitFlag;
                        monday: import("@matter/types").BitFlag;
                        tuesday: import("@matter/types").BitFlag;
                        wednesday: import("@matter/types").BitFlag;
                        thursday: import("@matter/types").BitFlag;
                        friday: import("@matter/types").BitFlag;
                        saturday: import("@matter/types").BitFlag;
                        away: import("@matter/types").BitFlag;
                    }>>;
                    modeToReturn: import("@matter/types").FieldType<TypeFromPartialBitSchema<{
                        heatSetpointPresent: import("@matter/types").BitFlag;
                        coolSetpointPresent: import("@matter/types").BitFlag;
                    }>>;
                }>, import("@matter/types").TypeFromFields<{
                    numberOfTransitionsForSequence: import("@matter/types").FieldType<number>;
                    dayOfWeekForSequence: import("@matter/types").FieldType<TypeFromPartialBitSchema<{
                        sunday: import("@matter/types").BitFlag;
                        monday: import("@matter/types").BitFlag;
                        tuesday: import("@matter/types").BitFlag;
                        wednesday: import("@matter/types").BitFlag;
                        thursday: import("@matter/types").BitFlag;
                        friday: import("@matter/types").BitFlag;
                        saturday: import("@matter/types").BitFlag;
                        away: import("@matter/types").BitFlag;
                    }>>;
                    modeForSequence: import("@matter/types").FieldType<TypeFromPartialBitSchema<{
                        heatSetpointPresent: import("@matter/types").BitFlag;
                        coolSetpointPresent: import("@matter/types").BitFlag;
                    }>>;
                    transitions: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
                        transitionTime: import("@matter/types").FieldType<number>;
                        heatSetpoint: import("@matter/types").FieldType<number | null>;
                        coolSetpoint: import("@matter/types").FieldType<number | null>;
                    }>[]>;
                }>, any>;
                readonly clearWeeklySchedule: import("@matter/types").Command<void, void, any>;
            };
        };
    }, {
        readonly flags: {
            readonly setback: true;
        };
        readonly component: {
            readonly attributes: {
                readonly occupiedSetback: import("@matter/types").WritableAttribute<number | null, any>;
                readonly occupiedSetbackMin: import("@matter/types").FixedAttribute<number | null, any>;
                readonly occupiedSetbackMax: import("@matter/types").FixedAttribute<number | null, any>;
            };
        };
    }, {
        readonly flags: {
            readonly setback: true;
            readonly occupancy: true;
        };
        readonly component: {
            readonly attributes: {
                readonly unoccupiedSetback: import("@matter/types").WritableAttribute<number | null, any>;
                readonly unoccupiedSetbackMin: import("@matter/types").FixedAttribute<number | null, any>;
                readonly unoccupiedSetbackMax: import("@matter/types").FixedAttribute<number | null, any>;
            };
        };
    }, {
        readonly flags: {
            readonly presets: true;
        };
        readonly component: {
            readonly attributes: {
                readonly presetTypes: import("@matter/types").FixedAttribute<import("@matter/types").TypeFromFields<{
                    presetScenario: import("@matter/types").FieldType<Thermostat.PresetScenario>;
                    numberOfPresets: import("@matter/types").FieldType<number>;
                    presetTypeFeatures: import("@matter/types").FieldType<TypeFromPartialBitSchema<{
                        automatic: import("@matter/types").BitFlag;
                        supportsNames: import("@matter/types").BitFlag;
                    }>>;
                }>[], any>;
                readonly numberOfPresets: import("@matter/types").FixedAttribute<number, any>;
                readonly activePresetHandle: import("@matter/types").Attribute<AllowSharedBufferSource | null, any>;
                readonly presets: import("@matter/types").WritableAttribute<import("@matter/types").TypeFromFields<{
                    presetHandle: import("@matter/types").FieldType<AllowSharedBufferSource | null>;
                    presetScenario: import("@matter/types").FieldType<Thermostat.PresetScenario>;
                    name: import("@matter/types").OptionalFieldType<string | null>;
                    coolingSetpoint: import("@matter/types").OptionalFieldType<number>;
                    heatingSetpoint: import("@matter/types").OptionalFieldType<number>;
                    builtIn: import("@matter/types").FieldType<boolean | null>;
                }>[], any>;
            };
            readonly commands: {
                readonly setActivePresetRequest: import("@matter/types").Command<import("@matter/types").TypeFromFields<{
                    presetHandle: import("@matter/types").FieldType<AllowSharedBufferSource | null>;
                }>, void, any>;
            };
        };
    }, {
        readonly flags: {
            readonly matterScheduleConfiguration: true;
        };
        readonly component: {
            readonly attributes: {
                readonly scheduleTypes: import("@matter/types").FixedAttribute<import("@matter/types").TypeFromFields<{
                    systemMode: import("@matter/types").FieldType<Thermostat.SystemMode>;
                    numberOfSchedules: import("@matter/types").FieldType<number>;
                    scheduleTypeFeatures: import("@matter/types").FieldType<TypeFromPartialBitSchema<{
                        supportsPresets: import("@matter/types").BitFlag;
                        supportsSetpoints: import("@matter/types").BitFlag;
                        supportsNames: import("@matter/types").BitFlag;
                        supportsOff: import("@matter/types").BitFlag;
                    }>>;
                }>[], any>;
                readonly numberOfSchedules: import("@matter/types").FixedAttribute<number, any>;
                readonly numberOfScheduleTransitions: import("@matter/types").FixedAttribute<number, any>;
                readonly numberOfScheduleTransitionPerDay: import("@matter/types").FixedAttribute<number | null, any>;
                readonly activeScheduleHandle: import("@matter/types").Attribute<AllowSharedBufferSource | null, any>;
                readonly schedules: import("@matter/types").WritableAttribute<import("@matter/types").TypeFromFields<{
                    scheduleHandle: import("@matter/types").FieldType<AllowSharedBufferSource | null>;
                    systemMode: import("@matter/types").FieldType<Thermostat.SystemMode>;
                    name: import("@matter/types").OptionalFieldType<string>;
                    presetHandle: import("@matter/types").OptionalFieldType<AllowSharedBufferSource>;
                    transitions: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
                        dayOfWeek: import("@matter/types").FieldType<TypeFromPartialBitSchema<{
                            sunday: import("@matter/types").BitFlag;
                            monday: import("@matter/types").BitFlag;
                            tuesday: import("@matter/types").BitFlag;
                            wednesday: import("@matter/types").BitFlag;
                            thursday: import("@matter/types").BitFlag;
                            friday: import("@matter/types").BitFlag;
                            saturday: import("@matter/types").BitFlag;
                            away: import("@matter/types").BitFlag;
                        }>>;
                        transitionTime: import("@matter/types").FieldType<number>;
                        presetHandle: import("@matter/types").OptionalFieldType<AllowSharedBufferSource>;
                        systemMode: import("@matter/types").OptionalFieldType<Thermostat.SystemMode>;
                        coolingSetpoint: import("@matter/types").OptionalFieldType<number>;
                        heatingSetpoint: import("@matter/types").OptionalFieldType<number>;
                    }>[]>;
                    builtIn: import("@matter/types").FieldType<boolean | null>;
                }>[], any>;
            };
            readonly commands: {
                readonly setActiveScheduleRequest: import("@matter/types").Command<import("@matter/types").TypeFromFields<{
                    scheduleHandle: import("@matter/types").FieldType<AllowSharedBufferSource>;
                }>, void, any>;
            };
        };
    }, {
        readonly flags: {
            readonly autoMode: true;
            readonly heating: false;
        };
        readonly component: false;
    }, {
        readonly flags: {
            readonly autoMode: true;
            readonly cooling: false;
        };
        readonly component: false;
    }, {
        readonly flags: {
            readonly heating: false;
            readonly cooling: false;
        };
        readonly component: false;
    }];
}>, typeof ThermostatBaseServer, import("./ThermostatInterface.js").ThermostatInterface>;
export declare class ThermostatServer extends ThermostatServer_base {
}
export {};
//# sourceMappingURL=ThermostatServer.d.ts.map