@blueyerobotics/protocol-definitions 3.2.0-8a0f8e61 → 3.2.0-8d23aa95

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.
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
7
  if (k2 === undefined) k2 = k;
@@ -154,6 +154,22 @@ export declare enum NotificationLevel {
154
154
  }
155
155
  export declare function notificationLevelFromJSON(object: any): NotificationLevel;
156
156
  export declare function notificationLevelToJSON(object: NotificationLevel): string;
157
+ /**
158
+ * Storage location.
159
+ *
160
+ * Used to specify which storage location to use for recording photos and videos.
161
+ */
162
+ export declare enum StorageLocation {
163
+ /** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
164
+ STORAGE_LOCATION_UNSPECIFIED = 0,
165
+ /** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
166
+ STORAGE_LOCATION_INTERNAL = 1,
167
+ /** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
168
+ STORAGE_LOCATION_REMOVABLE = 2,
169
+ UNRECOGNIZED = -1
170
+ }
171
+ export declare function storageLocationFromJSON(object: any): StorageLocation;
172
+ export declare function storageLocationToJSON(object: StorageLocation): string;
157
173
  /** Drone models produced by Blueye. */
158
174
  export declare enum Model {
159
175
  /** MODEL_UNSPECIFIED - ModelName not specified. */
@@ -194,11 +210,13 @@ export declare function pressureSensorTypeToJSON(object: PressureSensorType): st
194
210
  export declare enum Resolution {
195
211
  /** RESOLUTION_UNSPECIFIED - Resolution not specified. */
196
212
  RESOLUTION_UNSPECIFIED = 0,
197
- /** RESOLUTION_FULLHD_1080P - 1080p Full HD resolution. */
198
- RESOLUTION_FULLHD_1080P = 1,
199
- /** RESOLUTION_HD_720P - 720p HD resolution. */
213
+ /** RESOLUTION_VGA_480P - VGA (640x480). */
214
+ RESOLUTION_VGA_480P = 4,
215
+ /** RESOLUTION_HD_720P - 720p HD (1280x720). */
200
216
  RESOLUTION_HD_720P = 2,
201
- /** RESOLUTION_UHD_4K - 4K Ultra HD resolution. */
217
+ /** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
218
+ RESOLUTION_FULLHD_1080P = 1,
219
+ /** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
202
220
  RESOLUTION_UHD_4K = 3,
203
221
  UNRECOGNIZED = -1
204
222
  }
@@ -210,7 +228,7 @@ export declare enum Framerate {
210
228
  FRAMERATE_UNSPECIFIED = 0,
211
229
  /** FRAMERATE_FPS_30 - 30 frames per second. */
212
230
  FRAMERATE_FPS_30 = 1,
213
- /** FRAMERATE_FPS_25 - 25 frames per second. */
231
+ /** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
214
232
  FRAMERATE_FPS_25 = 2,
215
233
  UNRECOGNIZED = -1
216
234
  }
@@ -228,6 +246,17 @@ export declare enum Camera {
228
246
  }
229
247
  export declare function cameraFromJSON(object: any): Camera;
230
248
  export declare function cameraToJSON(object: Camera): string;
249
+ export declare enum StreamingProtocol {
250
+ /** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
251
+ STREAMING_PROTOCOL_UNSPECIFIED = 0,
252
+ /** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
253
+ STREAMING_PROTOCOL_RTSP_H264 = 1,
254
+ /** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
255
+ STREAMING_PROTOCOL_RTSP_MJPEG = 2,
256
+ UNRECOGNIZED = -1
257
+ }
258
+ export declare function streamingProtocolFromJSON(object: any): StreamingProtocol;
259
+ export declare function streamingProtocolToJSON(object: StreamingProtocol): string;
231
260
  /** Available temperature units. */
232
261
  export declare enum TemperatureUnit {
233
262
  /** TEMPERATURE_UNIT_UNSPECIFIED - Temperature unit not specified. */
@@ -390,6 +419,12 @@ export declare enum GuestPortDeviceID {
390
419
  GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15 = 43,
391
420
  /** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
392
421
  GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 = 44,
422
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
423
+ GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE = 45,
424
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
425
+ GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 = 46,
426
+ /** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
427
+ GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT = 47,
393
428
  UNRECOGNIZED = -1
394
429
  }
395
430
  export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
@@ -491,6 +526,89 @@ export interface BinlogRecord {
491
526
  /** Posix CLOCK_MONOTONIC timestamp. */
492
527
  clockMonotonic: Date | undefined;
493
528
  }
529
+ /**
530
+ * Log entry
531
+ *
532
+ * Used to store ROS log entries in the bez file
533
+ */
534
+ export interface LogEntry {
535
+ /** Timestamp of the log entry. */
536
+ timestamp: Date | undefined;
537
+ /** Name of the process that generated the log entry. */
538
+ processName: string;
539
+ /** Process ID of the log entry. */
540
+ processId: number;
541
+ /** Thread ID of the log entry. */
542
+ threadId: number;
543
+ /** Source of the log entry (specific class or named logger). */
544
+ source: string;
545
+ /** Log level, info, warning, error, etc. */
546
+ level: LogEntry_LogLevel;
547
+ /** Log message. */
548
+ message: string;
549
+ }
550
+ export declare enum LogEntry_LogLevel {
551
+ /** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
552
+ LOG_LEVEL_UNSPECIFIED = 0,
553
+ /** LOG_LEVEL_TRACE - Trace log level. */
554
+ LOG_LEVEL_TRACE = 1,
555
+ /** LOG_LEVEL_DEBUG - Debug log level. */
556
+ LOG_LEVEL_DEBUG = 2,
557
+ /** LOG_LEVEL_INFO - Info log level. */
558
+ LOG_LEVEL_INFO = 3,
559
+ /** LOG_LEVEL_WARNING - Warning log level. */
560
+ LOG_LEVEL_WARNING = 4,
561
+ /** LOG_LEVEL_ERROR - Error log level. */
562
+ LOG_LEVEL_ERROR = 5,
563
+ /** LOG_LEVEL_CRITICAL - Critical log level. */
564
+ LOG_LEVEL_CRITICAL = 6,
565
+ UNRECOGNIZED = -1
566
+ }
567
+ export declare function logEntry_LogLevelFromJSON(object: any): LogEntry_LogLevel;
568
+ export declare function logEntry_LogLevelToJSON(object: LogEntry_LogLevel): string;
569
+ export interface KernelLogEntry {
570
+ /** Log level, info, warning, error, etc. */
571
+ level: KernelLogEntry_KernelLogLevel;
572
+ /** Sequence number of the log entry. */
573
+ seqnum: number;
574
+ /** Timestamp of the log entry. */
575
+ timestamp: Date | undefined;
576
+ /** Log messages. */
577
+ messages: string[];
578
+ /** List of key-value pairs. */
579
+ fields: KernelLogEntry_KeyValuePair[];
580
+ }
581
+ /** Kernel log level. */
582
+ export declare enum KernelLogEntry_KernelLogLevel {
583
+ /** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
584
+ KERNEL_LOG_LEVEL_UNSPECIFIED = 0,
585
+ /** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
586
+ KERNEL_LOG_LEVEL_EMERG = 1,
587
+ /** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
588
+ KERNEL_LOG_LEVEL_ALERT = 2,
589
+ /** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
590
+ KERNEL_LOG_LEVEL_CRIT = 3,
591
+ /** KERNEL_LOG_LEVEL_ERR - Error log level. */
592
+ KERNEL_LOG_LEVEL_ERR = 4,
593
+ /** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
594
+ KERNEL_LOG_LEVEL_WARNING = 5,
595
+ /** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
596
+ KERNEL_LOG_LEVEL_NOTICE = 6,
597
+ /** KERNEL_LOG_LEVEL_INFO - Informational log level. */
598
+ KERNEL_LOG_LEVEL_INFO = 7,
599
+ /** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
600
+ KERNEL_LOG_LEVEL_DEBUG = 8,
601
+ UNRECOGNIZED = -1
602
+ }
603
+ export declare function kernelLogEntry_KernelLogLevelFromJSON(object: any): KernelLogEntry_KernelLogLevel;
604
+ export declare function kernelLogEntry_KernelLogLevelToJSON(object: KernelLogEntry_KernelLogLevel): string;
605
+ /** Key-value pair used for structured logging. */
606
+ export interface KernelLogEntry_KeyValuePair {
607
+ /** Key of the key-value pair. */
608
+ key: string;
609
+ /** Value of the key-value pair. */
610
+ value: string;
611
+ }
494
612
  /** If you use both values at the same time they cancel each other out. */
495
613
  export interface MotionInput {
496
614
  /** Forward (positive) and backwards (negative) movement. (-1..1). */
@@ -660,6 +778,12 @@ export interface RecordState {
660
778
  multibeamSeconds: number;
661
779
  /** Multibeam record fps. */
662
780
  multibeamFps: number;
781
+ /** Storage location used for main camera recording. */
782
+ mainStorageLocation: StorageLocation;
783
+ /** Storage location used for guestport camera recording. */
784
+ guestportStorageLocation: StorageLocation;
785
+ /** Storage location used for multibeam recording. */
786
+ multibeamStorageLocation: StorageLocation;
663
787
  }
664
788
  /** Time-lapse state published if time-lapse mission is running. */
665
789
  export interface TimeLapseState {
@@ -1127,7 +1251,7 @@ export interface DiveTime {
1127
1251
  /** Number of seconds the drone has been submerged. */
1128
1252
  value: number;
1129
1253
  }
1130
- /** Which cameras are supposed to be recording. */
1254
+ /** Which cameras or multibeam are supposed to be recording. */
1131
1255
  export interface RecordOn {
1132
1256
  /** Record the main camera. */
1133
1257
  main: boolean;
@@ -1143,6 +1267,65 @@ export interface StorageSpace {
1143
1267
  /** Available bytes of storage space (B). */
1144
1268
  freeSpace: number;
1145
1269
  }
1270
+ /** Storage partition. */
1271
+ export interface StoragePartition {
1272
+ /** The amount of storage space on the device. */
1273
+ storageSpace: StorageSpace | undefined;
1274
+ /** File system type of the removable storage device. */
1275
+ fileSystemType: string;
1276
+ /** Partition device path */
1277
+ devicePath: string;
1278
+ /** Mount path of the partition. */
1279
+ mountPath: string;
1280
+ /** Label of the partition. */
1281
+ label: string;
1282
+ }
1283
+ /** Removable storage device. */
1284
+ export interface RemovableStorageDevice {
1285
+ /** USB vendor name. */
1286
+ vendorName: string;
1287
+ /** Model name of the USB storage device. */
1288
+ modelName: string;
1289
+ /** Mount path of the storage device. */
1290
+ devicePath: string;
1291
+ /** Status of the storage device. */
1292
+ status: RemovableStorageDevice_Status;
1293
+ /** Any active error flags for the storage device. */
1294
+ errorFlags: RemovableStorageErrorFlags | undefined;
1295
+ /** List of partitions on the storage device. */
1296
+ partitions: StoragePartition[];
1297
+ }
1298
+ /** Overall status of the storage device. */
1299
+ export declare enum RemovableStorageDevice_Status {
1300
+ /** STATUS_UNSPECIFIED - Unspecified. */
1301
+ STATUS_UNSPECIFIED = 0,
1302
+ /** STATUS_READY - The storage device is valid and ready for use. */
1303
+ STATUS_READY = 1,
1304
+ /** STATUS_FORMATTING - The storage device is being formatted. */
1305
+ STATUS_FORMATTING = 2,
1306
+ /** STATUS_ERROR - The storage device is in an error state. */
1307
+ STATUS_ERROR = 3,
1308
+ /** STATUS_UNPLUGGED - The storage device is not present. */
1309
+ STATUS_UNPLUGGED = 4,
1310
+ UNRECOGNIZED = -1
1311
+ }
1312
+ export declare function removableStorageDevice_StatusFromJSON(object: any): RemovableStorageDevice_Status;
1313
+ export declare function removableStorageDevice_StatusToJSON(object: RemovableStorageDevice_Status): string;
1314
+ /** Error flags related to a removable storage device. */
1315
+ export interface RemovableStorageErrorFlags {
1316
+ /** Optional error message to give additional information from the drone to a client about active error flags. */
1317
+ errorMessage: string;
1318
+ /** Device is attached but no partitions are found. */
1319
+ noPartitionsFound: boolean;
1320
+ /** Multiple partitions are found. */
1321
+ multiplePartitionsFound: boolean;
1322
+ /** The wrong file system is found. */
1323
+ wrongFileSystemFound: boolean;
1324
+ /** The device is in read-only mode. */
1325
+ deviceIsReadOnly: boolean;
1326
+ /** Formatting of the device failed. */
1327
+ formattingFailed: boolean;
1328
+ }
1146
1329
  /** Compass calibration state. */
1147
1330
  export interface CalibrationState {
1148
1331
  /** Current calibration status. */
@@ -1165,7 +1348,7 @@ export interface CalibrationState {
1165
1348
  /**
1166
1349
  * Status of the compass calibration procedure.
1167
1350
  *
1168
- * When calibration is started, the status will indicate the active (upfacing) axis.
1351
+ * When calibration is started, the status will indicate the active (up facing) axis.
1169
1352
  */
1170
1353
  export declare enum CalibrationState_Status {
1171
1354
  /** STATUS_UNSPECIFIED - Unspecified status. */
@@ -1186,7 +1369,7 @@ export declare enum CalibrationState_Status {
1186
1369
  STATUS_CALIBRATING_Z_POSITIVE = 7,
1187
1370
  /** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
1188
1371
  STATUS_CALIBRATING_Z_NEGATIVE = 8,
1189
- /** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interferance. */
1372
+ /** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
1190
1373
  STATUS_CALIBRATING_THRUSTER = 9,
1191
1374
  UNRECOGNIZED = -1
1192
1375
  }
@@ -1352,18 +1535,40 @@ export interface CameraParameters {
1352
1535
  mjpgBitrate: number;
1353
1536
  /** Shutter speed (1/10000 * s), -1 for automatic exposure. */
1354
1537
  exposure: number;
1355
- /** White balance temperature (2800..9300), -1 for automatic white balance. */
1538
+ /** White balance temp (Pioneer/Pro/X1/X3: 2800..9300, Ultra: 2300..15000), -1 for auto. */
1356
1539
  whiteBalance: number;
1357
- /** Hue (-40..40), 0 as default. */
1540
+ /** Hue (-40..40), 0 as default. Only available on Pioneer/Pro/X1/X3. */
1358
1541
  hue: number;
1359
- /** Iso gain (0..1). */
1542
+ /** Iso gain (0..1). Only available on Pioneer/Pro/X1/X3. */
1360
1543
  gain: number;
1544
+ /** Brightness (-10..10), 0 as default. Only available on Ultra */
1545
+ brightness: number;
1546
+ /** Contrast (-50..50), 0 as default. Only available on Ultra. */
1547
+ contrast: number;
1548
+ /** Saturation (0..50), 8 as default. Only available on Ultra. */
1549
+ saturation: number;
1550
+ /** Gamma (4..79), 22 as default. Only available on Ultra. */
1551
+ gamma: number;
1552
+ /** Sharpness (-20..20), -20 as default. Only available on Ultra. */
1553
+ sharpness: number;
1554
+ /** Backlight compensation (-150..150), 10 as default. Only available on Ultra. */
1555
+ backlightCompensation: number;
1556
+ /** Noise reduction (-20..20), -20 as default. Only available on Ultra. */
1557
+ denoise: number;
1558
+ /** Enable eHDR mode. Default true. Only available on Ultra. */
1559
+ ehdrEnabled: boolean;
1560
+ /** Minimum number of eHDR frames. (1..4), default 1. Only available on Ultra. */
1561
+ ehdrExposureMinNumber: number;
1562
+ /** Maximum number of eHDR frames. (1..4), default 2. Only on Ultra. Setting larger than 2 can reduce the framerate. */
1563
+ ehdrExposureMaxNumber: number;
1361
1564
  /** Stream, recording and image resolution (deprecated). */
1362
1565
  resolution: Resolution;
1363
1566
  /** Stream resolution. */
1364
1567
  streamResolution: Resolution;
1365
1568
  /** Recording and image resolution. */
1366
1569
  recordingResolution: Resolution;
1570
+ /** Streaming protocol. */
1571
+ streamingProtocol: StreamingProtocol;
1367
1572
  /** Stream and recording framerate. */
1368
1573
  framerate: Framerate;
1369
1574
  /** Which camera the parameters belong to. */
@@ -1593,8 +1798,7 @@ export interface MultibeamPing {
1593
1798
  /** Size in bytes of each row in the ping data image. */
1594
1799
  step: number;
1595
1800
  /**
1596
- * Bearing angle of each column of the sonar data
1597
- * (in 100th of a degree, multiply by 0.01 to get a value in degrees).
1801
+ * Bearing angle of each column of the sonar data in degrees.
1598
1802
  * The sonar image is not sampled uniformly in the bearing direction.
1599
1803
  */
1600
1804
  bearings: number[];
@@ -1747,8 +1951,44 @@ export interface CPUInfo {
1747
1951
  mainQueueLoad: number;
1748
1952
  /** Guestport queue load (0..1). */
1749
1953
  guestportQueueLoad: number;
1954
+ /** Communication queue load (0..1). */
1955
+ commQueueLoad: number;
1956
+ }
1957
+ /**
1958
+ * Surface Unit battery information.
1959
+ *
1960
+ * This message is published by the Surface Unit, and re-published by
1961
+ * the drone over the communication protocol.
1962
+ */
1963
+ export interface SurfaceUnitBatteryInfo {
1964
+ /** Battery charge status. */
1965
+ status: SurfaceUnitBatteryInfo_ChargeStatus;
1966
+ /** Battery level (0..1). */
1967
+ level: number;
1968
+ }
1969
+ export declare enum SurfaceUnitBatteryInfo_ChargeStatus {
1970
+ CHARGE_STATUS_UNSPECIFIED = 0,
1971
+ CHARGE_STATUS_DISCHARGE = 1,
1972
+ CHARGE_STATUS_CHARGE = 2,
1973
+ CHARGE_STATUS_CHARGE_ERROR = 3,
1974
+ UNRECOGNIZED = -1
1975
+ }
1976
+ export declare function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object: any): SurfaceUnitBatteryInfo_ChargeStatus;
1977
+ export declare function surfaceUnitBatteryInfo_ChargeStatusToJSON(object: SurfaceUnitBatteryInfo_ChargeStatus): string;
1978
+ /**
1979
+ * Surface Unit version information.
1980
+ *
1981
+ * This message is published by the Surface Unit, and re-published by
1982
+ * the drone over the communication protocol.
1983
+ */
1984
+ export interface SurfaceUnitVersionInfo {
1985
+ /** Surface Unit firmware version (x.y.z). */
1986
+ version: string;
1750
1987
  }
1751
1988
  export declare const BinlogRecord: MessageFns<BinlogRecord>;
1989
+ export declare const LogEntry: MessageFns<LogEntry>;
1990
+ export declare const KernelLogEntry: MessageFns<KernelLogEntry>;
1991
+ export declare const KernelLogEntry_KeyValuePair: MessageFns<KernelLogEntry_KeyValuePair>;
1752
1992
  export declare const MotionInput: MessageFns<MotionInput>;
1753
1993
  export declare const Lights: MessageFns<Lights>;
1754
1994
  export declare const Laser: MessageFns<Laser>;
@@ -1800,6 +2040,9 @@ export declare const ControllerHealth: MessageFns<ControllerHealth>;
1800
2040
  export declare const DiveTime: MessageFns<DiveTime>;
1801
2041
  export declare const RecordOn: MessageFns<RecordOn>;
1802
2042
  export declare const StorageSpace: MessageFns<StorageSpace>;
2043
+ export declare const StoragePartition: MessageFns<StoragePartition>;
2044
+ export declare const RemovableStorageDevice: MessageFns<RemovableStorageDevice>;
2045
+ export declare const RemovableStorageErrorFlags: MessageFns<RemovableStorageErrorFlags>;
1803
2046
  export declare const CalibrationState: MessageFns<CalibrationState>;
1804
2047
  export declare const IperfStatus: MessageFns<IperfStatus>;
1805
2048
  export declare const NStreamers: MessageFns<NStreamers>;
@@ -1831,22 +2074,18 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
1831
2074
  export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
1832
2075
  export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
1833
2076
  export declare const CPUInfo: MessageFns<CPUInfo>;
2077
+ export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
2078
+ export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
1834
2079
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1835
2080
  type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
1836
2081
  [K in keyof T]?: DeepPartial<T[K]>;
1837
2082
  } : Partial<T>;
1838
- type KeysOfUnion<T> = T extends T ? keyof T : never;
1839
- type Exact<P, I extends P> = P extends Builtin ? P : P & {
1840
- [K in keyof P]: Exact<P[K], I[K]>;
1841
- } & {
1842
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
1843
- };
1844
2083
  interface MessageFns<T> {
1845
2084
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
1846
2085
  decode(input: BinaryReader | Uint8Array, length?: number): T;
1847
2086
  fromJSON(object: any): T;
1848
2087
  toJSON(message: T): unknown;
1849
- create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
1850
- fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
2088
+ create(base?: DeepPartial<T>): T;
2089
+ fromPartial(object: DeepPartial<T>): T;
1851
2090
  }
1852
2091
  export {};