import type { TServiceParams } from "@digital-alchemy/core"; import type { BinarySensorDeviceClass, ByIdProxy, PICK_ENTITY } from "@digital-alchemy/hass"; import type { AddEntityOptions, BasicAddParams, CallbackData, SettableConfiguration, SynapseEntityProxy } from "../../helpers/index.mts"; export type BinarySensorConfiguration = { /** * Type of binary sensor. */ device_class?: `${BinarySensorDeviceClass}`; /** * If the binary sensor is currently on or off. */ is_on?: SettableConfiguration; }; export type BinarySensorEvents = {}; /** * Convenient type for binary sensor entities with optional attributes and locals */ export type SynapseBinarySensor = SynapseEntityProxy, BinarySensorEvents, ATTRIBUTES, LOCALS, DATA, PICK_ENTITY<"binary_sensor">> & { entity: ByIdProxy>; }; export declare function VirtualBinarySensor({ context, synapse }: TServiceParams): >>(options: AddEntityOptions, BinarySensorEvents, PARAMS["attributes"], PARAMS["locals"], DATA>) => SynapseBinarySensor;