import { NodeClass } from "node-opcua-data-model" ; import { NodeId } from "node-opcua-nodeid" ; import { Argument , CallMethodResultOptions } from "node-opcua-types" ; import { Variant , VariantLike } from "node-opcua-variant" ; import { CallbackT } from "node-opcua-status-code" ; import { BaseNode } from "./base_node" ; import { ISessionContext } from "./session_context" ; import { UAObject } from "./ua_object" ; import { UAObjectType } from "./ua_object_type" ; import { UAVariable } from "./ua_variable" ; import { CloneExtraInfo , CloneFilter , CloneOptions } from "./clone_options" ; export declare type MethodFunctorC = ( this : UAMethod , inputArguments : Variant [ ] , context : ISessionContext , callback : CallbackT < CallMethodResultOptions > ) => void ; export declare type MethodFunctorA = ( this : UAMethod , inputArguments : Variant [ ] , context : ISessionContext ) => Promise < CallMethodResultOptions > ; export type MethodFunctor = MethodFunctorC | MethodFunctorA ; export declare class UAMethod extends BaseNode { public readonly nodeClass : NodeClass . Method ; public readonly typeDefinition : NodeId ; public readonly typeDefinitionObj : UAObjectType ; public readonly parent : UAObject | null ; public readonly inputArguments ? : UAVariable ; public readonly outputArguments ? : UAVariable ; public readonly methodDeclarationId : NodeId ; /**
     *
     */ public _getExecutableFlag ? : ( sessionContext : ISessionContext | null ) => boolean ; public bindMethod ( methodFunction ) ; public getExecutableFlag ( context ) ; public getInputArguments ( ) ; public getOutputArguments ( ) ; async param inputArguments param context param callback public execute ( object , inputArguments , context , callback ) ; public execute ( object , inputArguments , context ) ; public clone ( options , optionalFilter ? , extraInfo ? ) ; public isBound ( ) ; }