import { QualifiedNameLike } from "node-opcua-data-model" ; import { DataValueOptionsT , DataValueT } from "node-opcua-data-value" ; import { NumericRange } from "node-opcua-numeric-range" ; import { CallbackT , StatusCode , StatusCodeCallback } from "node-opcua-status-code" ; import { DataType } from "node-opcua-variant" ; import { ISessionContext } from "./session_context" ; import { UAVariable } from "./ua_variable" ; export interface UAVariableT < T , DT extends DataType > extends UAVariable { readValue ( context ? , indexRange ? , dataEncoding ? ) : DataValueT < T , DT > ; readValueAsync ( context ) : Promise < DataValueT < T , DT > > ; readValueAsync ( context , callback ) : void ; writeValue ( context , dataValue , indexRange , callback ) : void ; writeValue ( context , dataValue , callback ) : void ; writeValue ( context , dataValue , indexRange ? ) : Promise < StatusCode > ; }