@ipsme/msgenv-mqtt 0.0.21 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,14 @@
1
+ declare const logr_: any;
2
+ interface MsgEnvOptions {
3
+ channel?: string;
4
+ prefix?: string;
5
+ }
6
+ declare var cfg_: {
7
+ readonly channel: string;
8
+ readonly prefix: string;
9
+ options: MsgEnvOptions;
10
+ };
11
+ declare function subscribe_(handler: any): void;
12
+ declare function unsubscribe_(handler: any): void;
13
+ declare function publish_(msg: any): void;
14
+ export { cfg_ as config, subscribe_ as subscribe, unsubscribe_ as unsubscribe, publish_ as publish, logr_ as logr };