/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { ImplementationError } from "@matter/general"; import { ModeBase } from "@matter/types/clusters/mode-base"; export declare class UnsupportedModeError extends ImplementationError { } type GenericModeOption = Omit; export declare namespace ModeUtils { function assertSupportedModes(supportedModes: GenericModeOption[]): void; function assertMode(supportedModes: GenericModeOption[], newMode: number): void; function assertModeChange(supportedModes: GenericModeOption[], currentMode: number, newMode: number): { status: ModeBase.ModeChangeStatus; statusText: string; }; } export {}; //# sourceMappingURL=ModeUtils.d.ts.map