@actioneer/ads 0.5.3 → 0.5.5

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 (95) hide show
  1. package/components/accordion.js +15 -15
  2. package/components/agent-icon.d.ts +64 -0
  3. package/components/agent-icon.js +251 -0
  4. package/components/ai-elements/agent-trace.d.ts +8 -1
  5. package/components/ai-elements/agent-trace.js +164 -129
  6. package/components/ai-elements/chain-of-thought-icon.d.ts +42 -0
  7. package/components/ai-elements/chain-of-thought-icon.js +283 -0
  8. package/components/ai-elements/chain-of-thought.js +7 -7
  9. package/components/ai-elements/chart.js +38 -35
  10. package/components/ai-elements/index.d.ts +1 -0
  11. package/components/ai-elements/inline-citation.js +40 -40
  12. package/components/ai-elements/message.js +5 -5
  13. package/components/ai-elements/queue.js +1 -1
  14. package/components/ai-elements/research-activity.d.ts +2 -0
  15. package/components/ai-elements/research-activity.js +79 -81
  16. package/components/ai-elements/task-progress.js +2 -2
  17. package/components/ai-elements/tool.d.ts +4 -2
  18. package/components/ai-elements/tool.js +74 -54
  19. package/components/ai-elements/transcript.js +1 -1
  20. package/components/alert.js +1 -1
  21. package/components/answer.d.ts +2643 -311
  22. package/components/answer.js +1836 -425
  23. package/components/assistant-ui/answer-tool-ui.js +23 -28
  24. package/components/assistant-ui/chain-of-thought.d.ts +7 -2
  25. package/components/assistant-ui/composer-harness.js +20 -16
  26. package/components/assistant-ui/reasoning.js +35 -31
  27. package/components/assistant-ui/tool-fallback.js +125 -122
  28. package/components/assistant-ui/tool-group.d.ts +3 -1
  29. package/components/assistant-ui/tool-group.js +48 -43
  30. package/components/audio-waveform.js +14 -14
  31. package/components/autocomplete.js +52 -48
  32. package/components/avatar.js +58 -44
  33. package/components/badge.js +3 -3
  34. package/components/brand-texture.js +1 -1
  35. package/components/breadcrumbs.d.ts +27 -1
  36. package/components/breadcrumbs.js +94 -42
  37. package/components/button.js +15 -15
  38. package/components/carousel.js +10 -10
  39. package/components/chart.d.ts +14 -0
  40. package/components/chart.js +747 -614
  41. package/components/chip.js +3 -3
  42. package/components/code-block.d.ts +39 -17
  43. package/components/code-block.js +153 -104
  44. package/components/command-palette.js +27 -25
  45. package/components/connector-card.js +2 -2
  46. package/components/dropdown.js +65 -61
  47. package/components/empty-state.js +15 -15
  48. package/components/field.js +23 -23
  49. package/components/index.d.ts +5 -0
  50. package/components/index.js +523 -470
  51. package/components/infinite-canvas.js +60 -60
  52. package/components/kbd.js +6 -6
  53. package/components/link.js +6 -6
  54. package/components/modal.js +22 -20
  55. package/components/page-header.js +1 -1
  56. package/components/pagination.js +22 -22
  57. package/components/pixel-blast-svg.js +1 -1
  58. package/components/pixel-icon.d.ts +31 -0
  59. package/components/pixel-icon.js +733 -0
  60. package/components/popover.js +46 -42
  61. package/components/ripple.d.ts +29 -0
  62. package/components/ripple.js +17 -0
  63. package/components/segmented.js +24 -23
  64. package/components/select.js +71 -67
  65. package/components/selection-action-bar.js +22 -22
  66. package/components/sidebar.d.ts +11 -3
  67. package/components/sidebar.js +161 -148
  68. package/components/stepper.d.ts +2 -0
  69. package/components/stepper.js +80 -43
  70. package/components/table.d.ts +7 -0
  71. package/components/table.js +223 -155
  72. package/components/tabs.d.ts +3 -1
  73. package/components/tabs.js +165 -144
  74. package/components/textarea.js +10 -8
  75. package/components/toast.js +48 -46
  76. package/components/tooltip.js +61 -59
  77. package/components/tree.js +44 -41
  78. package/components/typography.d.ts +1 -1
  79. package/components/typography.js +25 -25
  80. package/components/viz-charts.d.ts +62 -0
  81. package/components/viz-charts.js +408 -0
  82. package/fonts/aribau-grotesk-500.otf +0 -0
  83. package/fonts/aribau-grotesk-600.woff2 +0 -0
  84. package/fonts.css +6 -4
  85. package/lib/icons.d.ts +411 -402
  86. package/lib/icons.js +109 -107
  87. package/lib/viz-format.d.ts +25 -0
  88. package/lib/viz-format.js +40 -0
  89. package/llms.txt +111 -8
  90. package/manifest.json +1096 -58
  91. package/package.json +5 -5
  92. package/styles.css +226 -96
  93. package/theme.css +220 -92
  94. package/fonts/aribau-grotesk-400.otf +0 -0
  95. package/fonts/aribau-grotesk-700.otf +0 -0
@@ -2,7 +2,7 @@ import { z } from 'zod/v4';
2
2
  import * as React from "react";
3
3
  /** The single tool name every ADS assistant uses for deterministic answers. */
4
4
  export declare const ANSWER_TOOL_NAME = "render_answer";
