/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ /*** THIS FILE IS GENERATED, DO NOT EDIT ***/ import { PowerSource } from "@matter/types/clusters/power-source"; import { ClusterBehavior } from "../../behavior/cluster/ClusterBehavior.js"; import { Identity } from "@matter/general"; /** * PowerSourceBehavior is the base class for objects that support interaction with {@link PowerSource.Cluster}. * * PowerSource.Cluster requires you to enable one or more optional features. You can do so using * {@link PowerSourceBehavior.with}. */ export const PowerSourceBehaviorConstructor = ClusterBehavior.for(PowerSource); export interface PowerSourceBehaviorConstructor extends Identity {} export const PowerSourceBehavior: PowerSourceBehaviorConstructor = PowerSourceBehaviorConstructor; export interface PowerSourceBehavior extends InstanceType {} export namespace PowerSourceBehavior { export interface State extends InstanceType {} }