import type { TServiceParams } from "@digital-alchemy/core"; import type { Dayjs } from "dayjs"; import type { AddEntityOptions, BasicAddParams, CallbackData, SettableConfiguration } from "../../helpers/index.mts"; export type TodoItem = { /** * A unique identifier for the to-do item. This field is required for updates and the entity state. */ uid?: string; /** * A title or summary of the to-do item. This field is required for the entity state. */ summary?: string; /** * The date and time that a to-do is expected to be completed. * The types supported depend on TodoListEntityFeature.DUE_DATE or TodoListEntityFeature.DUE_DATETIME or both being set. * As a datetime, must have a timezone. */ due?: Dayjs; /** * Defines the overall status for the to-do item, either NEEDS_ACTION or COMPLETE. This field is required for the entity state. */ status?: "needs_action" | "complete"; /** * A more complete description of the to-do item than that provided by the summary. * Only supported when TodoListEntityFeature.DESCRIPTION is set. */ description?: string; }; export type TodoConfiguration = { /** * Required. The ordered contents of the To-do list. */ todo_items: SettableConfiguration; supported_features?: number; }; export type TodoEvents = { create_todo_item: { item: TodoItem; }; delete_todo_item: { item: TodoItem; }; move_todo_item: { item: TodoItem; }; }; export declare function VirtualTodoList({ context, synapse }: TServiceParams): >>(options: AddEntityOptions, TodoEvents, PARAMS["attributes"], PARAMS["locals"], DATA>) => import("../../helpers/common-config.mts").SynapseEntityProxy, TodoEvents, PARAMS["attributes"], PARAMS["locals"], DATA, import("@digital-alchemy/hass").PICK_ENTITY>;