@smartspectra/node-sdk 3.2.0-rc.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,2083 @@
1
+ import * as $protobuf from "protobufjs";
2
+ import Long = require("long");
3
+ /** Namespace presage. */
4
+ export namespace presage {
5
+
6
+ /** Namespace smartspectra. */
7
+ namespace smartspectra {
8
+
9
+ /** Properties of a Measurement. */
10
+ interface IMeasurement {
11
+
12
+ /** The measured or estimated value */
13
+ value?: (number|null);
14
+
15
+ /** Whether the measurement is considered stable/reliable */
16
+ stable?: (boolean|null);
17
+
18
+ /** Absolute timestamp at which the measurement was taken, in microseconds, since Linux epoch */
19
+ timestamp?: (number|Long|null);
20
+ }
21
+
22
+ /**
23
+ * Represents a single measurement with timestamp and stability information.
24
+ * Used for various physiological measurements throughout the system.
25
+ */
26
+ class Measurement implements IMeasurement {
27
+
28
+ /**
29
+ * Constructs a new Measurement.
30
+ * @param [properties] Properties to set
31
+ */
32
+ constructor(properties?: presage.smartspectra.IMeasurement);
33
+
34
+ /** The measured or estimated value */
35
+ public value: number;
36
+
37
+ /** Whether the measurement is considered stable/reliable */
38
+ public stable: boolean;
39
+
40
+ /** Absolute timestamp at which the measurement was taken, in microseconds, since Linux epoch */
41
+ public timestamp: (number|Long);
42
+
43
+ /**
44
+ * Creates a new Measurement instance using the specified properties.
45
+ * @param [properties] Properties to set
46
+ * @returns Measurement instance
47
+ */
48
+ public static create(properties?: presage.smartspectra.IMeasurement): presage.smartspectra.Measurement;
49
+
50
+ /**
51
+ * Encodes the specified Measurement message. Does not implicitly {@link presage.smartspectra.Measurement.verify|verify} messages.
52
+ * @param message Measurement message or plain object to encode
53
+ * @param [writer] Writer to encode to
54
+ * @returns Writer
55
+ */
56
+ public static encode(message: presage.smartspectra.IMeasurement, writer?: $protobuf.Writer): $protobuf.Writer;
57
+
58
+ /**
59
+ * Encodes the specified Measurement message, length delimited. Does not implicitly {@link presage.smartspectra.Measurement.verify|verify} messages.
60
+ * @param message Measurement message or plain object to encode
61
+ * @param [writer] Writer to encode to
62
+ * @returns Writer
63
+ */
64
+ public static encodeDelimited(message: presage.smartspectra.IMeasurement, writer?: $protobuf.Writer): $protobuf.Writer;
65
+
66
+ /**
67
+ * Decodes a Measurement message from the specified reader or buffer.
68
+ * @param reader Reader or buffer to decode from
69
+ * @param [length] Message length if known beforehand
70
+ * @returns Measurement
71
+ * @throws {Error} If the payload is not a reader or valid buffer
72
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
73
+ */
74
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): presage.smartspectra.Measurement;
75
+
76
+ /**
77
+ * Decodes a Measurement message from the specified reader or buffer, length delimited.
78
+ * @param reader Reader or buffer to decode from
79
+ * @returns Measurement
80
+ * @throws {Error} If the payload is not a reader or valid buffer
81
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
82
+ */
83
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): presage.smartspectra.Measurement;
84
+
85
+ /**
86
+ * Verifies a Measurement message.
87
+ * @param message Plain object to verify
88
+ * @returns `null` if valid, otherwise the reason why it is not
89
+ */
90
+ public static verify(message: { [k: string]: any }): (string|null);
91
+
92
+ /**
93
+ * Creates a Measurement message from a plain object. Also converts values to their respective internal types.
94
+ * @param object Plain object
95
+ * @returns Measurement
96
+ */
97
+ public static fromObject(object: { [k: string]: any }): presage.smartspectra.Measurement;
98
+
99
+ /**
100
+ * Creates a plain object from a Measurement message. Also converts values to other types if specified.
101
+ * @param message Measurement
102
+ * @param [options] Conversion options
103
+ * @returns Plain object
104
+ */
105
+ public static toObject(message: presage.smartspectra.Measurement, options?: $protobuf.IConversionOptions): { [k: string]: any };
106
+
107
+ /**
108
+ * Converts this Measurement to JSON.
109
+ * @returns JSON object
110
+ */
111
+ public toJSON(): { [k: string]: any };
112
+
113
+ /**
114
+ * Gets the default type url for Measurement
115
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
116
+ * @returns The default type url
117
+ */
118
+ public static getTypeUrl(typeUrlPrefix?: string): string;
119
+ }
120
+
121
+ /** Properties of a DetectionStatus. */
122
+ interface IDetectionStatus {
123
+
124
+ /** Whether the feature/state was detected */
125
+ detected?: (boolean|null);
126
+
127
+ /** Whether the detection is considered stable/reliable */
128
+ stable?: (boolean|null);
129
+
130
+ /** Absolute timestamp at which the detection status was updated, in microseconds, since Linux epoch */
131
+ timestamp?: (number|Long|null);
132
+ }
133
+
134
+ /**
135
+ * Represents detection status with timestamp information.
136
+ * Used to track whether a particular physiological feature or state is detected.
137
+ */
138
+ class DetectionStatus implements IDetectionStatus {
139
+
140
+ /**
141
+ * Constructs a new DetectionStatus.
142
+ * @param [properties] Properties to set
143
+ */
144
+ constructor(properties?: presage.smartspectra.IDetectionStatus);
145
+
146
+ /** Whether the feature/state was detected */
147
+ public detected: boolean;
148
+
149
+ /** Whether the detection is considered stable/reliable */
150
+ public stable: boolean;
151
+
152
+ /** Absolute timestamp at which the detection status was updated, in microseconds, since Linux epoch */
153
+ public timestamp: (number|Long);
154
+
155
+ /**
156
+ * Creates a new DetectionStatus instance using the specified properties.
157
+ * @param [properties] Properties to set
158
+ * @returns DetectionStatus instance
159
+ */
160
+ public static create(properties?: presage.smartspectra.IDetectionStatus): presage.smartspectra.DetectionStatus;
161
+
162
+ /**
163
+ * Encodes the specified DetectionStatus message. Does not implicitly {@link presage.smartspectra.DetectionStatus.verify|verify} messages.
164
+ * @param message DetectionStatus message or plain object to encode
165
+ * @param [writer] Writer to encode to
166
+ * @returns Writer
167
+ */
168
+ public static encode(message: presage.smartspectra.IDetectionStatus, writer?: $protobuf.Writer): $protobuf.Writer;
169
+
170
+ /**
171
+ * Encodes the specified DetectionStatus message, length delimited. Does not implicitly {@link presage.smartspectra.DetectionStatus.verify|verify} messages.
172
+ * @param message DetectionStatus message or plain object to encode
173
+ * @param [writer] Writer to encode to
174
+ * @returns Writer
175
+ */
176
+ public static encodeDelimited(message: presage.smartspectra.IDetectionStatus, writer?: $protobuf.Writer): $protobuf.Writer;
177
+
178
+ /**
179
+ * Decodes a DetectionStatus message from the specified reader or buffer.
180
+ * @param reader Reader or buffer to decode from
181
+ * @param [length] Message length if known beforehand
182
+ * @returns DetectionStatus
183
+ * @throws {Error} If the payload is not a reader or valid buffer
184
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
185
+ */
186
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): presage.smartspectra.DetectionStatus;
187
+
188
+ /**
189
+ * Decodes a DetectionStatus message from the specified reader or buffer, length delimited.
190
+ * @param reader Reader or buffer to decode from
191
+ * @returns DetectionStatus
192
+ * @throws {Error} If the payload is not a reader or valid buffer
193
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
194
+ */
195
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): presage.smartspectra.DetectionStatus;
196
+
197
+ /**
198
+ * Verifies a DetectionStatus message.
199
+ * @param message Plain object to verify
200
+ * @returns `null` if valid, otherwise the reason why it is not
201
+ */
202
+ public static verify(message: { [k: string]: any }): (string|null);
203
+
204
+ /**
205
+ * Creates a DetectionStatus message from a plain object. Also converts values to their respective internal types.
206
+ * @param object Plain object
207
+ * @returns DetectionStatus
208
+ */
209
+ public static fromObject(object: { [k: string]: any }): presage.smartspectra.DetectionStatus;
210
+
211
+ /**
212
+ * Creates a plain object from a DetectionStatus message. Also converts values to other types if specified.
213
+ * @param message DetectionStatus
214
+ * @param [options] Conversion options
215
+ * @returns Plain object
216
+ */
217
+ public static toObject(message: presage.smartspectra.DetectionStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
218
+
219
+ /**
220
+ * Converts this DetectionStatus to JSON.
221
+ * @returns JSON object
222
+ */
223
+ public toJSON(): { [k: string]: any };
224
+
225
+ /**
226
+ * Gets the default type url for DetectionStatus
227
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
228
+ * @returns The default type url
229
+ */
230
+ public static getTypeUrl(typeUrlPrefix?: string): string;
231
+ }
232
+
233
+ /** Properties of a MeasurementWithConfidence. */
234
+ interface IMeasurementWithConfidence {
235
+
236
+ /** The measured value */
237
+ value?: (number|null);
238
+
239
+ /** Whether the measurement is considered stable/reliable */
240
+ stable?: (boolean|null);
241
+
242
+ /** Confidence score for the measurement, expressed as a percentage in the range [0.0, 100.0] */
243
+ confidence?: (number|null);
244
+
245
+ /** Absolute timestamp at which the measurement was taken, in microseconds, since Linux epoch */
246
+ timestamp?: (number|Long|null);
247
+ }
248
+
249
+ /**
250
+ * Represents a measurement with an associated confidence score.
251
+ * Extends basic measurement with confidence information for quality assessment.
252
+ */
253
+ class MeasurementWithConfidence implements IMeasurementWithConfidence {
254
+
255
+ /**
256
+ * Constructs a new MeasurementWithConfidence.
257
+ * @param [properties] Properties to set
258
+ */
259
+ constructor(properties?: presage.smartspectra.IMeasurementWithConfidence);
260
+
261
+ /** The measured value */
262
+ public value: number;
263
+
264
+ /** Whether the measurement is considered stable/reliable */
265
+ public stable: boolean;
266
+
267
+ /** Confidence score for the measurement, expressed as a percentage in the range [0.0, 100.0] */
268
+ public confidence: number;
269
+
270
+ /** Absolute timestamp at which the measurement was taken, in microseconds, since Linux epoch */
271
+ public timestamp: (number|Long);
272
+
273
+ /**
274
+ * Creates a new MeasurementWithConfidence instance using the specified properties.
275
+ * @param [properties] Properties to set
276
+ * @returns MeasurementWithConfidence instance
277
+ */
278
+ public static create(properties?: presage.smartspectra.IMeasurementWithConfidence): presage.smartspectra.MeasurementWithConfidence;
279
+
280
+ /**
281
+ * Encodes the specified MeasurementWithConfidence message. Does not implicitly {@link presage.smartspectra.MeasurementWithConfidence.verify|verify} messages.
282
+ * @param message MeasurementWithConfidence message or plain object to encode
283
+ * @param [writer] Writer to encode to
284
+ * @returns Writer
285
+ */
286
+ public static encode(message: presage.smartspectra.IMeasurementWithConfidence, writer?: $protobuf.Writer): $protobuf.Writer;
287
+
288
+ /**
289
+ * Encodes the specified MeasurementWithConfidence message, length delimited. Does not implicitly {@link presage.smartspectra.MeasurementWithConfidence.verify|verify} messages.
290
+ * @param message MeasurementWithConfidence message or plain object to encode
291
+ * @param [writer] Writer to encode to
292
+ * @returns Writer
293
+ */
294
+ public static encodeDelimited(message: presage.smartspectra.IMeasurementWithConfidence, writer?: $protobuf.Writer): $protobuf.Writer;
295
+
296
+ /**
297
+ * Decodes a MeasurementWithConfidence message from the specified reader or buffer.
298
+ * @param reader Reader or buffer to decode from
299
+ * @param [length] Message length if known beforehand
300
+ * @returns MeasurementWithConfidence
301
+ * @throws {Error} If the payload is not a reader or valid buffer
302
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
303
+ */
304
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): presage.smartspectra.MeasurementWithConfidence;
305
+
306
+ /**
307
+ * Decodes a MeasurementWithConfidence message from the specified reader or buffer, length delimited.
308
+ * @param reader Reader or buffer to decode from
309
+ * @returns MeasurementWithConfidence
310
+ * @throws {Error} If the payload is not a reader or valid buffer
311
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
312
+ */
313
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): presage.smartspectra.MeasurementWithConfidence;
314
+
315
+ /**
316
+ * Verifies a MeasurementWithConfidence message.
317
+ * @param message Plain object to verify
318
+ * @returns `null` if valid, otherwise the reason why it is not
319
+ */
320
+ public static verify(message: { [k: string]: any }): (string|null);
321
+
322
+ /**
323
+ * Creates a MeasurementWithConfidence message from a plain object. Also converts values to their respective internal types.
324
+ * @param object Plain object
325
+ * @returns MeasurementWithConfidence
326
+ */
327
+ public static fromObject(object: { [k: string]: any }): presage.smartspectra.MeasurementWithConfidence;
328
+
329
+ /**
330
+ * Creates a plain object from a MeasurementWithConfidence message. Also converts values to other types if specified.
331
+ * @param message MeasurementWithConfidence
332
+ * @param [options] Conversion options
333
+ * @returns Plain object
334
+ */
335
+ public static toObject(message: presage.smartspectra.MeasurementWithConfidence, options?: $protobuf.IConversionOptions): { [k: string]: any };
336
+
337
+ /**
338
+ * Converts this MeasurementWithConfidence to JSON.
339
+ * @returns JSON object
340
+ */
341
+ public toJSON(): { [k: string]: any };
342
+
343
+ /**
344
+ * Gets the default type url for MeasurementWithConfidence
345
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
346
+ * @returns The default type url
347
+ */
348
+ public static getTypeUrl(typeUrlPrefix?: string): string;
349
+ }
350
+
351
+ /** Enumerates the supported facial expression types output by the model. */
352
+ enum ExpressionType {
353
+ UNSPECIFIED = 0,
354
+ ANGRY = 1,
355
+ CONTEMPT = 2,
356
+ DISGUST = 3,
357
+ FEAR = 4,
358
+ HAPPY = 5,
359
+ NEUTRAL = 6,
360
+ SAD = 7,
361
+ SURPRISE = 8
362
+ }
363
+
364
+ /** Properties of an ExpressionScore. */
365
+ interface IExpressionScore {
366
+
367
+ /** Expression type identifier */
368
+ type?: (presage.smartspectra.ExpressionType|null);
369
+
370
+ /** Confidence score for the expression, expressed as a percentage in the range [0.0, 100.0] */
371
+ confidence?: (number|null);
372
+ }
373
+
374
+ /** Associates an expression type with its confidence score. */
375
+ class ExpressionScore implements IExpressionScore {
376
+
377
+ /**
378
+ * Constructs a new ExpressionScore.
379
+ * @param [properties] Properties to set
380
+ */
381
+ constructor(properties?: presage.smartspectra.IExpressionScore);
382
+
383
+ /** Expression type identifier */
384
+ public type: presage.smartspectra.ExpressionType;
385
+
386
+ /** Confidence score for the expression, expressed as a percentage in the range [0.0, 100.0] */
387
+ public confidence: number;
388
+
389
+ /**
390
+ * Creates a new ExpressionScore instance using the specified properties.
391
+ * @param [properties] Properties to set
392
+ * @returns ExpressionScore instance
393
+ */
394
+ public static create(properties?: presage.smartspectra.IExpressionScore): presage.smartspectra.ExpressionScore;
395
+
396
+ /**
397
+ * Encodes the specified ExpressionScore message. Does not implicitly {@link presage.smartspectra.ExpressionScore.verify|verify} messages.
398
+ * @param message ExpressionScore message or plain object to encode
399
+ * @param [writer] Writer to encode to
400
+ * @returns Writer
401
+ */
402
+ public static encode(message: presage.smartspectra.IExpressionScore, writer?: $protobuf.Writer): $protobuf.Writer;
403
+
404
+ /**
405
+ * Encodes the specified ExpressionScore message, length delimited. Does not implicitly {@link presage.smartspectra.ExpressionScore.verify|verify} messages.
406
+ * @param message ExpressionScore message or plain object to encode
407
+ * @param [writer] Writer to encode to
408
+ * @returns Writer
409
+ */
410
+ public static encodeDelimited(message: presage.smartspectra.IExpressionScore, writer?: $protobuf.Writer): $protobuf.Writer;
411
+
412
+ /**
413
+ * Decodes an ExpressionScore message from the specified reader or buffer.
414
+ * @param reader Reader or buffer to decode from
415
+ * @param [length] Message length if known beforehand
416
+ * @returns ExpressionScore
417
+ * @throws {Error} If the payload is not a reader or valid buffer
418
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
419
+ */
420
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): presage.smartspectra.ExpressionScore;
421
+
422
+ /**
423
+ * Decodes an ExpressionScore message from the specified reader or buffer, length delimited.
424
+ * @param reader Reader or buffer to decode from
425
+ * @returns ExpressionScore
426
+ * @throws {Error} If the payload is not a reader or valid buffer
427
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
428
+ */
429
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): presage.smartspectra.ExpressionScore;
430
+
431
+ /**
432
+ * Verifies an ExpressionScore message.
433
+ * @param message Plain object to verify
434
+ * @returns `null` if valid, otherwise the reason why it is not
435
+ */
436
+ public static verify(message: { [k: string]: any }): (string|null);
437
+
438
+ /**
439
+ * Creates an ExpressionScore message from a plain object. Also converts values to their respective internal types.
440
+ * @param object Plain object
441
+ * @returns ExpressionScore
442
+ */
443
+ public static fromObject(object: { [k: string]: any }): presage.smartspectra.ExpressionScore;
444
+
445
+ /**
446
+ * Creates a plain object from an ExpressionScore message. Also converts values to other types if specified.
447
+ * @param message ExpressionScore
448
+ * @param [options] Conversion options
449
+ * @returns Plain object
450
+ */
451
+ public static toObject(message: presage.smartspectra.ExpressionScore, options?: $protobuf.IConversionOptions): { [k: string]: any };
452
+
453
+ /**
454
+ * Converts this ExpressionScore to JSON.
455
+ * @returns JSON object
456
+ */
457
+ public toJSON(): { [k: string]: any };
458
+
459
+ /**
460
+ * Gets the default type url for ExpressionScore
461
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
462
+ * @returns The default type url
463
+ */
464
+ public static getTypeUrl(typeUrlPrefix?: string): string;
465
+ }
466
+
467
+ /** Properties of an Expression. */
468
+ interface IExpression {
469
+
470
+ /** Whether the detection is considered stable/reliable */
471
+ stable?: (boolean|null);
472
+
473
+ /** Absolute timestamp at which the expression was detected, in microseconds, since Linux epoch */
474
+ timestamp?: (number|Long|null);
475
+
476
+ /** Confidence distribution across all expression types */
477
+ scores?: (presage.smartspectra.IExpressionScore[]|null);
478
+ }
479
+
480
+ /**
481
+ * Represents a detected expression with metadata.
482
+ * Used for facial expression analysis and emotion detection.
483
+ */
484
+ class Expression implements IExpression {
485
+
486
+ /**
487
+ * Constructs a new Expression.
488
+ * @param [properties] Properties to set
489
+ */
490
+ constructor(properties?: presage.smartspectra.IExpression);
491
+
492
+ /** Whether the detection is considered stable/reliable */
493
+ public stable: boolean;
494
+
495
+ /** Absolute timestamp at which the expression was detected, in microseconds, since Linux epoch */
496
+ public timestamp: (number|Long);
497
+
498
+ /** Confidence distribution across all expression types */
499
+ public scores: presage.smartspectra.IExpressionScore[];
500
+
501
+ /**
502
+ * Creates a new Expression instance using the specified properties.
503
+ * @param [properties] Properties to set
504
+ * @returns Expression instance
505
+ */
506
+ public static create(properties?: presage.smartspectra.IExpression): presage.smartspectra.Expression;
507
+
508
+ /**
509
+ * Encodes the specified Expression message. Does not implicitly {@link presage.smartspectra.Expression.verify|verify} messages.
510
+ * @param message Expression message or plain object to encode
511
+ * @param [writer] Writer to encode to
512
+ * @returns Writer
513
+ */
514
+ public static encode(message: presage.smartspectra.IExpression, writer?: $protobuf.Writer): $protobuf.Writer;
515
+
516
+ /**
517
+ * Encodes the specified Expression message, length delimited. Does not implicitly {@link presage.smartspectra.Expression.verify|verify} messages.
518
+ * @param message Expression message or plain object to encode
519
+ * @param [writer] Writer to encode to
520
+ * @returns Writer
521
+ */
522
+ public static encodeDelimited(message: presage.smartspectra.IExpression, writer?: $protobuf.Writer): $protobuf.Writer;
523
+
524
+ /**
525
+ * Decodes an Expression message from the specified reader or buffer.
526
+ * @param reader Reader or buffer to decode from
527
+ * @param [length] Message length if known beforehand
528
+ * @returns Expression
529
+ * @throws {Error} If the payload is not a reader or valid buffer
530
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
531
+ */
532
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): presage.smartspectra.Expression;
533
+
534
+ /**
535
+ * Decodes an Expression message from the specified reader or buffer, length delimited.
536
+ * @param reader Reader or buffer to decode from
537
+ * @returns Expression
538
+ * @throws {Error} If the payload is not a reader or valid buffer
539
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
540
+ */
541
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): presage.smartspectra.Expression;
542
+
543
+ /**
544
+ * Verifies an Expression message.
545
+ * @param message Plain object to verify
546
+ * @returns `null` if valid, otherwise the reason why it is not
547
+ */
548
+ public static verify(message: { [k: string]: any }): (string|null);
549
+
550
+ /**
551
+ * Creates an Expression message from a plain object. Also converts values to their respective internal types.
552
+ * @param object Plain object
553
+ * @returns Expression
554
+ */
555
+ public static fromObject(object: { [k: string]: any }): presage.smartspectra.Expression;
556
+
557
+ /**
558
+ * Creates a plain object from an Expression message. Also converts values to other types if specified.
559
+ * @param message Expression
560
+ * @param [options] Conversion options
561
+ * @returns Plain object
562
+ */
563
+ public static toObject(message: presage.smartspectra.Expression, options?: $protobuf.IConversionOptions): { [k: string]: any };
564
+
565
+ /**
566
+ * Converts this Expression to JSON.
567
+ * @returns JSON object
568
+ */
569
+ public toJSON(): { [k: string]: any };
570
+
571
+ /**
572
+ * Gets the default type url for Expression
573
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
574
+ * @returns The default type url
575
+ */
576
+ public static getTypeUrl(typeUrlPrefix?: string): string;
577
+ }
578
+
579
+ /** Properties of a Hrv. */
580
+ interface IHrv {
581
+
582
+ /** root mean square of successive differences between normal heartbeats */
583
+ rmssd?: (number|null);
584
+
585
+ /** mean normal-to-normal (NN) interval length */
586
+ meanNn?: (number|null);
587
+
588
+ /** Standard Deviation of normal-to-normal (NN) Intervals */
589
+ sdnn?: (number|null);
590
+
591
+ /** Baevsky's Stress Index, in 1/ms^2 (inverse-square milliseconds) */
592
+ baevsky?: (number|null);
593
+
594
+ /** Absolute timestamp at which the HRV measurement was taken, in microseconds, since Linux epoch */
595
+ timestamp?: (number|Long|null);
596
+
597
+ /** Confidence score for the HRV measurement, expressed as a percentage in the range [0.0, 100.0] */
598
+ confidence?: (number|null);
599
+ }
600
+
601
+ /** Represents a single HRV measurement computed over some period of pulse data. */
602
+ class Hrv implements IHrv {
603
+
604
+ /**
605
+ * Constructs a new Hrv.
606
+ * @param [properties] Properties to set
607
+ */
608
+ constructor(properties?: presage.smartspectra.IHrv);
609
+
610
+ /** root mean square of successive differences between normal heartbeats */
611
+ public rmssd: number;
612
+
613
+ /** mean normal-to-normal (NN) interval length */
614
+ public meanNn: number;
615
+
616
+ /** Standard Deviation of normal-to-normal (NN) Intervals */
617
+ public sdnn: number;
618
+
619
+ /** Baevsky's Stress Index, in 1/ms^2 (inverse-square milliseconds) */
620
+ public baevsky: number;
621
+
622
+ /** Absolute timestamp at which the HRV measurement was taken, in microseconds, since Linux epoch */
623
+ public timestamp: (number|Long);
624
+
625
+ /** Confidence score for the HRV measurement, expressed as a percentage in the range [0.0, 100.0] */
626
+ public confidence: number;
627
+
628
+ /**
629
+ * Creates a new Hrv instance using the specified properties.
630
+ * @param [properties] Properties to set
631
+ * @returns Hrv instance
632
+ */
633
+ public static create(properties?: presage.smartspectra.IHrv): presage.smartspectra.Hrv;
634
+
635
+ /**
636
+ * Encodes the specified Hrv message. Does not implicitly {@link presage.smartspectra.Hrv.verify|verify} messages.
637
+ * @param message Hrv message or plain object to encode
638
+ * @param [writer] Writer to encode to
639
+ * @returns Writer
640
+ */
641
+ public static encode(message: presage.smartspectra.IHrv, writer?: $protobuf.Writer): $protobuf.Writer;
642
+
643
+ /**
644
+ * Encodes the specified Hrv message, length delimited. Does not implicitly {@link presage.smartspectra.Hrv.verify|verify} messages.
645
+ * @param message Hrv message or plain object to encode
646
+ * @param [writer] Writer to encode to
647
+ * @returns Writer
648
+ */
649
+ public static encodeDelimited(message: presage.smartspectra.IHrv, writer?: $protobuf.Writer): $protobuf.Writer;
650
+
651
+ /**
652
+ * Decodes a Hrv message from the specified reader or buffer.
653
+ * @param reader Reader or buffer to decode from
654
+ * @param [length] Message length if known beforehand
655
+ * @returns Hrv
656
+ * @throws {Error} If the payload is not a reader or valid buffer
657
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
658
+ */
659
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): presage.smartspectra.Hrv;
660
+
661
+ /**
662
+ * Decodes a Hrv message from the specified reader or buffer, length delimited.
663
+ * @param reader Reader or buffer to decode from
664
+ * @returns Hrv
665
+ * @throws {Error} If the payload is not a reader or valid buffer
666
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
667
+ */
668
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): presage.smartspectra.Hrv;
669
+
670
+ /**
671
+ * Verifies a Hrv message.
672
+ * @param message Plain object to verify
673
+ * @returns `null` if valid, otherwise the reason why it is not
674
+ */
675
+ public static verify(message: { [k: string]: any }): (string|null);
676
+
677
+ /**
678
+ * Creates a Hrv message from a plain object. Also converts values to their respective internal types.
679
+ * @param object Plain object
680
+ * @returns Hrv
681
+ */
682
+ public static fromObject(object: { [k: string]: any }): presage.smartspectra.Hrv;
683
+
684
+ /**
685
+ * Creates a plain object from a Hrv message. Also converts values to other types if specified.
686
+ * @param message Hrv
687
+ * @param [options] Conversion options
688
+ * @returns Plain object
689
+ */
690
+ public static toObject(message: presage.smartspectra.Hrv, options?: $protobuf.IConversionOptions): { [k: string]: any };
691
+
692
+ /**
693
+ * Converts this Hrv to JSON.
694
+ * @returns JSON object
695
+ */
696
+ public toJSON(): { [k: string]: any };
697
+
698
+ /**
699
+ * Gets the default type url for Hrv
700
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
701
+ * @returns The default type url
702
+ */
703
+ public static getTypeUrl(typeUrlPrefix?: string): string;
704
+ }
705
+
706
+ /** Properties of a Strict. */
707
+ interface IStrict {
708
+
709
+ /** The strict value requiring high precision */
710
+ value?: (number|null);
711
+ }
712
+
713
+ /**
714
+ * Container for strict/exact values that require high precision.
715
+ * Used when measurements need to be treated with special precision requirements.
716
+ */
717
+ class Strict implements IStrict {
718
+
719
+ /**
720
+ * Constructs a new Strict.
721
+ * @param [properties] Properties to set
722
+ */
723
+ constructor(properties?: presage.smartspectra.IStrict);
724
+
725
+ /** The strict value requiring high precision */
726
+ public value: number;
727
+
728
+ /**
729
+ * Creates a new Strict instance using the specified properties.
730
+ * @param [properties] Properties to set
731
+ * @returns Strict instance
732
+ */
733
+ public static create(properties?: presage.smartspectra.IStrict): presage.smartspectra.Strict;
734
+
735
+ /**
736
+ * Encodes the specified Strict message. Does not implicitly {@link presage.smartspectra.Strict.verify|verify} messages.
737
+ * @param message Strict message or plain object to encode
738
+ * @param [writer] Writer to encode to
739
+ * @returns Writer
740
+ */
741
+ public static encode(message: presage.smartspectra.IStrict, writer?: $protobuf.Writer): $protobuf.Writer;
742
+
743
+ /**
744
+ * Encodes the specified Strict message, length delimited. Does not implicitly {@link presage.smartspectra.Strict.verify|verify} messages.
745
+ * @param message Strict message or plain object to encode
746
+ * @param [writer] Writer to encode to
747
+ * @returns Writer
748
+ */
749
+ public static encodeDelimited(message: presage.smartspectra.IStrict, writer?: $protobuf.Writer): $protobuf.Writer;
750
+
751
+ /**
752
+ * Decodes a Strict message from the specified reader or buffer.
753
+ * @param reader Reader or buffer to decode from
754
+ * @param [length] Message length if known beforehand
755
+ * @returns Strict
756
+ * @throws {Error} If the payload is not a reader or valid buffer
757
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
758
+ */
759
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): presage.smartspectra.Strict;
760
+
761
+ /**
762
+ * Decodes a Strict message from the specified reader or buffer, length delimited.
763
+ * @param reader Reader or buffer to decode from
764
+ * @returns Strict
765
+ * @throws {Error} If the payload is not a reader or valid buffer
766
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
767
+ */
768
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): presage.smartspectra.Strict;
769
+
770
+ /**
771
+ * Verifies a Strict message.
772
+ * @param message Plain object to verify
773
+ * @returns `null` if valid, otherwise the reason why it is not
774
+ */
775
+ public static verify(message: { [k: string]: any }): (string|null);
776
+
777
+ /**
778
+ * Creates a Strict message from a plain object. Also converts values to their respective internal types.
779
+ * @param object Plain object
780
+ * @returns Strict
781
+ */
782
+ public static fromObject(object: { [k: string]: any }): presage.smartspectra.Strict;
783
+
784
+ /**
785
+ * Creates a plain object from a Strict message. Also converts values to other types if specified.
786
+ * @param message Strict
787
+ * @param [options] Conversion options
788
+ * @returns Plain object
789
+ */
790
+ public static toObject(message: presage.smartspectra.Strict, options?: $protobuf.IConversionOptions): { [k: string]: any };
791
+
792
+ /**
793
+ * Converts this Strict to JSON.
794
+ * @returns JSON object
795
+ */
796
+ public toJSON(): { [k: string]: any };
797
+
798
+ /**
799
+ * Gets the default type url for Strict
800
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
801
+ * @returns The default type url
802
+ */
803
+ public static getTypeUrl(typeUrlPrefix?: string): string;
804
+ }
805
+
806
+ /** Properties of a Pulse. */
807
+ interface IPulse {
808
+
809
+ /** Heart rate measurements with confidence scores */
810
+ rate?: (presage.smartspectra.IMeasurementWithConfidence[]|null);
811
+
812
+ /** Raw pulse trace measurements */
813
+ trace?: (presage.smartspectra.IMeasurement[]|null);
814
+
815
+ /** Pulse-respiration quotient measurements indicating cardio-respiratory coupling */
816
+ pulseRespirationQuotient?: (presage.smartspectra.IMeasurement[]|null);
817
+
818
+ /**
819
+ * Strict/high-precision pulse measurements over a fixed time interval.
820
+ * Populated when strict mode analysis is enabled.
821
+ */
822
+ strict?: (presage.smartspectra.IStrict|null);
823
+ }
824
+
825
+ /**
826
+ * Comprehensive pulse-related measurements and derived metrics.
827
+ * Contains heart rate, pulse trace, and respiratory coupling information.
828
+ */
829
+ class Pulse implements IPulse {
830
+
831
+ /**
832
+ * Constructs a new Pulse.
833
+ * @param [properties] Properties to set
834
+ */
835
+ constructor(properties?: presage.smartspectra.IPulse);
836
+
837
+ /** Heart rate measurements with confidence scores */
838
+ public rate: presage.smartspectra.IMeasurementWithConfidence[];
839
+
840
+ /** Raw pulse trace measurements */
841
+ public trace: presage.smartspectra.IMeasurement[];
842
+
843
+ /** Pulse-respiration quotient measurements indicating cardio-respiratory coupling */
844
+ public pulseRespirationQuotient: presage.smartspectra.IMeasurement[];
845
+
846
+ /**
847
+ * Strict/high-precision pulse measurements over a fixed time interval.
848
+ * Populated when strict mode analysis is enabled.
849
+ */
850
+ public strict?: (presage.smartspectra.IStrict|null);
851
+
852
+ /**
853
+ * Creates a new Pulse instance using the specified properties.
854
+ * @param [properties] Properties to set
855
+ * @returns Pulse instance
856
+ */
857
+ public static create(properties?: presage.smartspectra.IPulse): presage.smartspectra.Pulse;
858
+
859
+ /**
860
+ * Encodes the specified Pulse message. Does not implicitly {@link presage.smartspectra.Pulse.verify|verify} messages.
861
+ * @param message Pulse message or plain object to encode
862
+ * @param [writer] Writer to encode to
863
+ * @returns Writer
864
+ */
865
+ public static encode(message: presage.smartspectra.IPulse, writer?: $protobuf.Writer): $protobuf.Writer;
866
+
867
+ /**
868
+ * Encodes the specified Pulse message, length delimited. Does not implicitly {@link presage.smartspectra.Pulse.verify|verify} messages.
869
+ * @param message Pulse message or plain object to encode
870
+ * @param [writer] Writer to encode to
871
+ * @returns Writer
872
+ */
873
+ public static encodeDelimited(message: presage.smartspectra.IPulse, writer?: $protobuf.Writer): $protobuf.Writer;
874
+
875
+ /**
876
+ * Decodes a Pulse message from the specified reader or buffer.
877
+ * @param reader Reader or buffer to decode from
878
+ * @param [length] Message length if known beforehand
879
+ * @returns Pulse
880
+ * @throws {Error} If the payload is not a reader or valid buffer
881
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
882
+ */
883
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): presage.smartspectra.Pulse;
884
+
885
+ /**
886
+ * Decodes a Pulse message from the specified reader or buffer, length delimited.
887
+ * @param reader Reader or buffer to decode from
888
+ * @returns Pulse
889
+ * @throws {Error} If the payload is not a reader or valid buffer
890
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
891
+ */
892
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): presage.smartspectra.Pulse;
893
+
894
+ /**
895
+ * Verifies a Pulse message.
896
+ * @param message Plain object to verify
897
+ * @returns `null` if valid, otherwise the reason why it is not
898
+ */
899
+ public static verify(message: { [k: string]: any }): (string|null);
900
+
901
+ /**
902
+ * Creates a Pulse message from a plain object. Also converts values to their respective internal types.
903
+ * @param object Plain object
904
+ * @returns Pulse
905
+ */
906
+ public static fromObject(object: { [k: string]: any }): presage.smartspectra.Pulse;
907
+
908
+ /**
909
+ * Creates a plain object from a Pulse message. Also converts values to other types if specified.
910
+ * @param message Pulse
911
+ * @param [options] Conversion options
912
+ * @returns Plain object
913
+ */
914
+ public static toObject(message: presage.smartspectra.Pulse, options?: $protobuf.IConversionOptions): { [k: string]: any };
915
+
916
+ /**
917
+ * Converts this Pulse to JSON.
918
+ * @returns JSON object
919
+ */
920
+ public toJSON(): { [k: string]: any };
921
+
922
+ /**
923
+ * Gets the default type url for Pulse
924
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
925
+ * @returns The default type url
926
+ */
927
+ public static getTypeUrl(typeUrlPrefix?: string): string;
928
+ }
929
+
930
+ /** Properties of a Breathing. */
931
+ interface IBreathing {
932
+
933
+ /** Respiratory rate measurements with confidence scores */
934
+ rate?: (presage.smartspectra.IMeasurementWithConfidence[]|null);
935
+
936
+ /** Chest breathing movement trace measurements */
937
+ upperTrace?: (presage.smartspectra.IMeasurement[]|null);
938
+
939
+ /** Abdominal breathing movement trace measurements */
940
+ lowerTrace?: (presage.smartspectra.IMeasurement[]|null);
941
+
942
+ /** Breathing amplitude measurements */
943
+ amplitude?: (presage.smartspectra.IMeasurement[]|null);
944
+
945
+ /** Apnea (breathing cessation) detection status */
946
+ apnea?: (presage.smartspectra.IDetectionStatus[]|null);
947
+
948
+ /** Respiratory line length measurements for breathing pattern analysis */
949
+ respiratoryLineLength?: (presage.smartspectra.IMeasurement[]|null);
950
+
951
+ /** Baseline breathing measurements */
952
+ baseline?: (presage.smartspectra.IMeasurement[]|null);
953
+
954
+ /** Inhale to exhale duration ratio measurements */
955
+ inhaleExhaleRatio?: (presage.smartspectra.IMeasurement[]|null);
956
+
957
+ /**
958
+ * Strict/high-precision breathing measurements over a fixed time interval.
959
+ * Populated when strict mode analysis is enabled.
960
+ */
961
+ strict?: (presage.smartspectra.IStrict|null);
962
+ }
963
+
964
+ /**
965
+ * Comprehensive breathing/respiratory measurements and derived metrics.
966
+ * Contains respiratory rate, traces, and various breathing pattern indicators.
967
+ */
968
+ class Breathing implements IBreathing {
969
+
970
+ /**
971
+ * Constructs a new Breathing.
972
+ * @param [properties] Properties to set
973
+ */
974
+ constructor(properties?: presage.smartspectra.IBreathing);
975
+
976
+ /** Respiratory rate measurements with confidence scores */
977
+ public rate: presage.smartspectra.IMeasurementWithConfidence[];
978
+
979
+ /** Chest breathing movement trace measurements */
980
+ public upperTrace: presage.smartspectra.IMeasurement[];
981
+
982
+ /** Abdominal breathing movement trace measurements */
983
+ public lowerTrace: presage.smartspectra.IMeasurement[];
984
+
985
+ /** Breathing amplitude measurements */
986
+ public amplitude: presage.smartspectra.IMeasurement[];
987
+
988
+ /** Apnea (breathing cessation) detection status */
989
+ public apnea: presage.smartspectra.IDetectionStatus[];
990
+
991
+ /** Respiratory line length measurements for breathing pattern analysis */
992
+ public respiratoryLineLength: presage.smartspectra.IMeasurement[];
993
+
994
+ /** Baseline breathing measurements */
995
+ public baseline: presage.smartspectra.IMeasurement[];
996
+
997
+ /** Inhale to exhale duration ratio measurements */
998
+ public inhaleExhaleRatio: presage.smartspectra.IMeasurement[];
999
+
1000
+ /**
1001
+ * Strict/high-precision breathing measurements over a fixed time interval.
1002
+ * Populated when strict mode analysis is enabled.
1003
+ */
1004
+ public strict?: (presage.smartspectra.IStrict|null);
1005
+
1006
+ /**
1007
+ * Creates a new Breathing instance using the specified properties.
1008
+ * @param [properties] Properties to set
1009
+ * @returns Breathing instance
1010
+ */
1011
+ public static create(properties?: presage.smartspectra.IBreathing): presage.smartspectra.Breathing;
1012
+
1013
+ /**
1014
+ * Encodes the specified Breathing message. Does not implicitly {@link presage.smartspectra.Breathing.verify|verify} messages.
1015
+ * @param message Breathing message or plain object to encode
1016
+ * @param [writer] Writer to encode to
1017
+ * @returns Writer
1018
+ */
1019
+ public static encode(message: presage.smartspectra.IBreathing, writer?: $protobuf.Writer): $protobuf.Writer;
1020
+
1021
+ /**
1022
+ * Encodes the specified Breathing message, length delimited. Does not implicitly {@link presage.smartspectra.Breathing.verify|verify} messages.
1023
+ * @param message Breathing message or plain object to encode
1024
+ * @param [writer] Writer to encode to
1025
+ * @returns Writer
1026
+ */
1027
+ public static encodeDelimited(message: presage.smartspectra.IBreathing, writer?: $protobuf.Writer): $protobuf.Writer;
1028
+
1029
+ /**
1030
+ * Decodes a Breathing message from the specified reader or buffer.
1031
+ * @param reader Reader or buffer to decode from
1032
+ * @param [length] Message length if known beforehand
1033
+ * @returns Breathing
1034
+ * @throws {Error} If the payload is not a reader or valid buffer
1035
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1036
+ */
1037
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): presage.smartspectra.Breathing;
1038
+
1039
+ /**
1040
+ * Decodes a Breathing message from the specified reader or buffer, length delimited.
1041
+ * @param reader Reader or buffer to decode from
1042
+ * @returns Breathing
1043
+ * @throws {Error} If the payload is not a reader or valid buffer
1044
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1045
+ */
1046
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): presage.smartspectra.Breathing;
1047
+
1048
+ /**
1049
+ * Verifies a Breathing message.
1050
+ * @param message Plain object to verify
1051
+ * @returns `null` if valid, otherwise the reason why it is not
1052
+ */
1053
+ public static verify(message: { [k: string]: any }): (string|null);
1054
+
1055
+ /**
1056
+ * Creates a Breathing message from a plain object. Also converts values to their respective internal types.
1057
+ * @param object Plain object
1058
+ * @returns Breathing
1059
+ */
1060
+ public static fromObject(object: { [k: string]: any }): presage.smartspectra.Breathing;
1061
+
1062
+ /**
1063
+ * Creates a plain object from a Breathing message. Also converts values to other types if specified.
1064
+ * @param message Breathing
1065
+ * @param [options] Conversion options
1066
+ * @returns Plain object
1067
+ */
1068
+ public static toObject(message: presage.smartspectra.Breathing, options?: $protobuf.IConversionOptions): { [k: string]: any };
1069
+
1070
+ /**
1071
+ * Converts this Breathing to JSON.
1072
+ * @returns JSON object
1073
+ */
1074
+ public toJSON(): { [k: string]: any };
1075
+
1076
+ /**
1077
+ * Gets the default type url for Breathing
1078
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1079
+ * @returns The default type url
1080
+ */
1081
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1082
+ }
1083
+
1084
+ /** Properties of a Landmarks. */
1085
+ interface ILandmarks {
1086
+
1087
+ /** Array of 2D coordinate points representing facial landmarks */
1088
+ value?: (presage.smartspectra.IPoint2dFloat[]|null);
1089
+
1090
+ /** Whether the landmark detection is considered stable/reliable */
1091
+ stable?: (boolean|null);
1092
+
1093
+ /** Indicates whether the landmark set was reset (cannot be directly associated with previous set) */
1094
+ reset?: (boolean|null);
1095
+
1096
+ /** Absolute timestamp at which the landmarks were detected, in microseconds, since Linux epoch */
1097
+ timestamp?: (number|Long|null);
1098
+ }
1099
+
1100
+ /**
1101
+ * Facial landmark coordinates with temporal and stability information.
1102
+ * Used for face tracking and facial feature analysis.
1103
+ */
1104
+ class Landmarks implements ILandmarks {
1105
+
1106
+ /**
1107
+ * Constructs a new Landmarks.
1108
+ * @param [properties] Properties to set
1109
+ */
1110
+ constructor(properties?: presage.smartspectra.ILandmarks);
1111
+
1112
+ /** Array of 2D coordinate points representing facial landmarks */
1113
+ public value: presage.smartspectra.IPoint2dFloat[];
1114
+
1115
+ /** Whether the landmark detection is considered stable/reliable */
1116
+ public stable: boolean;
1117
+
1118
+ /** Indicates whether the landmark set was reset (cannot be directly associated with previous set) */
1119
+ public reset: boolean;
1120
+
1121
+ /** Absolute timestamp at which the landmarks were detected, in microseconds, since Linux epoch */
1122
+ public timestamp: (number|Long);
1123
+
1124
+ /**
1125
+ * Creates a new Landmarks instance using the specified properties.
1126
+ * @param [properties] Properties to set
1127
+ * @returns Landmarks instance
1128
+ */
1129
+ public static create(properties?: presage.smartspectra.ILandmarks): presage.smartspectra.Landmarks;
1130
+
1131
+ /**
1132
+ * Encodes the specified Landmarks message. Does not implicitly {@link presage.smartspectra.Landmarks.verify|verify} messages.
1133
+ * @param message Landmarks message or plain object to encode
1134
+ * @param [writer] Writer to encode to
1135
+ * @returns Writer
1136
+ */
1137
+ public static encode(message: presage.smartspectra.ILandmarks, writer?: $protobuf.Writer): $protobuf.Writer;
1138
+
1139
+ /**
1140
+ * Encodes the specified Landmarks message, length delimited. Does not implicitly {@link presage.smartspectra.Landmarks.verify|verify} messages.
1141
+ * @param message Landmarks message or plain object to encode
1142
+ * @param [writer] Writer to encode to
1143
+ * @returns Writer
1144
+ */
1145
+ public static encodeDelimited(message: presage.smartspectra.ILandmarks, writer?: $protobuf.Writer): $protobuf.Writer;
1146
+
1147
+ /**
1148
+ * Decodes a Landmarks message from the specified reader or buffer.
1149
+ * @param reader Reader or buffer to decode from
1150
+ * @param [length] Message length if known beforehand
1151
+ * @returns Landmarks
1152
+ * @throws {Error} If the payload is not a reader or valid buffer
1153
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1154
+ */
1155
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): presage.smartspectra.Landmarks;
1156
+
1157
+ /**
1158
+ * Decodes a Landmarks message from the specified reader or buffer, length delimited.
1159
+ * @param reader Reader or buffer to decode from
1160
+ * @returns Landmarks
1161
+ * @throws {Error} If the payload is not a reader or valid buffer
1162
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1163
+ */
1164
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): presage.smartspectra.Landmarks;
1165
+
1166
+ /**
1167
+ * Verifies a Landmarks message.
1168
+ * @param message Plain object to verify
1169
+ * @returns `null` if valid, otherwise the reason why it is not
1170
+ */
1171
+ public static verify(message: { [k: string]: any }): (string|null);
1172
+
1173
+ /**
1174
+ * Creates a Landmarks message from a plain object. Also converts values to their respective internal types.
1175
+ * @param object Plain object
1176
+ * @returns Landmarks
1177
+ */
1178
+ public static fromObject(object: { [k: string]: any }): presage.smartspectra.Landmarks;
1179
+
1180
+ /**
1181
+ * Creates a plain object from a Landmarks message. Also converts values to other types if specified.
1182
+ * @param message Landmarks
1183
+ * @param [options] Conversion options
1184
+ * @returns Plain object
1185
+ */
1186
+ public static toObject(message: presage.smartspectra.Landmarks, options?: $protobuf.IConversionOptions): { [k: string]: any };
1187
+
1188
+ /**
1189
+ * Converts this Landmarks to JSON.
1190
+ * @returns JSON object
1191
+ */
1192
+ public toJSON(): { [k: string]: any };
1193
+
1194
+ /**
1195
+ * Gets the default type url for Landmarks
1196
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1197
+ * @returns The default type url
1198
+ */
1199
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1200
+ }
1201
+
1202
+ /** Properties of a Face. */
1203
+ interface IFace {
1204
+
1205
+ /** Blinking detection status over time */
1206
+ blinking?: (presage.smartspectra.IDetectionStatus[]|null);
1207
+
1208
+ /** Talking/speech detection status over time */
1209
+ talking?: (presage.smartspectra.IDetectionStatus[]|null);
1210
+
1211
+ /** Facial landmark coordinates over time */
1212
+ landmarks?: (presage.smartspectra.ILandmarks[]|null);
1213
+
1214
+ /** Detected expressions over time */
1215
+ expression?: (presage.smartspectra.IExpression[]|null);
1216
+ }
1217
+
1218
+ /**
1219
+ * Comprehensive facial analysis measurements and detections.
1220
+ * Contains blinking, talking detection, landmarks, and expressions.
1221
+ */
1222
+ class Face implements IFace {
1223
+
1224
+ /**
1225
+ * Constructs a new Face.
1226
+ * @param [properties] Properties to set
1227
+ */
1228
+ constructor(properties?: presage.smartspectra.IFace);
1229
+
1230
+ /** Blinking detection status over time */
1231
+ public blinking: presage.smartspectra.IDetectionStatus[];
1232
+
1233
+ /** Talking/speech detection status over time */
1234
+ public talking: presage.smartspectra.IDetectionStatus[];
1235
+
1236
+ /** Facial landmark coordinates over time */
1237
+ public landmarks: presage.smartspectra.ILandmarks[];
1238
+
1239
+ /** Detected expressions over time */
1240
+ public expression: presage.smartspectra.IExpression[];
1241
+
1242
+ /**
1243
+ * Creates a new Face instance using the specified properties.
1244
+ * @param [properties] Properties to set
1245
+ * @returns Face instance
1246
+ */
1247
+ public static create(properties?: presage.smartspectra.IFace): presage.smartspectra.Face;
1248
+
1249
+ /**
1250
+ * Encodes the specified Face message. Does not implicitly {@link presage.smartspectra.Face.verify|verify} messages.
1251
+ * @param message Face message or plain object to encode
1252
+ * @param [writer] Writer to encode to
1253
+ * @returns Writer
1254
+ */
1255
+ public static encode(message: presage.smartspectra.IFace, writer?: $protobuf.Writer): $protobuf.Writer;
1256
+
1257
+ /**
1258
+ * Encodes the specified Face message, length delimited. Does not implicitly {@link presage.smartspectra.Face.verify|verify} messages.
1259
+ * @param message Face message or plain object to encode
1260
+ * @param [writer] Writer to encode to
1261
+ * @returns Writer
1262
+ */
1263
+ public static encodeDelimited(message: presage.smartspectra.IFace, writer?: $protobuf.Writer): $protobuf.Writer;
1264
+
1265
+ /**
1266
+ * Decodes a Face message from the specified reader or buffer.
1267
+ * @param reader Reader or buffer to decode from
1268
+ * @param [length] Message length if known beforehand
1269
+ * @returns Face
1270
+ * @throws {Error} If the payload is not a reader or valid buffer
1271
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1272
+ */
1273
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): presage.smartspectra.Face;
1274
+
1275
+ /**
1276
+ * Decodes a Face message from the specified reader or buffer, length delimited.
1277
+ * @param reader Reader or buffer to decode from
1278
+ * @returns Face
1279
+ * @throws {Error} If the payload is not a reader or valid buffer
1280
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1281
+ */
1282
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): presage.smartspectra.Face;
1283
+
1284
+ /**
1285
+ * Verifies a Face message.
1286
+ * @param message Plain object to verify
1287
+ * @returns `null` if valid, otherwise the reason why it is not
1288
+ */
1289
+ public static verify(message: { [k: string]: any }): (string|null);
1290
+
1291
+ /**
1292
+ * Creates a Face message from a plain object. Also converts values to their respective internal types.
1293
+ * @param object Plain object
1294
+ * @returns Face
1295
+ */
1296
+ public static fromObject(object: { [k: string]: any }): presage.smartspectra.Face;
1297
+
1298
+ /**
1299
+ * Creates a plain object from a Face message. Also converts values to other types if specified.
1300
+ * @param message Face
1301
+ * @param [options] Conversion options
1302
+ * @returns Plain object
1303
+ */
1304
+ public static toObject(message: presage.smartspectra.Face, options?: $protobuf.IConversionOptions): { [k: string]: any };
1305
+
1306
+ /**
1307
+ * Converts this Face to JSON.
1308
+ * @returns JSON object
1309
+ */
1310
+ public toJSON(): { [k: string]: any };
1311
+
1312
+ /**
1313
+ * Gets the default type url for Face
1314
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1315
+ * @returns The default type url
1316
+ */
1317
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1318
+ }
1319
+
1320
+ /** Properties of a MicroMotion. */
1321
+ interface IMicroMotion {
1322
+
1323
+ /** Micro-motion measurements in the glutes region */
1324
+ glutes?: (presage.smartspectra.IMeasurement[]|null);
1325
+
1326
+ /** Micro-motion measurements in the knees region */
1327
+ knees?: (presage.smartspectra.IMeasurement[]|null);
1328
+ }
1329
+
1330
+ /**
1331
+ * Micro-motion measurements for body movement analysis.
1332
+ * Tracks small movements in specific body regions.
1333
+ */
1334
+ class MicroMotion implements IMicroMotion {
1335
+
1336
+ /**
1337
+ * Constructs a new MicroMotion.
1338
+ * @param [properties] Properties to set
1339
+ */
1340
+ constructor(properties?: presage.smartspectra.IMicroMotion);
1341
+
1342
+ /** Micro-motion measurements in the glutes region */
1343
+ public glutes: presage.smartspectra.IMeasurement[];
1344
+
1345
+ /** Micro-motion measurements in the knees region */
1346
+ public knees: presage.smartspectra.IMeasurement[];
1347
+
1348
+ /**
1349
+ * Creates a new MicroMotion instance using the specified properties.
1350
+ * @param [properties] Properties to set
1351
+ * @returns MicroMotion instance
1352
+ */
1353
+ public static create(properties?: presage.smartspectra.IMicroMotion): presage.smartspectra.MicroMotion;
1354
+
1355
+ /**
1356
+ * Encodes the specified MicroMotion message. Does not implicitly {@link presage.smartspectra.MicroMotion.verify|verify} messages.
1357
+ * @param message MicroMotion message or plain object to encode
1358
+ * @param [writer] Writer to encode to
1359
+ * @returns Writer
1360
+ */
1361
+ public static encode(message: presage.smartspectra.IMicroMotion, writer?: $protobuf.Writer): $protobuf.Writer;
1362
+
1363
+ /**
1364
+ * Encodes the specified MicroMotion message, length delimited. Does not implicitly {@link presage.smartspectra.MicroMotion.verify|verify} messages.
1365
+ * @param message MicroMotion message or plain object to encode
1366
+ * @param [writer] Writer to encode to
1367
+ * @returns Writer
1368
+ */
1369
+ public static encodeDelimited(message: presage.smartspectra.IMicroMotion, writer?: $protobuf.Writer): $protobuf.Writer;
1370
+
1371
+ /**
1372
+ * Decodes a MicroMotion message from the specified reader or buffer.
1373
+ * @param reader Reader or buffer to decode from
1374
+ * @param [length] Message length if known beforehand
1375
+ * @returns MicroMotion
1376
+ * @throws {Error} If the payload is not a reader or valid buffer
1377
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1378
+ */
1379
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): presage.smartspectra.MicroMotion;
1380
+
1381
+ /**
1382
+ * Decodes a MicroMotion message from the specified reader or buffer, length delimited.
1383
+ * @param reader Reader or buffer to decode from
1384
+ * @returns MicroMotion
1385
+ * @throws {Error} If the payload is not a reader or valid buffer
1386
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1387
+ */
1388
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): presage.smartspectra.MicroMotion;
1389
+
1390
+ /**
1391
+ * Verifies a MicroMotion message.
1392
+ * @param message Plain object to verify
1393
+ * @returns `null` if valid, otherwise the reason why it is not
1394
+ */
1395
+ public static verify(message: { [k: string]: any }): (string|null);
1396
+
1397
+ /**
1398
+ * Creates a MicroMotion message from a plain object. Also converts values to their respective internal types.
1399
+ * @param object Plain object
1400
+ * @returns MicroMotion
1401
+ */
1402
+ public static fromObject(object: { [k: string]: any }): presage.smartspectra.MicroMotion;
1403
+
1404
+ /**
1405
+ * Creates a plain object from a MicroMotion message. Also converts values to other types if specified.
1406
+ * @param message MicroMotion
1407
+ * @param [options] Conversion options
1408
+ * @returns Plain object
1409
+ */
1410
+ public static toObject(message: presage.smartspectra.MicroMotion, options?: $protobuf.IConversionOptions): { [k: string]: any };
1411
+
1412
+ /**
1413
+ * Converts this MicroMotion to JSON.
1414
+ * @returns JSON object
1415
+ */
1416
+ public toJSON(): { [k: string]: any };
1417
+
1418
+ /**
1419
+ * Gets the default type url for MicroMotion
1420
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1421
+ * @returns The default type url
1422
+ */
1423
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1424
+ }
1425
+
1426
+ /** Properties of an Eda. */
1427
+ interface IEda {
1428
+
1429
+ /** EDA trace measurements over time */
1430
+ trace?: (presage.smartspectra.IMeasurement[]|null);
1431
+ }
1432
+
1433
+ /**
1434
+ * Electrodermal Activity (EDA) measurements.
1435
+ * Tracks skin conductance changes related to autonomic nervous system activity.
1436
+ */
1437
+ class Eda implements IEda {
1438
+
1439
+ /**
1440
+ * Constructs a new Eda.
1441
+ * @param [properties] Properties to set
1442
+ */
1443
+ constructor(properties?: presage.smartspectra.IEda);
1444
+
1445
+ /** EDA trace measurements over time */
1446
+ public trace: presage.smartspectra.IMeasurement[];
1447
+
1448
+ /**
1449
+ * Creates a new Eda instance using the specified properties.
1450
+ * @param [properties] Properties to set
1451
+ * @returns Eda instance
1452
+ */
1453
+ public static create(properties?: presage.smartspectra.IEda): presage.smartspectra.Eda;
1454
+
1455
+ /**
1456
+ * Encodes the specified Eda message. Does not implicitly {@link presage.smartspectra.Eda.verify|verify} messages.
1457
+ * @param message Eda message or plain object to encode
1458
+ * @param [writer] Writer to encode to
1459
+ * @returns Writer
1460
+ */
1461
+ public static encode(message: presage.smartspectra.IEda, writer?: $protobuf.Writer): $protobuf.Writer;
1462
+
1463
+ /**
1464
+ * Encodes the specified Eda message, length delimited. Does not implicitly {@link presage.smartspectra.Eda.verify|verify} messages.
1465
+ * @param message Eda message or plain object to encode
1466
+ * @param [writer] Writer to encode to
1467
+ * @returns Writer
1468
+ */
1469
+ public static encodeDelimited(message: presage.smartspectra.IEda, writer?: $protobuf.Writer): $protobuf.Writer;
1470
+
1471
+ /**
1472
+ * Decodes an Eda message from the specified reader or buffer.
1473
+ * @param reader Reader or buffer to decode from
1474
+ * @param [length] Message length if known beforehand
1475
+ * @returns Eda
1476
+ * @throws {Error} If the payload is not a reader or valid buffer
1477
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1478
+ */
1479
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): presage.smartspectra.Eda;
1480
+
1481
+ /**
1482
+ * Decodes an Eda message from the specified reader or buffer, length delimited.
1483
+ * @param reader Reader or buffer to decode from
1484
+ * @returns Eda
1485
+ * @throws {Error} If the payload is not a reader or valid buffer
1486
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1487
+ */
1488
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): presage.smartspectra.Eda;
1489
+
1490
+ /**
1491
+ * Verifies an Eda message.
1492
+ * @param message Plain object to verify
1493
+ * @returns `null` if valid, otherwise the reason why it is not
1494
+ */
1495
+ public static verify(message: { [k: string]: any }): (string|null);
1496
+
1497
+ /**
1498
+ * Creates an Eda message from a plain object. Also converts values to their respective internal types.
1499
+ * @param object Plain object
1500
+ * @returns Eda
1501
+ */
1502
+ public static fromObject(object: { [k: string]: any }): presage.smartspectra.Eda;
1503
+
1504
+ /**
1505
+ * Creates a plain object from an Eda message. Also converts values to other types if specified.
1506
+ * @param message Eda
1507
+ * @param [options] Conversion options
1508
+ * @returns Plain object
1509
+ */
1510
+ public static toObject(message: presage.smartspectra.Eda, options?: $protobuf.IConversionOptions): { [k: string]: any };
1511
+
1512
+ /**
1513
+ * Converts this Eda to JSON.
1514
+ * @returns JSON object
1515
+ */
1516
+ public toJSON(): { [k: string]: any };
1517
+
1518
+ /**
1519
+ * Gets the default type url for Eda
1520
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1521
+ * @returns The default type url
1522
+ */
1523
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1524
+ }
1525
+
1526
+ /** Properties of a Cardio. */
1527
+ interface ICardio {
1528
+
1529
+ /** Heart rate measurements with confidence scores */
1530
+ pulseRate?: (presage.smartspectra.IMeasurementWithConfidence[]|null);
1531
+
1532
+ /** Arterial pressure trace (uncalibrated, unitless) measurements with confidence scores */
1533
+ arterialPressureTrace?: (presage.smartspectra.IMeasurementWithConfidence[]|null);
1534
+
1535
+ /** Heart rate variability measurements with confidence scores */
1536
+ hrv?: (presage.smartspectra.IHrv[]|null);
1537
+ }
1538
+
1539
+ /** Represents a Cardio. */
1540
+ class Cardio implements ICardio {
1541
+
1542
+ /**
1543
+ * Constructs a new Cardio.
1544
+ * @param [properties] Properties to set
1545
+ */
1546
+ constructor(properties?: presage.smartspectra.ICardio);
1547
+
1548
+ /** Heart rate measurements with confidence scores */
1549
+ public pulseRate: presage.smartspectra.IMeasurementWithConfidence[];
1550
+
1551
+ /** Arterial pressure trace (uncalibrated, unitless) measurements with confidence scores */
1552
+ public arterialPressureTrace: presage.smartspectra.IMeasurementWithConfidence[];
1553
+
1554
+ /** Heart rate variability measurements with confidence scores */
1555
+ public hrv: presage.smartspectra.IHrv[];
1556
+
1557
+ /**
1558
+ * Creates a new Cardio instance using the specified properties.
1559
+ * @param [properties] Properties to set
1560
+ * @returns Cardio instance
1561
+ */
1562
+ public static create(properties?: presage.smartspectra.ICardio): presage.smartspectra.Cardio;
1563
+
1564
+ /**
1565
+ * Encodes the specified Cardio message. Does not implicitly {@link presage.smartspectra.Cardio.verify|verify} messages.
1566
+ * @param message Cardio message or plain object to encode
1567
+ * @param [writer] Writer to encode to
1568
+ * @returns Writer
1569
+ */
1570
+ public static encode(message: presage.smartspectra.ICardio, writer?: $protobuf.Writer): $protobuf.Writer;
1571
+
1572
+ /**
1573
+ * Encodes the specified Cardio message, length delimited. Does not implicitly {@link presage.smartspectra.Cardio.verify|verify} messages.
1574
+ * @param message Cardio message or plain object to encode
1575
+ * @param [writer] Writer to encode to
1576
+ * @returns Writer
1577
+ */
1578
+ public static encodeDelimited(message: presage.smartspectra.ICardio, writer?: $protobuf.Writer): $protobuf.Writer;
1579
+
1580
+ /**
1581
+ * Decodes a Cardio message from the specified reader or buffer.
1582
+ * @param reader Reader or buffer to decode from
1583
+ * @param [length] Message length if known beforehand
1584
+ * @returns Cardio
1585
+ * @throws {Error} If the payload is not a reader or valid buffer
1586
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1587
+ */
1588
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): presage.smartspectra.Cardio;
1589
+
1590
+ /**
1591
+ * Decodes a Cardio message from the specified reader or buffer, length delimited.
1592
+ * @param reader Reader or buffer to decode from
1593
+ * @returns Cardio
1594
+ * @throws {Error} If the payload is not a reader or valid buffer
1595
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1596
+ */
1597
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): presage.smartspectra.Cardio;
1598
+
1599
+ /**
1600
+ * Verifies a Cardio message.
1601
+ * @param message Plain object to verify
1602
+ * @returns `null` if valid, otherwise the reason why it is not
1603
+ */
1604
+ public static verify(message: { [k: string]: any }): (string|null);
1605
+
1606
+ /**
1607
+ * Creates a Cardio message from a plain object. Also converts values to their respective internal types.
1608
+ * @param object Plain object
1609
+ * @returns Cardio
1610
+ */
1611
+ public static fromObject(object: { [k: string]: any }): presage.smartspectra.Cardio;
1612
+
1613
+ /**
1614
+ * Creates a plain object from a Cardio message. Also converts values to other types if specified.
1615
+ * @param message Cardio
1616
+ * @param [options] Conversion options
1617
+ * @returns Plain object
1618
+ */
1619
+ public static toObject(message: presage.smartspectra.Cardio, options?: $protobuf.IConversionOptions): { [k: string]: any };
1620
+
1621
+ /**
1622
+ * Converts this Cardio to JSON.
1623
+ * @returns JSON object
1624
+ */
1625
+ public toJSON(): { [k: string]: any };
1626
+
1627
+ /**
1628
+ * Gets the default type url for Cardio
1629
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1630
+ * @returns The default type url
1631
+ */
1632
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1633
+ }
1634
+
1635
+ /** Properties of a Metrics. */
1636
+ interface IMetrics {
1637
+
1638
+ /** Breathing and respiratory analysis results */
1639
+ breathing?: (presage.smartspectra.IBreathing|null);
1640
+
1641
+ /** Micro-motion analysis results */
1642
+ micromotion?: (presage.smartspectra.IMicroMotion|null);
1643
+
1644
+ /** Electrodermal activity measurements. Note: processing needs to run for over 35 seconds to generate the first EDA result. */
1645
+ eda?: (presage.smartspectra.IEda|null);
1646
+
1647
+ /** Facial analysis results */
1648
+ face?: (presage.smartspectra.IFace|null);
1649
+
1650
+ /** Cardiovascular measurements (pulse rate, arterial pressure, HRV) */
1651
+ cardio?: (presage.smartspectra.ICardio|null);
1652
+ }
1653
+
1654
+ /**
1655
+ * Comprehensive physiological metrics container.
1656
+ * Contains all available physiological measurements and analysis results.
1657
+ */
1658
+ class Metrics implements IMetrics {
1659
+
1660
+ /**
1661
+ * Constructs a new Metrics.
1662
+ * @param [properties] Properties to set
1663
+ */
1664
+ constructor(properties?: presage.smartspectra.IMetrics);
1665
+
1666
+ /** Breathing and respiratory analysis results */
1667
+ public breathing?: (presage.smartspectra.IBreathing|null);
1668
+
1669
+ /** Micro-motion analysis results */
1670
+ public micromotion?: (presage.smartspectra.IMicroMotion|null);
1671
+
1672
+ /** Electrodermal activity measurements. Note: processing needs to run for over 35 seconds to generate the first EDA result. */
1673
+ public eda?: (presage.smartspectra.IEda|null);
1674
+
1675
+ /** Facial analysis results */
1676
+ public face?: (presage.smartspectra.IFace|null);
1677
+
1678
+ /** Cardiovascular measurements (pulse rate, arterial pressure, HRV) */
1679
+ public cardio?: (presage.smartspectra.ICardio|null);
1680
+
1681
+ /**
1682
+ * Creates a new Metrics instance using the specified properties.
1683
+ * @param [properties] Properties to set
1684
+ * @returns Metrics instance
1685
+ */
1686
+ public static create(properties?: presage.smartspectra.IMetrics): presage.smartspectra.Metrics;
1687
+
1688
+ /**
1689
+ * Encodes the specified Metrics message. Does not implicitly {@link presage.smartspectra.Metrics.verify|verify} messages.
1690
+ * @param message Metrics message or plain object to encode
1691
+ * @param [writer] Writer to encode to
1692
+ * @returns Writer
1693
+ */
1694
+ public static encode(message: presage.smartspectra.IMetrics, writer?: $protobuf.Writer): $protobuf.Writer;
1695
+
1696
+ /**
1697
+ * Encodes the specified Metrics message, length delimited. Does not implicitly {@link presage.smartspectra.Metrics.verify|verify} messages.
1698
+ * @param message Metrics message or plain object to encode
1699
+ * @param [writer] Writer to encode to
1700
+ * @returns Writer
1701
+ */
1702
+ public static encodeDelimited(message: presage.smartspectra.IMetrics, writer?: $protobuf.Writer): $protobuf.Writer;
1703
+
1704
+ /**
1705
+ * Decodes a Metrics message from the specified reader or buffer.
1706
+ * @param reader Reader or buffer to decode from
1707
+ * @param [length] Message length if known beforehand
1708
+ * @returns Metrics
1709
+ * @throws {Error} If the payload is not a reader or valid buffer
1710
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1711
+ */
1712
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): presage.smartspectra.Metrics;
1713
+
1714
+ /**
1715
+ * Decodes a Metrics message from the specified reader or buffer, length delimited.
1716
+ * @param reader Reader or buffer to decode from
1717
+ * @returns Metrics
1718
+ * @throws {Error} If the payload is not a reader or valid buffer
1719
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1720
+ */
1721
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): presage.smartspectra.Metrics;
1722
+
1723
+ /**
1724
+ * Verifies a Metrics message.
1725
+ * @param message Plain object to verify
1726
+ * @returns `null` if valid, otherwise the reason why it is not
1727
+ */
1728
+ public static verify(message: { [k: string]: any }): (string|null);
1729
+
1730
+ /**
1731
+ * Creates a Metrics message from a plain object. Also converts values to their respective internal types.
1732
+ * @param object Plain object
1733
+ * @returns Metrics
1734
+ */
1735
+ public static fromObject(object: { [k: string]: any }): presage.smartspectra.Metrics;
1736
+
1737
+ /**
1738
+ * Creates a plain object from a Metrics message. Also converts values to other types if specified.
1739
+ * @param message Metrics
1740
+ * @param [options] Conversion options
1741
+ * @returns Plain object
1742
+ */
1743
+ public static toObject(message: presage.smartspectra.Metrics, options?: $protobuf.IConversionOptions): { [k: string]: any };
1744
+
1745
+ /**
1746
+ * Converts this Metrics to JSON.
1747
+ * @returns JSON object
1748
+ */
1749
+ public toJSON(): { [k: string]: any };
1750
+
1751
+ /**
1752
+ * Gets the default type url for Metrics
1753
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1754
+ * @returns The default type url
1755
+ */
1756
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1757
+ }
1758
+
1759
+ /** Properties of a Point2dInt32. */
1760
+ interface IPoint2dInt32 {
1761
+
1762
+ /** X coordinate as 32-bit signed integer */
1763
+ x?: (number|null);
1764
+
1765
+ /** Y coordinate as 32-bit signed integer */
1766
+ y?: (number|null);
1767
+ }
1768
+
1769
+ /**
1770
+ * Represents a 2D point with integer coordinates.
1771
+ * Used for pixel-based coordinate systems and discrete positioning.
1772
+ */
1773
+ class Point2dInt32 implements IPoint2dInt32 {
1774
+
1775
+ /**
1776
+ * Constructs a new Point2dInt32.
1777
+ * @param [properties] Properties to set
1778
+ */
1779
+ constructor(properties?: presage.smartspectra.IPoint2dInt32);
1780
+
1781
+ /** X coordinate as 32-bit signed integer */
1782
+ public x: number;
1783
+
1784
+ /** Y coordinate as 32-bit signed integer */
1785
+ public y: number;
1786
+
1787
+ /**
1788
+ * Creates a new Point2dInt32 instance using the specified properties.
1789
+ * @param [properties] Properties to set
1790
+ * @returns Point2dInt32 instance
1791
+ */
1792
+ public static create(properties?: presage.smartspectra.IPoint2dInt32): presage.smartspectra.Point2dInt32;
1793
+
1794
+ /**
1795
+ * Encodes the specified Point2dInt32 message. Does not implicitly {@link presage.smartspectra.Point2dInt32.verify|verify} messages.
1796
+ * @param message Point2dInt32 message or plain object to encode
1797
+ * @param [writer] Writer to encode to
1798
+ * @returns Writer
1799
+ */
1800
+ public static encode(message: presage.smartspectra.IPoint2dInt32, writer?: $protobuf.Writer): $protobuf.Writer;
1801
+
1802
+ /**
1803
+ * Encodes the specified Point2dInt32 message, length delimited. Does not implicitly {@link presage.smartspectra.Point2dInt32.verify|verify} messages.
1804
+ * @param message Point2dInt32 message or plain object to encode
1805
+ * @param [writer] Writer to encode to
1806
+ * @returns Writer
1807
+ */
1808
+ public static encodeDelimited(message: presage.smartspectra.IPoint2dInt32, writer?: $protobuf.Writer): $protobuf.Writer;
1809
+
1810
+ /**
1811
+ * Decodes a Point2dInt32 message from the specified reader or buffer.
1812
+ * @param reader Reader or buffer to decode from
1813
+ * @param [length] Message length if known beforehand
1814
+ * @returns Point2dInt32
1815
+ * @throws {Error} If the payload is not a reader or valid buffer
1816
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1817
+ */
1818
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): presage.smartspectra.Point2dInt32;
1819
+
1820
+ /**
1821
+ * Decodes a Point2dInt32 message from the specified reader or buffer, length delimited.
1822
+ * @param reader Reader or buffer to decode from
1823
+ * @returns Point2dInt32
1824
+ * @throws {Error} If the payload is not a reader or valid buffer
1825
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1826
+ */
1827
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): presage.smartspectra.Point2dInt32;
1828
+
1829
+ /**
1830
+ * Verifies a Point2dInt32 message.
1831
+ * @param message Plain object to verify
1832
+ * @returns `null` if valid, otherwise the reason why it is not
1833
+ */
1834
+ public static verify(message: { [k: string]: any }): (string|null);
1835
+
1836
+ /**
1837
+ * Creates a Point2dInt32 message from a plain object. Also converts values to their respective internal types.
1838
+ * @param object Plain object
1839
+ * @returns Point2dInt32
1840
+ */
1841
+ public static fromObject(object: { [k: string]: any }): presage.smartspectra.Point2dInt32;
1842
+
1843
+ /**
1844
+ * Creates a plain object from a Point2dInt32 message. Also converts values to other types if specified.
1845
+ * @param message Point2dInt32
1846
+ * @param [options] Conversion options
1847
+ * @returns Plain object
1848
+ */
1849
+ public static toObject(message: presage.smartspectra.Point2dInt32, options?: $protobuf.IConversionOptions): { [k: string]: any };
1850
+
1851
+ /**
1852
+ * Converts this Point2dInt32 to JSON.
1853
+ * @returns JSON object
1854
+ */
1855
+ public toJSON(): { [k: string]: any };
1856
+
1857
+ /**
1858
+ * Gets the default type url for Point2dInt32
1859
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1860
+ * @returns The default type url
1861
+ */
1862
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1863
+ }
1864
+
1865
+ /** Properties of a Point2dFloat. */
1866
+ interface IPoint2dFloat {
1867
+
1868
+ /** X coordinate as floating-point value */
1869
+ x?: (number|null);
1870
+
1871
+ /** Y coordinate as floating-point value */
1872
+ y?: (number|null);
1873
+ }
1874
+
1875
+ /**
1876
+ * Represents a 2D point with floating-point coordinates.
1877
+ * Used for precise positioning, normalized coordinates, and sub-pixel accuracy.
1878
+ */
1879
+ class Point2dFloat implements IPoint2dFloat {
1880
+
1881
+ /**
1882
+ * Constructs a new Point2dFloat.
1883
+ * @param [properties] Properties to set
1884
+ */
1885
+ constructor(properties?: presage.smartspectra.IPoint2dFloat);
1886
+
1887
+ /** X coordinate as floating-point value */
1888
+ public x: number;
1889
+
1890
+ /** Y coordinate as floating-point value */
1891
+ public y: number;
1892
+
1893
+ /**
1894
+ * Creates a new Point2dFloat instance using the specified properties.
1895
+ * @param [properties] Properties to set
1896
+ * @returns Point2dFloat instance
1897
+ */
1898
+ public static create(properties?: presage.smartspectra.IPoint2dFloat): presage.smartspectra.Point2dFloat;
1899
+
1900
+ /**
1901
+ * Encodes the specified Point2dFloat message. Does not implicitly {@link presage.smartspectra.Point2dFloat.verify|verify} messages.
1902
+ * @param message Point2dFloat message or plain object to encode
1903
+ * @param [writer] Writer to encode to
1904
+ * @returns Writer
1905
+ */
1906
+ public static encode(message: presage.smartspectra.IPoint2dFloat, writer?: $protobuf.Writer): $protobuf.Writer;
1907
+
1908
+ /**
1909
+ * Encodes the specified Point2dFloat message, length delimited. Does not implicitly {@link presage.smartspectra.Point2dFloat.verify|verify} messages.
1910
+ * @param message Point2dFloat message or plain object to encode
1911
+ * @param [writer] Writer to encode to
1912
+ * @returns Writer
1913
+ */
1914
+ public static encodeDelimited(message: presage.smartspectra.IPoint2dFloat, writer?: $protobuf.Writer): $protobuf.Writer;
1915
+
1916
+ /**
1917
+ * Decodes a Point2dFloat message from the specified reader or buffer.
1918
+ * @param reader Reader or buffer to decode from
1919
+ * @param [length] Message length if known beforehand
1920
+ * @returns Point2dFloat
1921
+ * @throws {Error} If the payload is not a reader or valid buffer
1922
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1923
+ */
1924
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): presage.smartspectra.Point2dFloat;
1925
+
1926
+ /**
1927
+ * Decodes a Point2dFloat message from the specified reader or buffer, length delimited.
1928
+ * @param reader Reader or buffer to decode from
1929
+ * @returns Point2dFloat
1930
+ * @throws {Error} If the payload is not a reader or valid buffer
1931
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1932
+ */
1933
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): presage.smartspectra.Point2dFloat;
1934
+
1935
+ /**
1936
+ * Verifies a Point2dFloat message.
1937
+ * @param message Plain object to verify
1938
+ * @returns `null` if valid, otherwise the reason why it is not
1939
+ */
1940
+ public static verify(message: { [k: string]: any }): (string|null);
1941
+
1942
+ /**
1943
+ * Creates a Point2dFloat message from a plain object. Also converts values to their respective internal types.
1944
+ * @param object Plain object
1945
+ * @returns Point2dFloat
1946
+ */
1947
+ public static fromObject(object: { [k: string]: any }): presage.smartspectra.Point2dFloat;
1948
+
1949
+ /**
1950
+ * Creates a plain object from a Point2dFloat message. Also converts values to other types if specified.
1951
+ * @param message Point2dFloat
1952
+ * @param [options] Conversion options
1953
+ * @returns Plain object
1954
+ */
1955
+ public static toObject(message: presage.smartspectra.Point2dFloat, options?: $protobuf.IConversionOptions): { [k: string]: any };
1956
+
1957
+ /**
1958
+ * Converts this Point2dFloat to JSON.
1959
+ * @returns JSON object
1960
+ */
1961
+ public toJSON(): { [k: string]: any };
1962
+
1963
+ /**
1964
+ * Gets the default type url for Point2dFloat
1965
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1966
+ * @returns The default type url
1967
+ */
1968
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1969
+ }
1970
+
1971
+ /** Properties of a Point3dFloat. */
1972
+ interface IPoint3dFloat {
1973
+
1974
+ /** X coordinate as floating-point value */
1975
+ x?: (number|null);
1976
+
1977
+ /** Y coordinate as floating-point value */
1978
+ y?: (number|null);
1979
+
1980
+ /** Z coordinate (depth) as floating-point value */
1981
+ z?: (number|null);
1982
+ }
1983
+
1984
+ /**
1985
+ * Represents a 3D point with floating-point coordinates.
1986
+ * Used for spatial positioning, depth information, and 3D landmark representation.
1987
+ */
1988
+ class Point3dFloat implements IPoint3dFloat {
1989
+
1990
+ /**
1991
+ * Constructs a new Point3dFloat.
1992
+ * @param [properties] Properties to set
1993
+ */
1994
+ constructor(properties?: presage.smartspectra.IPoint3dFloat);
1995
+
1996
+ /** X coordinate as floating-point value */
1997
+ public x: number;
1998
+
1999
+ /** Y coordinate as floating-point value */
2000
+ public y: number;
2001
+
2002
+ /** Z coordinate (depth) as floating-point value */
2003
+ public z: number;
2004
+
2005
+ /**
2006
+ * Creates a new Point3dFloat instance using the specified properties.
2007
+ * @param [properties] Properties to set
2008
+ * @returns Point3dFloat instance
2009
+ */
2010
+ public static create(properties?: presage.smartspectra.IPoint3dFloat): presage.smartspectra.Point3dFloat;
2011
+
2012
+ /**
2013
+ * Encodes the specified Point3dFloat message. Does not implicitly {@link presage.smartspectra.Point3dFloat.verify|verify} messages.
2014
+ * @param message Point3dFloat message or plain object to encode
2015
+ * @param [writer] Writer to encode to
2016
+ * @returns Writer
2017
+ */
2018
+ public static encode(message: presage.smartspectra.IPoint3dFloat, writer?: $protobuf.Writer): $protobuf.Writer;
2019
+
2020
+ /**
2021
+ * Encodes the specified Point3dFloat message, length delimited. Does not implicitly {@link presage.smartspectra.Point3dFloat.verify|verify} messages.
2022
+ * @param message Point3dFloat message or plain object to encode
2023
+ * @param [writer] Writer to encode to
2024
+ * @returns Writer
2025
+ */
2026
+ public static encodeDelimited(message: presage.smartspectra.IPoint3dFloat, writer?: $protobuf.Writer): $protobuf.Writer;
2027
+
2028
+ /**
2029
+ * Decodes a Point3dFloat message from the specified reader or buffer.
2030
+ * @param reader Reader or buffer to decode from
2031
+ * @param [length] Message length if known beforehand
2032
+ * @returns Point3dFloat
2033
+ * @throws {Error} If the payload is not a reader or valid buffer
2034
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2035
+ */
2036
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): presage.smartspectra.Point3dFloat;
2037
+
2038
+ /**
2039
+ * Decodes a Point3dFloat message from the specified reader or buffer, length delimited.
2040
+ * @param reader Reader or buffer to decode from
2041
+ * @returns Point3dFloat
2042
+ * @throws {Error} If the payload is not a reader or valid buffer
2043
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2044
+ */
2045
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): presage.smartspectra.Point3dFloat;
2046
+
2047
+ /**
2048
+ * Verifies a Point3dFloat message.
2049
+ * @param message Plain object to verify
2050
+ * @returns `null` if valid, otherwise the reason why it is not
2051
+ */
2052
+ public static verify(message: { [k: string]: any }): (string|null);
2053
+
2054
+ /**
2055
+ * Creates a Point3dFloat message from a plain object. Also converts values to their respective internal types.
2056
+ * @param object Plain object
2057
+ * @returns Point3dFloat
2058
+ */
2059
+ public static fromObject(object: { [k: string]: any }): presage.smartspectra.Point3dFloat;
2060
+
2061
+ /**
2062
+ * Creates a plain object from a Point3dFloat message. Also converts values to other types if specified.
2063
+ * @param message Point3dFloat
2064
+ * @param [options] Conversion options
2065
+ * @returns Plain object
2066
+ */
2067
+ public static toObject(message: presage.smartspectra.Point3dFloat, options?: $protobuf.IConversionOptions): { [k: string]: any };
2068
+
2069
+ /**
2070
+ * Converts this Point3dFloat to JSON.
2071
+ * @returns JSON object
2072
+ */
2073
+ public toJSON(): { [k: string]: any };
2074
+
2075
+ /**
2076
+ * Gets the default type url for Point3dFloat
2077
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2078
+ * @returns The default type url
2079
+ */
2080
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2081
+ }
2082
+ }
2083
+ }