declare module "wsmanagement" { type Network = 'tXLM' | 'tBTC' | 'tEOS' | 'tLTC' | 'tBCH' | 'tXRP' | 'tETH' type Action = 'subscribe' | 'unsubscribe'; interface TR { transactionID: string; sourceAddress: string; destinationAddress: string; onlyReqConf: boolean; } class WebsocketManagement { constructor(url: string, apikey: string, nodeId: string); connectAugmentedNodeWS(callback: (data: string) => void): {}; sendActionToAugmentedNode(TR: TR, confTable: { [key in Network]: number }, sourNet: Network, destNet: Network, action: Action, publishSource: boolean, publishDest: boolean): void } export = WebsocketManagement; }