5
- export declare const ANSWER_TOOL_DESCRIPTION = "Render the final answer with one curated ADS template. Choose the semantic kind that best matches the answer and provide only validated data; the application owns the layout.";
5
+ export declare const ANSWER_TOOL_DESCRIPTION = "Render the final answer with one curated ADS template. Choose the semantic kind that best matches the answer \u2014 data kinds (fact, table, ranking, trend, comparison, breakdown, report), narrative kinds (explanation, knowledge, decision, status), task kinds (confirmation), and situation kinds (clarification, empty, error, refusal) \u2014 and provide only validated data; the application owns the layout.";
6
6
  export declare const AnswerToneSchema: z.ZodEnum<{
7
7
  success: "success";
8
8
  warning: "warning";
@@ -16,6 +16,13 @@ export declare const AnswerFollowUpSchema: z.ZodObject<{
16
16
  label: z.ZodString;
17
17
  prompt: z.ZodOptional<z.ZodString>;
18
18
  }, z.core.$strip>;
19
+ /** A selectable path forward inside a clarification answer. */
20
+ export declare const AnswerOptionSchema: z.ZodObject<{
21
+ id: z.ZodString;
22
+ label: z.ZodString;
23
+ description: z.ZodOptional<z.ZodString>;
24
+ prompt: z.ZodOptional<z.ZodString>;
25
+ }, z.core.$strip>;
19
26
  export declare const AnswerSourceSchema: z.ZodObject<{
20
27
  id: z.ZodString;
21
28
  label: z.ZodString;
@@ -34,6 +41,50 @@ export declare const AnswerSignalSchema: z.ZodObject<{
34
41
  primary: "primary";
35
42
  }>>;
36
43
  }, z.core.$strip>;
44
+ /**
45
+ * One query reference behind a value — a bare label (`"Q44"`) or a label
46
+ * carrying the SQL and run metadata it names, which a reader can open.
47
+ */
48
+ export declare const AnswerCitationSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
49
+ label: z.ZodString;
50
+ query: z.ZodOptional<z.ZodString>;
51
+ source: z.ZodOptional<z.ZodString>;
52
+ rows: z.ZodOptional<z.ZodNumber>;
53
+ }, z.core.$strip>]>;
54
+ /** The citation cluster backing a value, row, or table, e.g. ["Q44", "Q45"]. */
55
+ export declare const AnswerCitationsSchema: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
56
+ label: z.ZodString;
57
+ query: z.ZodOptional<z.ZodString>;
58
+ source: z.ZodOptional<z.ZodString>;
59
+ rows: z.ZodOptional<z.ZodNumber>;
60
+ }, z.core.$strip>]>>;
61
+ export declare const AnswerKeyValueSchema: z.ZodObject<{
62
+ label: z.ZodString;
63
+ value: z.ZodString;
64
+ code: z.ZodOptional<z.ZodBoolean>;
65
+ tone: z.ZodOptional<z.ZodEnum<{
66
+ success: "success";
67
+ warning: "warning";
68
+ danger: "danger";
69
+ info: "info";
70
+ default: "default";
71
+ primary: "primary";
72
+ }>>;
73
+ }, z.core.$strip>;
74
+ /** A compact headline number — fact tiles and report metric grids. */
75
+ export declare const AnswerMetricSchema: z.ZodObject<{
76
+ label: z.ZodString;
77
+ value: z.ZodString;
78
+ change: z.ZodOptional<z.ZodString>;
79
+ tone: z.ZodOptional<z.ZodEnum<{
80
+ success: "success";
81
+ warning: "warning";
82
+ danger: "danger";
83
+ info: "info";
84
+ default: "default";
85
+ primary: "primary";
86
+ }>>;
87
+ }, z.core.$strip>;
37
88
  export declare const ComparisonAnswerSchema: z.ZodObject<{
38
89
  kind: z.ZodLiteral<"comparison">;
39
90
  subjects: z.ZodTuple<[z.ZodObject<{
@@ -96,6 +147,8 @@ export declare const ComparisonAnswerSchema: z.ZodObject<{
96
147
  eyebrow: z.ZodOptional<z.ZodString>;
97
148
  headline: z.ZodString;
98
149
  summary: z.ZodOptional<z.ZodString>;
150
+ method: z.ZodOptional<z.ZodString>;
151
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
99
152
  followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
100
153
  id: z.ZodString;
101
154
  label: z.ZodString;
@@ -108,6 +161,66 @@ export declare const ComparisonAnswerSchema: z.ZodObject<{
108
161
  href: z.ZodOptional<z.ZodString>;
109
162
  }, z.core.$strip>>>;
110
163
  }, z.core.$strip>;
164
+ /** The chart surface shared by trend answers and report chart sections. */
165
+ export declare const AnswerChartSchema: z.ZodObject<{
166
+ type: z.ZodEnum<{
167
+ area: "area";
168
+ line: "line";
169
+ bar: "bar";
170
+ }>;
171
+ data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
172
+ categoryKey: z.ZodString;
173
+ series: z.ZodArray<z.ZodString>;
174
+ seriesLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
175
+ highlight: z.ZodOptional<z.ZodString>;
176
+ forecastKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
177
+ unit: z.ZodOptional<z.ZodString>;
178
+ annotations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
179
+ kind: z.ZodLiteral<"line">;
180
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
181
+ axis: z.ZodOptional<z.ZodEnum<{
182
+ x: "x";
183
+ y: "y";
184
+ }>>;
185
+ label: z.ZodOptional<z.ZodString>;
186
+ color: z.ZodOptional<z.ZodEnum<{
187
+ success: "success";
188
+ warning: "warning";
189
+ danger: "danger";
190
+ info: "info";
191
+ primary: "primary";
192
+ }>>;
193
+ }, z.core.$strip>, z.ZodObject<{
194
+ kind: z.ZodLiteral<"band">;
195
+ from: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
196
+ to: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
197
+ axis: z.ZodOptional<z.ZodEnum<{
198
+ x: "x";
199
+ y: "y";
200
+ }>>;
201
+ label: z.ZodOptional<z.ZodString>;
202
+ color: z.ZodOptional<z.ZodEnum<{
203
+ success: "success";
204
+ warning: "warning";
205
+ danger: "danger";
206
+ info: "info";
207
+ primary: "primary";
208
+ }>>;
209
+ }, z.core.$strip>, z.ZodObject<{
210
+ kind: z.ZodLiteral<"point">;
211
+ x: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
212
+ y: z.ZodNumber;
213
+ label: z.ZodString;
214
+ description: z.ZodOptional<z.ZodString>;
215
+ color: z.ZodOptional<z.ZodEnum<{
216
+ success: "success";
217
+ warning: "warning";
218
+ danger: "danger";
219
+ info: "info";
220
+ primary: "primary";
221
+ }>>;
222
+ }, z.core.$strip>], "kind">>>;
223
+ }, z.core.$strip>;
111
224
  export declare const TrendAnswerSchema: z.ZodObject<{
112
225
  kind: z.ZodLiteral<"trend">;
113
226
  metric: z.ZodOptional<z.ZodObject<{
@@ -134,6 +247,7 @@ export declare const TrendAnswerSchema: z.ZodObject<{
134
247
  series: z.ZodArray<z.ZodString>;
135
248
  seriesLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
136
249
  highlight: z.ZodOptional<z.ZodString>;
250
+ forecastKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
137
251
  unit: z.ZodOptional<z.ZodString>;
138
252
  annotations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
139
253
  kind: z.ZodLiteral<"line">;
@@ -196,6 +310,8 @@ export declare const TrendAnswerSchema: z.ZodObject<{
196
310
  eyebrow: z.ZodOptional<z.ZodString>;
197
311
  headline: z.ZodString;
198
312
  summary: z.ZodOptional<z.ZodString>;
313
+ method: z.ZodOptional<z.ZodString>;
314
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
199
315
  followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
200
316
  id: z.ZodString;
201
317
  label: z.ZodString;
@@ -251,6 +367,8 @@ export declare const StatusAnswerSchema: z.ZodObject<{
251
367
  eyebrow: z.ZodOptional<z.ZodString>;
252
368
  headline: z.ZodString;
253
369
  summary: z.ZodOptional<z.ZodString>;
370
+ method: z.ZodOptional<z.ZodString>;
371
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
254
372
  followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
255
373
  id: z.ZodString;
256
374
  label: z.ZodString;
@@ -298,6 +416,8 @@ export declare const BreakdownAnswerSchema: z.ZodObject<{
298
416
  eyebrow: z.ZodOptional<z.ZodString>;
299
417
  headline: z.ZodString;
300
418
  summary: z.ZodOptional<z.ZodString>;
419
+ method: z.ZodOptional<z.ZodString>;
420
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
301
421
  followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
302
422
  id: z.ZodString;
303
423
  label: z.ZodString;
@@ -316,6 +436,8 @@ export declare const ExplanationAnswerSchema: z.ZodObject<{
316
436
  title: z.ZodString;
317
437
  body: z.ZodOptional<z.ZodString>;
318
438
  bullets: z.ZodOptional<z.ZodArray<z.ZodString>>;
439
+ code: z.ZodOptional<z.ZodString>;
440
+ codeLanguage: z.ZodOptional<z.ZodString>;
319
441
  }, z.core.$strip>>;
320
442
  takeaway: z.ZodOptional<z.ZodObject<{
321
443
  label: z.ZodOptional<z.ZodString>;
@@ -332,6 +454,8 @@ export declare const ExplanationAnswerSchema: z.ZodObject<{
332
454
  eyebrow: z.ZodOptional<z.ZodString>;
333
455
  headline: z.ZodString;
334
456
  summary: z.ZodOptional<z.ZodString>;
457
+ method: z.ZodOptional<z.ZodString>;
458
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
335
459
  followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
336
460
  id: z.ZodString;
337
461
  label: z.ZodString;
@@ -344,55 +468,34 @@ export declare const ExplanationAnswerSchema: z.ZodObject<{
344
468
  href: z.ZodOptional<z.ZodString>;
345
469
  }, z.core.$strip>>>;
346
470
  }, z.core.$strip>;
347
- /** The complete model-facing contract. No free-form layout nodes are allowed. */
348
- export declare const AnswerSpecSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
349
- kind: z.ZodLiteral<"comparison">;
350
- subjects: z.ZodTuple<[z.ZodObject<{
351
- label: z.ZodString;
352
- description: z.ZodOptional<z.ZodString>;
353
- }, z.core.$strip>, z.ZodObject<{
354
- label: z.ZodString;
355
- description: z.ZodOptional<z.ZodString>;
356
- }, z.core.$strip>], null>;
357
- rows: z.ZodArray<z.ZodObject<{
358
- label: z.ZodString;
359
- description: z.ZodOptional<z.ZodString>;
360
- values: z.ZodTuple<[z.ZodObject<{
361
- value: z.ZodString;
362
- detail: z.ZodOptional<z.ZodString>;
363
- tone: z.ZodOptional<z.ZodEnum<{
364
- success: "success";
365
- warning: "warning";
366
- danger: "danger";
367
- info: "info";
368
- default: "default";
369
- primary: "primary";
370
- }>>;
371
- }, z.core.$strip>, z.ZodObject<{
372
- value: z.ZodString;
373
- detail: z.ZodOptional<z.ZodString>;
374
- tone: z.ZodOptional<z.ZodEnum<{
375
- success: "success";
376
- warning: "warning";
377
- danger: "danger";
378
- info: "info";
379
- default: "default";
380
- primary: "primary";
381
- }>>;
382
- }, z.core.$strip>], null>;
383
- delta: z.ZodOptional<z.ZodObject<{
384
- value: z.ZodString;
385
- tone: z.ZodOptional<z.ZodEnum<{
386
- success: "success";
387
- warning: "warning";
388
- danger: "danger";
389
- info: "info";
390
- default: "default";
391
- primary: "primary";
392
- }>>;
393
- }, z.core.$strip>>;
471
+ export declare const NarrativeAnswerSchema: z.ZodObject<{
472
+ kind: z.ZodLiteral<"narrative">;
473
+ lead: z.ZodOptional<z.ZodString>;
474
+ blocks: z.ZodArray<z.ZodObject<{
475
+ heading: z.ZodOptional<z.ZodString>;
476
+ lead: z.ZodOptional<z.ZodString>;
477
+ body: z.ZodString;
478
+ bullets: z.ZodOptional<z.ZodArray<z.ZodString>>;
479
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
480
+ label: z.ZodString;
481
+ query: z.ZodOptional<z.ZodString>;
482
+ source: z.ZodOptional<z.ZodString>;
483
+ rows: z.ZodOptional<z.ZodNumber>;
484
+ }, z.core.$strip>]>>>;
485
+ tone: z.ZodOptional<z.ZodEnum<{
486
+ success: "success";
487
+ warning: "warning";
488
+ danger: "danger";
489
+ info: "info";
490
+ default: "default";
491
+ primary: "primary";
492
+ }>>;
394
493
  }, z.core.$strip>>;
395
- takeaway: z.ZodOptional<z.ZodObject<{
494
+ takeaways: z.ZodOptional<z.ZodArray<z.ZodObject<{
495
+ lead: z.ZodOptional<z.ZodString>;
496
+ body: z.ZodString;
497
+ }, z.core.$strip>>>;
498
+ bottomLine: z.ZodOptional<z.ZodObject<{
396
499
  label: z.ZodOptional<z.ZodString>;
397
500
  text: z.ZodString;
398
501
  tone: z.ZodOptional<z.ZodEnum<{
@@ -407,6 +510,8 @@ export declare const AnswerSpecSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
407
510
  eyebrow: z.ZodOptional<z.ZodString>;
408
511
  headline: z.ZodString;
409
512
  summary: z.ZodOptional<z.ZodString>;
513
+ method: z.ZodOptional<z.ZodString>;
514
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
410
515
  followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
411
516
  id: z.ZodString;
412
517
  label: z.ZodString;
@@ -418,12 +523,14 @@ export declare const AnswerSpecSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
418
523
  description: z.ZodOptional<z.ZodString>;
419
524
  href: z.ZodOptional<z.ZodString>;
420
525
  }, z.core.$strip>>>;
421
- }, z.core.$strip>, z.ZodObject<{
422
- kind: z.ZodLiteral<"trend">;
423
- metric: z.ZodOptional<z.ZodObject<{
526
+ }, z.core.$strip>;
527
+ export declare const FactAnswerSchema: z.ZodObject<{
528
+ kind: z.ZodLiteral<"fact">;
529
+ value: z.ZodObject<{
424
530
  label: z.ZodString;
425
531
  value: z.ZodString;
426
532
  change: z.ZodOptional<z.ZodString>;
533
+ asOf: z.ZodOptional<z.ZodString>;
427
534
  tone: z.ZodOptional<z.ZodEnum<{
428
535
  success: "success";
429
536
  warning: "warning";
@@ -432,65 +539,26 @@ export declare const AnswerSpecSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
432
539
  default: "default";
433
540
  primary: "primary";
434
541
  }>>;
435
- }, z.core.$strip>>;
436
- chart: z.ZodObject<{
437
- type: z.ZodEnum<{
438
- area: "area";
439
- line: "line";
440
- bar: "bar";
441
- }>;
442
- data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
443
- categoryKey: z.ZodString;
444
- series: z.ZodArray<z.ZodString>;
445
- seriesLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
446
- highlight: z.ZodOptional<z.ZodString>;
447
- unit: z.ZodOptional<z.ZodString>;
448
- annotations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
449
- kind: z.ZodLiteral<"line">;
450
- value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
451
- axis: z.ZodOptional<z.ZodEnum<{
452
- x: "x";
453
- y: "y";
454
- }>>;
455
- label: z.ZodOptional<z.ZodString>;
456
- color: z.ZodOptional<z.ZodEnum<{
457
- success: "success";
458
- warning: "warning";
459
- danger: "danger";
460
- info: "info";
461
- primary: "primary";
462
- }>>;
463
- }, z.core.$strip>, z.ZodObject<{
464
- kind: z.ZodLiteral<"band">;
465
- from: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
466
- to: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
467
- axis: z.ZodOptional<z.ZodEnum<{
468
- x: "x";
469
- y: "y";
470
- }>>;
471
- label: z.ZodOptional<z.ZodString>;
472
- color: z.ZodOptional<z.ZodEnum<{
473
- success: "success";
474
- warning: "warning";
475
- danger: "danger";
476
- info: "info";
477
- primary: "primary";
478
- }>>;
479
- }, z.core.$strip>, z.ZodObject<{
480
- kind: z.ZodLiteral<"point">;
481
- x: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
482
- y: z.ZodNumber;
483
- label: z.ZodString;
484
- description: z.ZodOptional<z.ZodString>;
485
- color: z.ZodOptional<z.ZodEnum<{
486
- success: "success";
487
- warning: "warning";
488
- danger: "danger";
489
- info: "info";
490
- primary: "primary";
491
- }>>;
492
- }, z.core.$strip>], "kind">>>;
493
542
  }, z.core.$strip>;
543
+ facts: z.ZodOptional<z.ZodArray<z.ZodObject<{
544
+ label: z.ZodString;
545
+ value: z.ZodString;
546
+ change: z.ZodOptional<z.ZodString>;
547
+ tone: z.ZodOptional<z.ZodEnum<{
548
+ success: "success";
549
+ warning: "warning";
550
+ danger: "danger";
551
+ info: "info";
552
+ default: "default";
553
+ primary: "primary";
554
+ }>>;
555
+ }, z.core.$strip>>>;
556
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
557
+ label: z.ZodString;
558
+ query: z.ZodOptional<z.ZodString>;
559
+ source: z.ZodOptional<z.ZodString>;
560
+ rows: z.ZodOptional<z.ZodNumber>;
561
+ }, z.core.$strip>]>>>;
494
562
  insight: z.ZodOptional<z.ZodObject<{
495
563
  label: z.ZodOptional<z.ZodString>;
496
564
  text: z.ZodString;
@@ -506,6 +574,8 @@ export declare const AnswerSpecSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
506
574
  eyebrow: z.ZodOptional<z.ZodString>;
507
575
  headline: z.ZodString;
508
576
  summary: z.ZodOptional<z.ZodString>;
577
+ method: z.ZodOptional<z.ZodString>;
578
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
509
579
  followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
510
580
  id: z.ZodString;
511
581
  label: z.ZodString;
@@ -517,11 +587,11 @@ export declare const AnswerSpecSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
517
587
  description: z.ZodOptional<z.ZodString>;
518
588
  href: z.ZodOptional<z.ZodString>;
519
589
  }, z.core.$strip>>>;
520
- }, z.core.$strip>, z.ZodObject<{
521
- kind: z.ZodLiteral<"status">;
522
- overall: z.ZodOptional<z.ZodObject<{
523
- label: z.ZodString;
524
- value: z.ZodString;
590
+ }, z.core.$strip>;
591
+ export declare const TableAnswerSchema: z.ZodObject<{
592
+ insight: z.ZodOptional<z.ZodObject<{
593
+ label: z.ZodOptional<z.ZodString>;
594
+ text: z.ZodString;
525
595
  tone: z.ZodOptional<z.ZodEnum<{
526
596
  success: "success";
527
597
  warning: "warning";
@@ -531,35 +601,45 @@ export declare const AnswerSpecSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
531
601
  primary: "primary";
532
602
  }>>;
533
603
  }, z.core.$strip>>;
534
- items: z.ZodArray<z.ZodObject<{
604
+ columns: z.ZodArray<z.ZodObject<{
605
+ key: z.ZodString;
535
606
  label: z.ZodString;
536
- status: z.ZodString;
537
- detail: z.ZodOptional<z.ZodString>;
538
- meta: z.ZodOptional<z.ZodString>;
539
- tone: z.ZodOptional<z.ZodEnum<{
540
- success: "success";
541
- warning: "warning";
542
- danger: "danger";
543
- info: "info";
544
- default: "default";
545
- primary: "primary";
607
+ align: z.ZodOptional<z.ZodEnum<{
608
+ left: "left";
609
+ right: "right";
546
610
  }>>;
547
611
  }, z.core.$strip>>;
548
- recommendation: z.ZodOptional<z.ZodObject<{
612
+ rows: z.ZodArray<z.ZodObject<{
613
+ cells: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
614
+ value: z.ZodString;
615
+ tone: z.ZodOptional<z.ZodEnum<{
616
+ success: "success";
617
+ warning: "warning";
618
+ danger: "danger";
619
+ info: "info";
620
+ default: "default";
621
+ primary: "primary";
622
+ }>>;
623
+ }, z.core.$strip>]>>;
624
+ emphasis: z.ZodOptional<z.ZodBoolean>;
625
+ }, z.core.$strip>>;
626
+ totals: z.ZodOptional<z.ZodObject<{
549
627
  label: z.ZodOptional<z.ZodString>;
550
- text: z.ZodString;
551
- tone: z.ZodOptional<z.ZodEnum<{
552
- success: "success";
553
- warning: "warning";
554
- danger: "danger";
555
- info: "info";
556
- default: "default";
557
- primary: "primary";
558
- }>>;
628
+ cells: z.ZodRecord<z.ZodString, z.ZodString>;
559
629
  }, z.core.$strip>>;
630
+ note: z.ZodOptional<z.ZodString>;
631
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
632
+ label: z.ZodString;
633
+ query: z.ZodOptional<z.ZodString>;
634
+ source: z.ZodOptional<z.ZodString>;
635
+ rows: z.ZodOptional<z.ZodNumber>;
636
+ }, z.core.$strip>]>>>;
637
+ kind: z.ZodLiteral<"table">;
560
638
  eyebrow: z.ZodOptional<z.ZodString>;
561
639
  headline: z.ZodString;
562
640
  summary: z.ZodOptional<z.ZodString>;
641
+ method: z.ZodOptional<z.ZodString>;
642
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
563
643
  followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
564
644
  id: z.ZodString;
565
645
  label: z.ZodString;
@@ -571,17 +651,26 @@ export declare const AnswerSpecSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
571
651
  description: z.ZodOptional<z.ZodString>;
572
652
  href: z.ZodOptional<z.ZodString>;
573
653
  }, z.core.$strip>>>;
574
- }, z.core.$strip>, z.ZodObject<{
575
- kind: z.ZodLiteral<"breakdown">;
576
- total: z.ZodOptional<z.ZodObject<{
577
- label: z.ZodString;
578
- value: z.ZodString;
579
- }, z.core.$strip>>;
654
+ }, z.core.$strip>;
655
+ export declare const RankingAnswerSchema: z.ZodObject<{
656
+ kind: z.ZodLiteral<"ranking">;
657
+ metricLabel: z.ZodOptional<z.ZodString>;
580
658
  items: z.ZodArray<z.ZodObject<{
581
659
  label: z.ZodString;
582
660
  value: z.ZodString;
583
- share: z.ZodNumber;
584
661
  detail: z.ZodOptional<z.ZodString>;
662
+ delta: z.ZodOptional<z.ZodObject<{
663
+ value: z.ZodString;
664
+ tone: z.ZodOptional<z.ZodEnum<{
665
+ success: "success";
666
+ warning: "warning";
667
+ danger: "danger";
668
+ info: "info";
669
+ default: "default";
670
+ primary: "primary";
671
+ }>>;
672
+ }, z.core.$strip>>;
673
+ highlight: z.ZodOptional<z.ZodBoolean>;
585
674
  tone: z.ZodOptional<z.ZodEnum<{
586
675
  success: "success";
587
676
  warning: "warning";
@@ -591,6 +680,13 @@ export declare const AnswerSpecSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
591
680
  primary: "primary";
592
681
  }>>;
593
682
  }, z.core.$strip>>;
683
+ tiebreak: z.ZodOptional<z.ZodString>;
684
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
685
+ label: z.ZodString;
686
+ query: z.ZodOptional<z.ZodString>;
687
+ source: z.ZodOptional<z.ZodString>;
688
+ rows: z.ZodOptional<z.ZodNumber>;
689
+ }, z.core.$strip>]>>>;
594
690
  insight: z.ZodOptional<z.ZodObject<{
595
691
  label: z.ZodOptional<z.ZodString>;
596
692
  text: z.ZodString;
@@ -606,6 +702,8 @@ export declare const AnswerSpecSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
606
702
  eyebrow: z.ZodOptional<z.ZodString>;
607
703
  headline: z.ZodString;
608
704
  summary: z.ZodOptional<z.ZodString>;
705
+ method: z.ZodOptional<z.ZodString>;
706
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
609
707
  followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
610
708
  id: z.ZodString;
611
709
  label: z.ZodString;
@@ -617,14 +715,140 @@ export declare const AnswerSpecSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
617
715
  description: z.ZodOptional<z.ZodString>;
618
716
  href: z.ZodOptional<z.ZodString>;
619
717
  }, z.core.$strip>>>;
620
- }, z.core.$strip>, z.ZodObject<{
621
- kind: z.ZodLiteral<"explanation">;
622
- sections: z.ZodArray<z.ZodObject<{
623
- title: z.ZodString;
624
- body: z.ZodOptional<z.ZodString>;
625
- bullets: z.ZodOptional<z.ZodArray<z.ZodString>>;
718
+ }, z.core.$strip>;
719
+ export declare const ConfirmationAnswerSchema: z.ZodObject<{
720
+ kind: z.ZodLiteral<"confirmation">;
721
+ outcome: z.ZodObject<{
722
+ label: z.ZodString;
723
+ detail: z.ZodOptional<z.ZodString>;
724
+ tone: z.ZodOptional<z.ZodEnum<{
725
+ success: "success";
726
+ warning: "warning";
727
+ danger: "danger";
728
+ info: "info";
729
+ default: "default";
730
+ primary: "primary";
731
+ }>>;
732
+ }, z.core.$strip>;
733
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
734
+ label: z.ZodString;
735
+ value: z.ZodString;
736
+ code: z.ZodOptional<z.ZodBoolean>;
737
+ tone: z.ZodOptional<z.ZodEnum<{
738
+ success: "success";
739
+ warning: "warning";
740
+ danger: "danger";
741
+ info: "info";
742
+ default: "default";
743
+ primary: "primary";
744
+ }>>;
745
+ }, z.core.$strip>>>;
746
+ steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
747
+ label: z.ZodString;
748
+ status: z.ZodEnum<{
749
+ done: "done";
750
+ pending: "pending";
751
+ failed: "failed";
752
+ skipped: "skipped";
753
+ }>;
754
+ detail: z.ZodOptional<z.ZodString>;
755
+ }, z.core.$strip>>>;
756
+ safety: z.ZodOptional<z.ZodString>;
757
+ next: z.ZodOptional<z.ZodString>;
758
+ warning: z.ZodOptional<z.ZodObject<{
759
+ label: z.ZodOptional<z.ZodString>;
760
+ text: z.ZodString;
761
+ tone: z.ZodOptional<z.ZodEnum<{
762
+ success: "success";
763
+ warning: "warning";
764
+ danger: "danger";
765
+ info: "info";
766
+ default: "default";
767
+ primary: "primary";
768
+ }>>;
626
769
  }, z.core.$strip>>;
627
- takeaway: z.ZodOptional<z.ZodObject<{
770
+ eyebrow: z.ZodOptional<z.ZodString>;
771
+ headline: z.ZodString;
772
+ summary: z.ZodOptional<z.ZodString>;
773
+ method: z.ZodOptional<z.ZodString>;
774
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
775
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
776
+ id: z.ZodString;
777
+ label: z.ZodString;
778
+ prompt: z.ZodOptional<z.ZodString>;
779
+ }, z.core.$strip>>>;
780
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
781
+ id: z.ZodString;
782
+ label: z.ZodString;
783
+ description: z.ZodOptional<z.ZodString>;
784
+ href: z.ZodOptional<z.ZodString>;
785
+ }, z.core.$strip>>>;
786
+ }, z.core.$strip>;
787
+ export declare const ClarificationAnswerSchema: z.ZodObject<{
788
+ kind: z.ZodLiteral<"clarification">;
789
+ findings: z.ZodOptional<z.ZodArray<z.ZodObject<{
790
+ label: z.ZodString;
791
+ value: z.ZodString;
792
+ code: z.ZodOptional<z.ZodBoolean>;
793
+ tone: z.ZodOptional<z.ZodEnum<{
794
+ success: "success";
795
+ warning: "warning";
796
+ danger: "danger";
797
+ info: "info";
798
+ default: "default";
799
+ primary: "primary";
800
+ }>>;
801
+ }, z.core.$strip>>>;
802
+ question: z.ZodString;
803
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
804
+ id: z.ZodString;
805
+ label: z.ZodString;
806
+ description: z.ZodOptional<z.ZodString>;
807
+ prompt: z.ZodOptional<z.ZodString>;
808
+ }, z.core.$strip>>>;
809
+ eyebrow: z.ZodOptional<z.ZodString>;
810
+ headline: z.ZodString;
811
+ summary: z.ZodOptional<z.ZodString>;
812
+ method: z.ZodOptional<z.ZodString>;
813
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
814
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
815
+ id: z.ZodString;
816
+ label: z.ZodString;
817
+ prompt: z.ZodOptional<z.ZodString>;
818
+ }, z.core.$strip>>>;
819
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
820
+ id: z.ZodString;
821
+ label: z.ZodString;
822
+ description: z.ZodOptional<z.ZodString>;
823
+ href: z.ZodOptional<z.ZodString>;
824
+ }, z.core.$strip>>>;
825
+ }, z.core.$strip>;
826
+ export declare const EmptyAnswerSchema: z.ZodObject<{
827
+ kind: z.ZodLiteral<"empty">;
828
+ checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
829
+ label: z.ZodString;
830
+ result: z.ZodString;
831
+ tone: z.ZodOptional<z.ZodEnum<{
832
+ success: "success";
833
+ warning: "warning";
834
+ danger: "danger";
835
+ info: "info";
836
+ default: "default";
837
+ primary: "primary";
838
+ }>>;
839
+ }, z.core.$strip>>>;
840
+ reason: z.ZodOptional<z.ZodString>;
841
+ baseline: z.ZodOptional<z.ZodObject<{
842
+ label: z.ZodString;
843
+ value: z.ZodString;
844
+ }, z.core.$strip>>;
845
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
846
+ label: z.ZodString;
847
+ query: z.ZodOptional<z.ZodString>;
848
+ source: z.ZodOptional<z.ZodString>;
849
+ rows: z.ZodOptional<z.ZodNumber>;
850
+ }, z.core.$strip>]>>>;
851
+ alternative: z.ZodOptional<z.ZodObject<{
628
852
  label: z.ZodOptional<z.ZodString>;
629
853
  text: z.ZodString;
630
854
  tone: z.ZodOptional<z.ZodEnum<{
@@ -639,6 +863,8 @@ export declare const AnswerSpecSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
639
863
  eyebrow: z.ZodOptional<z.ZodString>;
640
864
  headline: z.ZodString;
641
865
  summary: z.ZodOptional<z.ZodString>;
866
+ method: z.ZodOptional<z.ZodString>;
867
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
642
868
  followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
643
869
  id: z.ZodString;
644
870
  label: z.ZodString;
@@ -650,56 +876,185 @@ export declare const AnswerSpecSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
650
876
  description: z.ZodOptional<z.ZodString>;
651
877
  href: z.ZodOptional<z.ZodString>;
652
878
  }, z.core.$strip>>>;
653
- }, z.core.$strip>], "kind">;
654
- export type AnswerTone = z.infer<typeof AnswerToneSchema>;
655
- export type AnswerFollowUp = z.infer<typeof AnswerFollowUpSchema>;
656
- export type AnswerSource = z.infer<typeof AnswerSourceSchema>;
657
- export type ComparisonAnswerSpec = z.infer<typeof ComparisonAnswerSchema>;
658
- export type TrendAnswerSpec = z.infer<typeof TrendAnswerSchema>;
659
- export type StatusAnswerSpec = z.infer<typeof StatusAnswerSchema>;
660
- export type BreakdownAnswerSpec = z.infer<typeof BreakdownAnswerSchema>;
661
- export type ExplanationAnswerSpec = z.infer<typeof ExplanationAnswerSchema>;
662
- export type AnswerSpec = z.infer<typeof AnswerSpecSchema>;
663
- /** Drop this into an agent/toolkit registration and adapt the field names as needed. */
664
- export declare const answerTool: {
665
- readonly name: "render_answer";
666
- readonly description: "Render the final answer with one curated ADS template. Choose the semantic kind that best matches the answer and provide only validated data; the application owns the layout.";
667
- readonly inputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
668
- kind: z.ZodLiteral<"comparison">;
669
- subjects: z.ZodTuple<[z.ZodObject<{
879
+ }, z.core.$strip>;
880
+ export declare const ErrorAnswerSchema: z.ZodObject<{
881
+ kind: z.ZodLiteral<"error">;
882
+ failure: z.ZodObject<{
883
+ summary: z.ZodString;
884
+ tally: z.ZodOptional<z.ZodString>;
885
+ detail: z.ZodOptional<z.ZodString>;
886
+ }, z.core.$strip>;
887
+ attempts: z.ZodOptional<z.ZodArray<z.ZodObject<{
888
+ label: z.ZodString;
889
+ result: z.ZodString;
890
+ }, z.core.$strip>>>;
891
+ resolution: z.ZodOptional<z.ZodArray<z.ZodObject<{
892
+ action: z.ZodString;
893
+ owner: z.ZodOptional<z.ZodEnum<{
894
+ user: "user";
895
+ admin: "admin";
896
+ platform: "platform";
897
+ agent: "agent";
898
+ }>>;
899
+ }, z.core.$strip>>>;
900
+ preserved: z.ZodOptional<z.ZodObject<{
901
+ label: z.ZodOptional<z.ZodString>;
902
+ code: z.ZodString;
903
+ language: z.ZodOptional<z.ZodString>;
904
+ }, z.core.$strip>>;
905
+ eyebrow: z.ZodOptional<z.ZodString>;
906
+ headline: z.ZodString;
907
+ summary: z.ZodOptional<z.ZodString>;
908
+ method: z.ZodOptional<z.ZodString>;
909
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
910
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
911
+ id: z.ZodString;
912
+ label: z.ZodString;
913
+ prompt: z.ZodOptional<z.ZodString>;
914
+ }, z.core.$strip>>>;
915
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
916
+ id: z.ZodString;
917
+ label: z.ZodString;
918
+ description: z.ZodOptional<z.ZodString>;
919
+ href: z.ZodOptional<z.ZodString>;
920
+ }, z.core.$strip>>>;
921
+ }, z.core.$strip>;
922
+ export declare const RefusalAnswerSchema: z.ZodObject<{
923
+ kind: z.ZodLiteral<"refusal">;
924
+ reason: z.ZodString;
925
+ scope: z.ZodOptional<z.ZodString>;
926
+ completed: z.ZodOptional<z.ZodString>;
927
+ alternatives: z.ZodOptional<z.ZodArray<z.ZodObject<{
928
+ label: z.ZodString;
929
+ description: z.ZodOptional<z.ZodString>;
930
+ }, z.core.$strip>>>;
931
+ eyebrow: z.ZodOptional<z.ZodString>;
932
+ headline: z.ZodString;
933
+ summary: z.ZodOptional<z.ZodString>;
934
+ method: z.ZodOptional<z.ZodString>;
935
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
936
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
937
+ id: z.ZodString;
938
+ label: z.ZodString;
939
+ prompt: z.ZodOptional<z.ZodString>;
940
+ }, z.core.$strip>>>;
941
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
942
+ id: z.ZodString;
943
+ label: z.ZodString;
944
+ description: z.ZodOptional<z.ZodString>;
945
+ href: z.ZodOptional<z.ZodString>;
946
+ }, z.core.$strip>>>;
947
+ }, z.core.$strip>;
948
+ export declare const KnowledgeAnswerSchema: z.ZodObject<{
949
+ kind: z.ZodLiteral<"knowledge">;
950
+ entries: z.ZodArray<z.ZodObject<{
951
+ term: z.ZodString;
952
+ category: z.ZodOptional<z.ZodString>;
953
+ body: z.ZodOptional<z.ZodString>;
954
+ formula: z.ZodOptional<z.ZodString>;
955
+ items: z.ZodOptional<z.ZodArray<z.ZodObject<{
670
956
  label: z.ZodString;
671
- description: z.ZodOptional<z.ZodString>;
672
- }, z.core.$strip>, z.ZodObject<{
957
+ value: z.ZodString;
958
+ code: z.ZodOptional<z.ZodBoolean>;
959
+ tone: z.ZodOptional<z.ZodEnum<{
960
+ success: "success";
961
+ warning: "warning";
962
+ danger: "danger";
963
+ info: "info";
964
+ default: "default";
965
+ primary: "primary";
966
+ }>>;
967
+ }, z.core.$strip>>>;
968
+ }, z.core.$strip>>;
969
+ gaps: z.ZodOptional<z.ZodArray<z.ZodString>>;
970
+ compliance: z.ZodOptional<z.ZodString>;
971
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
972
+ label: z.ZodString;
973
+ query: z.ZodOptional<z.ZodString>;
974
+ source: z.ZodOptional<z.ZodString>;
975
+ rows: z.ZodOptional<z.ZodNumber>;
976
+ }, z.core.$strip>]>>>;
977
+ eyebrow: z.ZodOptional<z.ZodString>;
978
+ headline: z.ZodString;
979
+ summary: z.ZodOptional<z.ZodString>;
980
+ method: z.ZodOptional<z.ZodString>;
981
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
982
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
983
+ id: z.ZodString;
984
+ label: z.ZodString;
985
+ prompt: z.ZodOptional<z.ZodString>;
986
+ }, z.core.$strip>>>;
987
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
988
+ id: z.ZodString;
989
+ label: z.ZodString;
990
+ description: z.ZodOptional<z.ZodString>;
991
+ href: z.ZodOptional<z.ZodString>;
992
+ }, z.core.$strip>>>;
993
+ }, z.core.$strip>;
994
+ export declare const DecisionAnswerSchema: z.ZodObject<{
995
+ kind: z.ZodLiteral<"decision">;
996
+ options: z.ZodArray<z.ZodObject<{
997
+ name: z.ZodString;
998
+ tag: z.ZodOptional<z.ZodString>;
999
+ description: z.ZodOptional<z.ZodString>;
1000
+ pros: z.ZodOptional<z.ZodArray<z.ZodString>>;
1001
+ cons: z.ZodOptional<z.ZodArray<z.ZodString>>;
1002
+ recommended: z.ZodOptional<z.ZodBoolean>;
1003
+ }, z.core.$strip>>;
1004
+ guidance: z.ZodOptional<z.ZodArray<z.ZodObject<{
1005
+ when: z.ZodString;
1006
+ choose: z.ZodString;
1007
+ }, z.core.$strip>>>;
1008
+ eyebrow: z.ZodOptional<z.ZodString>;
1009
+ headline: z.ZodString;
1010
+ summary: z.ZodOptional<z.ZodString>;
1011
+ method: z.ZodOptional<z.ZodString>;
1012
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
1013
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1014
+ id: z.ZodString;
1015
+ label: z.ZodString;
1016
+ prompt: z.ZodOptional<z.ZodString>;
1017
+ }, z.core.$strip>>>;
1018
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1019
+ id: z.ZodString;
1020
+ label: z.ZodString;
1021
+ description: z.ZodOptional<z.ZodString>;
1022
+ href: z.ZodOptional<z.ZodString>;
1023
+ }, z.core.$strip>>>;
1024
+ }, z.core.$strip>;
1025
+ export declare const ReportAnswerSchema: z.ZodObject<{
1026
+ kind: z.ZodLiteral<"report">;
1027
+ sections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1028
+ type: z.ZodLiteral<"text">;
1029
+ title: z.ZodOptional<z.ZodString>;
1030
+ body: z.ZodString;
1031
+ }, z.core.$strip>, z.ZodObject<{
1032
+ type: z.ZodLiteral<"metrics">;
1033
+ title: z.ZodOptional<z.ZodString>;
1034
+ items: z.ZodArray<z.ZodObject<{
673
1035
  label: z.ZodString;
674
- description: z.ZodOptional<z.ZodString>;
675
- }, z.core.$strip>], null>;
676
- rows: z.ZodArray<z.ZodObject<{
1036
+ value: z.ZodString;
1037
+ change: z.ZodOptional<z.ZodString>;
1038
+ tone: z.ZodOptional<z.ZodEnum<{
1039
+ success: "success";
1040
+ warning: "warning";
1041
+ danger: "danger";
1042
+ info: "info";
1043
+ default: "default";
1044
+ primary: "primary";
1045
+ }>>;
1046
+ }, z.core.$strip>>;
1047
+ }, z.core.$strip>, z.ZodObject<{
1048
+ columns: z.ZodArray<z.ZodObject<{
1049
+ key: z.ZodString;
677
1050
  label: z.ZodString;
678
- description: z.ZodOptional<z.ZodString>;
679
- values: z.ZodTuple<[z.ZodObject<{
680
- value: z.ZodString;
681
- detail: z.ZodOptional<z.ZodString>;
682
- tone: z.ZodOptional<z.ZodEnum<{
683
- success: "success";
684
- warning: "warning";
685
- danger: "danger";
686
- info: "info";
687
- default: "default";
688
- primary: "primary";
689
- }>>;
690
- }, z.core.$strip>, z.ZodObject<{
691
- value: z.ZodString;
692
- detail: z.ZodOptional<z.ZodString>;
693
- tone: z.ZodOptional<z.ZodEnum<{
694
- success: "success";
695
- warning: "warning";
696
- danger: "danger";
697
- info: "info";
698
- default: "default";
699
- primary: "primary";
700
- }>>;
701
- }, z.core.$strip>], null>;
702
- delta: z.ZodOptional<z.ZodObject<{
1051
+ align: z.ZodOptional<z.ZodEnum<{
1052
+ left: "left";
1053
+ right: "right";
1054
+ }>>;
1055
+ }, z.core.$strip>>;
1056
+ rows: z.ZodArray<z.ZodObject<{
1057
+ cells: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
703
1058
  value: z.ZodString;
704
1059
  tone: z.ZodOptional<z.ZodEnum<{
705
1060
  success: "success";
@@ -709,9 +1064,1695 @@ export declare const answerTool: {
709
1064
  default: "default";
710
1065
  primary: "primary";
711
1066
  }>>;
712
- }, z.core.$strip>>;
1067
+ }, z.core.$strip>]>>;
1068
+ emphasis: z.ZodOptional<z.ZodBoolean>;
713
1069
  }, z.core.$strip>>;
