@overlayed/app 1.3.15 → 1.5.0

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.
@@ -2,7 +2,7 @@ import { createRequire } from "node:module";
2
2
 
3
3
  //#region index.ts
4
4
  const require = createRequire(import.meta.url);
5
- const { PipeEventServer, PipeEventClient, PipeEventBase, ProcessMonitor, Process, HardwareInterface } = require("@overlayed/app/dist/native-interface/build/overlayed_native_interface_x64.node");
5
+ const { PipeEventServer, PipeEventClient, PipeEventBase, GameMonitor, GameInstance, HardwareInterface } = require("@overlayed/app/dist/native-interface/build/overlayed_native_interface_x64.node");
6
6
  let AccessLevel = /* @__PURE__ */ function(AccessLevel$1) {
7
7
  AccessLevel$1[AccessLevel$1["Default"] = 0] = "Default";
8
8
  AccessLevel$1[AccessLevel$1["Global"] = 1] = "Global";
@@ -15,4 +15,4 @@ let InjectionMethod = /* @__PURE__ */ function(InjectionMethod$1) {
15
15
  }({});
16
16
 
17
17
  //#endregion
18
- export { AccessLevel, HardwareInterface, InjectionMethod, PipeEventBase, PipeEventClient, PipeEventServer, Process, ProcessMonitor };
18
+ export { AccessLevel, GameInstance, GameMonitor, HardwareInterface, InjectionMethod, PipeEventBase, PipeEventClient, PipeEventServer };
@@ -10,68 +10,55 @@ declare const enum InjectionMethod {
10
10
  }
11
11
  //#endregion
12
12
  //#region types.d.ts
13
- declare class Process {
14
- constructor(id: number);
13
+ declare class GameInstance {
14
+ private constructor();
15
15
  injectDll(path: string, injector: string, options?: {
16
16
  method?: InjectionMethod;
17
- //maxAttemptCount?: number;
18
- //attemptRate?: number;
19
- //windowPollRate?: number;
20
- //windowWaitTimeout?: number;
21
- //processHandlePollRate?: number;
22
- //processHandleTimeout?: number;
23
- //notifyWaitTimeout?: number;
24
- }): Promise<void>; // defaults: { method: InjectionMethod.windowsHook, maxAttemptCount: 10, attemptRate: 500, windowPollRate: 100, windowWaitTimeout: 4294967295, processHandlePollRate: 1000, processHandleTimeout: 4294967295, notifyWaitTimeout: 3000 }, all times are declared in miliseconds
17
+ }): Promise<void>; // defaults: { method: InjectionMethod.windowsHook }
25
18
 
26
- readonly id: number;
27
- readonly name?: string;
28
- readonly path?: string;
29
- readonly commandLine?: string;
30
- readonly createdAt?: Date;
31
- readonly destroyedAt?: Date;
19
+ readonly identifier: string;
20
+ readonly modules: string[];
21
+ readonly allowDllInjections: boolean;
22
+ readonly hasRenderSupport: boolean;
23
+ readonly injectionDelayMs: number;
24
+ readonly processId: number;
25
+ readonly executableName: string;
26
+ readonly executablePath?: string;
32
27
  readonly is32Bit?: boolean;
33
- readonly exitCode?: number;
34
28
  readonly isElevated?: boolean;
35
- static readonly currentProcess: Process;
29
+ readonly hasElevationMismatch?: boolean;
36
30
  }
