@viamrobotics/motion-tools 0.19.2 → 1.0.3

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.
Files changed (150) hide show
  1. package/README.md +56 -26
  2. package/dist/FrameConfigUpdater.svelte.d.ts +11 -17
  3. package/dist/FrameConfigUpdater.svelte.js +109 -109
  4. package/dist/WorldObject.svelte.js +2 -15
  5. package/dist/common/v1/common_pb.d.ts +950 -0
  6. package/dist/common/v1/common_pb.js +1399 -0
  7. package/dist/components/App.svelte +38 -22
  8. package/dist/components/App.svelte.d.ts +1 -0
  9. package/dist/components/BatchedArrows.svelte +102 -0
  10. package/dist/components/BatchedArrows.svelte.d.ts +3 -0
  11. package/dist/components/CameraControls.svelte +2 -3
  12. package/dist/components/Details.svelte +364 -365
  13. package/dist/components/Entities.svelte +80 -0
  14. package/dist/components/{WorldObjects.svelte.d.ts → Entities.svelte.d.ts} +3 -3
  15. package/dist/components/FileDrop/FileDrop.svelte +96 -0
  16. package/dist/components/FileDrop/FileDrop.svelte.d.ts +4 -0
  17. package/dist/components/FileDrop/file-dropper.d.ts +36 -0
  18. package/dist/components/FileDrop/file-dropper.js +6 -0
  19. package/dist/components/FileDrop/file-names.d.ts +27 -0
  20. package/dist/components/FileDrop/file-names.js +85 -0
  21. package/dist/components/FileDrop/pcd-dropper.d.ts +2 -0
  22. package/dist/components/FileDrop/pcd-dropper.js +27 -0
  23. package/dist/components/FileDrop/ply-dropper.d.ts +2 -0
  24. package/dist/components/FileDrop/ply-dropper.js +27 -0
  25. package/dist/components/FileDrop/snapshot-dropper.d.ts +2 -0
  26. package/dist/components/FileDrop/snapshot-dropper.js +96 -0
  27. package/dist/components/FileDrop/useFileDrop.svelte.d.ts +9 -0
  28. package/dist/components/FileDrop/useFileDrop.svelte.js +97 -0
  29. package/dist/components/Focus.svelte +2 -3
  30. package/dist/components/Frame.svelte +41 -22
  31. package/dist/components/Frame.svelte.d.ts +4 -6
  32. package/dist/components/GLTF.svelte +36 -0
  33. package/dist/components/GLTF.svelte.d.ts +11 -0
  34. package/dist/components/Geometry2.svelte +206 -0
  35. package/dist/components/Geometry2.svelte.d.ts +18 -0
  36. package/dist/components/KeyboardControls.svelte +3 -3
  37. package/dist/components/Line.svelte +15 -14
  38. package/dist/components/Line.svelte.d.ts +2 -2
  39. package/dist/components/LiveUpdatesBanner.svelte +51 -15
  40. package/dist/components/MeasureTool.svelte +4 -5
  41. package/dist/components/Pointcloud.svelte +27 -14
  42. package/dist/components/Pointcloud.svelte.d.ts +2 -2
  43. package/dist/components/PointerMissBox.svelte +3 -3
  44. package/dist/components/Pose.svelte +31 -6
  45. package/dist/components/Pose.svelte.d.ts +2 -2
  46. package/dist/components/Scene.svelte +7 -6
  47. package/dist/components/SceneProviders.svelte +0 -6
  48. package/dist/components/Selected.svelte +22 -16
  49. package/dist/components/StaticGeometries.svelte +51 -27
  50. package/dist/components/Tree/Tree.svelte +51 -38
  51. package/dist/components/Tree/Tree.svelte.d.ts +3 -4
  52. package/dist/components/Tree/TreeContainer.svelte +75 -40
  53. package/dist/components/Tree/Widgets.svelte +2 -5
  54. package/dist/components/Tree/buildTree.d.ts +7 -6
  55. package/dist/components/Tree/buildTree.js +22 -41
  56. package/dist/components/__tests__/__fixtures__/entity.d.ts +2 -0
  57. package/dist/components/__tests__/__fixtures__/entity.js +20 -0
  58. package/dist/components/__tests__/__fixtures__/resource.d.ts +17 -0
  59. package/dist/components/__tests__/__fixtures__/resource.js +13 -0
  60. package/dist/components/dashboard/Dashboard.svelte +5 -3
  61. package/dist/components/dashboard/Dashboard.svelte.d.ts +7 -2
  62. package/dist/components/widgets/ArmPositions.svelte +19 -7
  63. package/dist/draw/v1/drawing_pb.d.ts +341 -0
  64. package/dist/draw/v1/drawing_pb.js +417 -0
  65. package/dist/draw/v1/metadata_pb.d.ts +23 -0
  66. package/dist/draw/v1/metadata_pb.js +39 -0
  67. package/dist/draw/v1/scene_pb.d.ts +230 -0
  68. package/dist/draw/v1/scene_pb.js +298 -0
  69. package/dist/draw/v1/snapshot_pb.d.ts +42 -0
  70. package/dist/draw/v1/snapshot_pb.js +61 -0
  71. package/dist/draw/v1/transforms_pb.d.ts +23 -0
  72. package/dist/draw/v1/transforms_pb.js +39 -0
  73. package/dist/ecs/index.d.ts +4 -0
  74. package/dist/ecs/index.js +4 -0
  75. package/dist/ecs/traits.d.ts +132 -0
  76. package/dist/ecs/traits.js +85 -0
  77. package/dist/ecs/useQuery.svelte.d.ts +4 -0
  78. package/dist/ecs/useQuery.svelte.js +49 -0
  79. package/dist/ecs/useTrait.svelte.d.ts +19 -0
  80. package/dist/ecs/useTrait.svelte.js +40 -0
  81. package/dist/ecs/useWorld.d.ts +4 -0
  82. package/dist/ecs/useWorld.js +10 -0
  83. package/dist/geometry.js +6 -6
  84. package/dist/hooks/__tests__/fixtures/ResizableTestWrapper.svelte +41 -0
  85. package/dist/hooks/__tests__/fixtures/ResizableTestWrapper.svelte.d.ts +6 -0
  86. package/dist/hooks/use3DModels.svelte.js +6 -4
  87. package/dist/hooks/useDrawAPI.svelte.d.ts +0 -10
  88. package/dist/hooks/useDrawAPI.svelte.js +143 -267
  89. package/dist/hooks/useFramelessComponents.svelte.js +1 -1
  90. package/dist/hooks/useFrames.svelte.d.ts +6 -2
  91. package/dist/hooks/useFrames.svelte.js +123 -19
  92. package/dist/hooks/useGeometries.svelte.d.ts +0 -2
  93. package/dist/hooks/useGeometries.svelte.js +49 -25
  94. package/dist/hooks/useObjectEvents.svelte.d.ts +3 -2
  95. package/dist/hooks/useObjectEvents.svelte.js +11 -7
  96. package/dist/hooks/usePartConfig.svelte.d.ts +1 -1
  97. package/dist/hooks/usePartConfig.svelte.js +2 -1
  98. package/dist/hooks/usePointclouds.svelte.d.ts +0 -2
  99. package/dist/hooks/usePointclouds.svelte.js +52 -21
  100. package/dist/hooks/usePose.svelte.js +15 -7
  101. package/dist/hooks/useResizable.svelte.d.ts +12 -0
  102. package/dist/hooks/useResizable.svelte.js +45 -0
  103. package/dist/hooks/useResourceByName.svelte.js +8 -5
  104. package/dist/hooks/useSelection.svelte.d.ts +13 -23
  105. package/dist/hooks/useSelection.svelte.js +45 -65
  106. package/dist/hooks/useVisibility.svelte.d.ts +2 -1
  107. package/dist/hooks/useWeblabs.svelte.d.ts +0 -1
  108. package/dist/hooks/useWeblabs.svelte.js +0 -1
  109. package/dist/hooks/useWorldState.svelte.d.ts +9 -0
  110. package/dist/hooks/useWorldState.svelte.js +158 -107
  111. package/dist/lib.d.ts +1 -0
  112. package/dist/lib.js +2 -0
  113. package/dist/three/BatchedArrow.d.ts +2 -3
  114. package/dist/three/BatchedArrow.js +3 -11
  115. package/dist/three/CapsuleGeometry.d.ts +1 -1
  116. package/dist/three/CapsuleGeometry.js +3 -1
  117. package/dist/transform.js +0 -15
  118. package/package.json +13 -7
  119. package/dist/components/FileDrop.svelte +0 -158
  120. package/dist/components/FileDrop.svelte.d.ts +0 -3
  121. package/dist/components/WorldObject.svelte +0 -28
  122. package/dist/components/WorldObject.svelte.d.ts +0 -11
  123. package/dist/components/WorldObjects.svelte +0 -159
  124. package/dist/components/WorldState.svelte +0 -92
  125. package/dist/components/WorldState.svelte.d.ts +0 -7
  126. package/dist/components/__tests__/__fixtures__/worldObject.svelte.d.ts +0 -2
  127. package/dist/components/__tests__/__fixtures__/worldObject.svelte.js +0 -35
  128. package/dist/components/portal/Portal.svelte +0 -25
  129. package/dist/components/portal/Portal.svelte.d.ts +0 -8
  130. package/dist/components/portal/PortalTarget.svelte +0 -18
  131. package/dist/components/portal/PortalTarget.svelte.d.ts +0 -6
  132. package/dist/components/portal/index.d.ts +0 -2
  133. package/dist/components/portal/index.js +0 -2
  134. package/dist/components/portal/usePortalContext.svelte.d.ts +0 -5
  135. package/dist/components/portal/usePortalContext.svelte.js +0 -5
  136. package/dist/hooks/useArrows.svelte.d.ts +0 -3
  137. package/dist/hooks/useArrows.svelte.js +0 -9
  138. package/dist/hooks/useDraggable.svelte.d.ts +0 -10
  139. package/dist/hooks/useDraggable.svelte.js +0 -36
  140. package/dist/hooks/useObjects.svelte.d.ts +0 -7
  141. package/dist/hooks/useObjects.svelte.js +0 -35
  142. package/dist/hooks/usePersistentUUIDs.svelte.d.ts +0 -5
  143. package/dist/hooks/usePersistentUUIDs.svelte.js +0 -13
  144. package/dist/hooks/useResourceByName.svelte.d.ts +0 -7
  145. package/dist/hooks/useStaticGeometries.svelte.d.ts +0 -9
  146. package/dist/hooks/useStaticGeometries.svelte.js +0 -47
  147. package/dist/workers/worldStateWorker.d.ts +0 -1
  148. package/dist/workers/worldStateWorker.js +0 -114
  149. package/dist/world-state-messages.d.ts +0 -23
  150. package/dist/world-state-messages.js +0 -1
