import type { HassEntity, IEntity, IFullBlocksClient } from '../types/index.ts'; import type { IMQTTConnection } from '@hass-blocks/hass-mqtt'; /** * @public * * An entity id */ export declare class Entity implements IEntity { private theId; readonly name: string; private _currentState; constructor(theId: I, friendlyName?: string); get currentState(): HassEntity; get targetIds(): { entity_id: I[]; }; toString(): string; initialise(hass: IFullBlocksClient, _mqtt: IMQTTConnection): Promise; } /** * @public * * An entity target * * @param targets - One or more entity or other targets */ export declare const entity: (id: I, friendlyName?: string) => IEntity; //# sourceMappingURL=entity.d.ts.map