714
- takeaway: z.ZodOptional<z.ZodObject<{
1070
+ totals: z.ZodOptional<z.ZodObject<{
1071
+ label: z.ZodOptional<z.ZodString>;
1072
+ cells: z.ZodRecord<z.ZodString, z.ZodString>;
1073
+ }, z.core.$strip>>;
1074
+ note: z.ZodOptional<z.ZodString>;
1075
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1076
+ label: z.ZodString;
1077
+ query: z.ZodOptional<z.ZodString>;
1078
+ source: z.ZodOptional<z.ZodString>;
1079
+ rows: z.ZodOptional<z.ZodNumber>;
1080
+ }, z.core.$strip>]>>>;
1081
+ type: z.ZodLiteral<"table">;
1082
+ title: z.ZodOptional<z.ZodString>;
1083
+ }, z.core.$strip>, z.ZodObject<{
1084
+ type: z.ZodLiteral<"chart">;
1085
+ title: z.ZodOptional<z.ZodString>;
1086
+ chart: z.ZodObject<{
1087
+ type: z.ZodEnum<{
1088
+ area: "area";
1089
+ line: "line";
1090
+ bar: "bar";
1091
+ }>;
1092
+ data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
1093
+ categoryKey: z.ZodString;
1094
+ series: z.ZodArray<z.ZodString>;
1095
+ seriesLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1096
+ highlight: z.ZodOptional<z.ZodString>;
1097
+ forecastKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
1098
+ unit: z.ZodOptional<z.ZodString>;
1099
+ annotations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1100
+ kind: z.ZodLiteral<"line">;
1101
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1102
+ axis: z.ZodOptional<z.ZodEnum<{
1103
+ x: "x";
1104
+ y: "y";
1105
+ }>>;
1106
+ label: z.ZodOptional<z.ZodString>;
1107
+ color: z.ZodOptional<z.ZodEnum<{
1108
+ success: "success";
1109
+ warning: "warning";
1110
+ danger: "danger";
1111
+ info: "info";
1112
+ primary: "primary";
1113
+ }>>;
1114
+ }, z.core.$strip>, z.ZodObject<{
1115
+ kind: z.ZodLiteral<"band">;
1116
+ from: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1117
+ to: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1118
+ axis: z.ZodOptional<z.ZodEnum<{
1119
+ x: "x";
1120
+ y: "y";
1121
+ }>>;
1122
+ label: z.ZodOptional<z.ZodString>;
1123
+ color: z.ZodOptional<z.ZodEnum<{
1124
+ success: "success";
1125
+ warning: "warning";
1126
+ danger: "danger";
1127
+ info: "info";
1128
+ primary: "primary";
1129
+ }>>;
1130
+ }, z.core.$strip>, z.ZodObject<{
1131
+ kind: z.ZodLiteral<"point">;
1132
+ x: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1133
+ y: z.ZodNumber;
1134
+ label: z.ZodString;
1135
+ description: z.ZodOptional<z.ZodString>;
1136
+ color: z.ZodOptional<z.ZodEnum<{
1137
+ success: "success";
1138
+ warning: "warning";
1139
+ danger: "danger";
1140
+ info: "info";
1141
+ primary: "primary";
1142
+ }>>;
1143
+ }, z.core.$strip>], "kind">>>;
1144
+ }, z.core.$strip>;
1145
+ note: z.ZodOptional<z.ZodString>;
1146
+ }, z.core.$strip>, z.ZodObject<{
1147
+ type: z.ZodLiteral<"list">;
1148
+ title: z.ZodOptional<z.ZodString>;
1149
+ items: z.ZodArray<z.ZodObject<{
1150
+ lead: z.ZodOptional<z.ZodString>;
1151
+ body: z.ZodString;
1152
+ }, z.core.$strip>>;
1153
+ }, z.core.$strip>], "type">>;
1154
+ definitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1155
+ term: z.ZodString;
1156
+ meaning: z.ZodString;
1157
+ }, z.core.$strip>>>;
1158
+ eyebrow: z.ZodOptional<z.ZodString>;
1159
+ headline: z.ZodString;
1160
+ summary: z.ZodOptional<z.ZodString>;
1161
+ method: z.ZodOptional<z.ZodString>;
1162
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
1163
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1164
+ id: z.ZodString;
1165
+ label: z.ZodString;
1166
+ prompt: z.ZodOptional<z.ZodString>;
1167
+ }, z.core.$strip>>>;
1168
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1169
+ id: z.ZodString;
1170
+ label: z.ZodString;
1171
+ description: z.ZodOptional<z.ZodString>;
1172
+ href: z.ZodOptional<z.ZodString>;
1173
+ }, z.core.$strip>>>;
1174
+ }, z.core.$strip>;
1175
+ /** The complete model-facing contract. No free-form layout nodes are allowed. */
1176
+ export declare const AnswerSpecSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1177
+ kind: z.ZodLiteral<"comparison">;
1178
+ subjects: z.ZodTuple<[z.ZodObject<{
1179
+ label: z.ZodString;
1180
+ description: z.ZodOptional<z.ZodString>;
1181
+ }, z.core.$strip>, z.ZodObject<{
1182
+ label: z.ZodString;
1183
+ description: z.ZodOptional<z.ZodString>;
1184
+ }, z.core.$strip>], null>;
1185
+ rows: z.ZodArray<z.ZodObject<{
1186
+ label: z.ZodString;
1187
+ description: z.ZodOptional<z.ZodString>;
1188
+ values: z.ZodTuple<[z.ZodObject<{
1189
+ value: z.ZodString;
1190
+ detail: z.ZodOptional<z.ZodString>;
1191
+ tone: z.ZodOptional<z.ZodEnum<{
1192
+ success: "success";
1193
+ warning: "warning";
1194
+ danger: "danger";
1195
+ info: "info";
1196
+ default: "default";
1197
+ primary: "primary";
1198
+ }>>;
1199
+ }, z.core.$strip>, z.ZodObject<{
1200
+ value: z.ZodString;
1201
+ detail: z.ZodOptional<z.ZodString>;
1202
+ tone: z.ZodOptional<z.ZodEnum<{
1203
+ success: "success";
1204
+ warning: "warning";
1205
+ danger: "danger";
1206
+ info: "info";
1207
+ default: "default";
1208
+ primary: "primary";
1209
+ }>>;
1210
+ }, z.core.$strip>], null>;
1211
+ delta: z.ZodOptional<z.ZodObject<{
1212
+ value: z.ZodString;
1213
+ tone: z.ZodOptional<z.ZodEnum<{
1214
+ success: "success";
1215
+ warning: "warning";
1216
+ danger: "danger";
1217
+ info: "info";
1218
+ default: "default";
1219
+ primary: "primary";
1220
+ }>>;
1221
+ }, z.core.$strip>>;
1222
+ }, z.core.$strip>>;
1223
+ takeaway: z.ZodOptional<z.ZodObject<{
1224
+ label: z.ZodOptional<z.ZodString>;
1225
+ text: z.ZodString;
1226
+ tone: z.ZodOptional<z.ZodEnum<{
1227
+ success: "success";
1228
+ warning: "warning";
1229
+ danger: "danger";
1230
+ info: "info";
1231
+ default: "default";
1232
+ primary: "primary";
1233
+ }>>;
1234
+ }, z.core.$strip>>;
1235
+ eyebrow: z.ZodOptional<z.ZodString>;
1236
+ headline: z.ZodString;
1237
+ summary: z.ZodOptional<z.ZodString>;
1238
+ method: z.ZodOptional<z.ZodString>;
1239
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
1240
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1241
+ id: z.ZodString;
1242
+ label: z.ZodString;
1243
+ prompt: z.ZodOptional<z.ZodString>;
1244
+ }, z.core.$strip>>>;
1245
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1246
+ id: z.ZodString;
1247
+ label: z.ZodString;
1248
+ description: z.ZodOptional<z.ZodString>;
1249
+ href: z.ZodOptional<z.ZodString>;
1250
+ }, z.core.$strip>>>;
1251
+ }, z.core.$strip>, z.ZodObject<{
1252
+ kind: z.ZodLiteral<"trend">;
1253
+ metric: z.ZodOptional<z.ZodObject<{
1254
+ label: z.ZodString;
1255
+ value: z.ZodString;
1256
+ change: z.ZodOptional<z.ZodString>;
1257
+ tone: z.ZodOptional<z.ZodEnum<{
1258
+ success: "success";
1259
+ warning: "warning";
1260
+ danger: "danger";
1261
+ info: "info";
1262
+ default: "default";
1263
+ primary: "primary";
1264
+ }>>;
1265
+ }, z.core.$strip>>;
1266
+ chart: z.ZodObject<{
1267
+ type: z.ZodEnum<{
1268
+ area: "area";
1269
+ line: "line";
1270
+ bar: "bar";
1271
+ }>;
1272
+ data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
1273
+ categoryKey: z.ZodString;
1274
+ series: z.ZodArray<z.ZodString>;
1275
+ seriesLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1276
+ highlight: z.ZodOptional<z.ZodString>;
1277
+ forecastKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
1278
+ unit: z.ZodOptional<z.ZodString>;
1279
+ annotations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1280
+ kind: z.ZodLiteral<"line">;
1281
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1282
+ axis: z.ZodOptional<z.ZodEnum<{
1283
+ x: "x";
1284
+ y: "y";
1285
+ }>>;
1286
+ label: z.ZodOptional<z.ZodString>;
1287
+ color: z.ZodOptional<z.ZodEnum<{
1288
+ success: "success";
1289
+ warning: "warning";
1290
+ danger: "danger";
1291
+ info: "info";
1292
+ primary: "primary";
1293
+ }>>;
1294
+ }, z.core.$strip>, z.ZodObject<{
1295
+ kind: z.ZodLiteral<"band">;
1296
+ from: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1297
+ to: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1298
+ axis: z.ZodOptional<z.ZodEnum<{
1299
+ x: "x";
1300
+ y: "y";
1301
+ }>>;
1302
+ label: z.ZodOptional<z.ZodString>;
1303
+ color: z.ZodOptional<z.ZodEnum<{
1304
+ success: "success";
1305
+ warning: "warning";
1306
+ danger: "danger";
1307
+ info: "info";
1308
+ primary: "primary";
1309
+ }>>;
1310
+ }, z.core.$strip>, z.ZodObject<{
1311
+ kind: z.ZodLiteral<"point">;
1312
+ x: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1313
+ y: z.ZodNumber;
1314
+ label: z.ZodString;
1315
+ description: z.ZodOptional<z.ZodString>;
1316
+ color: z.ZodOptional<z.ZodEnum<{
1317
+ success: "success";
1318
+ warning: "warning";
1319
+ danger: "danger";
1320
+ info: "info";
1321
+ primary: "primary";
1322
+ }>>;
1323
+ }, z.core.$strip>], "kind">>>;
1324
+ }, z.core.$strip>;
1325
+ insight: z.ZodOptional<z.ZodObject<{
1326
+ label: z.ZodOptional<z.ZodString>;
1327
+ text: z.ZodString;
1328
+ tone: z.ZodOptional<z.ZodEnum<{
1329
+ success: "success";
1330
+ warning: "warning";
1331
+ danger: "danger";
1332
+ info: "info";
1333
+ default: "default";
1334
+ primary: "primary";
1335
+ }>>;
1336
+ }, z.core.$strip>>;
1337
+ eyebrow: z.ZodOptional<z.ZodString>;
1338
+ headline: z.ZodString;
1339
+ summary: z.ZodOptional<z.ZodString>;
1340
+ method: z.ZodOptional<z.ZodString>;
1341
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
1342
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1343
+ id: z.ZodString;
1344
+ label: z.ZodString;
1345
+ prompt: z.ZodOptional<z.ZodString>;
1346
+ }, z.core.$strip>>>;
1347
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1348
+ id: z.ZodString;
1349
+ label: z.ZodString;
1350
+ description: z.ZodOptional<z.ZodString>;
1351
+ href: z.ZodOptional<z.ZodString>;
1352
+ }, z.core.$strip>>>;
1353
+ }, z.core.$strip>, z.ZodObject<{
1354
+ kind: z.ZodLiteral<"status">;
1355
+ overall: z.ZodOptional<z.ZodObject<{
1356
+ label: z.ZodString;
1357
+ value: z.ZodString;
1358
+ tone: z.ZodOptional<z.ZodEnum<{
1359
+ success: "success";
1360
+ warning: "warning";
1361
+ danger: "danger";
1362
+ info: "info";
1363
+ default: "default";
1364
+ primary: "primary";
1365
+ }>>;
1366
+ }, z.core.$strip>>;
1367
+ items: z.ZodArray<z.ZodObject<{
1368
+ label: z.ZodString;
1369
+ status: z.ZodString;
1370
+ detail: z.ZodOptional<z.ZodString>;
1371
+ meta: z.ZodOptional<z.ZodString>;
1372
+ tone: z.ZodOptional<z.ZodEnum<{
1373
+ success: "success";
1374
+ warning: "warning";
1375
+ danger: "danger";
1376
+ info: "info";
1377
+ default: "default";
1378
+ primary: "primary";
1379
+ }>>;
1380
+ }, z.core.$strip>>;
1381
+ recommendation: z.ZodOptional<z.ZodObject<{
1382
+ label: z.ZodOptional<z.ZodString>;
1383
+ text: z.ZodString;
1384
+ tone: z.ZodOptional<z.ZodEnum<{
1385
+ success: "success";
1386
+ warning: "warning";
1387
+ danger: "danger";
1388
+ info: "info";
1389
+ default: "default";
1390
+ primary: "primary";
1391
+ }>>;
1392
+ }, z.core.$strip>>;
1393
+ eyebrow: z.ZodOptional<z.ZodString>;
1394
+ headline: z.ZodString;
1395
+ summary: z.ZodOptional<z.ZodString>;
1396
+ method: z.ZodOptional<z.ZodString>;
1397
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
1398
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1399
+ id: z.ZodString;
1400
+ label: z.ZodString;
1401
+ prompt: z.ZodOptional<z.ZodString>;
1402
+ }, z.core.$strip>>>;
1403
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1404
+ id: z.ZodString;
1405
+ label: z.ZodString;
1406
+ description: z.ZodOptional<z.ZodString>;
1407
+ href: z.ZodOptional<z.ZodString>;
1408
+ }, z.core.$strip>>>;
1409
+ }, z.core.$strip>, z.ZodObject<{
1410
+ kind: z.ZodLiteral<"breakdown">;
1411
+ total: z.ZodOptional<z.ZodObject<{
1412
+ label: z.ZodString;
1413
+ value: z.ZodString;
1414
+ }, z.core.$strip>>;
1415
+ items: z.ZodArray<z.ZodObject<{
1416
+ label: z.ZodString;
1417
+ value: z.ZodString;
1418
+ share: z.ZodNumber;
1419
+ detail: z.ZodOptional<z.ZodString>;
1420
+ tone: z.ZodOptional<z.ZodEnum<{
1421
+ success: "success";
1422
+ warning: "warning";
1423
+ danger: "danger";
1424
+ info: "info";
1425
+ default: "default";
1426
+ primary: "primary";
1427
+ }>>;
1428
+ }, z.core.$strip>>;
1429
+ insight: z.ZodOptional<z.ZodObject<{
1430
+ label: z.ZodOptional<z.ZodString>;
1431
+ text: z.ZodString;
1432
+ tone: z.ZodOptional<z.ZodEnum<{
1433
+ success: "success";
1434
+ warning: "warning";
1435
+ danger: "danger";
1436
+ info: "info";
1437
+ default: "default";
1438
+ primary: "primary";
1439
+ }>>;
1440
+ }, z.core.$strip>>;
1441
+ eyebrow: z.ZodOptional<z.ZodString>;
1442
+ headline: z.ZodString;
1443
+ summary: z.ZodOptional<z.ZodString>;
1444
+ method: z.ZodOptional<z.ZodString>;
1445
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
1446
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1447
+ id: z.ZodString;
1448
+ label: z.ZodString;
1449
+ prompt: z.ZodOptional<z.ZodString>;
1450
+ }, z.core.$strip>>>;
1451
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1452
+ id: z.ZodString;
1453
+ label: z.ZodString;
1454
+ description: z.ZodOptional<z.ZodString>;
1455
+ href: z.ZodOptional<z.ZodString>;
1456
+ }, z.core.$strip>>>;
1457
+ }, z.core.$strip>, z.ZodObject<{
1458
+ kind: z.ZodLiteral<"explanation">;
1459
+ sections: z.ZodArray<z.ZodObject<{
1460
+ title: z.ZodString;
1461
+ body: z.ZodOptional<z.ZodString>;
1462
+ bullets: z.ZodOptional<z.ZodArray<z.ZodString>>;
1463
+ code: z.ZodOptional<z.ZodString>;
1464
+ codeLanguage: z.ZodOptional<z.ZodString>;
1465
+ }, z.core.$strip>>;
1466
+ takeaway: z.ZodOptional<z.ZodObject<{
1467
+ label: z.ZodOptional<z.ZodString>;
1468
+ text: z.ZodString;
1469
+ tone: z.ZodOptional<z.ZodEnum<{
1470
+ success: "success";
1471
+ warning: "warning";
1472
+ danger: "danger";
1473
+ info: "info";
1474
+ default: "default";
1475
+ primary: "primary";
1476
+ }>>;
1477
+ }, z.core.$strip>>;
1478
+ eyebrow: z.ZodOptional<z.ZodString>;
1479
+ headline: z.ZodString;
1480
+ summary: z.ZodOptional<z.ZodString>;
1481
+ method: z.ZodOptional<z.ZodString>;
1482
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
1483
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1484
+ id: z.ZodString;
1485
+ label: z.ZodString;
1486
+ prompt: z.ZodOptional<z.ZodString>;
1487
+ }, z.core.$strip>>>;
1488
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1489
+ id: z.ZodString;
1490
+ label: z.ZodString;
1491
+ description: z.ZodOptional<z.ZodString>;
1492
+ href: z.ZodOptional<z.ZodString>;
1493
+ }, z.core.$strip>>>;
1494
+ }, z.core.$strip>, z.ZodObject<{
1495
+ kind: z.ZodLiteral<"narrative">;
1496
+ lead: z.ZodOptional<z.ZodString>;
1497
+ blocks: z.ZodArray<z.ZodObject<{
1498
+ heading: z.ZodOptional<z.ZodString>;
1499
+ lead: z.ZodOptional<z.ZodString>;
1500
+ body: z.ZodString;
1501
+ bullets: z.ZodOptional<z.ZodArray<z.ZodString>>;
1502
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1503
+ label: z.ZodString;
1504
+ query: z.ZodOptional<z.ZodString>;
1505
+ source: z.ZodOptional<z.ZodString>;
1506
+ rows: z.ZodOptional<z.ZodNumber>;
1507
+ }, z.core.$strip>]>>>;
1508
+ tone: z.ZodOptional<z.ZodEnum<{
1509
+ success: "success";
1510
+ warning: "warning";
1511
+ danger: "danger";
1512
+ info: "info";
1513
+ default: "default";
1514
+ primary: "primary";
1515
+ }>>;
1516
+ }, z.core.$strip>>;
1517
+ takeaways: z.ZodOptional<z.ZodArray<z.ZodObject<{
1518
+ lead: z.ZodOptional<z.ZodString>;
1519
+ body: z.ZodString;
1520
+ }, z.core.$strip>>>;
1521
+ bottomLine: z.ZodOptional<z.ZodObject<{
1522
+ label: z.ZodOptional<z.ZodString>;
1523
+ text: z.ZodString;
1524
+ tone: z.ZodOptional<z.ZodEnum<{
1525
+ success: "success";
1526
+ warning: "warning";
1527
+ danger: "danger";
1528
+ info: "info";
1529
+ default: "default";
1530
+ primary: "primary";
1531
+ }>>;
1532
+ }, z.core.$strip>>;
1533
+ eyebrow: z.ZodOptional<z.ZodString>;
1534
+ headline: z.ZodString;
1535
+ summary: z.ZodOptional<z.ZodString>;
1536
+ method: z.ZodOptional<z.ZodString>;
1537
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
1538
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1539
+ id: z.ZodString;
1540
+ label: z.ZodString;
1541
+ prompt: z.ZodOptional<z.ZodString>;
1542
+ }, z.core.$strip>>>;
1543
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1544
+ id: z.ZodString;
1545
+ label: z.ZodString;
1546
+ description: z.ZodOptional<z.ZodString>;
1547
+ href: z.ZodOptional<z.ZodString>;
1548
+ }, z.core.$strip>>>;
1549
+ }, z.core.$strip>, z.ZodObject<{
1550
+ kind: z.ZodLiteral<"fact">;
1551
+ value: z.ZodObject<{
1552
+ label: z.ZodString;
1553
+ value: z.ZodString;
1554
+ change: z.ZodOptional<z.ZodString>;
1555
+ asOf: z.ZodOptional<z.ZodString>;
1556
+ tone: z.ZodOptional<z.ZodEnum<{
1557
+ success: "success";
1558
+ warning: "warning";
1559
+ danger: "danger";
1560
+ info: "info";
1561
+ default: "default";
1562
+ primary: "primary";
1563
+ }>>;
1564
+ }, z.core.$strip>;
1565
+ facts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1566
+ label: z.ZodString;
1567
+ value: z.ZodString;
1568
+ change: z.ZodOptional<z.ZodString>;
1569
+ tone: z.ZodOptional<z.ZodEnum<{
1570
+ success: "success";
1571
+ warning: "warning";
1572
+ danger: "danger";
1573
+ info: "info";
1574
+ default: "default";
1575
+ primary: "primary";
1576
+ }>>;
1577
+ }, z.core.$strip>>>;
1578
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1579
+ label: z.ZodString;
1580
+ query: z.ZodOptional<z.ZodString>;
1581
+ source: z.ZodOptional<z.ZodString>;
1582
+ rows: z.ZodOptional<z.ZodNumber>;
1583
+ }, z.core.$strip>]>>>;
1584
+ insight: z.ZodOptional<z.ZodObject<{
1585
+ label: z.ZodOptional<z.ZodString>;
1586
+ text: z.ZodString;
1587
+ tone: z.ZodOptional<z.ZodEnum<{
1588
+ success: "success";
1589
+ warning: "warning";
1590
+ danger: "danger";
1591
+ info: "info";
1592
+ default: "default";
1593
+ primary: "primary";
1594
+ }>>;
1595
+ }, z.core.$strip>>;
1596
+ eyebrow: z.ZodOptional<z.ZodString>;
1597
+ headline: z.ZodString;
1598
+ summary: z.ZodOptional<z.ZodString>;
1599
+ method: z.ZodOptional<z.ZodString>;
1600
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
1601
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1602
+ id: z.ZodString;
1603
+ label: z.ZodString;
1604
+ prompt: z.ZodOptional<z.ZodString>;
1605
+ }, z.core.$strip>>>;
1606
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1607
+ id: z.ZodString;
1608
+ label: z.ZodString;
1609
+ description: z.ZodOptional<z.ZodString>;
1610
+ href: z.ZodOptional<z.ZodString>;
1611
+ }, z.core.$strip>>>;
1612
+ }, z.core.$strip>, z.ZodObject<{
1613
+ insight: z.ZodOptional<z.ZodObject<{
1614
+ label: z.ZodOptional<z.ZodString>;
1615
+ text: z.ZodString;
1616
+ tone: z.ZodOptional<z.ZodEnum<{
1617
+ success: "success";
1618
+ warning: "warning";
1619
+ danger: "danger";
1620
+ info: "info";
1621
+ default: "default";
1622
+ primary: "primary";
1623
+ }>>;
1624
+ }, z.core.$strip>>;
1625
+ columns: z.ZodArray<z.ZodObject<{
1626
+ key: z.ZodString;
1627
+ label: z.ZodString;
1628
+ align: z.ZodOptional<z.ZodEnum<{
1629
+ left: "left";
1630
+ right: "right";
1631
+ }>>;
1632
+ }, z.core.$strip>>;
1633
+ rows: z.ZodArray<z.ZodObject<{
1634
+ cells: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1635
+ value: z.ZodString;
1636
+ tone: z.ZodOptional<z.ZodEnum<{
1637
+ success: "success";
1638
+ warning: "warning";
1639
+ danger: "danger";
1640
+ info: "info";
1641
+ default: "default";
1642
+ primary: "primary";
1643
+ }>>;
1644
+ }, z.core.$strip>]>>;
1645
+ emphasis: z.ZodOptional<z.ZodBoolean>;
1646
+ }, z.core.$strip>>;
1647
+ totals: z.ZodOptional<z.ZodObject<{
1648
+ label: z.ZodOptional<z.ZodString>;
1649
+ cells: z.ZodRecord<z.ZodString, z.ZodString>;
1650
+ }, z.core.$strip>>;
1651
+ note: z.ZodOptional<z.ZodString>;
1652
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1653
+ label: z.ZodString;
1654
+ query: z.ZodOptional<z.ZodString>;
1655
+ source: z.ZodOptional<z.ZodString>;
1656
+ rows: z.ZodOptional<z.ZodNumber>;
1657
+ }, z.core.$strip>]>>>;
1658
+ kind: z.ZodLiteral<"table">;
1659
+ eyebrow: z.ZodOptional<z.ZodString>;
1660
+ headline: z.ZodString;
1661
+ summary: z.ZodOptional<z.ZodString>;
1662
+ method: z.ZodOptional<z.ZodString>;
1663
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
1664
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1665
+ id: z.ZodString;
1666
+ label: z.ZodString;
1667
+ prompt: z.ZodOptional<z.ZodString>;
1668
+ }, z.core.$strip>>>;
1669
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1670
+ id: z.ZodString;
1671
+ label: z.ZodString;
1672
+ description: z.ZodOptional<z.ZodString>;
1673
+ href: z.ZodOptional<z.ZodString>;
1674
+ }, z.core.$strip>>>;
1675
+ }, z.core.$strip>, z.ZodObject<{
1676
+ kind: z.ZodLiteral<"ranking">;
1677
+ metricLabel: z.ZodOptional<z.ZodString>;
1678
+ items: z.ZodArray<z.ZodObject<{
1679
+ label: z.ZodString;
1680
+ value: z.ZodString;
1681
+ detail: z.ZodOptional<z.ZodString>;
1682
+ delta: z.ZodOptional<z.ZodObject<{
1683
+ value: z.ZodString;
1684
+ tone: z.ZodOptional<z.ZodEnum<{
1685
+ success: "success";
1686
+ warning: "warning";
1687
+ danger: "danger";
1688
+ info: "info";
1689
+ default: "default";
1690
+ primary: "primary";
1691
+ }>>;
1692
+ }, z.core.$strip>>;
1693
+ highlight: z.ZodOptional<z.ZodBoolean>;
1694
+ tone: z.ZodOptional<z.ZodEnum<{
1695
+ success: "success";
1696
+ warning: "warning";
1697
+ danger: "danger";
1698
+ info: "info";
1699
+ default: "default";
1700
+ primary: "primary";
1701
+ }>>;
1702
+ }, z.core.$strip>>;
1703
+ tiebreak: z.ZodOptional<z.ZodString>;
1704
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1705
+ label: z.ZodString;
1706
+ query: z.ZodOptional<z.ZodString>;
1707
+ source: z.ZodOptional<z.ZodString>;
1708
+ rows: z.ZodOptional<z.ZodNumber>;
1709
+ }, z.core.$strip>]>>>;
1710
+ insight: z.ZodOptional<z.ZodObject<{
1711
+ label: z.ZodOptional<z.ZodString>;
1712
+ text: z.ZodString;
1713
+ tone: z.ZodOptional<z.ZodEnum<{
1714
+ success: "success";
1715
+ warning: "warning";
1716
+ danger: "danger";
1717
+ info: "info";
1718
+ default: "default";
1719
+ primary: "primary";
1720
+ }>>;
1721
+ }, z.core.$strip>>;
1722
+ eyebrow: z.ZodOptional<z.ZodString>;
1723
+ headline: z.ZodString;
1724
+ summary: z.ZodOptional<z.ZodString>;
1725
+ method: z.ZodOptional<z.ZodString>;
1726
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
1727
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1728
+ id: z.ZodString;
1729
+ label: z.ZodString;
1730
+ prompt: z.ZodOptional<z.ZodString>;
1731
+ }, z.core.$strip>>>;
1732
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1733
+ id: z.ZodString;
1734
+ label: z.ZodString;
1735
+ description: z.ZodOptional<z.ZodString>;
1736
+ href: z.ZodOptional<z.ZodString>;
1737
+ }, z.core.$strip>>>;
1738
+ }, z.core.$strip>, z.ZodObject<{
1739
+ kind: z.ZodLiteral<"confirmation">;
1740
+ outcome: z.ZodObject<{
1741
+ label: z.ZodString;
1742
+ detail: z.ZodOptional<z.ZodString>;
1743
+ tone: z.ZodOptional<z.ZodEnum<{
1744
+ success: "success";
1745
+ warning: "warning";
1746
+ danger: "danger";
1747
+ info: "info";
1748
+ default: "default";
1749
+ primary: "primary";
1750
+ }>>;
1751
+ }, z.core.$strip>;
1752
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1753
+ label: z.ZodString;
1754
+ value: z.ZodString;
1755
+ code: z.ZodOptional<z.ZodBoolean>;
1756
+ tone: z.ZodOptional<z.ZodEnum<{
1757
+ success: "success";
1758
+ warning: "warning";
1759
+ danger: "danger";
1760
+ info: "info";
1761
+ default: "default";
1762
+ primary: "primary";
1763
+ }>>;
1764
+ }, z.core.$strip>>>;
1765
+ steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1766
+ label: z.ZodString;
1767
+ status: z.ZodEnum<{
1768
+ done: "done";
1769
+ pending: "pending";
1770
+ failed: "failed";
1771
+ skipped: "skipped";
1772
+ }>;
1773
+ detail: z.ZodOptional<z.ZodString>;
1774
+ }, z.core.$strip>>>;
1775
+ safety: z.ZodOptional<z.ZodString>;
1776
+ next: z.ZodOptional<z.ZodString>;
1777
+ warning: z.ZodOptional<z.ZodObject<{
1778
+ label: z.ZodOptional<z.ZodString>;
1779
+ text: z.ZodString;
1780
+ tone: z.ZodOptional<z.ZodEnum<{
1781
+ success: "success";
1782
+ warning: "warning";
1783
+ danger: "danger";
1784
+ info: "info";
1785
+ default: "default";
1786
+ primary: "primary";
1787
+ }>>;
1788
+ }, z.core.$strip>>;
1789
+ eyebrow: z.ZodOptional<z.ZodString>;
1790
+ headline: z.ZodString;
1791
+ summary: z.ZodOptional<z.ZodString>;
1792
+ method: z.ZodOptional<z.ZodString>;
1793
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
1794
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1795
+ id: z.ZodString;
1796
+ label: z.ZodString;
1797
+ prompt: z.ZodOptional<z.ZodString>;
1798
+ }, z.core.$strip>>>;
1799
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1800
+ id: z.ZodString;
1801
+ label: z.ZodString;
1802
+ description: z.ZodOptional<z.ZodString>;
1803
+ href: z.ZodOptional<z.ZodString>;
1804
+ }, z.core.$strip>>>;
1805
+ }, z.core.$strip>, z.ZodObject<{
1806
+ kind: z.ZodLiteral<"clarification">;
1807
+ findings: z.ZodOptional<z.ZodArray<z.ZodObject<{
1808
+ label: z.ZodString;
1809
+ value: z.ZodString;
1810
+ code: z.ZodOptional<z.ZodBoolean>;
1811
+ tone: z.ZodOptional<z.ZodEnum<{
1812
+ success: "success";
1813
+ warning: "warning";
1814
+ danger: "danger";
1815
+ info: "info";
1816
+ default: "default";
1817
+ primary: "primary";
1818
+ }>>;
1819
+ }, z.core.$strip>>>;
1820
+ question: z.ZodString;
1821
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1822
+ id: z.ZodString;
1823
+ label: z.ZodString;
1824
+ description: z.ZodOptional<z.ZodString>;
1825
+ prompt: z.ZodOptional<z.ZodString>;
1826
+ }, z.core.$strip>>>;
1827
+ eyebrow: z.ZodOptional<z.ZodString>;
1828
+ headline: z.ZodString;
1829
+ summary: z.ZodOptional<z.ZodString>;
1830
+ method: z.ZodOptional<z.ZodString>;
1831
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
1832
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1833
+ id: z.ZodString;
1834
+ label: z.ZodString;
1835
+ prompt: z.ZodOptional<z.ZodString>;
1836
+ }, z.core.$strip>>>;
1837
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1838
+ id: z.ZodString;
1839
+ label: z.ZodString;
1840
+ description: z.ZodOptional<z.ZodString>;
1841
+ href: z.ZodOptional<z.ZodString>;
1842
+ }, z.core.$strip>>>;
1843
+ }, z.core.$strip>, z.ZodObject<{
1844
+ kind: z.ZodLiteral<"empty">;
1845
+ checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1846
+ label: z.ZodString;
1847
+ result: z.ZodString;
1848
+ tone: z.ZodOptional<z.ZodEnum<{
1849
+ success: "success";
1850
+ warning: "warning";
1851
+ danger: "danger";
1852
+ info: "info";
1853
+ default: "default";
1854
+ primary: "primary";
1855
+ }>>;
1856
+ }, z.core.$strip>>>;
1857
+ reason: z.ZodOptional<z.ZodString>;
1858
+ baseline: z.ZodOptional<z.ZodObject<{
1859
+ label: z.ZodString;
1860
+ value: z.ZodString;
1861
+ }, z.core.$strip>>;
1862
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1863
+ label: z.ZodString;
1864
+ query: z.ZodOptional<z.ZodString>;
1865
+ source: z.ZodOptional<z.ZodString>;
1866
+ rows: z.ZodOptional<z.ZodNumber>;
1867
+ }, z.core.$strip>]>>>;
1868
+ alternative: z.ZodOptional<z.ZodObject<{
1869
+ label: z.ZodOptional<z.ZodString>;
1870
+ text: z.ZodString;
1871
+ tone: z.ZodOptional<z.ZodEnum<{
1872
+ success: "success";
1873
+ warning: "warning";
1874
+ danger: "danger";
1875
+ info: "info";
1876
+ default: "default";
1877
+ primary: "primary";
1878
+ }>>;
1879
+ }, z.core.$strip>>;
1880
+ eyebrow: z.ZodOptional<z.ZodString>;
1881
+ headline: z.ZodString;
1882
+ summary: z.ZodOptional<z.ZodString>;
1883
+ method: z.ZodOptional<z.ZodString>;
1884
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
1885
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1886
+ id: z.ZodString;
1887
+ label: z.ZodString;
1888
+ prompt: z.ZodOptional<z.ZodString>;
1889
+ }, z.core.$strip>>>;
1890
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1891
+ id: z.ZodString;
1892
+ label: z.ZodString;
1893
+ description: z.ZodOptional<z.ZodString>;
1894
+ href: z.ZodOptional<z.ZodString>;
1895
+ }, z.core.$strip>>>;
1896
+ }, z.core.$strip>, z.ZodObject<{
1897
+ kind: z.ZodLiteral<"error">;
1898
+ failure: z.ZodObject<{
1899
+ summary: z.ZodString;
1900
+ tally: z.ZodOptional<z.ZodString>;
1901
+ detail: z.ZodOptional<z.ZodString>;
1902
+ }, z.core.$strip>;
1903
+ attempts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1904
+ label: z.ZodString;
1905
+ result: z.ZodString;
1906
+ }, z.core.$strip>>>;
1907
+ resolution: z.ZodOptional<z.ZodArray<z.ZodObject<{
1908
+ action: z.ZodString;
1909
+ owner: z.ZodOptional<z.ZodEnum<{
1910
+ user: "user";
1911
+ admin: "admin";
1912
+ platform: "platform";
1913
+ agent: "agent";
1914
+ }>>;
1915
+ }, z.core.$strip>>>;
1916
+ preserved: z.ZodOptional<z.ZodObject<{
1917
+ label: z.ZodOptional<z.ZodString>;
1918
+ code: z.ZodString;
1919
+ language: z.ZodOptional<z.ZodString>;
1920
+ }, z.core.$strip>>;
1921
+ eyebrow: z.ZodOptional<z.ZodString>;
1922
+ headline: z.ZodString;
1923
+ summary: z.ZodOptional<z.ZodString>;
1924
+ method: z.ZodOptional<z.ZodString>;
1925
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
1926
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1927
+ id: z.ZodString;
1928
+ label: z.ZodString;
1929
+ prompt: z.ZodOptional<z.ZodString>;
1930
+ }, z.core.$strip>>>;
1931
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1932
+ id: z.ZodString;
1933
+ label: z.ZodString;
1934
+ description: z.ZodOptional<z.ZodString>;
1935
+ href: z.ZodOptional<z.ZodString>;
1936
+ }, z.core.$strip>>>;
1937
+ }, z.core.$strip>, z.ZodObject<{
1938
+ kind: z.ZodLiteral<"refusal">;
1939
+ reason: z.ZodString;
1940
+ scope: z.ZodOptional<z.ZodString>;
1941
+ completed: z.ZodOptional<z.ZodString>;
1942
+ alternatives: z.ZodOptional<z.ZodArray<z.ZodObject<{
1943
+ label: z.ZodString;
1944
+ description: z.ZodOptional<z.ZodString>;
1945
+ }, z.core.$strip>>>;
1946
+ eyebrow: z.ZodOptional<z.ZodString>;
1947
+ headline: z.ZodString;
1948
+ summary: z.ZodOptional<z.ZodString>;
1949
+ method: z.ZodOptional<z.ZodString>;
1950
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
1951
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1952
+ id: z.ZodString;
1953
+ label: z.ZodString;
1954
+ prompt: z.ZodOptional<z.ZodString>;
1955
+ }, z.core.$strip>>>;
1956
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1957
+ id: z.ZodString;
1958
+ label: z.ZodString;
1959
+ description: z.ZodOptional<z.ZodString>;
1960
+ href: z.ZodOptional<z.ZodString>;
1961
+ }, z.core.$strip>>>;
1962
+ }, z.core.$strip>, z.ZodObject<{
1963
+ kind: z.ZodLiteral<"knowledge">;
1964
+ entries: z.ZodArray<z.ZodObject<{
1965
+ term: z.ZodString;
1966
+ category: z.ZodOptional<z.ZodString>;
1967
+ body: z.ZodOptional<z.ZodString>;
1968
+ formula: z.ZodOptional<z.ZodString>;
1969
+ items: z.ZodOptional<z.ZodArray<z.ZodObject<{
1970
+ label: z.ZodString;
1971
+ value: z.ZodString;
1972
+ code: z.ZodOptional<z.ZodBoolean>;
1973
+ tone: z.ZodOptional<z.ZodEnum<{
1974
+ success: "success";
1975
+ warning: "warning";
1976
+ danger: "danger";
1977
+ info: "info";
1978
+ default: "default";
1979
+ primary: "primary";
1980
+ }>>;
1981
+ }, z.core.$strip>>>;
1982
+ }, z.core.$strip>>;
1983
+ gaps: z.ZodOptional<z.ZodArray<z.ZodString>>;
1984
+ compliance: z.ZodOptional<z.ZodString>;
1985
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1986
+ label: z.ZodString;
1987
+ query: z.ZodOptional<z.ZodString>;
1988
+ source: z.ZodOptional<z.ZodString>;
1989
+ rows: z.ZodOptional<z.ZodNumber>;
1990
+ }, z.core.$strip>]>>>;
1991
+ eyebrow: z.ZodOptional<z.ZodString>;
1992
+ headline: z.ZodString;
1993
+ summary: z.ZodOptional<z.ZodString>;
1994
+ method: z.ZodOptional<z.ZodString>;
1995
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
1996
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1997
+ id: z.ZodString;
1998
+ label: z.ZodString;
1999
+ prompt: z.ZodOptional<z.ZodString>;
2000
+ }, z.core.$strip>>>;
2001
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
2002
+ id: z.ZodString;
2003
+ label: z.ZodString;
2004
+ description: z.ZodOptional<z.ZodString>;
2005
+ href: z.ZodOptional<z.ZodString>;
2006
+ }, z.core.$strip>>>;
2007
+ }, z.core.$strip>, z.ZodObject<{
2008
+ kind: z.ZodLiteral<"decision">;
2009
+ options: z.ZodArray<z.ZodObject<{
2010
+ name: z.ZodString;
2011
+ tag: z.ZodOptional<z.ZodString>;
2012
+ description: z.ZodOptional<z.ZodString>;
2013
+ pros: z.ZodOptional<z.ZodArray<z.ZodString>>;
2014
+ cons: z.ZodOptional<z.ZodArray<z.ZodString>>;
2015
+ recommended: z.ZodOptional<z.ZodBoolean>;
2016
+ }, z.core.$strip>>;
2017
+ guidance: z.ZodOptional<z.ZodArray<z.ZodObject<{
2018
+ when: z.ZodString;
2019
+ choose: z.ZodString;
2020
+ }, z.core.$strip>>>;
2021
+ eyebrow: z.ZodOptional<z.ZodString>;
2022
+ headline: z.ZodString;
2023
+ summary: z.ZodOptional<z.ZodString>;
2024
+ method: z.ZodOptional<z.ZodString>;
2025
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
2026
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
2027
+ id: z.ZodString;
2028
+ label: z.ZodString;
2029
+ prompt: z.ZodOptional<z.ZodString>;
2030
+ }, z.core.$strip>>>;
2031
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
2032
+ id: z.ZodString;
2033
+ label: z.ZodString;
2034
+ description: z.ZodOptional<z.ZodString>;
2035
+ href: z.ZodOptional<z.ZodString>;
2036
+ }, z.core.$strip>>>;
2037
+ }, z.core.$strip>, z.ZodObject<{
2038
+ kind: z.ZodLiteral<"report">;
2039
+ sections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2040
+ type: z.ZodLiteral<"text">;
2041
+ title: z.ZodOptional<z.ZodString>;
2042
+ body: z.ZodString;
2043
+ }, z.core.$strip>, z.ZodObject<{
2044
+ type: z.ZodLiteral<"metrics">;
2045
+ title: z.ZodOptional<z.ZodString>;
2046
+ items: z.ZodArray<z.ZodObject<{
2047
+ label: z.ZodString;
2048
+ value: z.ZodString;
2049
+ change: z.ZodOptional<z.ZodString>;
2050
+ tone: z.ZodOptional<z.ZodEnum<{
2051
+ success: "success";
2052
+ warning: "warning";
2053
+ danger: "danger";
2054
+ info: "info";
2055
+ default: "default";
2056
+ primary: "primary";
2057
+ }>>;
2058
+ }, z.core.$strip>>;
2059
+ }, z.core.$strip>, z.ZodObject<{
2060
+ columns: z.ZodArray<z.ZodObject<{
2061
+ key: z.ZodString;
2062
+ label: z.ZodString;
2063
+ align: z.ZodOptional<z.ZodEnum<{
2064
+ left: "left";
2065
+ right: "right";
2066
+ }>>;
2067
+ }, z.core.$strip>>;
2068
+ rows: z.ZodArray<z.ZodObject<{
2069
+ cells: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2070
+ value: z.ZodString;
2071
+ tone: z.ZodOptional<z.ZodEnum<{
2072
+ success: "success";
2073
+ warning: "warning";
2074
+ danger: "danger";
2075
+ info: "info";
2076
+ default: "default";
2077
+ primary: "primary";
2078
+ }>>;
2079
+ }, z.core.$strip>]>>;
2080
+ emphasis: z.ZodOptional<z.ZodBoolean>;
2081
+ }, z.core.$strip>>;
2082
+ totals: z.ZodOptional<z.ZodObject<{
2083
+ label: z.ZodOptional<z.ZodString>;
2084
+ cells: z.ZodRecord<z.ZodString, z.ZodString>;
2085
+ }, z.core.$strip>>;
2086
+ note: z.ZodOptional<z.ZodString>;
2087
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2088
+ label: z.ZodString;
2089
+ query: z.ZodOptional<z.ZodString>;
2090
+ source: z.ZodOptional<z.ZodString>;
2091
+ rows: z.ZodOptional<z.ZodNumber>;
2092
+ }, z.core.$strip>]>>>;
2093
+ type: z.ZodLiteral<"table">;
2094
+ title: z.ZodOptional<z.ZodString>;
2095
+ }, z.core.$strip>, z.ZodObject<{
2096
+ type: z.ZodLiteral<"chart">;
2097
+ title: z.ZodOptional<z.ZodString>;
2098
+ chart: z.ZodObject<{
2099
+ type: z.ZodEnum<{
2100
+ area: "area";
2101
+ line: "line";
2102
+ bar: "bar";
2103
+ }>;
2104
+ data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
2105
+ categoryKey: z.ZodString;
2106
+ series: z.ZodArray<z.ZodString>;
2107
+ seriesLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2108
+ highlight: z.ZodOptional<z.ZodString>;
2109
+ forecastKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
2110
+ unit: z.ZodOptional<z.ZodString>;
2111
+ annotations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2112
+ kind: z.ZodLiteral<"line">;
2113
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
2114
+ axis: z.ZodOptional<z.ZodEnum<{
2115
+ x: "x";
2116
+ y: "y";
2117
+ }>>;
2118
+ label: z.ZodOptional<z.ZodString>;
2119
+ color: z.ZodOptional<z.ZodEnum<{
2120
+ success: "success";
2121
+ warning: "warning";
2122
+ danger: "danger";
2123
+ info: "info";
2124
+ primary: "primary";
2125
+ }>>;
2126
+ }, z.core.$strip>, z.ZodObject<{
2127
+ kind: z.ZodLiteral<"band">;
2128
+ from: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
2129
+ to: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
2130
+ axis: z.ZodOptional<z.ZodEnum<{
2131
+ x: "x";
2132
+ y: "y";
2133
+ }>>;
2134
+ label: z.ZodOptional<z.ZodString>;
2135
+ color: z.ZodOptional<z.ZodEnum<{
2136
+ success: "success";
2137
+ warning: "warning";
2138
+ danger: "danger";
2139
+ info: "info";
2140
+ primary: "primary";
2141
+ }>>;
2142
+ }, z.core.$strip>, z.ZodObject<{
2143
+ kind: z.ZodLiteral<"point">;
2144
+ x: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
2145
+ y: z.ZodNumber;
2146
+ label: z.ZodString;
2147
+ description: z.ZodOptional<z.ZodString>;
2148
+ color: z.ZodOptional<z.ZodEnum<{
2149
+ success: "success";
2150
+ warning: "warning";
2151
+ danger: "danger";
2152
+ info: "info";
2153
+ primary: "primary";
2154
+ }>>;
2155
+ }, z.core.$strip>], "kind">>>;
2156
+ }, z.core.$strip>;
2157
+ note: z.ZodOptional<z.ZodString>;
2158
+ }, z.core.$strip>, z.ZodObject<{
2159
+ type: z.ZodLiteral<"list">;
2160
+ title: z.ZodOptional<z.ZodString>;
2161
+ items: z.ZodArray<z.ZodObject<{
2162
+ lead: z.ZodOptional<z.ZodString>;
2163
+ body: z.ZodString;
2164
+ }, z.core.$strip>>;
2165
+ }, z.core.$strip>], "type">>;
2166
+ definitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2167
+ term: z.ZodString;
2168
+ meaning: z.ZodString;
2169
+ }, z.core.$strip>>>;
2170
+ eyebrow: z.ZodOptional<z.ZodString>;
2171
+ headline: z.ZodString;
2172
+ summary: z.ZodOptional<z.ZodString>;
2173
+ method: z.ZodOptional<z.ZodString>;
2174
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
2175
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
2176
+ id: z.ZodString;
2177
+ label: z.ZodString;
2178
+ prompt: z.ZodOptional<z.ZodString>;
2179
+ }, z.core.$strip>>>;
2180
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
2181
+ id: z.ZodString;
2182
+ label: z.ZodString;
2183
+ description: z.ZodOptional<z.ZodString>;
2184
+ href: z.ZodOptional<z.ZodString>;
2185
+ }, z.core.$strip>>>;
2186
+ }, z.core.$strip>], "kind">;
2187
+ export type AnswerTone = z.infer<typeof AnswerToneSchema>;
2188
+ export type AnswerFollowUp = z.infer<typeof AnswerFollowUpSchema>;
2189
+ export type AnswerOption = z.infer<typeof AnswerOptionSchema>;
2190
+ export type AnswerSource = z.infer<typeof AnswerSourceSchema>;
2191
+ export type AnswerCitation = z.infer<typeof AnswerCitationSchema>;
2192
+ /** The object form of a citation — what `onCitationSelect` receives. */
2193
+ export type AnswerCitationDetail = Exclude<AnswerCitation, string>;
2194
+ export type AnswerKeyValue = z.infer<typeof AnswerKeyValueSchema>;
2195
+ export type AnswerMetric = z.infer<typeof AnswerMetricSchema>;
2196
+ export type AnswerChartSpec = z.infer<typeof AnswerChartSchema>;
2197
+ export type ComparisonAnswerSpec = z.infer<typeof ComparisonAnswerSchema>;
2198
+ export type TrendAnswerSpec = z.infer<typeof TrendAnswerSchema>;
2199
+ export type StatusAnswerSpec = z.infer<typeof StatusAnswerSchema>;
2200
+ export type BreakdownAnswerSpec = z.infer<typeof BreakdownAnswerSchema>;
2201
+ export type ExplanationAnswerSpec = z.infer<typeof ExplanationAnswerSchema>;
2202
+ export type NarrativeAnswerSpec = z.infer<typeof NarrativeAnswerSchema>;
2203
+ export type FactAnswerSpec = z.infer<typeof FactAnswerSchema>;
2204
+ export type TableAnswerSpec = z.infer<typeof TableAnswerSchema>;
2205
+ export type RankingAnswerSpec = z.infer<typeof RankingAnswerSchema>;
2206
+ export type ConfirmationAnswerSpec = z.infer<typeof ConfirmationAnswerSchema>;
2207
+ export type ClarificationAnswerSpec = z.infer<typeof ClarificationAnswerSchema>;
2208
+ export type EmptyAnswerSpec = z.infer<typeof EmptyAnswerSchema>;
2209
+ export type ErrorAnswerSpec = z.infer<typeof ErrorAnswerSchema>;
2210
+ export type RefusalAnswerSpec = z.infer<typeof RefusalAnswerSchema>;
2211
+ export type KnowledgeAnswerSpec = z.infer<typeof KnowledgeAnswerSchema>;
2212
+ export type DecisionAnswerSpec = z.infer<typeof DecisionAnswerSchema>;
2213
+ export type ReportAnswerSpec = z.infer<typeof ReportAnswerSchema>;
2214
+ export type AnswerSpec = z.infer<typeof AnswerSpecSchema>;
2215
+ /** Every kind the renderer knows — used for kind-aware skeletons during streaming. */
2216
+ export declare const ANSWER_KINDS: readonly ["comparison", "trend", "status", "breakdown", "explanation", "narrative", "fact", "table", "ranking", "confirmation", "clarification", "empty", "error", "refusal", "knowledge", "decision", "report"];
2217
+ /** Drop this into an agent/toolkit registration and adapt the field names as needed. */
2218
+ export declare const answerTool: {
2219
+ readonly name: "render_answer";
2220
+ readonly description: "Render the final answer with one curated ADS template. Choose the semantic kind that best matches the answer — data kinds (fact, table, ranking, trend, comparison, breakdown, report), narrative kinds (explanation, knowledge, decision, status), task kinds (confirmation), and situation kinds (clarification, empty, error, refusal) — and provide only validated data; the application owns the layout.";
2221
+ readonly inputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2222
+ kind: z.ZodLiteral<"comparison">;
2223
+ subjects: z.ZodTuple<[z.ZodObject<{
2224
+ label: z.ZodString;
2225
+ description: z.ZodOptional<z.ZodString>;
2226
+ }, z.core.$strip>, z.ZodObject<{
2227
+ label: z.ZodString;
2228
+ description: z.ZodOptional<z.ZodString>;
2229
+ }, z.core.$strip>], null>;
2230
+ rows: z.ZodArray<z.ZodObject<{
2231
+ label: z.ZodString;
2232
+ description: z.ZodOptional<z.ZodString>;
2233
+ values: z.ZodTuple<[z.ZodObject<{
2234
+ value: z.ZodString;
2235
+ detail: z.ZodOptional<z.ZodString>;
2236
+ tone: z.ZodOptional<z.ZodEnum<{
2237
+ success: "success";
2238
+ warning: "warning";
2239
+ danger: "danger";
2240
+ info: "info";
2241
+ default: "default";
2242
+ primary: "primary";
2243
+ }>>;
2244
+ }, z.core.$strip>, z.ZodObject<{
2245
+ value: z.ZodString;
2246
+ detail: z.ZodOptional<z.ZodString>;
2247
+ tone: z.ZodOptional<z.ZodEnum<{
2248
+ success: "success";
2249
+ warning: "warning";
2250
+ danger: "danger";
2251
+ info: "info";
2252
+ default: "default";
2253
+ primary: "primary";
2254
+ }>>;
2255
+ }, z.core.$strip>], null>;
2256
+ delta: z.ZodOptional<z.ZodObject<{
2257
+ value: z.ZodString;
2258
+ tone: z.ZodOptional<z.ZodEnum<{
2259
+ success: "success";
2260
+ warning: "warning";
2261
+ danger: "danger";
2262
+ info: "info";
2263
+ default: "default";
2264
+ primary: "primary";
2265
+ }>>;
2266
+ }, z.core.$strip>>;
2267
+ }, z.core.$strip>>;
2268
+ takeaway: z.ZodOptional<z.ZodObject<{
2269
+ label: z.ZodOptional<z.ZodString>;
2270
+ text: z.ZodString;
2271
+ tone: z.ZodOptional<z.ZodEnum<{
2272
+ success: "success";
2273
+ warning: "warning";
2274
+ danger: "danger";
2275
+ info: "info";
2276
+ default: "default";
2277
+ primary: "primary";
2278
+ }>>;
2279
+ }, z.core.$strip>>;
2280
+ eyebrow: z.ZodOptional<z.ZodString>;
2281
+ headline: z.ZodString;
2282
+ summary: z.ZodOptional<z.ZodString>;
2283
+ method: z.ZodOptional<z.ZodString>;
2284
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
2285
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
2286
+ id: z.ZodString;
2287
+ label: z.ZodString;
2288
+ prompt: z.ZodOptional<z.ZodString>;
2289
+ }, z.core.$strip>>>;
2290
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
2291
+ id: z.ZodString;
2292
+ label: z.ZodString;
2293
+ description: z.ZodOptional<z.ZodString>;
2294
+ href: z.ZodOptional<z.ZodString>;
2295
+ }, z.core.$strip>>>;
2296
+ }, z.core.$strip>, z.ZodObject<{
2297
+ kind: z.ZodLiteral<"trend">;
2298
+ metric: z.ZodOptional<z.ZodObject<{
2299
+ label: z.ZodString;
2300
+ value: z.ZodString;
2301
+ change: z.ZodOptional<z.ZodString>;
2302
+ tone: z.ZodOptional<z.ZodEnum<{
2303
+ success: "success";
2304
+ warning: "warning";
2305
+ danger: "danger";
2306
+ info: "info";
2307
+ default: "default";
2308
+ primary: "primary";
2309
+ }>>;
2310
+ }, z.core.$strip>>;
2311
+ chart: z.ZodObject<{
2312
+ type: z.ZodEnum<{
2313
+ area: "area";
2314
+ line: "line";
2315
+ bar: "bar";
2316
+ }>;
2317
+ data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
2318
+ categoryKey: z.ZodString;
2319
+ series: z.ZodArray<z.ZodString>;
2320
+ seriesLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2321
+ highlight: z.ZodOptional<z.ZodString>;
2322
+ forecastKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
2323
+ unit: z.ZodOptional<z.ZodString>;
2324
+ annotations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2325
+ kind: z.ZodLiteral<"line">;
2326
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
2327
+ axis: z.ZodOptional<z.ZodEnum<{
2328
+ x: "x";
2329
+ y: "y";
2330
+ }>>;
2331
+ label: z.ZodOptional<z.ZodString>;
2332
+ color: z.ZodOptional<z.ZodEnum<{
2333
+ success: "success";
2334
+ warning: "warning";
2335
+ danger: "danger";
2336
+ info: "info";
2337
+ primary: "primary";
2338
+ }>>;
2339
+ }, z.core.$strip>, z.ZodObject<{
2340
+ kind: z.ZodLiteral<"band">;
2341
+ from: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
2342
+ to: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
2343
+ axis: z.ZodOptional<z.ZodEnum<{
2344
+ x: "x";
2345
+ y: "y";
2346
+ }>>;
2347
+ label: z.ZodOptional<z.ZodString>;
2348
+ color: z.ZodOptional<z.ZodEnum<{
2349
+ success: "success";
2350
+ warning: "warning";
2351
+ danger: "danger";
2352
+ info: "info";
2353
+ primary: "primary";
2354
+ }>>;
2355
+ }, z.core.$strip>, z.ZodObject<{
2356
+ kind: z.ZodLiteral<"point">;
2357
+ x: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
2358
+ y: z.ZodNumber;
2359
+ label: z.ZodString;
2360
+ description: z.ZodOptional<z.ZodString>;
2361
+ color: z.ZodOptional<z.ZodEnum<{
2362
+ success: "success";
2363
+ warning: "warning";
2364
+ danger: "danger";
2365
+ info: "info";
2366
+ primary: "primary";
2367
+ }>>;
2368
+ }, z.core.$strip>], "kind">>>;
2369
+ }, z.core.$strip>;
2370
+ insight: z.ZodOptional<z.ZodObject<{
2371
+ label: z.ZodOptional<z.ZodString>;
2372
+ text: z.ZodString;
2373
+ tone: z.ZodOptional<z.ZodEnum<{
2374
+ success: "success";
2375
+ warning: "warning";
2376
+ danger: "danger";
2377
+ info: "info";
2378
+ default: "default";
2379
+ primary: "primary";
2380
+ }>>;
2381
+ }, z.core.$strip>>;
2382
+ eyebrow: z.ZodOptional<z.ZodString>;
2383
+ headline: z.ZodString;
2384
+ summary: z.ZodOptional<z.ZodString>;
2385
+ method: z.ZodOptional<z.ZodString>;
2386
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
2387
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
2388
+ id: z.ZodString;
2389
+ label: z.ZodString;
2390
+ prompt: z.ZodOptional<z.ZodString>;
2391
+ }, z.core.$strip>>>;
2392
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
2393
+ id: z.ZodString;
2394
+ label: z.ZodString;
2395
+ description: z.ZodOptional<z.ZodString>;
2396
+ href: z.ZodOptional<z.ZodString>;
2397
+ }, z.core.$strip>>>;
2398
+ }, z.core.$strip>, z.ZodObject<{
2399
+ kind: z.ZodLiteral<"status">;
2400
+ overall: z.ZodOptional<z.ZodObject<{
2401
+ label: z.ZodString;
2402
+ value: z.ZodString;
2403
+ tone: z.ZodOptional<z.ZodEnum<{
2404
+ success: "success";
2405
+ warning: "warning";
2406
+ danger: "danger";
2407
+ info: "info";
2408
+ default: "default";
2409
+ primary: "primary";
2410
+ }>>;
2411
+ }, z.core.$strip>>;
2412
+ items: z.ZodArray<z.ZodObject<{
2413
+ label: z.ZodString;
2414
+ status: z.ZodString;
2415
+ detail: z.ZodOptional<z.ZodString>;
2416
+ meta: z.ZodOptional<z.ZodString>;
2417
+ tone: z.ZodOptional<z.ZodEnum<{
2418
+ success: "success";
2419
+ warning: "warning";
2420
+ danger: "danger";
2421
+ info: "info";
2422
+ default: "default";
2423
+ primary: "primary";
2424
+ }>>;
2425
+ }, z.core.$strip>>;
2426
+ recommendation: z.ZodOptional<z.ZodObject<{
2427
+ label: z.ZodOptional<z.ZodString>;
2428
+ text: z.ZodString;
2429
+ tone: z.ZodOptional<z.ZodEnum<{
2430
+ success: "success";
2431
+ warning: "warning";
2432
+ danger: "danger";
2433
+ info: "info";
2434
+ default: "default";
2435
+ primary: "primary";
2436
+ }>>;
2437
+ }, z.core.$strip>>;
2438
+ eyebrow: z.ZodOptional<z.ZodString>;
2439
+ headline: z.ZodString;
2440
+ summary: z.ZodOptional<z.ZodString>;
2441
+ method: z.ZodOptional<z.ZodString>;
2442
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
2443
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
2444
+ id: z.ZodString;
2445
+ label: z.ZodString;
2446
+ prompt: z.ZodOptional<z.ZodString>;
2447
+ }, z.core.$strip>>>;
2448
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
2449
+ id: z.ZodString;
2450
+ label: z.ZodString;
2451
+ description: z.ZodOptional<z.ZodString>;
2452
+ href: z.ZodOptional<z.ZodString>;
2453
+ }, z.core.$strip>>>;
2454
+ }, z.core.$strip>, z.ZodObject<{
2455
+ kind: z.ZodLiteral<"breakdown">;
2456
+ total: z.ZodOptional<z.ZodObject<{
2457
+ label: z.ZodString;
2458
+ value: z.ZodString;
2459
+ }, z.core.$strip>>;
2460
+ items: z.ZodArray<z.ZodObject<{
2461
+ label: z.ZodString;
2462
+ value: z.ZodString;
2463
+ share: z.ZodNumber;
2464
+ detail: z.ZodOptional<z.ZodString>;
2465
+ tone: z.ZodOptional<z.ZodEnum<{
2466
+ success: "success";
2467
+ warning: "warning";
2468
+ danger: "danger";
2469
+ info: "info";
2470
+ default: "default";
2471
+ primary: "primary";
2472
+ }>>;
2473
+ }, z.core.$strip>>;
2474
+ insight: z.ZodOptional<z.ZodObject<{
2475
+ label: z.ZodOptional<z.ZodString>;
2476
+ text: z.ZodString;
2477
+ tone: z.ZodOptional<z.ZodEnum<{
2478
+ success: "success";
2479
+ warning: "warning";
2480
+ danger: "danger";
2481
+ info: "info";
2482
+ default: "default";
2483
+ primary: "primary";
2484
+ }>>;
2485
+ }, z.core.$strip>>;
2486
+ eyebrow: z.ZodOptional<z.ZodString>;
2487
+ headline: z.ZodString;
2488
+ summary: z.ZodOptional<z.ZodString>;
2489
+ method: z.ZodOptional<z.ZodString>;
2490
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
2491
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
2492
+ id: z.ZodString;
2493
+ label: z.ZodString;
2494
+ prompt: z.ZodOptional<z.ZodString>;
2495
+ }, z.core.$strip>>>;
2496
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
2497
+ id: z.ZodString;
2498
+ label: z.ZodString;
2499
+ description: z.ZodOptional<z.ZodString>;
2500
+ href: z.ZodOptional<z.ZodString>;
2501
+ }, z.core.$strip>>>;
2502
+ }, z.core.$strip>, z.ZodObject<{
2503
+ kind: z.ZodLiteral<"explanation">;
2504
+ sections: z.ZodArray<z.ZodObject<{
2505
+ title: z.ZodString;
2506
+ body: z.ZodOptional<z.ZodString>;
2507
+ bullets: z.ZodOptional<z.ZodArray<z.ZodString>>;
2508
+ code: z.ZodOptional<z.ZodString>;
2509
+ codeLanguage: z.ZodOptional<z.ZodString>;
2510
+ }, z.core.$strip>>;
2511
+ takeaway: z.ZodOptional<z.ZodObject<{
2512
+ label: z.ZodOptional<z.ZodString>;
2513
+ text: z.ZodString;
2514
+ tone: z.ZodOptional<z.ZodEnum<{
2515
+ success: "success";
2516
+ warning: "warning";
2517
+ danger: "danger";
2518
+ info: "info";
2519
+ default: "default";
2520
+ primary: "primary";
2521
+ }>>;
2522
+ }, z.core.$strip>>;
2523
+ eyebrow: z.ZodOptional<z.ZodString>;
2524
+ headline: z.ZodString;
2525
+ summary: z.ZodOptional<z.ZodString>;
2526
+ method: z.ZodOptional<z.ZodString>;
2527
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
2528
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
2529
+ id: z.ZodString;
2530
+ label: z.ZodString;
2531
+ prompt: z.ZodOptional<z.ZodString>;
2532
+ }, z.core.$strip>>>;
2533
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
2534
+ id: z.ZodString;
2535
+ label: z.ZodString;
2536
+ description: z.ZodOptional<z.ZodString>;
2537
+ href: z.ZodOptional<z.ZodString>;
2538
+ }, z.core.$strip>>>;
2539
+ }, z.core.$strip>, z.ZodObject<{
2540
+ kind: z.ZodLiteral<"narrative">;
2541
+ lead: z.ZodOptional<z.ZodString>;
2542
+ blocks: z.ZodArray<z.ZodObject<{
2543
+ heading: z.ZodOptional<z.ZodString>;
2544
+ lead: z.ZodOptional<z.ZodString>;
2545
+ body: z.ZodString;
2546
+ bullets: z.ZodOptional<z.ZodArray<z.ZodString>>;
2547
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2548
+ label: z.ZodString;
2549
+ query: z.ZodOptional<z.ZodString>;
2550
+ source: z.ZodOptional<z.ZodString>;
2551
+ rows: z.ZodOptional<z.ZodNumber>;
2552
+ }, z.core.$strip>]>>>;
2553
+ tone: z.ZodOptional<z.ZodEnum<{
2554
+ success: "success";
2555
+ warning: "warning";
2556
+ danger: "danger";
2557
+ info: "info";
2558
+ default: "default";
2559
+ primary: "primary";
2560
+ }>>;
2561
+ }, z.core.$strip>>;
2562
+ takeaways: z.ZodOptional<z.ZodArray<z.ZodObject<{
2563
+ lead: z.ZodOptional<z.ZodString>;
2564
+ body: z.ZodString;
2565
+ }, z.core.$strip>>>;
2566
+ bottomLine: z.ZodOptional<z.ZodObject<{
2567
+ label: z.ZodOptional<z.ZodString>;
2568
+ text: z.ZodString;
2569
+ tone: z.ZodOptional<z.ZodEnum<{
2570
+ success: "success";
2571
+ warning: "warning";
2572
+ danger: "danger";
2573
+ info: "info";
2574
+ default: "default";
2575
+ primary: "primary";
2576
+ }>>;
2577
+ }, z.core.$strip>>;
2578
+ eyebrow: z.ZodOptional<z.ZodString>;
2579
+ headline: z.ZodString;
2580
+ summary: z.ZodOptional<z.ZodString>;
2581
+ method: z.ZodOptional<z.ZodString>;
2582
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
2583
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
2584
+ id: z.ZodString;
2585
+ label: z.ZodString;
2586
+ prompt: z.ZodOptional<z.ZodString>;
2587
+ }, z.core.$strip>>>;
2588
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
2589
+ id: z.ZodString;
2590
+ label: z.ZodString;
2591
+ description: z.ZodOptional<z.ZodString>;
2592
+ href: z.ZodOptional<z.ZodString>;
2593
+ }, z.core.$strip>>>;
2594
+ }, z.core.$strip>, z.ZodObject<{
2595
+ kind: z.ZodLiteral<"fact">;
2596
+ value: z.ZodObject<{
2597
+ label: z.ZodString;
2598
+ value: z.ZodString;
2599
+ change: z.ZodOptional<z.ZodString>;
2600
+ asOf: z.ZodOptional<z.ZodString>;
2601
+ tone: z.ZodOptional<z.ZodEnum<{
2602
+ success: "success";
2603
+ warning: "warning";
2604
+ danger: "danger";
2605
+ info: "info";
2606
+ default: "default";
2607
+ primary: "primary";
2608
+ }>>;
2609
+ }, z.core.$strip>;
2610
+ facts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2611
+ label: z.ZodString;
2612
+ value: z.ZodString;
2613
+ change: z.ZodOptional<z.ZodString>;
2614
+ tone: z.ZodOptional<z.ZodEnum<{
2615
+ success: "success";
2616
+ warning: "warning";
2617
+ danger: "danger";
2618
+ info: "info";
2619
+ default: "default";
2620
+ primary: "primary";
2621
+ }>>;
2622
+ }, z.core.$strip>>>;
2623
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2624
+ label: z.ZodString;
2625
+ query: z.ZodOptional<z.ZodString>;
2626
+ source: z.ZodOptional<z.ZodString>;
2627
+ rows: z.ZodOptional<z.ZodNumber>;
2628
+ }, z.core.$strip>]>>>;
2629
+ insight: z.ZodOptional<z.ZodObject<{
2630
+ label: z.ZodOptional<z.ZodString>;
2631
+ text: z.ZodString;
2632
+ tone: z.ZodOptional<z.ZodEnum<{
2633
+ success: "success";
2634
+ warning: "warning";
2635
+ danger: "danger";
2636
+ info: "info";
2637
+ default: "default";
2638
+ primary: "primary";
2639
+ }>>;
2640
+ }, z.core.$strip>>;
2641
+ eyebrow: z.ZodOptional<z.ZodString>;
2642
+ headline: z.ZodString;
2643
+ summary: z.ZodOptional<z.ZodString>;
2644
+ method: z.ZodOptional<z.ZodString>;
2645
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
2646
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
2647
+ id: z.ZodString;
2648
+ label: z.ZodString;
2649
+ prompt: z.ZodOptional<z.ZodString>;
2650
+ }, z.core.$strip>>>;
2651
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
2652
+ id: z.ZodString;
2653
+ label: z.ZodString;
2654
+ description: z.ZodOptional<z.ZodString>;
2655
+ href: z.ZodOptional<z.ZodString>;
2656
+ }, z.core.$strip>>>;
2657
+ }, z.core.$strip>, z.ZodObject<{
2658
+ insight: z.ZodOptional<z.ZodObject<{
2659
+ label: z.ZodOptional<z.ZodString>;
2660
+ text: z.ZodString;
2661
+ tone: z.ZodOptional<z.ZodEnum<{
2662
+ success: "success";
2663
+ warning: "warning";
2664
+ danger: "danger";
2665
+ info: "info";
2666
+ default: "default";
2667
+ primary: "primary";
2668
+ }>>;
2669
+ }, z.core.$strip>>;
2670
+ columns: z.ZodArray<z.ZodObject<{
2671
+ key: z.ZodString;
2672
+ label: z.ZodString;
2673
+ align: z.ZodOptional<z.ZodEnum<{
2674
+ left: "left";
2675
+ right: "right";
2676
+ }>>;
2677
+ }, z.core.$strip>>;
2678
+ rows: z.ZodArray<z.ZodObject<{
2679
+ cells: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2680
+ value: z.ZodString;
2681
+ tone: z.ZodOptional<z.ZodEnum<{
2682
+ success: "success";
2683
+ warning: "warning";
2684
+ danger: "danger";
2685
+ info: "info";
2686
+ default: "default";
2687
+ primary: "primary";
2688
+ }>>;
2689
+ }, z.core.$strip>]>>;
2690
+ emphasis: z.ZodOptional<z.ZodBoolean>;
2691
+ }, z.core.$strip>>;
2692
+ totals: z.ZodOptional<z.ZodObject<{
2693
+ label: z.ZodOptional<z.ZodString>;
2694
+ cells: z.ZodRecord<z.ZodString, z.ZodString>;
2695
+ }, z.core.$strip>>;
2696
+ note: z.ZodOptional<z.ZodString>;
2697
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2698
+ label: z.ZodString;
2699
+ query: z.ZodOptional<z.ZodString>;
2700
+ source: z.ZodOptional<z.ZodString>;
2701
+ rows: z.ZodOptional<z.ZodNumber>;
2702
+ }, z.core.$strip>]>>>;
2703
+ kind: z.ZodLiteral<"table">;
2704
+ eyebrow: z.ZodOptional<z.ZodString>;
2705
+ headline: z.ZodString;
2706
+ summary: z.ZodOptional<z.ZodString>;
2707
+ method: z.ZodOptional<z.ZodString>;
2708
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
2709
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
2710
+ id: z.ZodString;
2711
+ label: z.ZodString;
2712
+ prompt: z.ZodOptional<z.ZodString>;
2713
+ }, z.core.$strip>>>;
2714
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
2715
+ id: z.ZodString;
2716
+ label: z.ZodString;
2717
+ description: z.ZodOptional<z.ZodString>;
2718
+ href: z.ZodOptional<z.ZodString>;
2719
+ }, z.core.$strip>>>;
2720
+ }, z.core.$strip>, z.ZodObject<{
2721
+ kind: z.ZodLiteral<"ranking">;
2722
+ metricLabel: z.ZodOptional<z.ZodString>;
2723
+ items: z.ZodArray<z.ZodObject<{
2724
+ label: z.ZodString;
2725
+ value: z.ZodString;
2726
+ detail: z.ZodOptional<z.ZodString>;
2727
+ delta: z.ZodOptional<z.ZodObject<{
2728
+ value: z.ZodString;
2729
+ tone: z.ZodOptional<z.ZodEnum<{
2730
+ success: "success";
2731
+ warning: "warning";
2732
+ danger: "danger";
2733
+ info: "info";
2734
+ default: "default";
2735
+ primary: "primary";
2736
+ }>>;
2737
+ }, z.core.$strip>>;
2738
+ highlight: z.ZodOptional<z.ZodBoolean>;
2739
+ tone: z.ZodOptional<z.ZodEnum<{
2740
+ success: "success";
2741
+ warning: "warning";
2742
+ danger: "danger";
2743
+ info: "info";
2744
+ default: "default";
2745
+ primary: "primary";
2746
+ }>>;
2747
+ }, z.core.$strip>>;
2748
+ tiebreak: z.ZodOptional<z.ZodString>;
2749
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2750
+ label: z.ZodString;
2751
+ query: z.ZodOptional<z.ZodString>;
2752
+ source: z.ZodOptional<z.ZodString>;
2753
+ rows: z.ZodOptional<z.ZodNumber>;
2754
+ }, z.core.$strip>]>>>;
2755
+ insight: z.ZodOptional<z.ZodObject<{
715
2756
  label: z.ZodOptional<z.ZodString>;
716
2757
  text: z.ZodString;
717
2758
  tone: z.ZodOptional<z.ZodEnum<{
@@ -726,6 +2767,8 @@ export declare const answerTool: {
726
2767
  eyebrow: z.ZodOptional<z.ZodString>;
727
2768
  headline: z.ZodString;
728
2769
  summary: z.ZodOptional<z.ZodString>;
2770
+ method: z.ZodOptional<z.ZodString>;
2771
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
729
2772
  followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
730
2773
  id: z.ZodString;
731
2774
  label: z.ZodString;
@@ -738,11 +2781,23 @@ export declare const answerTool: {
738
2781
  href: z.ZodOptional<z.ZodString>;
739
2782
  }, z.core.$strip>>>;
740
2783
  }, z.core.$strip>, z.ZodObject<{
741
- kind: z.ZodLiteral<"trend">;
742
- metric: z.ZodOptional<z.ZodObject<{
2784
+ kind: z.ZodLiteral<"confirmation">;
2785
+ outcome: z.ZodObject<{
2786
+ label: z.ZodString;
2787
+ detail: z.ZodOptional<z.ZodString>;
2788
+ tone: z.ZodOptional<z.ZodEnum<{
2789
+ success: "success";
2790
+ warning: "warning";
2791
+ danger: "danger";
2792
+ info: "info";
2793
+ default: "default";
2794
+ primary: "primary";
2795
+ }>>;
2796
+ }, z.core.$strip>;
2797
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
743
2798
  label: z.ZodString;
744
2799
  value: z.ZodString;
745
- change: z.ZodOptional<z.ZodString>;
2800
+ code: z.ZodOptional<z.ZodBoolean>;
746
2801
  tone: z.ZodOptional<z.ZodEnum<{
747
2802
  success: "success";
748
2803
  warning: "warning";
@@ -751,66 +2806,20 @@ export declare const answerTool: {
751
2806
  default: "default";
752
2807
  primary: "primary";
753
2808
  }>>;
754
- }, z.core.$strip>>;
755
- chart: z.ZodObject<{
756
- type: z.ZodEnum<{
757
- area: "area";
758
- line: "line";
759
- bar: "bar";
2809
+ }, z.core.$strip>>>;
2810
+ steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
2811
+ label: z.ZodString;
2812
+ status: z.ZodEnum<{
2813
+ done: "done";
2814
+ pending: "pending";
2815
+ failed: "failed";
2816
+ skipped: "skipped";
760
2817
  }>;
761
- data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
762
- categoryKey: z.ZodString;
763
- series: z.ZodArray<z.ZodString>;
764
- seriesLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
765
- highlight: z.ZodOptional<z.ZodString>;
766
- unit: z.ZodOptional<z.ZodString>;
767
- annotations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
768
- kind: z.ZodLiteral<"line">;
769
- value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
770
- axis: z.ZodOptional<z.ZodEnum<{
771
- x: "x";
772
- y: "y";
773
- }>>;
774
- label: z.ZodOptional<z.ZodString>;
775
- color: z.ZodOptional<z.ZodEnum<{
776
- success: "success";
777
- warning: "warning";
778
- danger: "danger";
779
- info: "info";
780
- primary: "primary";
781
- }>>;
782
- }, z.core.$strip>, z.ZodObject<{
783
- kind: z.ZodLiteral<"band">;
784
- from: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
785
- to: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
786
- axis: z.ZodOptional<z.ZodEnum<{
787
- x: "x";
788
- y: "y";
789
- }>>;
790
- label: z.ZodOptional<z.ZodString>;
791
- color: z.ZodOptional<z.ZodEnum<{
792
- success: "success";
793
- warning: "warning";
794
- danger: "danger";
795
- info: "info";
796
- primary: "primary";
797
- }>>;
798
- }, z.core.$strip>, z.ZodObject<{
799
- kind: z.ZodLiteral<"point">;
800
- x: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
801
- y: z.ZodNumber;
802
- label: z.ZodString;
803
- description: z.ZodOptional<z.ZodString>;
804
- color: z.ZodOptional<z.ZodEnum<{
805
- success: "success";
806
- warning: "warning";
807
- danger: "danger";
808
- info: "info";
809
- primary: "primary";
810
- }>>;
811
- }, z.core.$strip>], "kind">>>;
812
- }, z.core.$strip>;
813
- insight: z.ZodOptional<z.ZodObject<{
2818
+ detail: z.ZodOptional<z.ZodString>;
2819
+ }, z.core.$strip>>>;
2820
+ safety: z.ZodOptional<z.ZodString>;
2821
+ next: z.ZodOptional<z.ZodString>;
2822
+ warning: z.ZodOptional<z.ZodObject<{
814
2823
  label: z.ZodOptional<z.ZodString>;
815
2824
  text: z.ZodString;
816
2825
  tone: z.ZodOptional<z.ZodEnum<{
@@ -825,6 +2834,8 @@ export declare const answerTool: {
825
2834
  eyebrow: z.ZodOptional<z.ZodString>;
826
2835
  headline: z.ZodString;
827
2836
  summary: z.ZodOptional<z.ZodString>;
2837
+ method: z.ZodOptional<z.ZodString>;
2838
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
828
2839
  followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
829
2840
  id: z.ZodString;
830
2841
  label: z.ZodString;
@@ -837,10 +2848,11 @@ export declare const answerTool: {
837
2848
  href: z.ZodOptional<z.ZodString>;
838
2849
  }, z.core.$strip>>>;
839
2850
  }, z.core.$strip>, z.ZodObject<{
840
- kind: z.ZodLiteral<"status">;
841
- overall: z.ZodOptional<z.ZodObject<{
2851
+ kind: z.ZodLiteral<"clarification">;
2852
+ findings: z.ZodOptional<z.ZodArray<z.ZodObject<{
842
2853
  label: z.ZodString;
843
2854
  value: z.ZodString;
2855
+ code: z.ZodOptional<z.ZodBoolean>;
844
2856
  tone: z.ZodOptional<z.ZodEnum<{
845
2857
  success: "success";
846
2858
  warning: "warning";
@@ -849,12 +2861,35 @@ export declare const answerTool: {
849
2861
  default: "default";
850
2862
  primary: "primary";
851
2863
  }>>;
852
- }, z.core.$strip>>;
853
- items: z.ZodArray<z.ZodObject<{
2864
+ }, z.core.$strip>>>;
2865
+ question: z.ZodString;
2866
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
2867
+ id: z.ZodString;
854
2868
  label: z.ZodString;
855
- status: z.ZodString;
856
- detail: z.ZodOptional<z.ZodString>;
857
- meta: z.ZodOptional<z.ZodString>;
2869
+ description: z.ZodOptional<z.ZodString>;
2870
+ prompt: z.ZodOptional<z.ZodString>;
2871
+ }, z.core.$strip>>>;
2872
+ eyebrow: z.ZodOptional<z.ZodString>;
2873
+ headline: z.ZodString;
2874
+ summary: z.ZodOptional<z.ZodString>;
2875
+ method: z.ZodOptional<z.ZodString>;
2876
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
2877
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
2878
+ id: z.ZodString;
2879
+ label: z.ZodString;
2880
+ prompt: z.ZodOptional<z.ZodString>;
2881
+ }, z.core.$strip>>>;
2882
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
2883
+ id: z.ZodString;
2884
+ label: z.ZodString;
2885
+ description: z.ZodOptional<z.ZodString>;
2886
+ href: z.ZodOptional<z.ZodString>;
2887
+ }, z.core.$strip>>>;
2888
+ }, z.core.$strip>, z.ZodObject<{
2889
+ kind: z.ZodLiteral<"empty">;
2890
+ checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2891
+ label: z.ZodString;
2892
+ result: z.ZodString;
858
2893
  tone: z.ZodOptional<z.ZodEnum<{
859
2894
  success: "success";
860
2895
  warning: "warning";
@@ -863,8 +2898,19 @@ export declare const answerTool: {
863
2898
  default: "default";
864
2899
  primary: "primary";
865
2900
  }>>;
2901
+ }, z.core.$strip>>>;
2902
+ reason: z.ZodOptional<z.ZodString>;
2903
+ baseline: z.ZodOptional<z.ZodObject<{
2904
+ label: z.ZodString;
2905
+ value: z.ZodString;
866
2906
  }, z.core.$strip>>;
867
- recommendation: z.ZodOptional<z.ZodObject<{
2907
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2908
+ label: z.ZodString;
2909
+ query: z.ZodOptional<z.ZodString>;
2910
+ source: z.ZodOptional<z.ZodString>;
2911
+ rows: z.ZodOptional<z.ZodNumber>;
2912
+ }, z.core.$strip>]>>>;
2913
+ alternative: z.ZodOptional<z.ZodObject<{
868
2914
  label: z.ZodOptional<z.ZodString>;
869
2915
  text: z.ZodString;
870
2916
  tone: z.ZodOptional<z.ZodEnum<{
@@ -879,6 +2925,8 @@ export declare const answerTool: {
879
2925
  eyebrow: z.ZodOptional<z.ZodString>;
880
2926
  headline: z.ZodString;
881
2927
  summary: z.ZodOptional<z.ZodString>;
2928
+ method: z.ZodOptional<z.ZodString>;
2929
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
882
2930
  followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
883
2931
  id: z.ZodString;
884
2932
  label: z.ZodString;
@@ -891,40 +2939,35 @@ export declare const answerTool: {
891
2939
  href: z.ZodOptional<z.ZodString>;
892
2940
  }, z.core.$strip>>>;
893
2941
  }, z.core.$strip>, z.ZodObject<{
894
- kind: z.ZodLiteral<"breakdown">;
895
- total: z.ZodOptional<z.ZodObject<{
896
- label: z.ZodString;
897
- value: z.ZodString;
898
- }, z.core.$strip>>;
899
- items: z.ZodArray<z.ZodObject<{
900
- label: z.ZodString;
901
- value: z.ZodString;
902
- share: z.ZodNumber;
2942
+ kind: z.ZodLiteral<"error">;
2943
+ failure: z.ZodObject<{
2944
+ summary: z.ZodString;
2945
+ tally: z.ZodOptional<z.ZodString>;
903
2946
  detail: z.ZodOptional<z.ZodString>;
904
- tone: z.ZodOptional<z.ZodEnum<{
905
- success: "success";
906
- warning: "warning";
907
- danger: "danger";
908
- info: "info";
909
- default: "default";
910
- primary: "primary";
2947
+ }, z.core.$strip>;
2948
+ attempts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2949
+ label: z.ZodString;
2950
+ result: z.ZodString;
2951
+ }, z.core.$strip>>>;
2952
+ resolution: z.ZodOptional<z.ZodArray<z.ZodObject<{
2953
+ action: z.ZodString;
2954
+ owner: z.ZodOptional<z.ZodEnum<{
2955
+ user: "user";
2956
+ admin: "admin";
2957
+ platform: "platform";
2958
+ agent: "agent";
911
2959
  }>>;
912
- }, z.core.$strip>>;
913
- insight: z.ZodOptional<z.ZodObject<{
2960
+ }, z.core.$strip>>>;
2961
+ preserved: z.ZodOptional<z.ZodObject<{
914
2962
  label: z.ZodOptional<z.ZodString>;
915
- text: z.ZodString;
916
- tone: z.ZodOptional<z.ZodEnum<{
917
- success: "success";
918
- warning: "warning";
919
- danger: "danger";
920
- info: "info";
921
- default: "default";
922
- primary: "primary";
923
- }>>;
2963
+ code: z.ZodString;
2964
+ language: z.ZodOptional<z.ZodString>;
924
2965
  }, z.core.$strip>>;
925
2966
  eyebrow: z.ZodOptional<z.ZodString>;
926
2967
  headline: z.ZodString;
927
2968
  summary: z.ZodOptional<z.ZodString>;
2969
+ method: z.ZodOptional<z.ZodString>;
2970
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
928
2971
  followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
929
2972
  id: z.ZodString;
930
2973
  label: z.ZodString;
@@ -937,27 +2980,243 @@ export declare const answerTool: {
937
2980
  href: z.ZodOptional<z.ZodString>;
938
2981
  }, z.core.$strip>>>;
939
2982
  }, z.core.$strip>, z.ZodObject<{
940
- kind: z.ZodLiteral<"explanation">;
941
- sections: z.ZodArray<z.ZodObject<{
942
- title: z.ZodString;
2983
+ kind: z.ZodLiteral<"refusal">;
2984
+ reason: z.ZodString;
2985
+ scope: z.ZodOptional<z.ZodString>;
2986
+ completed: z.ZodOptional<z.ZodString>;
2987
+ alternatives: z.ZodOptional<z.ZodArray<z.ZodObject<{
2988
+ label: z.ZodString;
2989
+ description: z.ZodOptional<z.ZodString>;
2990
+ }, z.core.$strip>>>;
2991
+ eyebrow: z.ZodOptional<z.ZodString>;
2992
+ headline: z.ZodString;
2993
+ summary: z.ZodOptional<z.ZodString>;
2994
+ method: z.ZodOptional<z.ZodString>;
2995
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
2996
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
2997
+ id: z.ZodString;
2998
+ label: z.ZodString;
2999
+ prompt: z.ZodOptional<z.ZodString>;
3000
+ }, z.core.$strip>>>;
3001
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
3002
+ id: z.ZodString;
3003
+ label: z.ZodString;
3004
+ description: z.ZodOptional<z.ZodString>;
3005
+ href: z.ZodOptional<z.ZodString>;
3006
+ }, z.core.$strip>>>;
3007
+ }, z.core.$strip>, z.ZodObject<{
3008
+ kind: z.ZodLiteral<"knowledge">;
3009
+ entries: z.ZodArray<z.ZodObject<{
3010
+ term: z.ZodString;
3011
+ category: z.ZodOptional<z.ZodString>;
943
3012
  body: z.ZodOptional<z.ZodString>;
944
- bullets: z.ZodOptional<z.ZodArray<z.ZodString>>;
3013
+ formula: z.ZodOptional<z.ZodString>;
3014
+ items: z.ZodOptional<z.ZodArray<z.ZodObject<{
3015
+ label: z.ZodString;
3016
+ value: z.ZodString;
3017
+ code: z.ZodOptional<z.ZodBoolean>;
3018
+ tone: z.ZodOptional<z.ZodEnum<{
3019
+ success: "success";
3020
+ warning: "warning";
3021
+ danger: "danger";
3022
+ info: "info";
3023
+ default: "default";
3024
+ primary: "primary";
3025
+ }>>;
3026
+ }, z.core.$strip>>>;
945
3027
  }, z.core.$strip>>;
946
- takeaway: z.ZodOptional<z.ZodObject<{
947
- label: z.ZodOptional<z.ZodString>;
948
- text: z.ZodString;
949
- tone: z.ZodOptional<z.ZodEnum<{
950
- success: "success";
951
- warning: "warning";
952
- danger: "danger";
953
- info: "info";
954
- default: "default";
955
- primary: "primary";
956
- }>>;
3028
+ gaps: z.ZodOptional<z.ZodArray<z.ZodString>>;
3029
+ compliance: z.ZodOptional<z.ZodString>;
3030
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3031
+ label: z.ZodString;
3032
+ query: z.ZodOptional<z.ZodString>;
3033
+ source: z.ZodOptional<z.ZodString>;
3034
+ rows: z.ZodOptional<z.ZodNumber>;
3035
+ }, z.core.$strip>]>>>;
3036
+ eyebrow: z.ZodOptional<z.ZodString>;
3037
+ headline: z.ZodString;
3038
+ summary: z.ZodOptional<z.ZodString>;
3039
+ method: z.ZodOptional<z.ZodString>;
3040
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
3041
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
3042
+ id: z.ZodString;
3043
+ label: z.ZodString;
3044
+ prompt: z.ZodOptional<z.ZodString>;
3045
+ }, z.core.$strip>>>;
3046
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
3047
+ id: z.ZodString;
3048
+ label: z.ZodString;
3049
+ description: z.ZodOptional<z.ZodString>;
3050
+ href: z.ZodOptional<z.ZodString>;
3051
+ }, z.core.$strip>>>;
3052
+ }, z.core.$strip>, z.ZodObject<{
3053
+ kind: z.ZodLiteral<"decision">;
3054
+ options: z.ZodArray<z.ZodObject<{
3055
+ name: z.ZodString;
3056
+ tag: z.ZodOptional<z.ZodString>;
3057
+ description: z.ZodOptional<z.ZodString>;
3058
+ pros: z.ZodOptional<z.ZodArray<z.ZodString>>;
3059
+ cons: z.ZodOptional<z.ZodArray<z.ZodString>>;
3060
+ recommended: z.ZodOptional<z.ZodBoolean>;
957
3061
  }, z.core.$strip>>;
3062
+ guidance: z.ZodOptional<z.ZodArray<z.ZodObject<{
3063
+ when: z.ZodString;
3064
+ choose: z.ZodString;
3065
+ }, z.core.$strip>>>;
3066
+ eyebrow: z.ZodOptional<z.ZodString>;
3067
+ headline: z.ZodString;
3068
+ summary: z.ZodOptional<z.ZodString>;
3069
+ method: z.ZodOptional<z.ZodString>;
3070
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
3071
+ followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
3072
+ id: z.ZodString;
3073
+ label: z.ZodString;
3074
+ prompt: z.ZodOptional<z.ZodString>;
3075
+ }, z.core.$strip>>>;
3076
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
3077
+ id: z.ZodString;
3078
+ label: z.ZodString;
3079
+ description: z.ZodOptional<z.ZodString>;
3080
+ href: z.ZodOptional<z.ZodString>;
3081
+ }, z.core.$strip>>>;
3082
+ }, z.core.$strip>, z.ZodObject<{
3083
+ kind: z.ZodLiteral<"report">;
3084
+ sections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3085
+ type: z.ZodLiteral<"text">;
3086
+ title: z.ZodOptional<z.ZodString>;
3087
+ body: z.ZodString;
3088
+ }, z.core.$strip>, z.ZodObject<{
3089
+ type: z.ZodLiteral<"metrics">;
3090
+ title: z.ZodOptional<z.ZodString>;
3091
+ items: z.ZodArray<z.ZodObject<{
3092
+ label: z.ZodString;
3093
+ value: z.ZodString;
3094
+ change: z.ZodOptional<z.ZodString>;
3095
+ tone: z.ZodOptional<z.ZodEnum<{
3096
+ success: "success";
3097
+ warning: "warning";
3098
+ danger: "danger";
3099
+ info: "info";
3100
+ default: "default";
3101
+ primary: "primary";
3102
+ }>>;
3103
+ }, z.core.$strip>>;
3104
+ }, z.core.$strip>, z.ZodObject<{
3105
+ columns: z.ZodArray<z.ZodObject<{
3106
+ key: z.ZodString;
3107
+ label: z.ZodString;
3108
+ align: z.ZodOptional<z.ZodEnum<{
3109
+ left: "left";
3110
+ right: "right";
3111
+ }>>;
3112
+ }, z.core.$strip>>;
3113
+ rows: z.ZodArray<z.ZodObject<{
3114
+ cells: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3115
+ value: z.ZodString;
3116
+ tone: z.ZodOptional<z.ZodEnum<{
3117
+ success: "success";
3118
+ warning: "warning";
3119
+ danger: "danger";
3120
+ info: "info";
3121
+ default: "default";
3122
+ primary: "primary";
3123
+ }>>;
3124
+ }, z.core.$strip>]>>;
3125
+ emphasis: z.ZodOptional<z.ZodBoolean>;
3126
+ }, z.core.$strip>>;
3127
+ totals: z.ZodOptional<z.ZodObject<{
3128
+ label: z.ZodOptional<z.ZodString>;
3129
+ cells: z.ZodRecord<z.ZodString, z.ZodString>;
3130
+ }, z.core.$strip>>;
3131
+ note: z.ZodOptional<z.ZodString>;
3132
+ citations: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3133
+ label: z.ZodString;
3134
+ query: z.ZodOptional<z.ZodString>;
3135
+ source: z.ZodOptional<z.ZodString>;
3136
+ rows: z.ZodOptional<z.ZodNumber>;
3137
+ }, z.core.$strip>]>>>;
3138
+ type: z.ZodLiteral<"table">;
3139
+ title: z.ZodOptional<z.ZodString>;
3140
+ }, z.core.$strip>, z.ZodObject<{
3141
+ type: z.ZodLiteral<"chart">;
3142
+ title: z.ZodOptional<z.ZodString>;
3143
+ chart: z.ZodObject<{
3144
+ type: z.ZodEnum<{
3145
+ area: "area";
3146
+ line: "line";
3147
+ bar: "bar";
3148
+ }>;
3149
+ data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>>;
3150
+ categoryKey: z.ZodString;
3151
+ series: z.ZodArray<z.ZodString>;
3152
+ seriesLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3153
+ highlight: z.ZodOptional<z.ZodString>;
3154
+ forecastKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
3155
+ unit: z.ZodOptional<z.ZodString>;
3156
+ annotations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3157
+ kind: z.ZodLiteral<"line">;
3158
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
3159
+ axis: z.ZodOptional<z.ZodEnum<{
3160
+ x: "x";
3161
+ y: "y";
3162
+ }>>;
3163
+ label: z.ZodOptional<z.ZodString>;
3164
+ color: z.ZodOptional<z.ZodEnum<{
3165
+ success: "success";
3166
+ warning: "warning";
3167
+ danger: "danger";
3168
+ info: "info";
3169
+ primary: "primary";
3170
+ }>>;
3171
+ }, z.core.$strip>, z.ZodObject<{
3172
+ kind: z.ZodLiteral<"band">;
3173
+ from: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
3174
+ to: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
3175
+ axis: z.ZodOptional<z.ZodEnum<{
3176
+ x: "x";
3177
+ y: "y";
3178
+ }>>;
3179
+ label: z.ZodOptional<z.ZodString>;
3180
+ color: z.ZodOptional<z.ZodEnum<{
3181
+ success: "success";
3182
+ warning: "warning";
3183
+ danger: "danger";
3184
+ info: "info";
3185
+ primary: "primary";
3186
+ }>>;
3187
+ }, z.core.$strip>, z.ZodObject<{
3188
+ kind: z.ZodLiteral<"point">;
3189
+ x: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
3190
+ y: z.ZodNumber;
3191
+ label: z.ZodString;
3192
+ description: z.ZodOptional<z.ZodString>;
3193
+ color: z.ZodOptional<z.ZodEnum<{
3194
+ success: "success";
3195
+ warning: "warning";
3196
+ danger: "danger";
3197
+ info: "info";
3198
+ primary: "primary";
3199
+ }>>;
3200
+ }, z.core.$strip>], "kind">>>;
3201
+ }, z.core.$strip>;
3202
+ note: z.ZodOptional<z.ZodString>;
3203
+ }, z.core.$strip>, z.ZodObject<{
3204
+ type: z.ZodLiteral<"list">;
3205
+ title: z.ZodOptional<z.ZodString>;
3206
+ items: z.ZodArray<z.ZodObject<{
3207
+ lead: z.ZodOptional<z.ZodString>;
3208
+ body: z.ZodString;
3209
+ }, z.core.$strip>>;
3210
+ }, z.core.$strip>], "type">>;
3211
+ definitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3212
+ term: z.ZodString;
3213
+ meaning: z.ZodString;
3214
+ }, z.core.$strip>>>;
958
3215
  eyebrow: z.ZodOptional<z.ZodString>;
