import { AdapterInstance } from "@iobroker/adapter-core"; import { ActionContext } from "./ActionContext"; import { DeviceDetails, DeviceInfo, InstanceDetails, RetVal } from "./types"; export declare abstract class DeviceManagement { protected readonly adapter: T; private instanceInfo?; private devices?; private readonly contexts; constructor(adapter: T); protected get log(): ioBroker.Logger; protected getInstanceInfo(): RetVal; protected abstract listDevices(): RetVal; protected getDeviceDetails(id: string): RetVal; protected handleInstanceAction(actionId: string, context: ActionContext): RetVal<{ error: { code: number; message: string; }; }> | RetVal<{ refresh: boolean; }>; protected handleDeviceAction(deviceId: string, actionId: string, context: ActionContext): RetVal<{ error: { code: number; message: string; }; }> | RetVal<{ refresh: boolean | string; }>; private onMessage; private handleMessage; private convertActions; private sendReply; }