@mastra/playground-ui 30.0.2-alpha.2 → 31.0.0-alpha.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 (27) hide show
  1. package/CHANGELOG.md +74 -0
  2. package/dist/index.cjs.js +233 -75
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.css +201 -27
  5. package/dist/index.es.js +227 -70
  6. package/dist/index.es.js.map +1 -1
  7. package/dist/src/domains/logs/hooks/use-logs.d.ts +13 -1267
  8. package/dist/src/domains/traces/hooks/use-branch.d.ts +5 -46
  9. package/dist/src/domains/traces/hooks/use-span-detail.d.ts +6 -44
  10. package/dist/src/domains/traces/hooks/use-trace-light-spans.d.ts +5 -18
  11. package/dist/src/domains/traces/hooks/use-trace-spans.d.ts +5 -46
  12. package/dist/src/domains/traces/hooks/use-traces.d.ts +15 -1539
  13. package/dist/src/ds/components/ButtonsGroup/buttons-group.stories.d.ts +30 -0
  14. package/dist/src/ds/components/Command/command.d.ts +7 -72
  15. package/dist/src/ds/components/FormFieldBlocks/fields/search-field-block.d.ts +2 -1
  16. package/dist/src/ds/components/Input/input.d.ts +3 -3
  17. package/dist/src/ds/components/Input/input.stories.d.ts +4 -0
  18. package/dist/src/ds/components/InputGroup/input-group.d.ts +7 -2
  19. package/dist/src/ds/components/InputGroup/input-group.stories.d.ts +3 -0
  20. package/dist/src/ds/components/ListSearch/list-search.d.ts +2 -1
  21. package/dist/src/ds/components/Searchbar/searchbar.d.ts +4 -1
  22. package/dist/src/ds/components/Searchbar/searchbar.stories.d.ts +3 -0
  23. package/dist/src/ds/components/Textarea/textarea.d.ts +3 -3
  24. package/dist/src/ds/components/Textarea/textarea.stories.d.ts +1 -0
  25. package/dist/src/ds/primitives/form-element.d.ts +6 -4
  26. package/dist/src/lib/formatting.d.ts +1 -0
  27. package/package.json +6 -6
@@ -1,4 +1,4 @@
1
- import { ListBranchesArgs, ListBranchesResponse, ListTracesArgs, ListTracesResponse } from '@mastra/core/storage';
1
+ import { LightSpanRecord, ListBranchesArgs, ListBranchesResponse, ListTracesArgs, ListTracesResponse } from '@mastra/core/storage';
2
2
  import { InfiniteData } from '@tanstack/react-query';
3
3
  import { TraceListMode } from '../trace-filters';
4
4
  /** Tunables for live-tail polling. All fields optional — defaults below.
@@ -48,51 +48,7 @@ type TracesPageResponse = ListTracesResponse | ListBranchesResponse;
48
48
  export declare function selectUniqueTraces(data: {
49
49
  pages: TracesPageResponse[];
50
50
  }): {
51
- spans: {
52
- createdAt: Date;
53
- updatedAt: Date | null;
54
- name: string;
55
- spanType: import('@mastra/core/observability').SpanType;
56
- isEvent: boolean;
57
- startedAt: Date;
58
- traceId: string;
59
- spanId: string;
60
- status: import('@mastra/core/storage').TraceStatus;
61
- experimentId?: string | null | undefined;
62
- attributes?: Record<string, unknown> | null | undefined;
63
- links?: unknown[] | null | undefined;
64
- input?: unknown;
65
- output?: unknown;
66
- error?: unknown;
67
- endedAt?: Date | null | undefined;
68
- requestContext?: Record<string, unknown> | null | undefined;
69
- metadata?: Record<string, unknown> | null | undefined;
70
- tags?: string[] | null | undefined;
71
- source?: string | null | undefined;
72
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
73
- entityId?: string | null | undefined;
74
- entityName?: string | null | undefined;
75
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
76
- parentEntityId?: string | null | undefined;
77
- parentEntityName?: string | null | undefined;
78
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
79
- rootEntityId?: string | null | undefined;
80
- rootEntityName?: string | null | undefined;
81
- userId?: string | null | undefined;
82
- organizationId?: string | null | undefined;
83
- resourceId?: string | null | undefined;
84
- runId?: string | null | undefined;
85
- sessionId?: string | null | undefined;
86
- threadId?: string | null | undefined;
87
- requestId?: string | null | undefined;
88
- environment?: string | null | undefined;
89
- serviceName?: string | null | undefined;
90
- scope?: Record<string, unknown> | null | undefined;
91
- entityVersionId?: string | null | undefined;
92
- parentEntityVersionId?: string | null | undefined;
93
- rootEntityVersionId?: string | null | undefined;
94
- parentSpanId?: string | null | undefined;
95
- }[];
51
+ spans: LightSpanRecord[];
96
52
  deltaCursor: string | undefined;
97
53
  };
98
54
  /** Replaces existing page-0 rows in place (keyed by traceId:spanId) with
@@ -113,1508 +69,28 @@ export interface UseTracesArgs extends TracesFilters {
113
69
  * built-in defaults; pass only what you want to change. */
114
70
  polling?: TracesPollingConfig;
115
71
  }
