import { Connection } from '../Connection'; import { SubDevice } from '../SubDevice'; import { LogInterface } from '../LogInterface'; export declare enum BinarySensorEvent { ACTIVATED = "activated", DEACTIVATED = "deactivated" } /** * @event DeviceEvent.CHANGE * @event BinarySensorEvent.ACTIVATED * @event BinarySensorEvent.DEACTIVATED */ export declare class BinarySensor extends SubDevice { private active; private readonly datapoint; private readonly activeValue; private readonly inactiveValue; constructor(logger: LogInterface, connection: Connection, serialNumber: string, channel: number); private activated; private deactivated; isActive(): boolean; protected handleChannelState(datapoints: { [dp: string]: string; }): void; handleChannelUpdate(datapoints: { [dp: string]: string; }): void; changed(): void; } //# sourceMappingURL=BinarySensor.d.ts.map