@@ -0,0 +1,341 @@
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Message, proto3 } from "@bufbuild/protobuf";
3
+ import { Pose, PoseInFrame, Vector3 } from "../../common/v1/common_pb";
4
+ import { Metadata } from "./metadata_pb";
5
+ /**
6
+ * Arrows represents a set of arrows in 3D space
7
+ * Metadata:
8
+ * - colors: []uint8 of a single color: [r, g, b, a]
9
+ * or a color per arrow: [r, g, b, a, ...]
10
+ * defaults to [0, 255, 0, 180] (green)
11
+ *
12
+ * @generated from message draw.v1.Arrows
13
+ */
14
+ export declare class Arrows extends Message<Arrows> {
15
+ /**
16
+ * The poses of the arrows
17
+ * float32 array of poses: [x, y, z, ox, oy, oz]
18
+ *
19
+ * @generated from field: bytes poses = 1;
20
+ */
21
+ poses: Uint8Array<ArrayBuffer>;
22
+ constructor(data?: PartialMessage<Arrows>);
23
+ static readonly runtime: typeof proto3;
24
+ static readonly typeName = "draw.v1.Arrows";
25
+ static readonly fields: FieldList;
26
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Arrows;
27
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Arrows;
28
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Arrows;
29
+ static equals(a: Arrows | PlainMessage<Arrows> | undefined, b: Arrows | PlainMessage<Arrows> | undefined): boolean;
30
+ }
31
+ /**
32
+ * Line represents a line in 3D space
33
+ * Metadata:
34
+ * - colors: []uint8 of a single color: [r, g, b, a]
35
+ * or two colors for lines and points: [r, g, b, a, r, g, b, a]
36
+ * defaults to [0, 128, 255, 180] (blue) for lines, [0, 77, 204, 180] (darker blue) for points
37
+ *
38
+ * @generated from message draw.v1.Line
39
+ */
40
+ export declare class Line extends Message<Line> {
41
+ /**
42
+ * The positions of the line points
43
+ * float32 array of positions: [x, y, z, ...]
44
+ *
45
+ * @generated from field: bytes positions = 1;
46
+ */
47
+ positions: Uint8Array<ArrayBuffer>;
48
+ /**
49
+ * optional width of the line in millimeters, defaults to 5
50
+ *
51
+ * @generated from field: optional float line_width = 2;
52
+ */
53
+ lineWidth?: number;
54
+ /**
55
+ * optional size of the points in millimeters, defaults to 10
56
+ *
57
+ * @generated from field: optional float point_size = 3;
58
+ */
59
+ pointSize?: number;
60
+ constructor(data?: PartialMessage<Line>);
61
+ static readonly runtime: typeof proto3;
62
+ static readonly typeName = "draw.v1.Line";
63
+ static readonly fields: FieldList;
64
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Line;
65
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Line;
66
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Line;
67
+ static equals(a: Line | PlainMessage<Line> | undefined, b: Line | PlainMessage<Line> | undefined): boolean;
68
+ }
69
+ /**
70
+ * Points represents a set of points in 3D space
71
+ * Metadata:
72
+ * - colors: []uint8 of a single color: [r, g, b, a]
73
+ * or a color per point: [r, g, b, a, ...]
74
+ * defaults to [51, 51, 51, 180] (gray)
75
+ *
76
+ * @generated from message draw.v1.Points
77
+ */
78
+ export declare class Points extends Message<Points> {
79
+ /**
80
+ * The positions of the points
81
+ * float32 array of positions: [x, y, z, ...]
82
+ *
83
+ * @generated from field: bytes positions = 1;
84
+ */
85
+ positions: Uint8Array<ArrayBuffer>;
86
+ /**
87
+ * Size of the points in millimeters, defaults to 10
88
+ *
89
+ * @generated from field: optional float point_size = 2;
90
+ */
91
+ pointSize?: number;
92
+ constructor(data?: PartialMessage<Points>);
93
+ static readonly runtime: typeof proto3;
94
+ static readonly typeName = "draw.v1.Points";
95
+ static readonly fields: FieldList;
96
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Points;
97
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Points;
98
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Points;
99
+ static equals(a: Points | PlainMessage<Points> | undefined, b: Points | PlainMessage<Points> | undefined): boolean;
100
+ }
101
+ /**
102
+ * ModelAsset represents the type of model
103
+ *
104
+ * @generated from message draw.v1.ModelAsset
105
+ */
106
+ export declare class ModelAsset extends Message<ModelAsset> {
107
+ /**
108
+ * The mime type of the model asset
109
+ *
110
+ * @generated from field: string mime_type = 1;
111
+ */
112
+ mimeType: string;
113
+ /**
114
+ * Expected file size in bytes (helpful for progress tracking)
115
+ *
116
+ * @generated from field: optional uint64 size_bytes = 2;
117
+ */
118
+ sizeBytes?: bigint;
119
+ /**
120
+ * The content of the model asset
121
+ *
122
+ * @generated from oneof draw.v1.ModelAsset.content
123
+ */
124
+ content: {
125
+ /**
126
+ * The url of the model asset
127
+ *
128
+ * @generated from field: string url = 3;
129
+ */
130
+ value: string;
131
+ case: "url";
132
+ } | {
133
+ /**
134
+ * The binary data of the model asset
135
+ *
136
+ * @generated from field: bytes data = 4;
137
+ */
138
+ value: Uint8Array;
139
+ case: "data";
140
+ } | {
141
+ case: undefined;
142
+ value?: undefined;
143
+ };
144
+ constructor(data?: PartialMessage<ModelAsset>);
145
+ static readonly runtime: typeof proto3;
146
+ static readonly typeName = "draw.v1.ModelAsset";
147
+ static readonly fields: FieldList;
148
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ModelAsset;
149
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ModelAsset;
150
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ModelAsset;
151
+ static equals(a: ModelAsset | PlainMessage<ModelAsset> | undefined, b: ModelAsset | PlainMessage<ModelAsset> | undefined): boolean;
152
+ }
153
+ /**
154
+ * Model represents a 3D model in various formats
155
+ * Metadata:
156
+ * - colors: []uint8 of no colors
157
+ *
158
+ * @generated from message draw.v1.Model
159
+ */
160
+ export declare class Model extends Message<Model> {
161
+ /**
162
+ * The list of assets that make up the model
163
+ *
164
+ * @generated from field: repeated draw.v1.ModelAsset assets = 1;
165
+ */
166
+ assets: ModelAsset[];
167
+ /**
168
+ * Uniform scale factor, defaults to [1.0, 1.0, 1.0]
169
+ *
170
+ * @generated from field: optional viam.common.v1.Vector3 scale = 2;
171
+ */
172
+ scale?: Vector3;
173
+ /**
174
+ * Name of the animation to play, defaults to empty string (no animation)
175
+ *
176
+ * @generated from field: optional string animation_name = 3;
177
+ */
178
+ animationName?: string;
179
+ constructor(data?: PartialMessage<Model>);
180
+ static readonly runtime: typeof proto3;
181
+ static readonly typeName = "draw.v1.Model";
182
+ static readonly fields: FieldList;
183
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Model;
184
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Model;
185
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Model;
186
+ static equals(a: Model | PlainMessage<Model> | undefined, b: Model | PlainMessage<Model> | undefined): boolean;
187
+ }
188
+ /**
189
+ * Nurbs represents a NURBS curve in 3D space
190
+ * Metadata:
191
+ * - colors: []uint8 of a single color: [r, g, b, a]
192
+ * defaults to [0, 255, 255, 180] (cyan)
193
+ *
194
+ * @generated from message draw.v1.Nurbs
195
+ */
196
+ export declare class Nurbs extends Message<Nurbs> {
197
+ /**
198
+ * The control points of the NURBS
199
+ * []float32 of poses: [x, y, z, ox, oy, oz, theta, ...]
200
+ *
201
+ * @generated from field: bytes control_points = 1;
202
+ */
203
+ controlPoints: Uint8Array<ArrayBuffer>;
204
+ /**
205
+ * The knots of the NURBS
206
+ * float32 array of knots: [knot, ...]
207
+ *
208
+ * @generated from field: bytes knots = 2;
209
+ */
210
+ knots: Uint8Array<ArrayBuffer>;
211
+ /**
212
+ * The degree of the NURBS, defaults to 3
213
+ *
214
+ * @generated from field: optional int32 degree = 3;
215
+ */
216
+ degree?: number;
217
+ /**
218
+ * The weights of the NURBS, defaults to [1, 1, 1, ...]
219
+ * float32 array of weights: [weight, ...]
220
+ *
221
+ * @generated from field: optional bytes weights = 4;
222
+ */
223
+ weights?: Uint8Array;
224
+ constructor(data?: PartialMessage<Nurbs>);
225
+ static readonly runtime: typeof proto3;
226
+ static readonly typeName = "draw.v1.Nurbs";
227
+ static readonly fields: FieldList;
228
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Nurbs;
229
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Nurbs;
230
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Nurbs;
231
+ static equals(a: Nurbs | PlainMessage<Nurbs> | undefined, b: Nurbs | PlainMessage<Nurbs> | undefined): boolean;
232
+ }
233
+ /**
234
+ * @generated from message draw.v1.Shape
235
+ */
236
+ export declare class Shape extends Message<Shape> {
237
+ /**
238
+ * The center of the shape
239
+ *
240
+ * @generated from field: viam.common.v1.Pose center = 1;
241
+ */
242
+ center?: Pose;
243
+ /**
244
+ * The label of the shape
245
+ *
246
+ * @generated from field: string label = 2;
247
+ */
248
+ label: string;
249
+ /**
250
+ * The type of the shape
251
+ *
252
+ * @generated from oneof draw.v1.Shape.geometry_type
253
+ */
254
+ geometryType: {
255
+ /**
256
+ * @generated from field: draw.v1.Arrows arrows = 3;
257
+ */
258
+ value: Arrows;
259
+ case: "arrows";
260
+ } | {
261
+ /**
262
+ * @generated from field: draw.v1.Line line = 4;
263
+ */
264
+ value: Line;
265
+ case: "line";
266
+ } | {
267
+ /**
268
+ * @generated from field: draw.v1.Points points = 5;
269
+ */
270
+ value: Points;
271
+ case: "points";
272
+ } | {
273
+ /**
274
+ * @generated from field: draw.v1.Model model = 6;
275
+ */
276
+ value: Model;
277
+ case: "model";
278
+ } | {
279
+ /**
280
+ * @generated from field: draw.v1.Nurbs nurbs = 7;
281
+ */
282
+ value: Nurbs;
283
+ case: "nurbs";
284
+ } | {
285
+ case: undefined;
286
+ value?: undefined;
287
+ };
288
+ constructor(data?: PartialMessage<Shape>);
289
+ static readonly runtime: typeof proto3;
290
+ static readonly typeName = "draw.v1.Shape";
291
+ static readonly fields: FieldList;
292
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Shape;
293
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Shape;
294
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Shape;
295
+ static equals(a: Shape | PlainMessage<Shape> | undefined, b: Shape | PlainMessage<Shape> | undefined): boolean;
296
+ }
297
+ /**
298
+ * For non-physical visualization shapes
299
+ *
300
+ * @generated from message draw.v1.Drawing
301
+ */
302
+ export declare class Drawing extends Message<Drawing> {
303
+ /**
304
+ * The name of the shape
305
+ *
306
+ * @generated from field: string reference_frame = 1;
307
+ */
308
+ referenceFrame: string;
309
+ /**
310
+ * The pose of the shape as observed through it's parent frame/the world
311
+ *
312
+ * @generated from field: viam.common.v1.PoseInFrame pose_in_observer_frame = 2;
313
+ */
314
+ poseInObserverFrame?: PoseInFrame;
315
+ /**
316
+ * The shape of the drawing
317
+ *
318
+ * @generated from field: optional draw.v1.Shape physical_object = 3;
319
+ */
320
+ physicalObject?: Shape;
321
+ /**
322
+ * The UUID of the shape
323
+ *
324
+ * @generated from field: bytes uuid = 4;
325
+ */
326
+ uuid: Uint8Array<ArrayBuffer>;
327
+ /**
328
+ * The metadata of the shape
329
+ *
330
+ * @generated from field: optional draw.v1.Metadata metadata = 5;
331
+ */
332
+ metadata?: Metadata;
333
+ constructor(data?: PartialMessage<Drawing>);
334
+ static readonly runtime: typeof proto3;
335
+ static readonly typeName = "draw.v1.Drawing";
336
+ static readonly fields: FieldList;
337
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Drawing;
338
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Drawing;
339
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Drawing;
340
+ static equals(a: Drawing | PlainMessage<Drawing> | undefined, b: Drawing | PlainMessage<Drawing> | undefined): boolean;
341
+ }