116
- export declare const useTraces: ({ filters, listMode, polling }: UseTracesArgs) => {
117
- setEndOfListElement: (node: HTMLDivElement | null) => (() => void) | undefined;
118
- isRefetching: boolean;
119
- autoRefetch: boolean;
120
- setAutoRefetch: import('react').Dispatch<import('react').SetStateAction<boolean>>;
121
- recentlyAddedKeys: Set<string>;
122
- data: {
123
- spans: {
124
- createdAt: Date;
125
- updatedAt: Date | null;
126
- name: string;
127
- spanType: import('@mastra/core/observability').SpanType;
128
- isEvent: boolean;
129
- startedAt: Date;
130
- traceId: string;
131
- spanId: string;
132
- status: import('@mastra/core/storage').TraceStatus;
133
- experimentId?: string | null | undefined;
134
- attributes?: Record<string, unknown> | null | undefined;
135
- links?: unknown[] | null | undefined;
136
- input?: unknown;
137
- output?: unknown;
138
- error?: unknown;
139
- endedAt?: Date | null | undefined;
140
- requestContext?: Record<string, unknown> | null | undefined;
141
- metadata?: Record<string, unknown> | null | undefined;
142
- tags?: string[] | null | undefined;
143
- source?: string | null | undefined;
144
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
145
- entityId?: string | null | undefined;
146
- entityName?: string | null | undefined;
147
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
148
- parentEntityId?: string | null | undefined;
149
- parentEntityName?: string | null | undefined;
150
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
151
- rootEntityId?: string | null | undefined;
152
- rootEntityName?: string | null | undefined;
153
- userId?: string | null | undefined;
154
- organizationId?: string | null | undefined;
155
- resourceId?: string | null | undefined;
156
- runId?: string | null | undefined;
157
- sessionId?: string | null | undefined;
158
- threadId?: string | null | undefined;
159
- requestId?: string | null | undefined;
160
- environment?: string | null | undefined;
161
- serviceName?: string | null | undefined;
162
- scope?: Record<string, unknown> | null | undefined;
163
- entityVersionId?: string | null | undefined;
164
- parentEntityVersionId?: string | null | undefined;
165
- rootEntityVersionId?: string | null | undefined;
166
- parentSpanId?: string | null | undefined;
167
- }[];
168
- deltaCursor: string | undefined;
169
- };
170
- error: Error;
171
- isError: true;
172
- isPending: false;
173
- isLoading: false;
174
- isLoadingError: false;
175
- isRefetchError: true;
176
- isSuccess: false;
177
- isPlaceholderData: false;
178
- status: "error";
179
- fetchNextPage: (options?: import('@tanstack/react-query').FetchNextPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
180
- spans: {
181
- createdAt: Date;
182
- updatedAt: Date | null;
183
- name: string;
184
- spanType: import('@mastra/core/observability').SpanType;
185
- isEvent: boolean;
186
- startedAt: Date;
187
- traceId: string;
188
- spanId: string;
189
- status: import('@mastra/core/storage').TraceStatus;
190
- experimentId?: string | null | undefined;
191
- attributes?: Record<string, unknown> | null | undefined;
192
- links?: unknown[] | null | undefined;
193
- input?: unknown;
194
- output?: unknown;
195
- error?: unknown;
196
- endedAt?: Date | null | undefined;
197
- requestContext?: Record<string, unknown> | null | undefined;
198
- metadata?: Record<string, unknown> | null | undefined;
199
- tags?: string[] | null | undefined;
200
- source?: string | null | undefined;
201
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
202
- entityId?: string | null | undefined;
203
- entityName?: string | null | undefined;
204
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
205
- parentEntityId?: string | null | undefined;
206
- parentEntityName?: string | null | undefined;
207
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
208
- rootEntityId?: string | null | undefined;
209
- rootEntityName?: string | null | undefined;
210
- userId?: string | null | undefined;
211
- organizationId?: string | null | undefined;
212
- resourceId?: string | null | undefined;
213
- runId?: string | null | undefined;
214
- sessionId?: string | null | undefined;
215
- threadId?: string | null | undefined;
216
- requestId?: string | null | undefined;
217
- environment?: string | null | undefined;
218
- serviceName?: string | null | undefined;
219
- scope?: Record<string, unknown> | null | undefined;
220
- entityVersionId?: string | null | undefined;
221
- parentEntityVersionId?: string | null | undefined;
222
- rootEntityVersionId?: string | null | undefined;
223
- parentSpanId?: string | null | undefined;
224
- }[];
225
- deltaCursor: string | undefined;
226
- }, Error>>;
227
- fetchPreviousPage: (options?: import('@tanstack/react-query').FetchPreviousPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
228
- spans: {
229
- createdAt: Date;
230
- updatedAt: Date | null;
231
- name: string;
232
- spanType: import('@mastra/core/observability').SpanType;
233
- isEvent: boolean;
234
- startedAt: Date;
235
- traceId: string;
236
- spanId: string;
237
- status: import('@mastra/core/storage').TraceStatus;
238
- experimentId?: string | null | undefined;
239
- attributes?: Record<string, unknown> | null | undefined;
240
- links?: unknown[] | null | undefined;
241
- input?: unknown;
242
- output?: unknown;
243
- error?: unknown;
244
- endedAt?: Date | null | undefined;
245
- requestContext?: Record<string, unknown> | null | undefined;
246
- metadata?: Record<string, unknown> | null | undefined;
247
- tags?: string[] | null | undefined;
248
- source?: string | null | undefined;
249
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
250
- entityId?: string | null | undefined;
251
- entityName?: string | null | undefined;
252
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
253
- parentEntityId?: string | null | undefined;
254
- parentEntityName?: string | null | undefined;
255
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
256
- rootEntityId?: string | null | undefined;
257
- rootEntityName?: string | null | undefined;
258
- userId?: string | null | undefined;
259
- organizationId?: string | null | undefined;
260
- resourceId?: string | null | undefined;
261
- runId?: string | null | undefined;
262
- sessionId?: string | null | undefined;
263
- threadId?: string | null | undefined;
264
- requestId?: string | null | undefined;
265
- environment?: string | null | undefined;
266
- serviceName?: string | null | undefined;
267
- scope?: Record<string, unknown> | null | undefined;
268
- entityVersionId?: string | null | undefined;
269
- parentEntityVersionId?: string | null | undefined;
270
- rootEntityVersionId?: string | null | undefined;
271
- parentSpanId?: string | null | undefined;
272
- }[];
273
- deltaCursor: string | undefined;
274
- }, Error>>;
275
- hasNextPage: boolean;
276
- hasPreviousPage: boolean;
277
- isFetchNextPageError: boolean;
278
- isFetchingNextPage: boolean;
279
- isFetchPreviousPageError: boolean;
280
- isFetchingPreviousPage: boolean;
281
- dataUpdatedAt: number;
282
- errorUpdatedAt: number;
283
- failureCount: number;
284
- failureReason: Error | null;
285
- errorUpdateCount: number;
286
- isFetched: boolean;
287
- isFetchedAfterMount: boolean;
288
- isFetching: boolean;
289
- isInitialLoading: boolean;
290
- isPaused: boolean;
291
- isStale: boolean;
292
- isEnabled: boolean;
293
- refetch: (options?: import('@tanstack/react-query').RefetchOptions) => Promise<import('@tanstack/react-query').QueryObserverResult<{
294
- spans: {
295
- createdAt: Date;
296
- updatedAt: Date | null;
297
- name: string;
298
- spanType: import('@mastra/core/observability').SpanType;
299
- isEvent: boolean;
300
- startedAt: Date;
301
- traceId: string;
302
- spanId: string;
303
- status: import('@mastra/core/storage').TraceStatus;
304
- experimentId?: string | null | undefined;
305
- attributes?: Record<string, unknown> | null | undefined;
306
- links?: unknown[] | null | undefined;
307
- input?: unknown;
308
- output?: unknown;
309
- error?: unknown;
310
- endedAt?: Date | null | undefined;
311
- requestContext?: Record<string, unknown> | null | undefined;
312
- metadata?: Record<string, unknown> | null | undefined;
313
- tags?: string[] | null | undefined;
314
- source?: string | null | undefined;
315
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
316
- entityId?: string | null | undefined;
317
- entityName?: string | null | undefined;
318
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
319
- parentEntityId?: string | null | undefined;
320
- parentEntityName?: string | null | undefined;
321
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
322
- rootEntityId?: string | null | undefined;
323
- rootEntityName?: string | null | undefined;
324
- userId?: string | null | undefined;
325
- organizationId?: string | null | undefined;
326
- resourceId?: string | null | undefined;
327
- runId?: string | null | undefined;
328
- sessionId?: string | null | undefined;
329
- threadId?: string | null | undefined;
330
- requestId?: string | null | undefined;
331
- environment?: string | null | undefined;
332
- serviceName?: string | null | undefined;
333
- scope?: Record<string, unknown> | null | undefined;
334
- entityVersionId?: string | null | undefined;
335
- parentEntityVersionId?: string | null | undefined;
336
- rootEntityVersionId?: string | null | undefined;
337
- parentSpanId?: string | null | undefined;
338
- }[];
339
- deltaCursor: string | undefined;
340
- }, Error>>;
341
- fetchStatus: import('@tanstack/react-query').FetchStatus;
342
- promise: Promise<{
343
- spans: {
344
- createdAt: Date;
345
- updatedAt: Date | null;
346
- name: string;
347
- spanType: import('@mastra/core/observability').SpanType;
348
- isEvent: boolean;
349
- startedAt: Date;
350
- traceId: string;
351
- spanId: string;
352
- status: import('@mastra/core/storage').TraceStatus;
353
- experimentId?: string | null | undefined;
354
- attributes?: Record<string, unknown> | null | undefined;
355
- links?: unknown[] | null | undefined;
356
- input?: unknown;
357
- output?: unknown;
358
- error?: unknown;
359
- endedAt?: Date | null | undefined;
360
- requestContext?: Record<string, unknown> | null | undefined;
361
- metadata?: Record<string, unknown> | null | undefined;
362
- tags?: string[] | null | undefined;
363
- source?: string | null | undefined;
364
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
365
- entityId?: string | null | undefined;
366
- entityName?: string | null | undefined;
367
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
368
- parentEntityId?: string | null | undefined;
369
- parentEntityName?: string | null | undefined;
370
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
371
- rootEntityId?: string | null | undefined;
372
- rootEntityName?: string | null | undefined;
373
- userId?: string | null | undefined;
374
- organizationId?: string | null | undefined;
375
- resourceId?: string | null | undefined;
376
- runId?: string | null | undefined;
377
- sessionId?: string | null | undefined;
378
- threadId?: string | null | undefined;
379
- requestId?: string | null | undefined;
380
- environment?: string | null | undefined;
381
- serviceName?: string | null | undefined;
382
- scope?: Record<string, unknown> | null | undefined;
383
- entityVersionId?: string | null | undefined;
384
- parentEntityVersionId?: string | null | undefined;
385
- rootEntityVersionId?: string | null | undefined;
386
- parentSpanId?: string | null | undefined;
387
- }[];
388
- deltaCursor: string | undefined;
389
- }>;
390
- } | {
391
- setEndOfListElement: (node: HTMLDivElement | null) => (() => void) | undefined;
392
- isRefetching: boolean;
393
- autoRefetch: boolean;
394
- setAutoRefetch: import('react').Dispatch<import('react').SetStateAction<boolean>>;
395
- recentlyAddedKeys: Set<string>;
72
+ interface UseTracesReturn {
396
73
  data: {
397
- spans: {
398
- createdAt: Date;
399
- updatedAt: Date | null;
400
- name: string;
401
- spanType: import('@mastra/core/observability').SpanType;
402
- isEvent: boolean;
403
- startedAt: Date;
404
- traceId: string;
405
- spanId: string;
406
- status: import('@mastra/core/storage').TraceStatus;
407
- experimentId?: string | null | undefined;
408
- attributes?: Record<string, unknown> | null | undefined;
409
- links?: unknown[] | null | undefined;
410
- input?: unknown;
411
- output?: unknown;
412
- error?: unknown;
413
- endedAt?: Date | null | undefined;
414
- requestContext?: Record<string, unknown> | null | undefined;
415
- metadata?: Record<string, unknown> | null | undefined;
416
- tags?: string[] | null | undefined;
417
- source?: string | null | undefined;
418
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
419
- entityId?: string | null | undefined;
420
- entityName?: string | null | undefined;
421
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
422
- parentEntityId?: string | null | undefined;
423
- parentEntityName?: string | null | undefined;
424
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
425
- rootEntityId?: string | null | undefined;
426
- rootEntityName?: string | null | undefined;
427
- userId?: string | null | undefined;
428
- organizationId?: string | null | undefined;
429
- resourceId?: string | null | undefined;
430
- runId?: string | null | undefined;
431
- sessionId?: string | null | undefined;
432
- threadId?: string | null | undefined;
433
- requestId?: string | null | undefined;
434
- environment?: string | null | undefined;
435
- serviceName?: string | null | undefined;
436
- scope?: Record<string, unknown> | null | undefined;
437
- entityVersionId?: string | null | undefined;
438
- parentEntityVersionId?: string | null | undefined;
439
- rootEntityVersionId?: string | null | undefined;
440
- parentSpanId?: string | null | undefined;
441
- }[];
442
- deltaCursor: string | undefined;
443
- };
444
- error: null;
445
- isError: false;
446
- isPending: false;
447
- isLoading: false;
448
- isLoadingError: false;
449
- isRefetchError: false;
450
- isFetchNextPageError: false;
451
- isFetchPreviousPageError: false;
452
- isSuccess: true;
453
- isPlaceholderData: false;
454
- status: "success";
455
- fetchNextPage: (options?: import('@tanstack/react-query').FetchNextPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
456
- spans: {
457
- createdAt: Date;
458
- updatedAt: Date | null;
459
- name: string;
460
- spanType: import('@mastra/core/observability').SpanType;
461
- isEvent: boolean;
462
- startedAt: Date;
463
- traceId: string;
464
- spanId: string;
465
- status: import('@mastra/core/storage').TraceStatus;
466
- experimentId?: string | null | undefined;
467
- attributes?: Record<string, unknown> | null | undefined;
468
- links?: unknown[] | null | undefined;
469
- input?: unknown;
470
- output?: unknown;
471
- error?: unknown;
472
- endedAt?: Date | null | undefined;
473
- requestContext?: Record<string, unknown> | null | undefined;
474
- metadata?: Record<string, unknown> | null | undefined;
475
- tags?: string[] | null | undefined;
476
- source?: string | null | undefined;
477
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
478
- entityId?: string | null | undefined;
479
- entityName?: string | null | undefined;
480
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
481
- parentEntityId?: string | null | undefined;
482
- parentEntityName?: string | null | undefined;
483
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
484
- rootEntityId?: string | null | undefined;
485
- rootEntityName?: string | null | undefined;
486
- userId?: string | null | undefined;
487
- organizationId?: string | null | undefined;
488
- resourceId?: string | null | undefined;
489
- runId?: string | null | undefined;
490
- sessionId?: string | null | undefined;
491
- threadId?: string | null | undefined;
492
- requestId?: string | null | undefined;
493
- environment?: string | null | undefined;
494
- serviceName?: string | null | undefined;
495
- scope?: Record<string, unknown> | null | undefined;
496
- entityVersionId?: string | null | undefined;
497
- parentEntityVersionId?: string | null | undefined;
498
- rootEntityVersionId?: string | null | undefined;
499
- parentSpanId?: string | null | undefined;
500
- }[];
501
- deltaCursor: string | undefined;
502
- }, Error>>;
503
- fetchPreviousPage: (options?: import('@tanstack/react-query').FetchPreviousPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
504
- spans: {
505
- createdAt: Date;
506
- updatedAt: Date | null;
507
- name: string;
508
- spanType: import('@mastra/core/observability').SpanType;
509
- isEvent: boolean;
510
- startedAt: Date;
511
- traceId: string;
512
- spanId: string;
513
- status: import('@mastra/core/storage').TraceStatus;
514
- experimentId?: string | null | undefined;
515
- attributes?: Record<string, unknown> | null | undefined;
516
- links?: unknown[] | null | undefined;
517
- input?: unknown;
518
- output?: unknown;
519
- error?: unknown;
520
- endedAt?: Date | null | undefined;
521
- requestContext?: Record<string, unknown> | null | undefined;
522
- metadata?: Record<string, unknown> | null | undefined;
523
- tags?: string[] | null | undefined;
524
- source?: string | null | undefined;
525
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
526
- entityId?: string | null | undefined;
527
- entityName?: string | null | undefined;
528
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
529
- parentEntityId?: string | null | undefined;
530
- parentEntityName?: string | null | undefined;
531
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
532
- rootEntityId?: string | null | undefined;
533
- rootEntityName?: string | null | undefined;
534
- userId?: string | null | undefined;
535
- organizationId?: string | null | undefined;
536
- resourceId?: string | null | undefined;
537
- runId?: string | null | undefined;
538
- sessionId?: string | null | undefined;
539
- threadId?: string | null | undefined;
540
- requestId?: string | null | undefined;
541
- environment?: string | null | undefined;
542
- serviceName?: string | null | undefined;
543
- scope?: Record<string, unknown> | null | undefined;
544
- entityVersionId?: string | null | undefined;
545
- parentEntityVersionId?: string | null | undefined;
546
- rootEntityVersionId?: string | null | undefined;
547
- parentSpanId?: string | null | undefined;
548
- }[];
549
- deltaCursor: string | undefined;
550
- }, Error>>;
551
- hasNextPage: boolean;
552
- hasPreviousPage: boolean;
553
- isFetchingNextPage: boolean;
554
- isFetchingPreviousPage: boolean;
555
- dataUpdatedAt: number;
556
- errorUpdatedAt: number;
557
- failureCount: number;
558
- failureReason: Error | null;
559
- errorUpdateCount: number;
560
- isFetched: boolean;
561
- isFetchedAfterMount: boolean;
562
- isFetching: boolean;
563
- isInitialLoading: boolean;
564
- isPaused: boolean;
565
- isStale: boolean;
566
- isEnabled: boolean;
567
- refetch: (options?: import('@tanstack/react-query').RefetchOptions) => Promise<import('@tanstack/react-query').QueryObserverResult<{
568
- spans: {
569
- createdAt: Date;
570
- updatedAt: Date | null;
571
- name: string;
572
- spanType: import('@mastra/core/observability').SpanType;
573
- isEvent: boolean;
574
- startedAt: Date;
575
- traceId: string;
576
- spanId: string;
577
- status: import('@mastra/core/storage').TraceStatus;
578
- experimentId?: string | null | undefined;
579
- attributes?: Record<string, unknown> | null | undefined;
580
- links?: unknown[] | null | undefined;
581
- input?: unknown;
582
- output?: unknown;
583
- error?: unknown;
584
- endedAt?: Date | null | undefined;
585
- requestContext?: Record<string, unknown> | null | undefined;
586
- metadata?: Record<string, unknown> | null | undefined;
587
- tags?: string[] | null | undefined;
588
- source?: string | null | undefined;
589
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
590
- entityId?: string | null | undefined;
591
- entityName?: string | null | undefined;
592
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
593
- parentEntityId?: string | null | undefined;
594
- parentEntityName?: string | null | undefined;
595
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
596
- rootEntityId?: string | null | undefined;
597
- rootEntityName?: string | null | undefined;
598
- userId?: string | null | undefined;
599
- organizationId?: string | null | undefined;
600
- resourceId?: string | null | undefined;
601
- runId?: string | null | undefined;
602
- sessionId?: string | null | undefined;
603
- threadId?: string | null | undefined;
604
- requestId?: string | null | undefined;
605
- environment?: string | null | undefined;
606
- serviceName?: string | null | undefined;
607
- scope?: Record<string, unknown> | null | undefined;
608
- entityVersionId?: string | null | undefined;
609
- parentEntityVersionId?: string | null | undefined;
610
- rootEntityVersionId?: string | null | undefined;
611
- parentSpanId?: string | null | undefined;
612
- }[];
613
- deltaCursor: string | undefined;
614
- }, Error>>;
615
- fetchStatus: import('@tanstack/react-query').FetchStatus;
616
- promise: Promise<{
617
- spans: {
618
- createdAt: Date;
619
- updatedAt: Date | null;
620
- name: string;
621
- spanType: import('@mastra/core/observability').SpanType;
622
- isEvent: boolean;
623
- startedAt: Date;
624
- traceId: string;
625
- spanId: string;
626
- status: import('@mastra/core/storage').TraceStatus;
627
- experimentId?: string | null | undefined;
628
- attributes?: Record<string, unknown> | null | undefined;
629
- links?: unknown[] | null | undefined;
630
- input?: unknown;
631
- output?: unknown;
632
- error?: unknown;
633
- endedAt?: Date | null | undefined;
634
- requestContext?: Record<string, unknown> | null | undefined;
635
- metadata?: Record<string, unknown> | null | undefined;
636
- tags?: string[] | null | undefined;
637
- source?: string | null | undefined;
638
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
639
- entityId?: string | null | undefined;
640
- entityName?: string | null | undefined;
641
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
642
- parentEntityId?: string | null | undefined;
643
- parentEntityName?: string | null | undefined;
644
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
645
- rootEntityId?: string | null | undefined;
646
- rootEntityName?: string | null | undefined;
647
- userId?: string | null | undefined;
648
- organizationId?: string | null | undefined;
649
- resourceId?: string | null | undefined;
650
- runId?: string | null | undefined;
651
- sessionId?: string | null | undefined;
652
- threadId?: string | null | undefined;
653
- requestId?: string | null | undefined;
654
- environment?: string | null | undefined;
655
- serviceName?: string | null | undefined;
656
- scope?: Record<string, unknown> | null | undefined;
657
- entityVersionId?: string | null | undefined;
658
- parentEntityVersionId?: string | null | undefined;
659
- rootEntityVersionId?: string | null | undefined;
660
- parentSpanId?: string | null | undefined;
661
- }[];
662
- deltaCursor: string | undefined;
663
- }>;
664
- } | {
665
- setEndOfListElement: (node: HTMLDivElement | null) => (() => void) | undefined;
666
- isRefetching: boolean;
667
- autoRefetch: boolean;
668
- setAutoRefetch: import('react').Dispatch<import('react').SetStateAction<boolean>>;
669
- recentlyAddedKeys: Set<string>;
670
- data: undefined;
671
- error: Error;
672
- isError: true;
673
- isPending: false;
674
- isLoading: false;
675
- isLoadingError: true;
676
- isRefetchError: false;
677
- isFetchNextPageError: false;
678
- isFetchPreviousPageError: false;
679
- isSuccess: false;
680
- isPlaceholderData: false;
681
- status: "error";
682
- fetchNextPage: (options?: import('@tanstack/react-query').FetchNextPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
683
- spans: {
684
- createdAt: Date;
685
- updatedAt: Date | null;
686
- name: string;
687
- spanType: import('@mastra/core/observability').SpanType;
688
- isEvent: boolean;
689
- startedAt: Date;
690
- traceId: string;
691
- spanId: string;
692
- status: import('@mastra/core/storage').TraceStatus;
693
- experimentId?: string | null | undefined;
694
- attributes?: Record<string, unknown> | null | undefined;
695
- links?: unknown[] | null | undefined;
696
- input?: unknown;
697
- output?: unknown;
698
- error?: unknown;
699
- endedAt?: Date | null | undefined;
700
- requestContext?: Record<string, unknown> | null | undefined;
701
- metadata?: Record<string, unknown> | null | undefined;
702
- tags?: string[] | null | undefined;
703
- source?: string | null | undefined;
704
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
705
- entityId?: string | null | undefined;
706
- entityName?: string | null | undefined;
707
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
708
- parentEntityId?: string | null | undefined;
709
- parentEntityName?: string | null | undefined;
710
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
711
- rootEntityId?: string | null | undefined;
712
- rootEntityName?: string | null | undefined;
713
- userId?: string | null | undefined;
714
- organizationId?: string | null | undefined;
715
- resourceId?: string | null | undefined;
716
- runId?: string | null | undefined;
717
- sessionId?: string | null | undefined;
718
- threadId?: string | null | undefined;
719
- requestId?: string | null | undefined;
720
- environment?: string | null | undefined;
721
- serviceName?: string | null | undefined;
722
- scope?: Record<string, unknown> | null | undefined;
723
- entityVersionId?: string | null | undefined;
724
- parentEntityVersionId?: string | null | undefined;
725
- rootEntityVersionId?: string | null | undefined;
726
- parentSpanId?: string | null | undefined;
727
- }[];
728
- deltaCursor: string | undefined;
729
- }, Error>>;
730
- fetchPreviousPage: (options?: import('@tanstack/react-query').FetchPreviousPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
731
- spans: {
732
- createdAt: Date;
733
- updatedAt: Date | null;
734
- name: string;
735
- spanType: import('@mastra/core/observability').SpanType;
736
- isEvent: boolean;
737
- startedAt: Date;
738
- traceId: string;
739
- spanId: string;
740
- status: import('@mastra/core/storage').TraceStatus;
741
- experimentId?: string | null | undefined;
742
- attributes?: Record<string, unknown> | null | undefined;
743
- links?: unknown[] | null | undefined;
744
- input?: unknown;
745
- output?: unknown;
746
- error?: unknown;
747
- endedAt?: Date | null | undefined;
748
- requestContext?: Record<string, unknown> | null | undefined;
749
- metadata?: Record<string, unknown> | null | undefined;
750
- tags?: string[] | null | undefined;
751
- source?: string | null | undefined;
752
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
753
- entityId?: string | null | undefined;
754
- entityName?: string | null | undefined;
755
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
756
- parentEntityId?: string | null | undefined;
757
- parentEntityName?: string | null | undefined;
758
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
759
- rootEntityId?: string | null | undefined;
760
- rootEntityName?: string | null | undefined;
761
- userId?: string | null | undefined;
762
- organizationId?: string | null | undefined;
763
- resourceId?: string | null | undefined;
764
- runId?: string | null | undefined;
765
- sessionId?: string | null | undefined;
766
- threadId?: string | null | undefined;
767
- requestId?: string | null | undefined;
768
- environment?: string | null | undefined;
769
- serviceName?: string | null | undefined;
770
- scope?: Record<string, unknown> | null | undefined;
771
- entityVersionId?: string | null | undefined;
772
- parentEntityVersionId?: string | null | undefined;
773
- rootEntityVersionId?: string | null | undefined;
774
- parentSpanId?: string | null | undefined;
775
- }[];
776
- deltaCursor: string | undefined;
777
- }, Error>>;
778
- hasNextPage: boolean;
779
- hasPreviousPage: boolean;
780
- isFetchingNextPage: boolean;
781
- isFetchingPreviousPage: boolean;
782
- dataUpdatedAt: number;
783
- errorUpdatedAt: number;
784
- failureCount: number;
785
- failureReason: Error | null;
786
- errorUpdateCount: number;
787
- isFetched: boolean;
788
- isFetchedAfterMount: boolean;
789
- isFetching: boolean;
790
- isInitialLoading: boolean;
791
- isPaused: boolean;
792
- isStale: boolean;
793
- isEnabled: boolean;
794
- refetch: (options?: import('@tanstack/react-query').RefetchOptions) => Promise<import('@tanstack/react-query').QueryObserverResult<{
795
- spans: {
796
- createdAt: Date;
797
- updatedAt: Date | null;
798
- name: string;
799
- spanType: import('@mastra/core/observability').SpanType;
800
- isEvent: boolean;
801
- startedAt: Date;
802
- traceId: string;
803
- spanId: string;
804
- status: import('@mastra/core/storage').TraceStatus;
805
- experimentId?: string | null | undefined;
806
- attributes?: Record<string, unknown> | null | undefined;
807
- links?: unknown[] | null | undefined;
808
- input?: unknown;
809
- output?: unknown;
810
- error?: unknown;
811
- endedAt?: Date | null | undefined;
812
- requestContext?: Record<string, unknown> | null | undefined;
813
- metadata?: Record<string, unknown> | null | undefined;
814
- tags?: string[] | null | undefined;
815
- source?: string | null | undefined;
816
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
817
- entityId?: string | null | undefined;
818
- entityName?: string | null | undefined;
819
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
820
- parentEntityId?: string | null | undefined;
821
- parentEntityName?: string | null | undefined;
822
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
823
- rootEntityId?: string | null | undefined;
824
- rootEntityName?: string | null | undefined;
825
- userId?: string | null | undefined;
826
- organizationId?: string | null | undefined;
827
- resourceId?: string | null | undefined;
828
- runId?: string | null | undefined;
829
- sessionId?: string | null | undefined;
830
- threadId?: string | null | undefined;
831
- requestId?: string | null | undefined;
832
- environment?: string | null | undefined;
833
- serviceName?: string | null | undefined;
834
- scope?: Record<string, unknown> | null | undefined;
835
- entityVersionId?: string | null | undefined;
836
- parentEntityVersionId?: string | null | undefined;
837
- rootEntityVersionId?: string | null | undefined;
838
- parentSpanId?: string | null | undefined;
839
- }[];
840
- deltaCursor: string | undefined;
841
- }, Error>>;
842
- fetchStatus: import('@tanstack/react-query').FetchStatus;
843
- promise: Promise<{
844
- spans: {
845
- createdAt: Date;
846
- updatedAt: Date | null;
847
- name: string;
848
- spanType: import('@mastra/core/observability').SpanType;
849
- isEvent: boolean;
850
- startedAt: Date;
851
- traceId: string;
852
- spanId: string;
853
- status: import('@mastra/core/storage').TraceStatus;
854
- experimentId?: string | null | undefined;
855
- attributes?: Record<string, unknown> | null | undefined;
856
- links?: unknown[] | null | undefined;
857
- input?: unknown;
858
- output?: unknown;
859
- error?: unknown;
860
- endedAt?: Date | null | undefined;
861
- requestContext?: Record<string, unknown> | null | undefined;
862
- metadata?: Record<string, unknown> | null | undefined;
863
- tags?: string[] | null | undefined;
864
- source?: string | null | undefined;
865
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
866
- entityId?: string | null | undefined;
867
- entityName?: string | null | undefined;
868
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
869
- parentEntityId?: string | null | undefined;
870
- parentEntityName?: string | null | undefined;
871
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
872
- rootEntityId?: string | null | undefined;
873
- rootEntityName?: string | null | undefined;
874
- userId?: string | null | undefined;
875
- organizationId?: string | null | undefined;
876
- resourceId?: string | null | undefined;
877
- runId?: string | null | undefined;
878
- sessionId?: string | null | undefined;
879
- threadId?: string | null | undefined;
880
- requestId?: string | null | undefined;
881
- environment?: string | null | undefined;
882
- serviceName?: string | null | undefined;
883
- scope?: Record<string, unknown> | null | undefined;
884
- entityVersionId?: string | null | undefined;
885
- parentEntityVersionId?: string | null | undefined;
886
- rootEntityVersionId?: string | null | undefined;
887
- parentSpanId?: string | null | undefined;
888
- }[];
74
+ spans: LightSpanRecord[];
889
75
  deltaCursor: string | undefined;
890
- }>;
891
- } | {
892
- setEndOfListElement: (node: HTMLDivElement | null) => (() => void) | undefined;
893
- isRefetching: boolean;
894
- autoRefetch: boolean;
895
- setAutoRefetch: import('react').Dispatch<import('react').SetStateAction<boolean>>;
896
- recentlyAddedKeys: Set<string>;
897
- data: undefined;
898
- error: null;
899
- isError: false;
900
- isPending: true;
901
- isLoading: true;
902
- isLoadingError: false;
903
- isRefetchError: false;
904
- isFetchNextPageError: false;
905
- isFetchPreviousPageError: false;
906
- isSuccess: false;
907
- isPlaceholderData: false;
908
- status: "pending";
909
- fetchNextPage: (options?: import('@tanstack/react-query').FetchNextPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
910
- spans: {
911
- createdAt: Date;
912
- updatedAt: Date | null;
913
- name: string;
914
- spanType: import('@mastra/core/observability').SpanType;
915
- isEvent: boolean;
916
- startedAt: Date;
917
- traceId: string;
918
- spanId: string;
919
- status: import('@mastra/core/storage').TraceStatus;
920
- experimentId?: string | null | undefined;
921
- attributes?: Record<string, unknown> | null | undefined;
922
- links?: unknown[] | null | undefined;
923
- input?: unknown;
924
- output?: unknown;
925
- error?: unknown;
926
- endedAt?: Date | null | undefined;
927
- requestContext?: Record<string, unknown> | null | undefined;
928
- metadata?: Record<string, unknown> | null | undefined;
929
- tags?: string[] | null | undefined;
930
- source?: string | null | undefined;
931
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
932
- entityId?: string | null | undefined;
933
- entityName?: string | null | undefined;
934
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
935
- parentEntityId?: string | null | undefined;
936
- parentEntityName?: string | null | undefined;
937
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
938
- rootEntityId?: string | null | undefined;
939
- rootEntityName?: string | null | undefined;
940
- userId?: string | null | undefined;
941
- organizationId?: string | null | undefined;
942
- resourceId?: string | null | undefined;
943
- runId?: string | null | undefined;
944
- sessionId?: string | null | undefined;
945
- threadId?: string | null | undefined;
946
- requestId?: string | null | undefined;
947
- environment?: string | null | undefined;
948
- serviceName?: string | null | undefined;
949
- scope?: Record<string, unknown> | null | undefined;
950
- entityVersionId?: string | null | undefined;
951
- parentEntityVersionId?: string | null | undefined;
952
- rootEntityVersionId?: string | null | undefined;
953
- parentSpanId?: string | null | undefined;
954
- }[];
955
- deltaCursor: string | undefined;
956
- }, Error>>;
957
- fetchPreviousPage: (options?: import('@tanstack/react-query').FetchPreviousPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
958
- spans: {
959
- createdAt: Date;
960
- updatedAt: Date | null;
961
- name: string;
962
- spanType: import('@mastra/core/observability').SpanType;
963
- isEvent: boolean;
964
- startedAt: Date;
965
- traceId: string;
966
- spanId: string;
967
- status: import('@mastra/core/storage').TraceStatus;
968
- experimentId?: string | null | undefined;
969
- attributes?: Record<string, unknown> | null | undefined;
970
- links?: unknown[] | null | undefined;
971
- input?: unknown;
972
- output?: unknown;
973
- error?: unknown;
974
- endedAt?: Date | null | undefined;
975
- requestContext?: Record<string, unknown> | null | undefined;
976
- metadata?: Record<string, unknown> | null | undefined;
977
- tags?: string[] | null | undefined;
978
- source?: string | null | undefined;
979
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
980
- entityId?: string | null | undefined;
981
- entityName?: string | null | undefined;
982
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
983
- parentEntityId?: string | null | undefined;
984
- parentEntityName?: string | null | undefined;
985
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
986
- rootEntityId?: string | null | undefined;
987
- rootEntityName?: string | null | undefined;
988
- userId?: string | null | undefined;
989
- organizationId?: string | null | undefined;
990
- resourceId?: string | null | undefined;
991
- runId?: string | null | undefined;
992
- sessionId?: string | null | undefined;
993
- threadId?: string | null | undefined;
994
- requestId?: string | null | undefined;
995
- environment?: string | null | undefined;
996
- serviceName?: string | null | undefined;
997
- scope?: Record<string, unknown> | null | undefined;
998
- entityVersionId?: string | null | undefined;
999
- parentEntityVersionId?: string | null | undefined;
1000
- rootEntityVersionId?: string | null | undefined;
1001
- parentSpanId?: string | null | undefined;
1002
- }[];
1003
- deltaCursor: string | undefined;
1004
- }, Error>>;
76
+ } | undefined;
1005
77
  hasNextPage: boolean;
1006
- hasPreviousPage: boolean;
1007
78
  isFetchingNextPage: boolean;
1008
- isFetchingPreviousPage: boolean;
1009
- dataUpdatedAt: number;
1010
- errorUpdatedAt: number;
1011
- failureCount: number;
1012
- failureReason: Error | null;
1013
- errorUpdateCount: number;
1014
- isFetched: boolean;
1015
- isFetchedAfterMount: boolean;
1016
- isFetching: boolean;
1017
- isInitialLoading: boolean;
1018
- isPaused: boolean;
1019
- isStale: boolean;
1020
- isEnabled: boolean;
1021
- refetch: (options?: import('@tanstack/react-query').RefetchOptions) => Promise<import('@tanstack/react-query').QueryObserverResult<{
1022
- spans: {
1023
- createdAt: Date;
1024
- updatedAt: Date | null;
1025
- name: string;
1026
- spanType: import('@mastra/core/observability').SpanType;
1027
- isEvent: boolean;
1028
- startedAt: Date;
1029
- traceId: string;
1030
- spanId: string;
1031
- status: import('@mastra/core/storage').TraceStatus;
1032
- experimentId?: string | null | undefined;
1033
- attributes?: Record<string, unknown> | null | undefined;
1034
- links?: unknown[] | null | undefined;
1035
- input?: unknown;
1036
- output?: unknown;
1037
- error?: unknown;
1038
- endedAt?: Date | null | undefined;
1039
- requestContext?: Record<string, unknown> | null | undefined;
1040
- metadata?: Record<string, unknown> | null | undefined;
1041
- tags?: string[] | null | undefined;
1042
- source?: string | null | undefined;
1043
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
1044
- entityId?: string | null | undefined;
1045
- entityName?: string | null | undefined;
1046
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1047
- parentEntityId?: string | null | undefined;
1048
- parentEntityName?: string | null | undefined;
1049
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1050
- rootEntityId?: string | null | undefined;
1051
- rootEntityName?: string | null | undefined;
1052
- userId?: string | null | undefined;
1053
- organizationId?: string | null | undefined;
1054
- resourceId?: string | null | undefined;
1055
- runId?: string | null | undefined;
1056
- sessionId?: string | null | undefined;
1057
- threadId?: string | null | undefined;
1058
- requestId?: string | null | undefined;
1059
- environment?: string | null | undefined;
1060
- serviceName?: string | null | undefined;
1061
- scope?: Record<string, unknown> | null | undefined;
1062
- entityVersionId?: string | null | undefined;
1063
- parentEntityVersionId?: string | null | undefined;
1064
- rootEntityVersionId?: string | null | undefined;
1065
- parentSpanId?: string | null | undefined;
1066
- }[];
1067
- deltaCursor: string | undefined;
1068
- }, Error>>;
1069
- fetchStatus: import('@tanstack/react-query').FetchStatus;
1070
- promise: Promise<{
1071
- spans: {
1072
- createdAt: Date;
1073
- updatedAt: Date | null;
1074
- name: string;
1075
- spanType: import('@mastra/core/observability').SpanType;
1076
- isEvent: boolean;
1077
- startedAt: Date;
1078
- traceId: string;
1079
- spanId: string;
1080
- status: import('@mastra/core/storage').TraceStatus;
1081
- experimentId?: string | null | undefined;
1082
- attributes?: Record<string, unknown> | null | undefined;
1083
- links?: unknown[] | null | undefined;
1084
- input?: unknown;
1085
- output?: unknown;
1086
- error?: unknown;
1087
- endedAt?: Date | null | undefined;
1088
- requestContext?: Record<string, unknown> | null | undefined;
1089
- metadata?: Record<string, unknown> | null | undefined;
1090
- tags?: string[] | null | undefined;
1091
- source?: string | null | undefined;
1092
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
1093
- entityId?: string | null | undefined;
1094
- entityName?: string | null | undefined;
1095
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1096
- parentEntityId?: string | null | undefined;
1097
- parentEntityName?: string | null | undefined;
1098
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1099
- rootEntityId?: string | null | undefined;
1100
- rootEntityName?: string | null | undefined;
1101
- userId?: string | null | undefined;
1102
- organizationId?: string | null | undefined;
1103
- resourceId?: string | null | undefined;
1104
- runId?: string | null | undefined;
1105
- sessionId?: string | null | undefined;
1106
- threadId?: string | null | undefined;
1107
- requestId?: string | null | undefined;
1108
- environment?: string | null | undefined;
1109
- serviceName?: string | null | undefined;
1110
- scope?: Record<string, unknown> | null | undefined;
1111
- entityVersionId?: string | null | undefined;
1112
- parentEntityVersionId?: string | null | undefined;
1113
- rootEntityVersionId?: string | null | undefined;
1114
- parentSpanId?: string | null | undefined;
1115
- }[];
1116
- deltaCursor: string | undefined;
1117
- }>;
1118
- } | {
1119
- setEndOfListElement: (node: HTMLDivElement | null) => (() => void) | undefined;
1120
- isRefetching: boolean;
1121
- autoRefetch: boolean;
1122
- setAutoRefetch: import('react').Dispatch<import('react').SetStateAction<boolean>>;
1123
- recentlyAddedKeys: Set<string>;
1124
- data: undefined;
1125
- error: null;
1126
- isError: false;
1127
- isPending: true;
1128
- isLoadingError: false;
1129
- isRefetchError: false;
1130
- isFetchNextPageError: false;
1131
- isFetchPreviousPageError: false;
1132
- isSuccess: false;
1133
- isPlaceholderData: false;
1134
- status: "pending";
1135
- fetchNextPage: (options?: import('@tanstack/react-query').FetchNextPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
1136
- spans: {
1137
- createdAt: Date;
1138
- updatedAt: Date | null;
1139
- name: string;
1140
- spanType: import('@mastra/core/observability').SpanType;
1141
- isEvent: boolean;
1142
- startedAt: Date;
1143
- traceId: string;
1144
- spanId: string;
1145
- status: import('@mastra/core/storage').TraceStatus;
1146
- experimentId?: string | null | undefined;
1147
- attributes?: Record<string, unknown> | null | undefined;
1148
- links?: unknown[] | null | undefined;
1149
- input?: unknown;
1150
- output?: unknown;
1151
- error?: unknown;
1152
- endedAt?: Date | null | undefined;
1153
- requestContext?: Record<string, unknown> | null | undefined;
1154
- metadata?: Record<string, unknown> | null | undefined;
1155
- tags?: string[] | null | undefined;
1156
- source?: string | null | undefined;
1157
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
1158
- entityId?: string | null | undefined;
1159
- entityName?: string | null | undefined;
1160
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1161
- parentEntityId?: string | null | undefined;
1162
- parentEntityName?: string | null | undefined;
1163
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1164
- rootEntityId?: string | null | undefined;
1165
- rootEntityName?: string | null | undefined;
1166
- userId?: string | null | undefined;
1167
- organizationId?: string | null | undefined;
1168
- resourceId?: string | null | undefined;
1169
- runId?: string | null | undefined;
1170
- sessionId?: string | null | undefined;
1171
- threadId?: string | null | undefined;
1172
- requestId?: string | null | undefined;
1173
- environment?: string | null | undefined;
1174
- serviceName?: string | null | undefined;
1175
- scope?: Record<string, unknown> | null | undefined;
1176
- entityVersionId?: string | null | undefined;
1177
- parentEntityVersionId?: string | null | undefined;
1178
- rootEntityVersionId?: string | null | undefined;
1179
- parentSpanId?: string | null | undefined;
1180
- }[];
1181
- deltaCursor: string | undefined;
1182
- }, Error>>;
1183
- fetchPreviousPage: (options?: import('@tanstack/react-query').FetchPreviousPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
1184
- spans: {
1185
- createdAt: Date;
1186
- updatedAt: Date | null;
1187
- name: string;
1188
- spanType: import('@mastra/core/observability').SpanType;
1189
- isEvent: boolean;
1190
- startedAt: Date;
1191
- traceId: string;
1192
- spanId: string;
1193
- status: import('@mastra/core/storage').TraceStatus;
1194
- experimentId?: string | null | undefined;
1195
- attributes?: Record<string, unknown> | null | undefined;
1196
- links?: unknown[] | null | undefined;
1197
- input?: unknown;
1198
- output?: unknown;
1199
- error?: unknown;
1200
- endedAt?: Date | null | undefined;
1201
- requestContext?: Record<string, unknown> | null | undefined;
1202
- metadata?: Record<string, unknown> | null | undefined;
1203
- tags?: string[] | null | undefined;
1204
- source?: string | null | undefined;
1205
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
1206
- entityId?: string | null | undefined;
1207
- entityName?: string | null | undefined;
1208
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1209
- parentEntityId?: string | null | undefined;
1210
- parentEntityName?: string | null | undefined;
1211
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1212
- rootEntityId?: string | null | undefined;
1213
- rootEntityName?: string | null | undefined;
1214
- userId?: string | null | undefined;
1215
- organizationId?: string | null | undefined;
1216
- resourceId?: string | null | undefined;
1217
- runId?: string | null | undefined;
1218
- sessionId?: string | null | undefined;
1219
- threadId?: string | null | undefined;
1220
- requestId?: string | null | undefined;
1221
- environment?: string | null | undefined;
1222
- serviceName?: string | null | undefined;
1223
- scope?: Record<string, unknown> | null | undefined;
1224
- entityVersionId?: string | null | undefined;
1225
- parentEntityVersionId?: string | null | undefined;
1226
- rootEntityVersionId?: string | null | undefined;
1227
- parentSpanId?: string | null | undefined;
1228
- }[];
1229
- deltaCursor: string | undefined;
1230
- }, Error>>;
1231
- hasNextPage: boolean;
1232
- hasPreviousPage: boolean;
1233
- isFetchingNextPage: boolean;
1234
- isFetchingPreviousPage: boolean;
1235
- dataUpdatedAt: number;
1236
- errorUpdatedAt: number;
1237
- failureCount: number;
1238
- failureReason: Error | null;
1239
- errorUpdateCount: number;
1240
- isFetched: boolean;
1241
- isFetchedAfterMount: boolean;
1242
- isFetching: boolean;
79
+ fetchNextPage: () => void;
1243
80
  isLoading: boolean;
1244
- isInitialLoading: boolean;
1245
- isPaused: boolean;
1246
- isStale: boolean;
1247
- isEnabled: boolean;
1248
- refetch: (options?: import('@tanstack/react-query').RefetchOptions) => Promise<import('@tanstack/react-query').QueryObserverResult<{
1249
- spans: {
1250
- createdAt: Date;
1251
- updatedAt: Date | null;
1252
- name: string;
1253
- spanType: import('@mastra/core/observability').SpanType;
1254
- isEvent: boolean;
1255
- startedAt: Date;
1256
- traceId: string;
1257
- spanId: string;
1258
- status: import('@mastra/core/storage').TraceStatus;
1259
- experimentId?: string | null | undefined;
1260
- attributes?: Record<string, unknown> | null | undefined;
1261
- links?: unknown[] | null | undefined;
1262
- input?: unknown;
1263
- output?: unknown;
1264
- error?: unknown;
1265
- endedAt?: Date | null | undefined;
1266
- requestContext?: Record<string, unknown> | null | undefined;
1267
- metadata?: Record<string, unknown> | null | undefined;
1268
- tags?: string[] | null | undefined;
1269
- source?: string | null | undefined;
1270
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
1271
- entityId?: string | null | undefined;
1272
- entityName?: string | null | undefined;
1273
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1274
- parentEntityId?: string | null | undefined;
1275
- parentEntityName?: string | null | undefined;
1276
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1277
- rootEntityId?: string | null | undefined;
1278
- rootEntityName?: string | null | undefined;
1279
- userId?: string | null | undefined;
1280
- organizationId?: string | null | undefined;
1281
- resourceId?: string | null | undefined;
1282
- runId?: string | null | undefined;
1283
- sessionId?: string | null | undefined;
1284
- threadId?: string | null | undefined;
1285
- requestId?: string | null | undefined;
1286
- environment?: string | null | undefined;
1287
- serviceName?: string | null | undefined;
1288
- scope?: Record<string, unknown> | null | undefined;
1289
- entityVersionId?: string | null | undefined;
1290
- parentEntityVersionId?: string | null | undefined;
1291
- rootEntityVersionId?: string | null | undefined;
1292
- parentSpanId?: string | null | undefined;
1293
- }[];
1294
- deltaCursor: string | undefined;
1295
- }, Error>>;
1296
- fetchStatus: import('@tanstack/react-query').FetchStatus;
1297
- promise: Promise<{
1298
- spans: {
1299
- createdAt: Date;
1300
- updatedAt: Date | null;
1301
- name: string;
1302
- spanType: import('@mastra/core/observability').SpanType;
1303
- isEvent: boolean;
1304
- startedAt: Date;
1305
- traceId: string;
1306
- spanId: string;
1307
- status: import('@mastra/core/storage').TraceStatus;
1308
- experimentId?: string | null | undefined;
1309
- attributes?: Record<string, unknown> | null | undefined;
1310
- links?: unknown[] | null | undefined;
1311
- input?: unknown;
1312
- output?: unknown;
1313
- error?: unknown;
1314
- endedAt?: Date | null | undefined;
1315
- requestContext?: Record<string, unknown> | null | undefined;
1316
- metadata?: Record<string, unknown> | null | undefined;
1317
- tags?: string[] | null | undefined;
1318
- source?: string | null | undefined;
1319
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
1320
- entityId?: string | null | undefined;
1321
- entityName?: string | null | undefined;
1322
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1323
- parentEntityId?: string | null | undefined;
1324
- parentEntityName?: string | null | undefined;
1325
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1326
- rootEntityId?: string | null | undefined;
1327
- rootEntityName?: string | null | undefined;
1328
- userId?: string | null | undefined;
1329
- organizationId?: string | null | undefined;
1330
- resourceId?: string | null | undefined;
1331
- runId?: string | null | undefined;
1332
- sessionId?: string | null | undefined;
1333
- threadId?: string | null | undefined;
1334
- requestId?: string | null | undefined;
1335
- environment?: string | null | undefined;
1336
- serviceName?: string | null | undefined;
1337
- scope?: Record<string, unknown> | null | undefined;
1338
- entityVersionId?: string | null | undefined;
1339
- parentEntityVersionId?: string | null | undefined;
1340
- rootEntityVersionId?: string | null | undefined;
1341
- parentSpanId?: string | null | undefined;
1342
- }[];
1343
- deltaCursor: string | undefined;
1344
- }>;
1345
- } | {
1346
- setEndOfListElement: (node: HTMLDivElement | null) => (() => void) | undefined;
81
+ isError: boolean;
82
+ error: Error | null;
83
+ setEndOfListElement: (node: HTMLDivElement | null) => void;
1347
84
  isRefetching: boolean;
1348
85
  autoRefetch: boolean;
1349
- setAutoRefetch: import('react').Dispatch<import('react').SetStateAction<boolean>>;
86
+ setAutoRefetch: (v: boolean) => void;
1350
87
  recentlyAddedKeys: Set<string>;
1351
- data: {
1352
- spans: {
1353
- createdAt: Date;
1354
- updatedAt: Date | null;
1355
- name: string;
1356
- spanType: import('@mastra/core/observability').SpanType;
1357
- isEvent: boolean;
1358
- startedAt: Date;
1359
- traceId: string;
1360
- spanId: string;
1361
- status: import('@mastra/core/storage').TraceStatus;
1362
- experimentId?: string | null | undefined;
1363
- attributes?: Record<string, unknown> | null | undefined;
1364
- links?: unknown[] | null | undefined;
1365
- input?: unknown;
1366
- output?: unknown;
1367
- error?: unknown;
1368
- endedAt?: Date | null | undefined;
1369
- requestContext?: Record<string, unknown> | null | undefined;
1370
- metadata?: Record<string, unknown> | null | undefined;
1371
- tags?: string[] | null | undefined;
1372
- source?: string | null | undefined;
1373
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
1374
- entityId?: string | null | undefined;
1375
- entityName?: string | null | undefined;
1376
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1377
- parentEntityId?: string | null | undefined;
1378
- parentEntityName?: string | null | undefined;
1379
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1380
- rootEntityId?: string | null | undefined;
1381
- rootEntityName?: string | null | undefined;
1382
- userId?: string | null | undefined;
1383
- organizationId?: string | null | undefined;
1384
- resourceId?: string | null | undefined;
1385
- runId?: string | null | undefined;
1386
- sessionId?: string | null | undefined;
1387
- threadId?: string | null | undefined;
1388
- requestId?: string | null | undefined;
1389
- environment?: string | null | undefined;
1390
- serviceName?: string | null | undefined;
1391
- scope?: Record<string, unknown> | null | undefined;
1392
- entityVersionId?: string | null | undefined;
1393
- parentEntityVersionId?: string | null | undefined;
1394
- rootEntityVersionId?: string | null | undefined;
1395
- parentSpanId?: string | null | undefined;
1396
- }[];
1397
- deltaCursor: string | undefined;
1398
- };
1399
- isError: false;
1400
- error: null;
1401
- isPending: false;
1402
- isLoading: false;
1403
- isLoadingError: false;
1404
- isRefetchError: false;
1405
- isSuccess: true;
1406
- isPlaceholderData: true;
1407
- isFetchNextPageError: false;
1408
- isFetchPreviousPageError: false;
1409
- status: "success";
1410
- fetchNextPage: (options?: import('@tanstack/react-query').FetchNextPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
1411
- spans: {
1412
- createdAt: Date;
1413
- updatedAt: Date | null;
1414
- name: string;
1415
- spanType: import('@mastra/core/observability').SpanType;
1416
- isEvent: boolean;
1417
- startedAt: Date;
1418
- traceId: string;
1419
- spanId: string;
1420
- status: import('@mastra/core/storage').TraceStatus;
1421
- experimentId?: string | null | undefined;
1422
- attributes?: Record<string, unknown> | null | undefined;
1423
- links?: unknown[] | null | undefined;
1424
- input?: unknown;
1425
- output?: unknown;
1426
- error?: unknown;
1427
- endedAt?: Date | null | undefined;
1428
- requestContext?: Record<string, unknown> | null | undefined;
1429
- metadata?: Record<string, unknown> | null | undefined;
1430
- tags?: string[] | null | undefined;
1431
- source?: string | null | undefined;
1432
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
1433
- entityId?: string | null | undefined;
1434
- entityName?: string | null | undefined;
1435
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1436
- parentEntityId?: string | null | undefined;
1437
- parentEntityName?: string | null | undefined;
1438
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1439
- rootEntityId?: string | null | undefined;
1440
- rootEntityName?: string | null | undefined;
1441
- userId?: string | null | undefined;
1442
- organizationId?: string | null | undefined;
1443
- resourceId?: string | null | undefined;
1444
- runId?: string | null | undefined;
1445
- sessionId?: string | null | undefined;
1446
- threadId?: string | null | undefined;
1447
- requestId?: string | null | undefined;
1448
- environment?: string | null | undefined;
1449
- serviceName?: string | null | undefined;
1450
- scope?: Record<string, unknown> | null | undefined;
1451
- entityVersionId?: string | null | undefined;
1452
- parentEntityVersionId?: string | null | undefined;
1453
- rootEntityVersionId?: string | null | undefined;
1454
- parentSpanId?: string | null | undefined;
1455
- }[];
1456
- deltaCursor: string | undefined;
1457
- }, Error>>;
1458
- fetchPreviousPage: (options?: import('@tanstack/react-query').FetchPreviousPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
1459
- spans: {
1460
- createdAt: Date;
1461
- updatedAt: Date | null;
1462
- name: string;
1463
- spanType: import('@mastra/core/observability').SpanType;
1464
- isEvent: boolean;
1465
- startedAt: Date;
1466
- traceId: string;
1467
- spanId: string;
1468
- status: import('@mastra/core/storage').TraceStatus;
1469
- experimentId?: string | null | undefined;
1470
- attributes?: Record<string, unknown> | null | undefined;
1471
- links?: unknown[] | null | undefined;
1472
- input?: unknown;
1473
- output?: unknown;
1474
- error?: unknown;
1475
- endedAt?: Date | null | undefined;
1476
- requestContext?: Record<string, unknown> | null | undefined;
1477
- metadata?: Record<string, unknown> | null | undefined;
1478
- tags?: string[] | null | undefined;
1479
- source?: string | null | undefined;
1480
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
1481
- entityId?: string | null | undefined;
1482
- entityName?: string | null | undefined;
1483
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1484
- parentEntityId?: string | null | undefined;
1485
- parentEntityName?: string | null | undefined;
1486
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1487
- rootEntityId?: string | null | undefined;
1488
- rootEntityName?: string | null | undefined;
1489
- userId?: string | null | undefined;
1490
- organizationId?: string | null | undefined;
1491
- resourceId?: string | null | undefined;
1492
- runId?: string | null | undefined;
1493
- sessionId?: string | null | undefined;
1494
- threadId?: string | null | undefined;
1495
- requestId?: string | null | undefined;
1496
- environment?: string | null | undefined;
1497
- serviceName?: string | null | undefined;
1498
- scope?: Record<string, unknown> | null | undefined;
1499
- entityVersionId?: string | null | undefined;
1500
- parentEntityVersionId?: string | null | undefined;
1501
- rootEntityVersionId?: string | null | undefined;
1502
- parentSpanId?: string | null | undefined;
1503
- }[];
1504
- deltaCursor: string | undefined;
1505
- }, Error>>;
1506
- hasNextPage: boolean;
1507
- hasPreviousPage: boolean;
1508
- isFetchingNextPage: boolean;
1509
- isFetchingPreviousPage: boolean;
1510
88
  dataUpdatedAt: number;
1511
89
  errorUpdatedAt: number;
1512
- failureCount: number;
1513
- failureReason: Error | null;
1514
- errorUpdateCount: number;
1515
- isFetched: boolean;
1516
- isFetchedAfterMount: boolean;
1517
90
  isFetching: boolean;
1518
- isInitialLoading: boolean;
1519
- isPaused: boolean;
1520
- isStale: boolean;
1521
- isEnabled: boolean;
1522
- refetch: (options?: import('@tanstack/react-query').RefetchOptions) => Promise<import('@tanstack/react-query').QueryObserverResult<{
1523
- spans: {
1524
- createdAt: Date;
1525
- updatedAt: Date | null;
1526
- name: string;
1527
- spanType: import('@mastra/core/observability').SpanType;
1528
- isEvent: boolean;
1529
- startedAt: Date;
1530
- traceId: string;
1531
- spanId: string;
1532
- status: import('@mastra/core/storage').TraceStatus;
1533
- experimentId?: string | null | undefined;
1534
- attributes?: Record<string, unknown> | null | undefined;
1535
- links?: unknown[] | null | undefined;
1536
- input?: unknown;
1537
- output?: unknown;
1538
- error?: unknown;
1539
- endedAt?: Date | null | undefined;
1540
- requestContext?: Record<string, unknown> | null | undefined;
1541
- metadata?: Record<string, unknown> | null | undefined;
1542
- tags?: string[] | null | undefined;
1543
- source?: string | null | undefined;
1544
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
1545
- entityId?: string | null | undefined;
1546
- entityName?: string | null | undefined;
1547
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1548
- parentEntityId?: string | null | undefined;
1549
- parentEntityName?: string | null | undefined;
1550
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1551
- rootEntityId?: string | null | undefined;
1552
- rootEntityName?: string | null | undefined;
1553
- userId?: string | null | undefined;
1554
- organizationId?: string | null | undefined;
1555
- resourceId?: string | null | undefined;
1556
- runId?: string | null | undefined;
1557
- sessionId?: string | null | undefined;
1558
- threadId?: string | null | undefined;
1559
- requestId?: string | null | undefined;
1560
- environment?: string | null | undefined;
1561
- serviceName?: string | null | undefined;
1562
- scope?: Record<string, unknown> | null | undefined;
1563
- entityVersionId?: string | null | undefined;
1564
- parentEntityVersionId?: string | null | undefined;
1565
- rootEntityVersionId?: string | null | undefined;
1566
- parentSpanId?: string | null | undefined;
1567
- }[];
1568
- deltaCursor: string | undefined;
1569
- }, Error>>;
1570
- fetchStatus: import('@tanstack/react-query').FetchStatus;
1571
- promise: Promise<{
1572
- spans: {
1573
- createdAt: Date;
1574
- updatedAt: Date | null;
1575
- name: string;
1576
- spanType: import('@mastra/core/observability').SpanType;
1577
- isEvent: boolean;
1578
- startedAt: Date;
1579
- traceId: string;
1580
- spanId: string;
1581
- status: import('@mastra/core/storage').TraceStatus;
1582
- experimentId?: string | null | undefined;
1583
- attributes?: Record<string, unknown> | null | undefined;
1584
- links?: unknown[] | null | undefined;
1585
- input?: unknown;
1586
- output?: unknown;
1587
- error?: unknown;
1588
- endedAt?: Date | null | undefined;
1589
- requestContext?: Record<string, unknown> | null | undefined;
1590
- metadata?: Record<string, unknown> | null | undefined;
1591
- tags?: string[] | null | undefined;
1592
- source?: string | null | undefined;
1593
- entityType?: import('@mastra/core/storage').EntityType | null | undefined;
1594
- entityId?: string | null | undefined;
1595
- entityName?: string | null | undefined;
1596
- parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1597
- parentEntityId?: string | null | undefined;
1598
- parentEntityName?: string | null | undefined;
1599
- rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
1600
- rootEntityId?: string | null | undefined;
1601
- rootEntityName?: string | null | undefined;
1602
- userId?: string | null | undefined;
1603
- organizationId?: string | null | undefined;
1604
- resourceId?: string | null | undefined;
1605
- runId?: string | null | undefined;
1606
- sessionId?: string | null | undefined;
1607
- threadId?: string | null | undefined;
1608
- requestId?: string | null | undefined;
1609
- environment?: string | null | undefined;
1610
- serviceName?: string | null | undefined;
1611
- scope?: Record<string, unknown> | null | undefined;
1612
- entityVersionId?: string | null | undefined;
1613
- parentEntityVersionId?: string | null | undefined;
1614
- rootEntityVersionId?: string | null | undefined;
1615
- parentSpanId?: string | null | undefined;
1616
- }[];
1617
- deltaCursor: string | undefined;
1618
- }>;
1619
- };
91
+ isSuccess: boolean;
92
+ fetchStatus: 'idle' | 'fetching' | 'paused';
93
+ refetch: () => void;
94
+ }
95
+ export declare const useTraces: (args: UseTracesArgs) => UseTracesReturn;
1620
96
  export {};