37
- declare class ProcessMonitor {
38
- constructor(options?: {
39
- pollRate?: number;
40
- }); // default: { pollRate: 1000 }; pollRate - integer in miliseconds
31
+ declare class GameMonitor {
32
+ constructor(); // the monitored games come from the raven config, fetched and registered natively
41
33
 
42
- wipeProcesses(): void;
43
- isProcessRegistered(name: string): boolean;
44
- registerProcess(name: string): void;
45
- unRegisterProcess(name: string): void;
46
34
  eventNames(): string[];
47
35
  getMaxListeners(): number;
48
36
  removeAllListeners(): this;
49
- listeners(eventName: "create"): Function[];
50
- rawListeners(eventName: "create"): Function[];
51
- listenerCount(eventName: "create", listener?: (process: Process) => void): number;
52
- on(eventName: "create", listener: (process: Process) => void): this;
53
- once(eventName: "create", listener: (process: Process) => void): this;
54
- addListener(eventName: "create", listener: (process: Process) => void): this;
55
- prependListener(eventName: "create", listener: (process: Process) => void): this;
56
- prependOnceListener(eventName: "create", listener: (process: Process) => void): this;
57
- off(eventName: "create", listener: (process: Process) => void): this;
58
- removeListener(eventName: "create", listener: (process: Process) => void): this;
59
- removeAllListeners(eventName: "create"): this;
60
- listeners(eventName: "destroy"): Function[];
61
- rawListeners(eventName: "destroy"): Function[];
62
- listenerCount(eventName: "destroy", listener?: (process: Process) => void): number;
63
- on(eventName: "destroy", listener: (process: Process) => void): this;
64
- once(eventName: "destroy", listener: (process: Process) => void): this;
65
- addListener(eventName: "destroy", listener: (process: Process) => void): this;
66
- prependListener(eventName: "destroy", listener: (process: Process) => void): this;
67
- prependOnceListener(eventName: "destroy", listener: (process: Process) => void): this;
68
- off(eventName: "destroy", listener: (process: Process) => void): this;
69
- removeListener(eventName: "destroy", listener: (process: Process) => void): this;
70
- removeAllListeners(eventName: "destroy"): this;
37
+ listeners(eventName: "launch"): Function[];
38
+ rawListeners(eventName: "launch"): Function[];
39
+ listenerCount(eventName: "launch", listener?: (game: GameInstance) => void): number;
40
+ on(eventName: "launch", listener: (game: GameInstance) => void): this;
41
+ once(eventName: "launch", listener: (game: GameInstance) => void): this;
42
+ addListener(eventName: "launch", listener: (game: GameInstance) => void): this;
43
+ prependListener(eventName: "launch", listener: (game: GameInstance) => void): this;
44
+ prependOnceListener(eventName: "launch", listener: (game: GameInstance) => void): this;
45
+ off(eventName: "launch", listener: (game: GameInstance) => void): this;
46
+ removeListener(eventName: "launch", listener: (game: GameInstance) => void): this;
47
+ removeAllListeners(eventName: "launch"): this;
48
+ listeners(eventName: "close"): Function[];
49
+ rawListeners(eventName: "close"): Function[];
50
+ listenerCount(eventName: "close", listener?: (game: GameInstance) => void): number;
51
+ on(eventName: "close", listener: (game: GameInstance) => void): this;
52
+ once(eventName: "close", listener: (game: GameInstance) => void): this;
53
+ addListener(eventName: "close", listener: (game: GameInstance) => void): this;
54
+ prependListener(eventName: "close", listener: (game: GameInstance) => void): this;
55
+ prependOnceListener(eventName: "close", listener: (game: GameInstance) => void): this;
56
+ off(eventName: "close", listener: (game: GameInstance) => void): this;
57
+ removeListener(eventName: "close", listener: (game: GameInstance) => void): this;
58
+ removeAllListeners(eventName: "close"): this;
71
59
  }
72
60
  declare class PipeEventBase {
73
61
  isConnected(): boolean;
74
- dispatch(event: string): void;
75
62
  eventNames(): string[];
76
63
  getMaxListeners(): number;
77
64
  removeAllListeners(): this;
@@ -133,5 +120,5 @@ declare class HardwareInterface {
133
120
  static generateUniqueIdentifier(): string; // results in a uuid version 4
134
121
  }
135
122
  //#endregion
136
- export { HardwareInterface, PipeEventBase, PipeEventClient, PipeEventServer, Process, ProcessMonitor };
123
+ export { GameInstance, GameMonitor, HardwareInterface, PipeEventBase, PipeEventClient, PipeEventServer };
137
124
  //# sourceMappingURL=types.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.mts","names":["AccessLevel","InjectionMethod","Process","Promise","Date","ProcessMonitor","Function","PipeEventBase","PipeEventServer","PipeEventClient","HardwareInterface"],"sources":["../index.ts","../types.d.ts"],"sourcesContent":["/// <reference types=\"node\" />\n\nimport type { AccessLevel, InjectionMethod } from \".\";\n\nexport class Process {\n\tconstructor(id: number);\n\n\tinjectDll(\n\t\tpath: string,\n\t\tinjector: string,\n\t\toptions?: {\n\t\t\tmethod?: InjectionMethod;\n\t\t\t//maxAttemptCount?: number;\n\t\t\t//attemptRate?: number;\n\t\t\t//windowPollRate?: number;\n\t\t\t//windowWaitTimeout?: number;\n\t\t\t//processHandlePollRate?: number;\n\t\t\t//processHandleTimeout?: number;\n\t\t\t//notifyWaitTimeout?: number;\n\t\t},\n\t): Promise<void>; // defaults: { method: InjectionMethod.windowsHook, maxAttemptCount: 10, attemptRate: 500, windowPollRate: 100, windowWaitTimeout: 4294967295, processHandlePollRate: 1000, processHandleTimeout: 4294967295, notifyWaitTimeout: 3000 }, all times are declared in miliseconds\n\n\treadonly id: number;\n\treadonly name?: string;\n\treadonly path?: string;\n\treadonly commandLine?: string;\n\n\treadonly createdAt?: Date;\n\treadonly destroyedAt?: Date;\n\n\treadonly is32Bit?: boolean;\n\treadonly exitCode?: number;\n\n\treadonly isElevated?: boolean;\n\n\tstatic readonly currentProcess: Process;\n}\n\nexport class ProcessMonitor {\n\tconstructor(options?: { pollRate?: number }); // default: { pollRate: 1000 }; pollRate - integer in miliseconds\n\n\twipeProcesses(): void;\n\n\tisProcessRegistered(name: string): boolean;\n\tregisterProcess(name: string): void;\n\tunRegisterProcess(name: string): void;\n\n\teventNames(): string[];\n\tgetMaxListeners(): number;\n\tremoveAllListeners(): this;\n\n\tlisteners(eventName: \"create\"): Function[];\n\trawListeners(eventName: \"create\"): Function[];\n\tlistenerCount(eventName: \"create\", listener?: (process: Process) => void): number;\n\n\ton(eventName: \"create\", listener: (process: Process) => void): this;\n\tonce(eventName: \"create\", listener: (process: Process) => void): this;\n\taddListener(eventName: \"create\", listener: (process: Process) => void): this;\n\tprependListener(eventName: \"create\", listener: (process: Process) => void): this;\n\tprependOnceListener(eventName: \"create\", listener: (process: Process) => void): this;\n\n\toff(eventName: \"create\", listener: (process: Process) => void): this;\n\tremoveListener(eventName: \"create\", listener: (process: Process) => void): this;\n\tremoveAllListeners(eventName: \"create\"): this;\n\n\tlisteners(eventName: \"destroy\"): Function[];\n\trawListeners(eventName: \"destroy\"): Function[];\n\tlistenerCount(eventName: \"destroy\", listener?: (process: Process) => void): number;\n\n\ton(eventName: \"destroy\", listener: (process: Process) => void): this;\n\tonce(eventName: \"destroy\", listener: (process: Process) => void): this;\n\taddListener(eventName: \"destroy\", listener: (process: Process) => void): this;\n\tprependListener(eventName: \"destroy\", listener: (process: Process) => void): this;\n\tprependOnceListener(eventName: \"destroy\", listener: (process: Process) => void): this;\n\n\toff(eventName: \"destroy\", listener: (process: Process) => void): this;\n\tremoveListener(eventName: \"destroy\", listener: (process: Process) => void): this;\n\tremoveAllListeners(eventName: \"destroy\"): this;\n}\n\nexport class PipeEventBase {\n\tisConnected(): boolean;\n\n\tdispatch(event: string): void;\n\n\teventNames(): string[];\n\tgetMaxListeners(): number;\n\tremoveAllListeners(): this;\n\n\tlisteners(eventName: \"event\"): Function[];\n\trawListeners(eventName: \"event\"): Function[];\n\tlistenerCount(eventName: \"event\", listener?: (event: string) => void): number;\n\n\ton(eventName: \"event\", listener: (event: string) => void): this;\n\tonce(eventName: \"event\", listener: (event: string) => void): this;\n\taddListener(eventName: \"event\", listener: (event: string) => void): this;\n\tprependListener(eventName: \"event\", listener: (event: string) => void): this;\n\tprependOnceListener(eventName: \"event\", listener: (event: string) => void): this;\n\n\toff(eventName: \"event\", listener: (event: string) => void): this;\n\tremoveListener(eventName: \"event\", listener: (event: string) => void): this;\n\tremoveAllListeners(eventName: \"event\"): this;\n\n\tlisteners(eventName: \"connected\"): Function[];\n\trawListeners(eventName: \"connected\"): Function[];\n\tlistenerCount(eventName: \"connected\", listener?: () => void): number;\n\n\ton(eventName: \"connected\", listener: () => void): this;\n\tonce(eventName: \"connected\", listener: () => void): this;\n\taddListener(eventName: \"connected\", listener: () => void): this;\n\tprependListener(eventName: \"connected\", listener: () => void): this;\n\tprependOnceListener(eventName: \"connected\", listener: () => void): this;\n\n\toff(eventName: \"connected\", listener: () => void): this;\n\tremoveListener(eventName: \"connected\", listener: () => void): this;\n\tremoveAllListeners(eventName: \"connected\"): this;\n\n\tlisteners(eventName: \"disconnected\"): Function[];\n\trawListeners(eventName: \"disconnected\"): Function[];\n\tlistenerCount(eventName: \"disconnected\", listener?: () => void): number;\n\n\ton(eventName: \"disconnected\", listener: () => void): this;\n\tonce(eventName: \"disconnected\", listener: () => void): this;\n\taddListener(eventName: \"disconnected\", listener: () => void): this;\n\tprependListener(eventName: \"disconnected\", listener: () => void): this;\n\tprependOnceListener(eventName: \"disconnected\", listener: () => void): this;\n\n\toff(eventName: \"disconnected\", listener: () => void): this;\n\tremoveListener(eventName: \"disconnected\", listener: () => void): this;\n\tremoveAllListeners(eventName: \"disconnected\"): this;\n\n\tlisteners(eventName: \"error\"): Function[];\n\trawListeners(eventName: \"error\"): Function[];\n\tlistenerCount(eventName: \"error\", listener?: () => void): number;\n\n\ton(eventName: \"error\", listener: () => void): this;\n\tonce(eventName: \"error\", listener: () => void): this;\n\taddListener(eventName: \"error\", listener: () => void): this;\n\tprependListener(eventName: \"error\", listener: () => void): this;\n\tprependOnceListener(eventName: \"error\", listener: () => void): this;\n\n\toff(eventName: \"error\", listener: () => void): this;\n\tremoveListener(eventName: \"error\", listener: () => void): this;\n\tremoveAllListeners(eventName: \"error\"): this;\n}\n\nexport class PipeEventServer extends PipeEventBase {\n\tconstructor(name: string, options?: { clientCount?: number; access?: AccessLevel }); // default: { clientCount: 1, access: AccessLevel.Default };\n}\n\nexport class PipeEventClient extends PipeEventBase {\n\tconstructor(name: string, options?: {}); // default: {};\n}\n\nexport class HardwareInterface {\n\tstatic generateUniqueIdentifier(): string; // results in a uuid version 4\n}\n"],"mappings":";;AAYkB,mBAAA,WAAA;EAMA,OAAA,GAAA,CAAA;;;;ACdLE,mBDcK,eAAA;ECPND,WAAAA,GAAAA,CAAAA;;;;cAPCC,OAAAA;;EAODD,SAAAA,CASRE,IAAAA,EAAAA,MAAAA,EAOkBC,QAAAA,EAAAA,MAAAA,EACEA,OA6B8BF,CA7B9BE,EAAAA;IAOSF,MAAAA,CAAAA,EAxBrBD,eAwBqBC;IAAO;IAGxC;IAaiCI;IACGA;IACqBJ;IAEZA;IACEA;EACOA,CAAAA,CACIA,EAtCtDC,OAsCsDD,CAAAA,IAAAA,CAAAA,CAAAA,CAAAA;;EAGZA,SAAAA,EAAAA,EAAAA,MAAAA;EACWA,SAAAA,IAAAA,CAAAA,EAAAA,MAAAA;EAGvBI,SAAAA,IAAAA,CAAAA,EAAAA,MAAAA;EACGA,SAAAA,WAAAA,CAAAA,EAAAA,MAAAA;EAGSJ,SAAAA,SAAAA,CAAAA,EA1CxBE,IA0CwBF;EACEA,SAAAA,WAAAA,CAAAA,EA1CxBE,IA0CwBF;EAEWA,SAAAA,OAAAA,CAAAA,EAAAA,OAAAA;EACIA,SAAAA,QAAAA,CAAAA,EAAAA,MAAAA;EAGLA,SAAAA,UAAAA,CAAAA,EAAAA,OAAAA;EAI1D,gBAAaK,cAAa,EA7COL,OA6CP;;AAuBUI,cAjEvBD,cAAAA,CAiEuBC;EACGA,WAAAA,CAAAA,OAAAA,CAAAA,EAAAA;IAAAA,QAAAA,CAAAA,EAAAA,MAAAA;EAAAA,CAAAA,EAAAA,CAAAA;;EAcGA,aAAAA,CAAAA,CAAAA,EAAAA,IAAAA;EAcPA,mBAAAA,CAAAA,IAAAA,EAAAA,MAAAA,CAAAA,EAAAA,OAAAA;EAAQ,eAAA,CAAA,IAAA,EAAA,MAAA,CAAA,EAAA,IAAA;EAc3C,iBAAaE,CAAAA,IAAe,EAAA,MAAA,CAAA,EAC0CR,IAAAA;EAOtE,UAAaU,CAAAA,CAAAA,EAAAA,MAAAA,EAAAA;;;kCAvGoBJ;qCACGA;0DACqBJ;8CAEZA;gDACEA;uDACOA;2DACIA;+DACIA;+CAEhBA;0DACWA;;mCAGvBI;sCACGA;2DACqBJ;+CAEZA;iDACEA;wDACOA;4DACIA;gEACIA;gDAEhBA;2DACWA;;;cAI7CK,aAAAA;;;;;;iCASmBD;oCACGA;;;;;;;;;;qCAaCA;wCACGA;;;;;;;;;;wCAaAA;2CACGA;;;;;;;;;;iCAaVA;oCACGA;;;;;;;;;;;cActBE,eAAAA,SAAwBD,aAAAA;;;aACiCP;;;cAGzDS,eAAAA,SAAwBF,aAAAA;;;cAIxBG,iBAAAA"}
1
+ {"version":3,"file":"types.d.mts","names":["AccessLevel","InjectionMethod","GameInstance","Promise","GameMonitor","Function","PipeEventBase","PipeEventServer","PipeEventClient","HardwareInterface"],"sources":["../index.ts","../types.d.ts"],"sourcesContent":["/// <reference types=\"node\" />\n\nimport type { AccessLevel, InjectionMethod } from \".\";\n\nexport class GameInstance {\n\tprivate constructor();\n\n\tinjectDll(\n\t\tpath: string,\n\t\tinjector: string,\n\t\toptions?: {\n\t\t\tmethod?: InjectionMethod;\n\t\t},\n\t): Promise<void>; // defaults: { method: InjectionMethod.windowsHook }\n\n\treadonly identifier: string;\n\treadonly modules: string[];\n\n\treadonly allowDllInjections: boolean;\n\treadonly hasRenderSupport: boolean;\n\n\treadonly injectionDelayMs: number;\n\n\treadonly processId: number;\n\n\treadonly executableName: string;\n\treadonly executablePath?: string;\n\n\treadonly is32Bit?: boolean;\n\treadonly isElevated?: boolean;\n\treadonly hasElevationMismatch?: boolean;\n}\n\nexport class GameMonitor {\n\tconstructor(); // the monitored games come from the raven config, fetched and registered natively\n\n\teventNames(): string[];\n\tgetMaxListeners(): number;\n\tremoveAllListeners(): this;\n\n\tlisteners(eventName: \"launch\"): Function[];\n\trawListeners(eventName: \"launch\"): Function[];\n\tlistenerCount(eventName: \"launch\", listener?: (game: GameInstance) => void): number;\n\n\ton(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\tonce(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\taddListener(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\tprependListener(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\tprependOnceListener(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\n\toff(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\tremoveListener(eventName: \"launch\", listener: (game: GameInstance) => void): this;\n\tremoveAllListeners(eventName: \"launch\"): this;\n\n\tlisteners(eventName: \"close\"): Function[];\n\trawListeners(eventName: \"close\"): Function[];\n\tlistenerCount(eventName: \"close\", listener?: (game: GameInstance) => void): number;\n\n\ton(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\tonce(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\taddListener(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\tprependListener(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\tprependOnceListener(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\n\toff(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\tremoveListener(eventName: \"close\", listener: (game: GameInstance) => void): this;\n\tremoveAllListeners(eventName: \"close\"): this;\n}\n\nexport class PipeEventBase {\n\tisConnected(): boolean;\n\n\teventNames(): string[];\n\tgetMaxListeners(): number;\n\tremoveAllListeners(): this;\n\n\tlisteners(eventName: \"event\"): Function[];\n\trawListeners(eventName: \"event\"): Function[];\n\tlistenerCount(eventName: \"event\", listener?: (event: string) => void): number;\n\n\ton(eventName: \"event\", listener: (event: string) => void): this;\n\tonce(eventName: \"event\", listener: (event: string) => void): this;\n\taddListener(eventName: \"event\", listener: (event: string) => void): this;\n\tprependListener(eventName: \"event\", listener: (event: string) => void): this;\n\tprependOnceListener(eventName: \"event\", listener: (event: string) => void): this;\n\n\toff(eventName: \"event\", listener: (event: string) => void): this;\n\tremoveListener(eventName: \"event\", listener: (event: string) => void): this;\n\tremoveAllListeners(eventName: \"event\"): this;\n\n\tlisteners(eventName: \"connected\"): Function[];\n\trawListeners(eventName: \"connected\"): Function[];\n\tlistenerCount(eventName: \"connected\", listener?: () => void): number;\n\n\ton(eventName: \"connected\", listener: () => void): this;\n\tonce(eventName: \"connected\", listener: () => void): this;\n\taddListener(eventName: \"connected\", listener: () => void): this;\n\tprependListener(eventName: \"connected\", listener: () => void): this;\n\tprependOnceListener(eventName: \"connected\", listener: () => void): this;\n\n\toff(eventName: \"connected\", listener: () => void): this;\n\tremoveListener(eventName: \"connected\", listener: () => void): this;\n\tremoveAllListeners(eventName: \"connected\"): this;\n\n\tlisteners(eventName: \"disconnected\"): Function[];\n\trawListeners(eventName: \"disconnected\"): Function[];\n\tlistenerCount(eventName: \"disconnected\", listener?: () => void): number;\n\n\ton(eventName: \"disconnected\", listener: () => void): this;\n\tonce(eventName: \"disconnected\", listener: () => void): this;\n\taddListener(eventName: \"disconnected\", listener: () => void): this;\n\tprependListener(eventName: \"disconnected\", listener: () => void): this;\n\tprependOnceListener(eventName: \"disconnected\", listener: () => void): this;\n\n\toff(eventName: \"disconnected\", listener: () => void): this;\n\tremoveListener(eventName: \"disconnected\", listener: () => void): this;\n\tremoveAllListeners(eventName: \"disconnected\"): this;\n\n\tlisteners(eventName: \"error\"): Function[];\n\trawListeners(eventName: \"error\"): Function[];\n\tlistenerCount(eventName: \"error\", listener?: () => void): number;\n\n\ton(eventName: \"error\", listener: () => void): this;\n\tonce(eventName: \"error\", listener: () => void): this;\n\taddListener(eventName: \"error\", listener: () => void): this;\n\tprependListener(eventName: \"error\", listener: () => void): this;\n\tprependOnceListener(eventName: \"error\", listener: () => void): this;\n\n\toff(eventName: \"error\", listener: () => void): this;\n\tremoveListener(eventName: \"error\", listener: () => void): this;\n\tremoveAllListeners(eventName: \"error\"): this;\n}\n\nexport class PipeEventServer extends PipeEventBase {\n\tconstructor(name: string, options?: { clientCount?: number; access?: AccessLevel }); // default: { clientCount: 1, access: AccessLevel.Default };\n}\n\nexport class PipeEventClient extends PipeEventBase {\n\tconstructor(name: string, options?: {}); // default: {};\n}\n\nexport class HardwareInterface {\n\tstatic generateUniqueIdentifier(): string; // results in a uuid version 4\n}\n"],"mappings":";;AAYkB,mBAAA,WAAA;EAMA,OAAA,GAAA,CAAA;;;;ACdLE,mBDcK,eAAA;ECeLE,WAAAA,GAAW,CAAA;;;;cA7BXF,YAAAA;;EA6Bb,SAAaE,CAOoBC,IAAAA,EAAAA,MAAAA,EACGA,QAAAA,EAAAA,MAAAA,EACkBH,OAGVA,CAHUA,EAAAA;IAEZA,MAAAA,CAAAA,EAjC9BD,eAiC8BC;EACEA,CAAAA,CACOA,EAjC/CC,OAiC+CD,CAAAA,IAAAA,CAAAA,CAAAA,CAAAA;;EAEQA,SAAAA,UAAAA,EAAAA,MAAAA;EAEhBA,SAAAA,OAAAA,EAAAA,MAAAA,EAAAA;EAIXG,SAAAA,kBAAAA,EAAAA,OAAAA;EACGA,SAAAA,gBAAAA,EAAAA,OAAAA;EAGMH,SAAAA,gBAAAA,EAAAA,MAAAA;EAESA,SAAAA,SAAAA,EAAAA,MAAAA;EAEQA,SAAAA,cAAAA,EAAAA,MAAAA;EAEhBA,SAAAA,cAAAA,CAAAA,EAAAA,MAAAA;EACuB,SAAA,OAAA,CAAA,EAAA,OAAA;EAIjE,SAAaI,UAAa,CAAA,EAAA,OAAA;EAOMD,SAAAA,oBAAAA,CAAAA,EAAAA,OAAAA;;AAeOA,cA1D1BD,WAAAA,CA0D0BC;EAaAA,WAAAA,CAAAA,EAAAA,CAAAA;;EAcPA,UAAAA,CAAAA,CAAAA,EAAAA,MAAAA,EAAAA;EACGA,eAAAA,CAAAA,CAAAA,EAAAA,MAAAA;EAAQ,kBAAA,CAAA,CAAA,EAAA,IAAA;EAkB3C,SAAaG,CAAAA,SAAAA,EAAe,QAAA,CAAA,EAjGKH,QAiGIC,EAAAA;EAIrC,YAAaG,CAAAA,SAAAA,EAAiB,QAAA,CAAA,EApGMJ,QAoGN,EAAA;uDAnGwBH;2CAEZA;6CACEA;oDACOA;wDACIA;4DACIA;4CAEhBA;uDACWA;;iCAGtBG;oCACGA;sDACkBH;0CAEZA;4CACEA;mDACOA;uDACIA;2DACIA;2CAEhBA;sDACWA;;;cAIxCI,aAAAA;;;;;iCAOmBD;oCACGA;;;;;;;;;;qCAaCA;wCACGA;;;;;;;;;;wCAaAA;2CACGA;;;;;;;;;;iCAaVA;oCACGA;;;;;;;;;;;cActBE,eAAAA,SAAwBD,aAAAA;;;aACiCN;;;cAGzDQ,eAAAA,SAAwBF,aAAAA;;;cAIxBG,iBAAAA"}