import { Device } from './Device'; import { Connection, DeviceInfo } from './Connection'; import { FunctionId } from './FunctionId'; import { MqttClient } from 'mqtt'; import { LogInterface } from './LogInterface'; export declare enum DeviceEvent { CHANGE = "change" } export declare class SubDevice extends Device { readonly channel: number; private functionId?; protected lastChannelUpdate?: { [dp: string]: string; }; constructor(logger: LogInterface, connection: Connection, serialNumber: string, channel: number, mqttClient?: MqttClient); changed(): void; getFunctionId(): FunctionId | undefined; handleState(info: DeviceInfo): void; protected handleChannelState(datapoints: { [dp: string]: string; }): void; handleUpdate(info: DeviceInfo): void; protected handleChannelUpdate(datapoints: { [dp: string]: string; }): void; static parseFunctionId(functionId: string): FunctionId | undefined; } //# sourceMappingURL=SubDevice.d.ts.map