959
3216
  headline: z.ZodString;
960
3217
  summary: z.ZodOptional<z.ZodString>;
3218
+ method: z.ZodOptional<z.ZodString>;
3219
+ caveats: z.ZodOptional<z.ZodArray<z.ZodString>>;
961
3220
  followUps: z.ZodOptional<z.ZodArray<z.ZodObject<{
962
3221
  id: z.ZodString;
963
3222
  label: z.ZodString;
@@ -973,7 +3232,14 @@ export declare const answerTool: {
973
3232
  };
974
3233
  type AnswerInteractions = {
975
3234
  onFollowUp?: (followUp: AnswerFollowUp) => void;
3235
+ onOptionSelect?: (option: AnswerOption) => void;
976
3236
  onSourceSelect?: (source: AnswerSource) => void;
3237
+ /**
3238
+ * Called when a query citation is clicked. Wire it to the shell's detail
3239
+ * rail to open the query in a side inspector; when omitted, the citation
3240
+ * falls back to a self-contained popover.
3241
+ */
3242
+ onCitationSelect?: (citation: AnswerCitationDetail) => void;
977
3243
  };
978
3244
  export interface ComparisonAnswerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, AnswerInteractions {
979
3245
  spec: ComparisonAnswerSpec;
@@ -995,6 +3261,72 @@ export interface ExplanationAnswerProps extends Omit<React.HTMLAttributes<HTMLDi
995
3261
  spec: ExplanationAnswerSpec;
996
3262
  }
997
3263
  export declare const ExplanationAnswer: React.ForwardRefExoticComponent<ExplanationAnswerProps & React.RefAttributes<HTMLDivElement>>;
3264
+ export interface NarrativeAnswerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, AnswerInteractions {
3265
+ spec: NarrativeAnswerSpec;
3266
+ }
3267
+ /** The long-form answer: a lead, finding blocks of prose, takeaways, a bottom line. */
3268
+ export declare const NarrativeAnswer: React.ForwardRefExoticComponent<NarrativeAnswerProps & React.RefAttributes<HTMLDivElement>>;
3269
+ export interface FactAnswerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, AnswerInteractions {
3270
+ spec: FactAnswerSpec;
3271
+ }
3272
+ /** One number, stated plainly: value, freshness, method, proof. */
3273
+ export declare const FactAnswer: React.ForwardRefExoticComponent<FactAnswerProps & React.RefAttributes<HTMLDivElement>>;
3274
+ export interface TableAnswerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, AnswerInteractions {
3275
+ spec: TableAnswerSpec;
3276
+ }
3277
+ /** The workhorse: a general records table with totals, tones, and a row-cap note. */
3278
+ export declare const TableAnswer: React.ForwardRefExoticComponent<TableAnswerProps & React.RefAttributes<HTMLDivElement>>;
3279
+ export interface RankingAnswerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, AnswerInteractions {
3280
+ spec: RankingAnswerSpec;
3281
+ }
3282
+ /** An ordered leaderboard: winners (and ties) bold, ineligible rows muted. */
3283
+ export declare const RankingAnswer: React.ForwardRefExoticComponent<RankingAnswerProps & React.RefAttributes<HTMLDivElement>>;
3284
+ export interface ConfirmationAnswerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, AnswerInteractions {
3285
+ spec: ConfirmationAnswerSpec;
3286
+ }
3287
+ /** The task receipt: outcome, what changed, step states, the safety line. */
3288
+ export declare const ConfirmationAnswer: React.ForwardRefExoticComponent<ConfirmationAnswerProps & React.RefAttributes<HTMLDivElement>>;
3289
+ export interface ClarificationAnswerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, AnswerInteractions {
3290
+ spec: ClarificationAnswerSpec;
3291
+ }
3292
+ /** The agent needs a decision: established facts, one question, selectable paths. */
3293
+ export declare const ClarificationAnswer: React.ForwardRefExoticComponent<ClarificationAnswerProps & React.RefAttributes<HTMLDivElement>>;
3294
+ export interface EmptyAnswerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, AnswerInteractions {
3295
+ spec: EmptyAnswerSpec;
3296
+ }
3297
+ /** No data — proven, not asserted: the probes, the cause, a calibration value. */
3298
+ export declare const EmptyAnswer: React.ForwardRefExoticComponent<EmptyAnswerProps & React.RefAttributes<HTMLDivElement>>;
3299
+ export interface ErrorAnswerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, AnswerInteractions {
3300
+ spec: ErrorAnswerSpec;
3301
+ }
3302
+ /** A run that failed: verbatim evidence, owner-attributed fixes, preserved work. */
3303
+ export declare const ErrorAnswer: React.ForwardRefExoticComponent<ErrorAnswerProps & React.RefAttributes<HTMLDivElement>>;
3304
+ export interface RefusalAnswerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, AnswerInteractions {
3305
+ spec: RefusalAnswerSpec;
3306
+ }
3307
+ /** A scoped decline: the why, what WAS done, and the allowed paths instead. */
3308
+ export declare const RefusalAnswer: React.ForwardRefExoticComponent<RefusalAnswerProps & React.RefAttributes<HTMLDivElement>>;
3309
+ export interface KnowledgeAnswerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, AnswerInteractions {
3310
+ spec: KnowledgeAnswerSpec;
3311
+ }
3312
+ /** The definition digest: terms, formulas, field maps — and what was NOT found. */
3313
+ export declare const KnowledgeAnswer: React.ForwardRefExoticComponent<KnowledgeAnswerProps & React.RefAttributes<HTMLDivElement>>;
3314
+ export interface DecisionAnswerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, AnswerInteractions {
3315
+ spec: DecisionAnswerSpec;
3316
+ }
3317
+ /** Competing approaches weighed: pros, cons, the recommendation, when-to-pick. */
3318
+ export declare const DecisionAnswer: React.ForwardRefExoticComponent<DecisionAnswerProps & React.RefAttributes<HTMLDivElement>>;
3319
+ export interface ReportAnswerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, AnswerInteractions {
3320
+ spec: ReportAnswerSpec;
3321
+ }
3322
+ /** The composite: ordered typed sections with the shared glossary tail. */
3323
+ export declare const ReportAnswer: React.ForwardRefExoticComponent<ReportAnswerProps & React.RefAttributes<HTMLDivElement>>;
3324
+ export interface AnswerSkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
3325
+ /** Shape the placeholder to the incoming kind while arguments stream in. */
3326
+ kind?: AnswerSpec["kind"];
3327
+ }
3328
+ /** The streaming state: shown while a `render_answer` call is still arriving. */
3329
+ export declare const AnswerSkeleton: React.ForwardRefExoticComponent<AnswerSkeletonProps & React.RefAttributes<HTMLDivElement>>;
998
3330
  export interface AnswerRendererProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, AnswerInteractions {
999
3331
  spec: AnswerSpec;
1000
3332
  }