import type { TServiceParams } from "@digital-alchemy/core"; import type { CoverDeviceClass } from "@digital-alchemy/hass"; import type { AddEntityOptions, BasicAddParams, CallbackData, SettableConfiguration } from "../../helpers/index.mts"; export type CoverConfiguration = { /** * The current position of cover where 0 means closed and 100 is fully open. */ current_cover_position?: SettableConfiguration; /** * The current tilt position of the cover where 0 means closed/no tilt and 100 means open/maximum tilt. */ current_cover_tilt_position?: SettableConfiguration; device_class?: `${CoverDeviceClass}`; /** * If the cover is closed or not. Used to determine state. */ is_closed?: SettableConfiguration; /** * If the cover is closing or not. Used to determine state. */ is_closing?: SettableConfiguration; /** * If the cover is opening or not. Used to determine state. */ is_opening?: SettableConfiguration; }; export type CoverEvents = { stop_cover_tilt: {}; set_cover_tilt_position: {}; close_cover_tilt: {}; open_cover_tilt: {}; stop_cover: {}; set_cover_position: {}; close_cover: {}; open_cover: {}; }; export declare function VirtualCover({ context, synapse }: TServiceParams): >>(options: AddEntityOptions, CoverEvents, PARAMS["attributes"], PARAMS["locals"], DATA>) => import("../../helpers/common-config.mts").SynapseEntityProxy, CoverEvents, PARAMS["attributes"], PARAMS["locals"], DATA, import("@digital-alchemy/hass").PICK_ENTITY>;