/** * RvcOperationalState Cluster Behavior * * Handles robotic vacuum cleaner operational state commands */ import { RvcOperationalStateServer } from '@matter/main/behaviors/rvc-operational-state'; import { RvcOperationalState } from '@matter/main/clusters/rvc-operational-state'; declare const HomebridgeRvcOperationalStateServer_base: import("@matter/node").ClusterBehavior.Type, never>, import("@matter/main/types").ClusterType.Concrete, new () => {}, "rvcOperationalState">; /** * Custom RvcOperationalState Server that calls plugin handlers */ export declare class HomebridgeRvcOperationalStateServer extends HomebridgeRvcOperationalStateServer_base { /** * Get the registry for this behavior's endpoint */ private getRegistry; /** * Sync current operational state to cache for UI updates * Helper method to avoid code duplication across command handlers */ private syncOperationalStateToCache; /** * Handle pause command * Pauses the vacuum's current operation * * @returns Command response with error state */ pause(): Promise; /** * Handle resume command * Resumes the vacuum's paused operation * * @returns Command response with error state */ resume(): Promise; /** * Handle go home command * Sends the vacuum back to its charging dock * * @returns Command response with error state */ goHome(): Promise; /** * Run one of the operational commands through the plugin's handler. * * All three commands behave identically: the plugin handler does the real * work (and updates state via the API, so the base implementation is not * called), the resulting state is synced to the cache, and a handler error * becomes a proper Matter error response rather than crashing the endpoint. * They were three copies of this method before being collapsed. */ private runOperationalCommand; } export {}; //# sourceMappingURL=RvcOperationalStateBehavior.d.ts.map