import { Optional } from '../../../../../common'; import { DeviceModel } from '../../../devices.model'; import { ModeState, DeviceOpState, DeviceState, StateCommandAndStatus } from '../../../states'; export declare const ManualModeStateName: 'manualMode'; export type ManualModeStateName = typeof ManualModeStateName; export declare class ManualModeState extends DeviceOpState> { private speedIndex; 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; fanSpeed: 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: CustomProgram | undefined) => Optional; } export declare class PurifierActiveMode extends ModeState { constructor(device: DeviceModel, states: (DeviceState | undefined)[]); protected readonly stateToCommand: () => undefined; setState(nextState: Optional>): string[]; } //# sourceMappingURL=purifier.modes.d.ts.map