@dxos/plugin-transcription 0.8.4-main.937b3ca → 0.8.4-main.9735255

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.
@@ -4,9 +4,9 @@ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").Obj<{
4
4
  readonly parentMessage?: string | undefined;
5
5
  readonly created: string;
6
6
  readonly sender: {
7
- name?: string | undefined;
8
- role?: "user" | "assistant" | "tool" | undefined;
9
- contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
7
+ readonly name?: string | undefined;
8
+ readonly role?: "user" | "assistant" | "tool" | undefined;
9
+ readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
10
10
  readonly image?: string | undefined;
11
11
  readonly fullName?: string | undefined;
12
12
  readonly preferredName?: string | undefined;
@@ -23,24 +23,24 @@ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").Obj<{
23
23
  readonly jobTitle?: string | undefined;
24
24
  readonly department?: string | undefined;
25
25
  readonly notes?: string | undefined;
26
- readonly emails?: {
26
+ readonly emails?: readonly {
27
27
  readonly value: string;
28
28
  readonly label?: string | undefined;
29
29
  }[] | undefined;
30
- readonly identities?: {
30
+ readonly identities?: readonly {
31
31
  readonly value: string;
32
32
  readonly label?: string | undefined;
33
33
  }[] | undefined;
34
- readonly phoneNumbers?: {
34
+ readonly phoneNumbers?: readonly {
35
35
  readonly value: string;
36
36
  readonly label?: string | undefined;
37
37
  }[] | undefined;
38
- readonly fields?: {
38
+ readonly fields?: readonly {
39
39
  readonly value: string;
40
40
  readonly label: string;
41
41
  readonly category?: string | undefined;
42
42
  }[] | undefined;
43
- readonly addresses?: {
43
+ readonly addresses?: readonly {
44
44
  readonly value: {
45
45
  readonly street?: string | undefined;
46
46
  readonly extended?: string | undefined;
@@ -52,7 +52,7 @@ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").Obj<{
52
52
  };
53
53
  readonly label?: string | undefined;
54
54
  }[] | undefined;
55
- readonly urls?: {
55
+ readonly urls?: readonly {
56
56
  readonly value: string;
57
57
  readonly label?: string | undefined;
58
58
  }[] | undefined;
@@ -60,110 +60,110 @@ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").Obj<{
60
60
  } & {
61
61
  readonly location?: readonly [number, number, (number | undefined)?] | undefined;
62
62
  }> | undefined;
63
- identityDid?: string | undefined;
64
- identityKey?: string | undefined;
65
- email?: string | undefined;
63
+ readonly identityDid?: string | undefined;
64
+ readonly identityKey?: string | undefined;
65
+ readonly email?: string | undefined;
66
66
  };
67
- readonly blocks: ({
68
- pending?: boolean | undefined;
69
- text: string;
70
- mimeType?: string | undefined;
71
- disposition?: string | undefined;
72
- _tag: "text";
67
+ readonly blocks: readonly ({
68
+ readonly pending?: boolean | undefined;
69
+ readonly text: string;
70
+ readonly mimeType?: string | undefined;
71
+ readonly disposition?: string | undefined;
72
+ readonly _tag: "text";
73
73
  } | {
74
- pending?: boolean | undefined;
75
- _tag: "reasoning";
76
- reasoningText?: string | undefined;
77
- redactedText?: string | undefined;
78
- signature?: string | undefined;
74
+ readonly pending?: boolean | undefined;
75
+ readonly _tag: "reasoning";
76
+ readonly reasoningText?: string | undefined;
77
+ readonly redactedText?: string | undefined;
78
+ readonly signature?: string | undefined;
79
79
  } | {
80
- name: string;
81
- pending?: boolean | undefined;
82
- _tag: "toolCall";
83
- toolCallId: string;
84
- input: string;
85
- providerExecuted: boolean;
80
+ readonly name: string;
81
+ readonly pending?: boolean | undefined;
82
+ readonly _tag: "toolCall";
83
+ readonly toolCallId: string;
84
+ readonly input: string;
85
+ readonly providerExecuted: boolean;
86
86
  } | {
87
- name: string;
88
- pending?: boolean | undefined;
89
- _tag: "toolResult";
90
- toolCallId: string;
91
- providerExecuted: boolean;
92
- result?: string | undefined;
93
- error?: string | undefined;
87
+ readonly name: string;
88
+ readonly pending?: boolean | undefined;
89
+ readonly _tag: "toolResult";
90
+ readonly toolCallId: string;
91
+ readonly providerExecuted: boolean;
92
+ readonly result?: string | undefined;
93
+ readonly error?: string | undefined;
94
94
  } | {
95
- pending?: boolean | undefined;
96
- mimeType?: string | undefined;
97
- _tag: "summary";
98
- message?: string | undefined;
99
- model?: string | undefined;
100
- usage?: {
95
+ readonly pending?: boolean | undefined;
96
+ readonly mimeType?: string | undefined;
97
+ readonly _tag: "summary";
98
+ readonly message?: string | undefined;
99
+ readonly model?: string | undefined;
100
+ readonly usage?: {
101
101
  readonly inputTokens?: number | undefined;
102
102
  readonly outputTokens?: number | undefined;
103
103
  readonly totalTokens?: number | undefined;
104
104
  } | undefined;
105
- toolCalls?: number | undefined;
106
- errors?: number | undefined;
107
- duration?: number | undefined;
105
+ readonly toolCalls?: number | undefined;
106
+ readonly errors?: number | undefined;
107
+ readonly duration?: number | undefined;
108
108
  } | {
109
- source?: {
110
- type: "base64";
111
- mediaType: string;
112
- data: string;
109
+ readonly source?: {
110
+ readonly type: "base64";
111
+ readonly mediaType: string;
112
+ readonly data: string;
113
113
  } | {
114
- type: "http";
115
- url: string;
114
+ readonly type: "http";
115
+ readonly url: string;
116
116
  } | undefined;
117
- id?: string | undefined;
118
- pending?: boolean | undefined;
119
- _tag: "image";
117
+ readonly id?: string | undefined;
118
+ readonly pending?: boolean | undefined;
119
+ readonly _tag: "image";
120
120
  } | {
121
- name?: string | undefined;
122
- pending?: boolean | undefined;
123
- _tag: "file";
124
- mediaType?: string | undefined;
125
- url: string;
121
+ readonly name?: string | undefined;
122
+ readonly pending?: boolean | undefined;
123
+ readonly _tag: "file";
124
+ readonly mediaType?: string | undefined;
125
+ readonly url: string;
126
126
  } | {
127
- pending?: boolean | undefined;
128
- _tag: "reference";
129
- reference: import("@dxos/echo/internal").Ref<any>;
127
+ readonly pending?: boolean | undefined;
128
+ readonly _tag: "reference";
129
+ readonly reference: import("@dxos/echo/internal").Ref<any>;
130
130
  } | {
131
- pending?: boolean | undefined;
132
- text: string;
133
- _tag: "transcript";
134
- started: string;
131
+ readonly pending?: boolean | undefined;
132
+ readonly text: string;
133
+ readonly _tag: "transcript";
134
+ readonly started: string;
135
135
  } | {
136
- pending?: boolean | undefined;
137
- _tag: "status";
138
- statusText: string;
136
+ readonly pending?: boolean | undefined;
137
+ readonly _tag: "status";
138
+ readonly statusText: string;
139
139
  } | {
140
- pending?: boolean | undefined;
141
- text: string;
142
- _tag: "suggestion";
140
+ readonly pending?: boolean | undefined;
141
+ readonly text: string;
142
+ readonly _tag: "suggestion";
143
143
  } | {
144
- pending?: boolean | undefined;
145
- _tag: "select";
146
- options: string[];
144
+ readonly pending?: boolean | undefined;
145
+ readonly _tag: "select";
146
+ readonly options: string[];
147
147
  } | {
148
- version: unknown;
149
- pending?: boolean | undefined;
150
- _tag: "anchor";
151
- objectId: string;
148
+ readonly version: unknown;
149
+ readonly pending?: boolean | undefined;
150
+ readonly _tag: "anchor";
151
+ readonly objectId: string;
152
152
  } | {
153
- pending?: boolean | undefined;
154
- text: string;
155
- _tag: "proposal";
153
+ readonly pending?: boolean | undefined;
154
+ readonly text: string;
155
+ readonly _tag: "proposal";
156
156
  } | {
157
- pending?: boolean | undefined;
158
- _tag: "toolkit";
157
+ readonly pending?: boolean | undefined;
158
+ readonly _tag: "toolkit";
159
159
  } | {
160
- pending?: boolean | undefined;
161
- disposition?: string | undefined;
162
- _tag: "json";
163
- data: string;
160
+ readonly pending?: boolean | undefined;
161
+ readonly disposition?: string | undefined;
162
+ readonly _tag: "json";
163
+ readonly data: string;
164
164
  })[];
165
165
  readonly properties?: {
166
- [x: string]: any;
166
+ readonly [x: string]: any;
167
167
  } | undefined;
168
168
  }, Schema.Struct.Fields>, Schema.Struct<{
169
169
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
@@ -176,9 +176,9 @@ export declare const NormalizationInput: Schema.Struct<{
176
176
  readonly parentMessage?: string | undefined;
177
177
  readonly created: string;
178
178
  readonly sender: {
179
- name?: string | undefined;
180
- role?: "user" | "assistant" | "tool" | undefined;
181
- contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
179
+ readonly name?: string | undefined;
180
+ readonly role?: "user" | "assistant" | "tool" | undefined;
181
+ readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
182
182
  readonly image?: string | undefined;
183
183
  readonly fullName?: string | undefined;
184
184
  readonly preferredName?: string | undefined;
@@ -195,24 +195,24 @@ export declare const NormalizationInput: Schema.Struct<{
195
195
  readonly jobTitle?: string | undefined;
196
196
  readonly department?: string | undefined;
197
197
  readonly notes?: string | undefined;
198
- readonly emails?: {
198
+ readonly emails?: readonly {
199
199
  readonly value: string;
200
200
  readonly label?: string | undefined;
201
201
  }[] | undefined;
202
- readonly identities?: {
202
+ readonly identities?: readonly {
203
203
  readonly value: string;
204
204
  readonly label?: string | undefined;
205
205
  }[] | undefined;
206
- readonly phoneNumbers?: {
206
+ readonly phoneNumbers?: readonly {
207
207
  readonly value: string;
208
208
  readonly label?: string | undefined;
209
209
  }[] | undefined;
210
- readonly fields?: {
210
+ readonly fields?: readonly {
211
211
  readonly value: string;
212
212
  readonly label: string;
213
213
  readonly category?: string | undefined;
214
214
  }[] | undefined;
215
- readonly addresses?: {
215
+ readonly addresses?: readonly {
216
216
  readonly value: {
217
217
  readonly street?: string | undefined;
218
218
  readonly extended?: string | undefined;
@@ -224,7 +224,7 @@ export declare const NormalizationInput: Schema.Struct<{
224
224
  };
225
225
  readonly label?: string | undefined;
226
226
  }[] | undefined;
227
- readonly urls?: {
227
+ readonly urls?: readonly {
228
228
  readonly value: string;
229
229
  readonly label?: string | undefined;
230
230
  }[] | undefined;
@@ -232,110 +232,110 @@ export declare const NormalizationInput: Schema.Struct<{
232
232
  } & {
233
233
  readonly location?: readonly [number, number, (number | undefined)?] | undefined;
234
234
  }> | undefined;
235
- identityDid?: string | undefined;
236
- identityKey?: string | undefined;
237
- email?: string | undefined;
235
+ readonly identityDid?: string | undefined;
236
+ readonly identityKey?: string | undefined;
237
+ readonly email?: string | undefined;
238
238
  };
239
- readonly blocks: ({
240
- pending?: boolean | undefined;
241
- text: string;
242
- mimeType?: string | undefined;
243
- disposition?: string | undefined;
244
- _tag: "text";
239
+ readonly blocks: readonly ({
240
+ readonly pending?: boolean | undefined;
241
+ readonly text: string;
242
+ readonly mimeType?: string | undefined;
243
+ readonly disposition?: string | undefined;
244
+ readonly _tag: "text";
245
245
  } | {
246
- pending?: boolean | undefined;
247
- _tag: "reasoning";
248
- reasoningText?: string | undefined;
249
- redactedText?: string | undefined;
250
- signature?: string | undefined;
246
+ readonly pending?: boolean | undefined;
247
+ readonly _tag: "reasoning";
248
+ readonly reasoningText?: string | undefined;
249
+ readonly redactedText?: string | undefined;
250
+ readonly signature?: string | undefined;
251
251
  } | {
252
- name: string;
253
- pending?: boolean | undefined;
254
- _tag: "toolCall";
255
- toolCallId: string;
256
- input: string;
257
- providerExecuted: boolean;
252
+ readonly name: string;
253
+ readonly pending?: boolean | undefined;
254
+ readonly _tag: "toolCall";
255
+ readonly toolCallId: string;
256
+ readonly input: string;
257
+ readonly providerExecuted: boolean;
258
258
  } | {
259
- name: string;
260
- pending?: boolean | undefined;
261
- _tag: "toolResult";
262
- toolCallId: string;
263
- providerExecuted: boolean;
264
- result?: string | undefined;
265
- error?: string | undefined;
259
+ readonly name: string;
260
+ readonly pending?: boolean | undefined;
261
+ readonly _tag: "toolResult";
262
+ readonly toolCallId: string;
263
+ readonly providerExecuted: boolean;
264
+ readonly result?: string | undefined;
265
+ readonly error?: string | undefined;
266
266
  } | {
267
- pending?: boolean | undefined;
268
- mimeType?: string | undefined;
269
- _tag: "summary";
270
- message?: string | undefined;
271
- model?: string | undefined;
272
- usage?: {
267
+ readonly pending?: boolean | undefined;
268
+ readonly mimeType?: string | undefined;
269
+ readonly _tag: "summary";
270
+ readonly message?: string | undefined;
271
+ readonly model?: string | undefined;
272
+ readonly usage?: {
273
273
  readonly inputTokens?: number | undefined;
274
274
  readonly outputTokens?: number | undefined;
275
275
  readonly totalTokens?: number | undefined;
276
276
  } | undefined;
277
- toolCalls?: number | undefined;
278
- errors?: number | undefined;
279
- duration?: number | undefined;
277
+ readonly toolCalls?: number | undefined;
278
+ readonly errors?: number | undefined;
279
+ readonly duration?: number | undefined;
280
280
  } | {
281
- source?: {
282
- type: "base64";
283
- mediaType: string;
284
- data: string;
281
+ readonly source?: {
282
+ readonly type: "base64";
283
+ readonly mediaType: string;
284
+ readonly data: string;
285
285
  } | {
286
- type: "http";
287
- url: string;
286
+ readonly type: "http";
287
+ readonly url: string;
288
288
  } | undefined;
289
- id?: string | undefined;
290
- pending?: boolean | undefined;
291
- _tag: "image";
289
+ readonly id?: string | undefined;
290
+ readonly pending?: boolean | undefined;
291
+ readonly _tag: "image";
292
292
  } | {
293
- name?: string | undefined;
294
- pending?: boolean | undefined;
295
- _tag: "file";
296
- mediaType?: string | undefined;
297
- url: string;
293
+ readonly name?: string | undefined;
294
+ readonly pending?: boolean | undefined;
295
+ readonly _tag: "file";
296
+ readonly mediaType?: string | undefined;
297
+ readonly url: string;
298
298
  } | {
299
- pending?: boolean | undefined;
300
- _tag: "reference";
301
- reference: import("@dxos/echo/internal").Ref<any>;
299
+ readonly pending?: boolean | undefined;
300
+ readonly _tag: "reference";
301
+ readonly reference: import("@dxos/echo/internal").Ref<any>;
302
302
  } | {
303
- pending?: boolean | undefined;
304
- text: string;
305
- _tag: "transcript";
306
- started: string;
303
+ readonly pending?: boolean | undefined;
304
+ readonly text: string;
305
+ readonly _tag: "transcript";
306
+ readonly started: string;
307
307
  } | {
308
- pending?: boolean | undefined;
309
- _tag: "status";
310
- statusText: string;
308
+ readonly pending?: boolean | undefined;
309
+ readonly _tag: "status";
310
+ readonly statusText: string;
311
311
  } | {
312
- pending?: boolean | undefined;
313
- text: string;
314
- _tag: "suggestion";
312
+ readonly pending?: boolean | undefined;
313
+ readonly text: string;
314
+ readonly _tag: "suggestion";
315
315
  } | {
316
- pending?: boolean | undefined;
317
- _tag: "select";
318
- options: string[];
316
+ readonly pending?: boolean | undefined;
317
+ readonly _tag: "select";
318
+ readonly options: string[];
319
319
  } | {
320
- version: unknown;
321
- pending?: boolean | undefined;
322
- _tag: "anchor";
323
- objectId: string;
320
+ readonly version: unknown;
321
+ readonly pending?: boolean | undefined;
322
+ readonly _tag: "anchor";
323
+ readonly objectId: string;
324
324
  } | {
325
- pending?: boolean | undefined;
326
- text: string;
327
- _tag: "proposal";
325
+ readonly pending?: boolean | undefined;
326
+ readonly text: string;
327
+ readonly _tag: "proposal";
328
328
  } | {
329
- pending?: boolean | undefined;
330
- _tag: "toolkit";
329
+ readonly pending?: boolean | undefined;
330
+ readonly _tag: "toolkit";
331
331
  } | {
332
- pending?: boolean | undefined;
333
- disposition?: string | undefined;
334
- _tag: "json";
335
- data: string;
332
+ readonly pending?: boolean | undefined;
333
+ readonly disposition?: string | undefined;
334
+ readonly _tag: "json";
335
+ readonly data: string;
336
336
  })[];
337
337
  readonly properties?: {
338
- [x: string]: any;
338
+ readonly [x: string]: any;
339
339
  } | undefined;
340
340
  }, Schema.Struct.Fields>, Schema.Struct<{
341
341
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
@@ -349,9 +349,9 @@ export declare const NormalizationOutput: Schema.Struct<{
349
349
  readonly parentMessage?: string | undefined;
350
350
  readonly created: string;
351
351
  readonly sender: {
352
- name?: string | undefined;
353
- role?: "user" | "assistant" | "tool" | undefined;
354
- contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
352
+ readonly name?: string | undefined;
353
+ readonly role?: "user" | "assistant" | "tool" | undefined;
354
+ readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
355
355
  readonly image?: string | undefined;
356
356
  readonly fullName?: string | undefined;
357
357
  readonly preferredName?: string | undefined;
@@ -368,24 +368,24 @@ export declare const NormalizationOutput: Schema.Struct<{
368
368
  readonly jobTitle?: string | undefined;
369
369
  readonly department?: string | undefined;
370
370
  readonly notes?: string | undefined;
371
- readonly emails?: {
371
+ readonly emails?: readonly {
372
372
  readonly value: string;
373
373
  readonly label?: string | undefined;
374
374
  }[] | undefined;
375
- readonly identities?: {
375
+ readonly identities?: readonly {
376
376
  readonly value: string;
377
377
  readonly label?: string | undefined;
378
378
  }[] | undefined;
379
- readonly phoneNumbers?: {
379
+ readonly phoneNumbers?: readonly {
380
380
  readonly value: string;
381
381
  readonly label?: string | undefined;
382
382
  }[] | undefined;
383
- readonly fields?: {
383
+ readonly fields?: readonly {
384
384
  readonly value: string;
385
385
  readonly label: string;
386
386
  readonly category?: string | undefined;
387
387
  }[] | undefined;
388
- readonly addresses?: {
388
+ readonly addresses?: readonly {
389
389
  readonly value: {
390
390
  readonly street?: string | undefined;
391
391
  readonly extended?: string | undefined;
@@ -397,7 +397,7 @@ export declare const NormalizationOutput: Schema.Struct<{
397
397
  };
398
398
  readonly label?: string | undefined;
399
399
  }[] | undefined;
400
- readonly urls?: {
400
+ readonly urls?: readonly {
401
401
  readonly value: string;
402
402
  readonly label?: string | undefined;
403
403
  }[] | undefined;
@@ -405,110 +405,110 @@ export declare const NormalizationOutput: Schema.Struct<{
405
405
  } & {
406
406
  readonly location?: readonly [number, number, (number | undefined)?] | undefined;
407
407
  }> | undefined;
408
- identityDid?: string | undefined;
409
- identityKey?: string | undefined;
410
- email?: string | undefined;
408
+ readonly identityDid?: string | undefined;
409
+ readonly identityKey?: string | undefined;
410
+ readonly email?: string | undefined;
411
411
  };
412
- readonly blocks: ({
413
- pending?: boolean | undefined;
414
- text: string;
415
- mimeType?: string | undefined;
416
- disposition?: string | undefined;
417
- _tag: "text";
412
+ readonly blocks: readonly ({
413
+ readonly pending?: boolean | undefined;
414
+ readonly text: string;
415
+ readonly mimeType?: string | undefined;
416
+ readonly disposition?: string | undefined;
417
+ readonly _tag: "text";
418
418
  } | {
419
- pending?: boolean | undefined;
420
- _tag: "reasoning";
421
- reasoningText?: string | undefined;
422
- redactedText?: string | undefined;
423
- signature?: string | undefined;
419
+ readonly pending?: boolean | undefined;
420
+ readonly _tag: "reasoning";
421
+ readonly reasoningText?: string | undefined;
422
+ readonly redactedText?: string | undefined;
423
+ readonly signature?: string | undefined;
424
424
  } | {
425
- name: string;
426
- pending?: boolean | undefined;
427
- _tag: "toolCall";
428
- toolCallId: string;
429
- input: string;
430
- providerExecuted: boolean;
425
+ readonly name: string;
426
+ readonly pending?: boolean | undefined;
427
+ readonly _tag: "toolCall";
428
+ readonly toolCallId: string;
429
+ readonly input: string;
430
+ readonly providerExecuted: boolean;
431
431
  } | {
432
- name: string;
433
- pending?: boolean | undefined;
434
- _tag: "toolResult";
435
- toolCallId: string;
436
- providerExecuted: boolean;
437
- result?: string | undefined;
438
- error?: string | undefined;
432
+ readonly name: string;
433
+ readonly pending?: boolean | undefined;
434
+ readonly _tag: "toolResult";
435
+ readonly toolCallId: string;
436
+ readonly providerExecuted: boolean;
437
+ readonly result?: string | undefined;
438
+ readonly error?: string | undefined;
439
439
  } | {
440
- pending?: boolean | undefined;
441
- mimeType?: string | undefined;
442
- _tag: "summary";
443
- message?: string | undefined;
444
- model?: string | undefined;
445
- usage?: {
440
+ readonly pending?: boolean | undefined;
441
+ readonly mimeType?: string | undefined;
442
+ readonly _tag: "summary";
443
+ readonly message?: string | undefined;
444
+ readonly model?: string | undefined;
445
+ readonly usage?: {
446
446
  readonly inputTokens?: number | undefined;
447
447
  readonly outputTokens?: number | undefined;
448
448
  readonly totalTokens?: number | undefined;
449
449
  } | undefined;
450
- toolCalls?: number | undefined;
451
- errors?: number | undefined;
452
- duration?: number | undefined;
450
+ readonly toolCalls?: number | undefined;
451
+ readonly errors?: number | undefined;
452
+ readonly duration?: number | undefined;
453
453
  } | {
454
- source?: {
455
- type: "base64";
456
- mediaType: string;
457
- data: string;
454
+ readonly source?: {
455
+ readonly type: "base64";
456
+ readonly mediaType: string;
457
+ readonly data: string;
458
458
  } | {
459
- type: "http";
460
- url: string;
459
+ readonly type: "http";
460
+ readonly url: string;
461
461
  } | undefined;
462
- id?: string | undefined;
463
- pending?: boolean | undefined;
464
- _tag: "image";
462
+ readonly id?: string | undefined;
463
+ readonly pending?: boolean | undefined;
464
+ readonly _tag: "image";
465
465
  } | {
466
- name?: string | undefined;
467
- pending?: boolean | undefined;
468
- _tag: "file";
469
- mediaType?: string | undefined;
470
- url: string;
466
+ readonly name?: string | undefined;
467
+ readonly pending?: boolean | undefined;
468
+ readonly _tag: "file";
469
+ readonly mediaType?: string | undefined;
470
+ readonly url: string;
471
471
  } | {
472
- pending?: boolean | undefined;
473
- _tag: "reference";
474
- reference: import("@dxos/echo/internal").Ref<any>;
472
+ readonly pending?: boolean | undefined;
473
+ readonly _tag: "reference";
474
+ readonly reference: import("@dxos/echo/internal").Ref<any>;
475
475
  } | {
476
- pending?: boolean | undefined;
477
- text: string;
478
- _tag: "transcript";
479
- started: string;
476
+ readonly pending?: boolean | undefined;
477
+ readonly text: string;
478
+ readonly _tag: "transcript";
479
+ readonly started: string;
480
480
  } | {
481
- pending?: boolean | undefined;
482
- _tag: "status";
483
- statusText: string;
481
+ readonly pending?: boolean | undefined;
482
+ readonly _tag: "status";
483
+ readonly statusText: string;
484
484
  } | {
485
- pending?: boolean | undefined;
486
- text: string;
487
- _tag: "suggestion";
485
+ readonly pending?: boolean | undefined;
486
+ readonly text: string;
487
+ readonly _tag: "suggestion";
488
488
  } | {
489
- pending?: boolean | undefined;
490
- _tag: "select";
491
- options: string[];
489
+ readonly pending?: boolean | undefined;
490
+ readonly _tag: "select";
491
+ readonly options: string[];
492
492
  } | {
493
- version: unknown;
494
- pending?: boolean | undefined;
495
- _tag: "anchor";
496
- objectId: string;
493
+ readonly version: unknown;
494
+ readonly pending?: boolean | undefined;
495
+ readonly _tag: "anchor";
496
+ readonly objectId: string;
497
497
  } | {
498
- pending?: boolean | undefined;
499
- text: string;
500
- _tag: "proposal";
498
+ readonly pending?: boolean | undefined;
499
+ readonly text: string;
500
+ readonly _tag: "proposal";
501
501
  } | {
502
- pending?: boolean | undefined;
503
- _tag: "toolkit";
502
+ readonly pending?: boolean | undefined;
503
+ readonly _tag: "toolkit";
504
504
  } | {
505
- pending?: boolean | undefined;
506
- disposition?: string | undefined;
507
- _tag: "json";
508
- data: string;
505
+ readonly pending?: boolean | undefined;
506
+ readonly disposition?: string | undefined;
507
+ readonly _tag: "json";
508
+ readonly data: string;
509
509
  })[];
510
510
  readonly properties?: {
511
- [x: string]: any;
511
+ readonly [x: string]: any;
512
512
  } | undefined;
513
513
  }, Schema.Struct.Fields>, Schema.Struct<{
514
514
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;