import { Optional } from '../../../../../common'; import { DeviceModel } from '../../../devices.model'; import { ModeState, DeviceOpState, DeviceState, HumidityState, StateCommandAndStatus } from '../../../states'; export declare const ManualModeStateName: 'manualMode'; export type ManualModeStateName = typeof ManualModeStateName; export declare class ManualModeState extends DeviceOpState> { constructor(device: DeviceModel, opType?: number, identifier?: number[]); parseOpCommand(opCommand: number[]): void; protected readonly stateToCommand: (nextState: Optional) => Optional; } export declare const CustomModeStateName: 'customMode'; export type CustomModeStateName = typeof CustomModeStateName; export type CustomProgram = { id: number; mistLevel: number; duration: number; remaining: number; }; export type CustomMode = { currentProgramId?: number; programs?: Record; currentProgram?: CustomProgram; }; export declare class CustomModeState extends DeviceOpState> { private customModes; constructor(device: DeviceModel, opType?: number, identifier?: number[]); parseOpCommand(opCommand: number[]): void; protected readonly stateToCommand: (nextState: Optional) => Optional; } export declare const AutoModeStateName: 'autoMode'; export type AutoModeStateName = typeof AutoModeStateName; export type AutoMode = { targetHumidity?: number; }; export declare class AutoModeState extends DeviceOpState { readonly humidityState?: HumidityState | undefined; constructor(device: DeviceModel, humidityState?: HumidityState | undefined, opType?: number, identifier?: number[]); parseOpCommand(opCommand: number[]): void; protected readonly stateToCommand: (nextState: Optional) => Optional; } export declare class HumidifierActiveState extends ModeState { constructor(device: DeviceModel, states: Optional>[]); protected readonly stateToCommand: () => undefined; setState(nextState: Optional>): string[]; } //# sourceMappingURL=humidifier.modes.d.ts.map