import { NodeMessage } from 'node-red'; import { Properties as GBCSNodeProperties, GbcsNode } from './gbcs-node.properties'; export type { KeyDefinition } from './gbcs-node.properties'; export interface Properties extends GBCSNodeProperties { outputUtrn: string; outputCounter: string; signerEUI: string; signerEUI_type: 'msg' | 'flow' | 'global' | 'eui'; deviceEUI: string; deviceEUI_type: 'msg' | 'flow' | 'global' | 'eui'; counter: string; counter_type: 'msg' | 'num' | 'epoch'; value: string; value_type: 'msg' | 'num'; class: string; class_type: 'msg' | 'class'; enableInject: boolean; } export interface Node extends GbcsNode { outputUtrn: (msg: NodeMessage, value: unknown) => void; outputCounter: (msg: NodeMessage, value: unknown) => void; signerEUI: (msg: NodeMessage) => Promise; deviceEUI: (msg: NodeMessage) => Promise; counter: (msg: NodeMessage) => unknown; value: (msg: NodeMessage) => unknown; class: (msg: NodeMessage) => unknown; }