@dxos/plugin-transcription 0.8.4-main.c1de068 → 0.8.4-main.c85a9c8dae

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 (269) hide show
  1. package/dist/lib/browser/TranscriptionContainer-RBFHP2AV.mjs +41 -0
  2. package/dist/lib/browser/TranscriptionContainer-RBFHP2AV.mjs.map +7 -0
  3. package/dist/lib/browser/blueprint-definition-C6XA2SVZ.mjs +18 -0
  4. package/dist/lib/browser/blueprint-definition-C6XA2SVZ.mjs.map +7 -0
  5. package/dist/lib/browser/blueprints/index.mjs +9 -0
  6. package/dist/lib/browser/chunk-2B74LZZD.mjs +22 -0
  7. package/dist/lib/browser/chunk-2B74LZZD.mjs.map +7 -0
  8. package/dist/lib/browser/{chunk-FFEPEPCU.mjs → chunk-EV5ZYKET.mjs} +64 -99
  9. package/dist/lib/browser/chunk-EV5ZYKET.mjs.map +7 -0
  10. package/dist/lib/browser/chunk-GH4IIQ6C.mjs +54 -0
  11. package/dist/lib/browser/chunk-GH4IIQ6C.mjs.map +7 -0
  12. package/dist/lib/browser/chunk-HOOPZ7EM.mjs +35 -0
  13. package/dist/lib/browser/chunk-HOOPZ7EM.mjs.map +7 -0
  14. package/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
  15. package/dist/lib/browser/chunk-O7ILGNBZ.mjs +148 -0
  16. package/dist/lib/browser/chunk-O7ILGNBZ.mjs.map +7 -0
  17. package/dist/lib/browser/{chunk-5KPYIC3N.mjs → chunk-XLMRCOQN.mjs} +126 -221
  18. package/dist/lib/browser/chunk-XLMRCOQN.mjs.map +7 -0
  19. package/dist/lib/browser/index.mjs +62 -73
  20. package/dist/lib/browser/index.mjs.map +4 -4
  21. package/dist/lib/browser/meta.json +1 -1
  22. package/dist/lib/browser/operation-resolver-5BLRH4XE.mjs +23 -0
  23. package/dist/lib/browser/operation-resolver-5BLRH4XE.mjs.map +7 -0
  24. package/dist/lib/browser/react-surface-U2SI74JK.mjs +36 -0
  25. package/dist/lib/browser/react-surface-U2SI74JK.mjs.map +7 -0
  26. package/dist/lib/browser/{transcriber-PXT4QBFY.mjs → transcriber-WCPHHJYY.mjs} +19 -14
  27. package/dist/lib/browser/transcriber-WCPHHJYY.mjs.map +7 -0
  28. package/dist/lib/browser/types/index.mjs +9 -8
  29. package/dist/lib/node-esm/TranscriptionContainer-3OOID5KH.mjs +42 -0
  30. package/dist/lib/node-esm/TranscriptionContainer-3OOID5KH.mjs.map +7 -0
  31. package/dist/lib/node-esm/blueprint-definition-TLXDUXIQ.mjs +19 -0
  32. package/dist/lib/node-esm/blueprint-definition-TLXDUXIQ.mjs.map +7 -0
  33. package/dist/lib/node-esm/blueprints/index.mjs +10 -0
  34. package/dist/lib/node-esm/blueprints/index.mjs.map +7 -0
  35. package/dist/lib/node-esm/chunk-6GW5NZYG.mjs +55 -0
  36. package/dist/lib/node-esm/chunk-6GW5NZYG.mjs.map +7 -0
  37. package/dist/lib/node-esm/{chunk-HT3W7LDP.mjs → chunk-7UE7G6DE.mjs} +64 -99
  38. package/dist/lib/node-esm/chunk-7UE7G6DE.mjs.map +7 -0
  39. package/dist/lib/node-esm/{chunk-TJKAO7VR.mjs → chunk-DYUGYQCB.mjs} +126 -221
  40. package/dist/lib/node-esm/chunk-DYUGYQCB.mjs.map +7 -0
  41. package/dist/lib/node-esm/chunk-F47HK7GT.mjs +24 -0
  42. package/dist/lib/node-esm/chunk-F47HK7GT.mjs.map +7 -0
  43. package/dist/lib/node-esm/chunk-H3MXHMQL.mjs +149 -0
  44. package/dist/lib/node-esm/chunk-H3MXHMQL.mjs.map +7 -0
  45. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
  46. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +7 -0
  47. package/dist/lib/node-esm/chunk-NVM2QUMX.mjs +37 -0
  48. package/dist/lib/node-esm/chunk-NVM2QUMX.mjs.map +7 -0
  49. package/dist/lib/node-esm/index.mjs +62 -73
  50. package/dist/lib/node-esm/index.mjs.map +4 -4
  51. package/dist/lib/node-esm/meta.json +1 -1
  52. package/dist/lib/node-esm/operation-resolver-CVZB7BF4.mjs +24 -0
  53. package/dist/lib/node-esm/operation-resolver-CVZB7BF4.mjs.map +7 -0
  54. package/dist/lib/node-esm/react-surface-2ICJPBPX.mjs +37 -0
  55. package/dist/lib/node-esm/react-surface-2ICJPBPX.mjs.map +7 -0
  56. package/dist/lib/node-esm/{transcriber-YUTEVANE.mjs → transcriber-2RIHUEX4.mjs} +19 -14
  57. package/dist/lib/node-esm/transcriber-2RIHUEX4.mjs.map +7 -0
  58. package/dist/lib/node-esm/types/index.mjs +9 -8
  59. package/dist/types/src/TranscriptionPlugin.d.ts +2 -1
  60. package/dist/types/src/TranscriptionPlugin.d.ts.map +1 -1
  61. package/dist/types/src/blueprints/index.d.ts +2 -0
  62. package/dist/types/src/blueprints/index.d.ts.map +1 -0
  63. package/dist/types/src/blueprints/transcription-blueprint.d.ts +4 -0
  64. package/dist/types/src/blueprints/transcription-blueprint.d.ts.map +1 -0
  65. package/dist/types/src/capabilities/blueprint-definition/blueprint-definition.d.ts +6 -0
  66. package/dist/types/src/capabilities/blueprint-definition/blueprint-definition.d.ts.map +1 -0
  67. package/dist/types/src/capabilities/blueprint-definition/index.d.ts +3 -0
  68. package/dist/types/src/capabilities/blueprint-definition/index.d.ts.map +1 -0
  69. package/dist/types/src/capabilities/index.d.ts +4 -4
  70. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  71. package/dist/types/src/capabilities/operation-handler/index.d.ts +3 -0
  72. package/dist/types/src/capabilities/operation-handler/index.d.ts.map +1 -0
  73. package/dist/types/src/capabilities/operation-handler/operation-handler.d.ts +5 -0
  74. package/dist/types/src/capabilities/operation-handler/operation-handler.d.ts.map +1 -0
  75. package/dist/types/src/capabilities/operation-resolver/index.d.ts +3 -0
  76. package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +1 -0
  77. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +5 -0
  78. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +1 -0
  79. package/dist/types/src/capabilities/react-surface/index.d.ts +3 -0
  80. package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -0
  81. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +5 -0
  82. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -0
  83. package/dist/types/src/capabilities/transcriber/index.d.ts +3 -0
  84. package/dist/types/src/capabilities/transcriber/index.d.ts.map +1 -0
  85. package/dist/types/src/capabilities/transcriber/transcriber.d.ts +9 -0
  86. package/dist/types/src/capabilities/transcriber/transcriber.d.ts.map +1 -0
  87. package/dist/types/src/components/Transcription/Transcription.d.ts +17 -0
  88. package/dist/types/src/components/Transcription/Transcription.d.ts.map +1 -0
  89. package/dist/types/src/components/Transcription/Transcription.stories.d.ts +40 -0
  90. package/dist/types/src/components/Transcription/Transcription.stories.d.ts.map +1 -0
  91. package/dist/types/src/components/Transcription/index.d.ts +2 -0
  92. package/dist/types/src/components/Transcription/index.d.ts.map +1 -0
  93. package/dist/types/src/components/Transcription/transcription-extension.d.ts +15 -0
  94. package/dist/types/src/components/Transcription/transcription-extension.d.ts.map +1 -0
  95. package/dist/types/src/components/index.d.ts +1 -3
  96. package/dist/types/src/components/index.d.ts.map +1 -1
  97. package/dist/types/src/components/stories/FileTranscription.stories.d.ts +8 -7
  98. package/dist/types/src/components/stories/FileTranscription.stories.d.ts.map +1 -1
  99. package/dist/types/src/components/stories/KeyWordRecognition.stories.d.ts +10 -6
  100. package/dist/types/src/components/stories/KeyWordRecognition.stories.d.ts.map +1 -1
  101. package/dist/types/src/components/stories/MicrophoneTranscription.stories.d.ts +10 -9
  102. package/dist/types/src/components/stories/MicrophoneTranscription.stories.d.ts.map +1 -1
  103. package/dist/types/src/components/stories/TranscriptionStory.d.ts +4 -3
  104. package/dist/types/src/components/stories/TranscriptionStory.d.ts.map +1 -1
  105. package/dist/types/src/containers/TranscriptionContainer/TranscriptionContainer.d.ts +6 -0
  106. package/dist/types/src/containers/TranscriptionContainer/TranscriptionContainer.d.ts.map +1 -0
  107. package/dist/types/src/containers/TranscriptionContainer/index.d.ts +3 -0
  108. package/dist/types/src/containers/TranscriptionContainer/index.d.ts.map +1 -0
  109. package/dist/types/src/containers/index.d.ts +3 -0
  110. package/dist/types/src/containers/index.d.ts.map +1 -0
  111. package/dist/types/src/functions/index.d.ts +18 -0
  112. package/dist/types/src/functions/index.d.ts.map +1 -0
  113. package/dist/types/src/functions/open.d.ts +11 -0
  114. package/dist/types/src/functions/open.d.ts.map +1 -0
  115. package/dist/types/src/functions/summarize.d.ts +11 -0
  116. package/dist/types/src/functions/summarize.d.ts.map +1 -0
  117. package/dist/types/src/hooks/useAudioFile.d.ts.map +1 -1
  118. package/dist/types/src/hooks/useQueueModelAdapter.d.ts +1 -1
  119. package/dist/types/src/hooks/useQueueModelAdapter.d.ts.map +1 -1
  120. package/dist/types/src/hooks/useTranscriber.d.ts +1 -1
  121. package/dist/types/src/hooks/useTranscriber.d.ts.map +1 -1
  122. package/dist/types/src/hooks/useVoiceInput.d.ts.map +1 -1
  123. package/dist/types/src/index.d.ts +1 -1
  124. package/dist/types/src/index.d.ts.map +1 -1
  125. package/dist/types/src/meta.d.ts +2 -3
  126. package/dist/types/src/meta.d.ts.map +1 -1
  127. package/dist/types/src/segments-normalization/message-normalizer.d.ts +5 -5
  128. package/dist/types/src/segments-normalization/message-normalizer.d.ts.map +1 -1
  129. package/dist/types/src/segments-normalization/normalization.d.ts +516 -398
  130. package/dist/types/src/segments-normalization/normalization.d.ts.map +1 -1
  131. package/dist/types/src/segments-normalization/utils.d.ts +2 -2
  132. package/dist/types/src/segments-normalization/utils.d.ts.map +1 -1
  133. package/dist/types/src/testing/testing.d.ts +11 -11
  134. package/dist/types/src/testing/testing.d.ts.map +1 -1
  135. package/dist/types/src/transcriber/media-stream-recorder.d.ts +3 -3
  136. package/dist/types/src/transcriber/media-stream-recorder.d.ts.map +1 -1
  137. package/dist/types/src/transcriber/transcriber.d.ts +4 -4
  138. package/dist/types/src/transcriber/transcriber.d.ts.map +1 -1
  139. package/dist/types/src/transcriber/transcription-manager.d.ts +12 -13
  140. package/dist/types/src/transcriber/transcription-manager.d.ts.map +1 -1
  141. package/dist/types/src/types/TranscriptAction.d.ts +25 -0
  142. package/dist/types/src/types/TranscriptAction.d.ts.map +1 -0
  143. package/dist/types/src/types/capabilities.d.ts +18 -0
  144. package/dist/types/src/types/capabilities.d.ts.map +1 -0
  145. package/dist/types/src/types/index.d.ts +3 -1
  146. package/dist/types/src/types/index.d.ts.map +1 -1
  147. package/dist/types/src/types/types.d.ts +0 -26
  148. package/dist/types/src/types/types.d.ts.map +1 -1
  149. package/dist/types/src/util/index.d.ts +1 -0
  150. package/dist/types/src/util/index.d.ts.map +1 -1
  151. package/dist/types/src/util/render-byline.d.ts +4 -0
  152. package/dist/types/src/util/render-byline.d.ts.map +1 -0
  153. package/dist/types/tsconfig.tsbuildinfo +1 -1
  154. package/package.json +88 -72
  155. package/src/TranscriptionPlugin.tsx +39 -57
  156. package/src/blueprints/index.ts +5 -0
  157. package/src/blueprints/transcription-blueprint.ts +33 -0
  158. package/src/capabilities/blueprint-definition/blueprint-definition.ts +17 -0
  159. package/src/capabilities/blueprint-definition/index.ts +7 -0
  160. package/src/capabilities/index.ts +4 -7
  161. package/src/capabilities/operation-handler/index.ts +7 -0
  162. package/src/capabilities/operation-handler/operation-handler.ts +25 -0
  163. package/src/capabilities/operation-resolver/index.ts +7 -0
  164. package/src/capabilities/operation-resolver/operation-resolver.ts +25 -0
  165. package/src/capabilities/react-surface/index.ts +7 -0
  166. package/src/capabilities/react-surface/react-surface.tsx +28 -0
  167. package/src/capabilities/transcriber/index.ts +7 -0
  168. package/src/capabilities/transcriber/transcriber.ts +85 -0
  169. package/src/components/{Transcript/Transcript.stories.tsx → Transcription/Transcription.stories.tsx} +60 -56
  170. package/src/components/Transcription/Transcription.tsx +63 -0
  171. package/src/components/{Transcript → Transcription}/index.ts +1 -1
  172. package/src/components/{Transcript/transcript-extension.ts → Transcription/transcription-extension.ts} +13 -46
  173. package/src/components/index.ts +1 -6
  174. package/src/components/stories/FileTranscription.stories.tsx +66 -59
  175. package/src/components/stories/KeyWordRecognition.stories.tsx +17 -13
  176. package/src/components/stories/MicrophoneTranscription.stories.tsx +80 -80
  177. package/src/components/stories/TranscriptionStory.tsx +13 -13
  178. package/src/containers/TranscriptionContainer/TranscriptionContainer.tsx +33 -0
  179. package/src/containers/TranscriptionContainer/index.ts +7 -0
  180. package/src/containers/index.ts +7 -0
  181. package/src/functions/index.ts +11 -0
  182. package/src/functions/open.ts +37 -0
  183. package/src/functions/summarize.ts +103 -0
  184. package/src/hooks/useAudioFile.ts +49 -53
  185. package/src/hooks/useQueueModelAdapter.ts +1 -1
  186. package/src/hooks/useTranscriber.ts +8 -3
  187. package/src/hooks/useVoiceInput.ts +4 -3
  188. package/src/index.ts +1 -1
  189. package/src/meta.ts +9 -6
  190. package/src/model/model.test.ts +21 -15
  191. package/src/segments-normalization/message-normalizer.ts +19 -14
  192. package/src/segments-normalization/normalization.test.ts +11 -16
  193. package/src/segments-normalization/normalization.ts +43 -42
  194. package/src/segments-normalization/utils.ts +2 -2
  195. package/src/testing/testing.ts +35 -25
  196. package/src/transcriber/media-stream-recorder.ts +4 -4
  197. package/src/transcriber/transcriber.browser.test.ts +6 -5
  198. package/src/transcriber/transcriber.ts +8 -7
  199. package/src/transcriber/transcription-manager.ts +37 -52
  200. package/src/types/TranscriptAction.ts +32 -0
  201. package/src/types/capabilities.ts +33 -0
  202. package/src/types/index.ts +3 -1
  203. package/src/types/types.ts +0 -23
  204. package/src/util/index.ts +1 -0
  205. package/src/util/render-byline.ts +33 -0
  206. package/dist/lib/browser/TranscriptContainer-6WCKCXQ6.mjs +0 -11
  207. package/dist/lib/browser/chunk-4FJIYH7T.mjs +0 -8
  208. package/dist/lib/browser/chunk-4FJIYH7T.mjs.map +0 -7
  209. package/dist/lib/browser/chunk-5KPYIC3N.mjs.map +0 -7
  210. package/dist/lib/browser/chunk-5WH45KBY.mjs +0 -19
  211. package/dist/lib/browser/chunk-5WH45KBY.mjs.map +0 -7
  212. package/dist/lib/browser/chunk-FFEPEPCU.mjs.map +0 -7
  213. package/dist/lib/browser/chunk-R7INNNUQ.mjs +0 -55
  214. package/dist/lib/browser/chunk-R7INNNUQ.mjs.map +0 -7
  215. package/dist/lib/browser/chunk-U6QBOGTN.mjs +0 -16
  216. package/dist/lib/browser/chunk-U6QBOGTN.mjs.map +0 -7
  217. package/dist/lib/browser/intent-resolver-3O33MMP5.mjs +0 -30
  218. package/dist/lib/browser/intent-resolver-3O33MMP5.mjs.map +0 -7
  219. package/dist/lib/browser/react-surface-E5D5AE3F.mjs +0 -34
  220. package/dist/lib/browser/react-surface-E5D5AE3F.mjs.map +0 -7
  221. package/dist/lib/browser/transcriber-PXT4QBFY.mjs.map +0 -7
  222. package/dist/lib/node-esm/TranscriptContainer-VBAOM5DG.mjs +0 -12
  223. package/dist/lib/node-esm/chunk-HT3W7LDP.mjs.map +0 -7
  224. package/dist/lib/node-esm/chunk-RHF2ALML.mjs +0 -17
  225. package/dist/lib/node-esm/chunk-RHF2ALML.mjs.map +0 -7
  226. package/dist/lib/node-esm/chunk-TJKAO7VR.mjs.map +0 -7
  227. package/dist/lib/node-esm/chunk-U65ZWK3L.mjs +0 -56
  228. package/dist/lib/node-esm/chunk-U65ZWK3L.mjs.map +0 -7
  229. package/dist/lib/node-esm/chunk-XMUCZBP3.mjs +0 -21
  230. package/dist/lib/node-esm/chunk-XMUCZBP3.mjs.map +0 -7
  231. package/dist/lib/node-esm/chunk-Y2B4HWSS.mjs +0 -10
  232. package/dist/lib/node-esm/chunk-Y2B4HWSS.mjs.map +0 -7
  233. package/dist/lib/node-esm/intent-resolver-YMN5SXNC.mjs +0 -31
  234. package/dist/lib/node-esm/intent-resolver-YMN5SXNC.mjs.map +0 -7
  235. package/dist/lib/node-esm/react-surface-QRDJOHN5.mjs +0 -35
  236. package/dist/lib/node-esm/react-surface-QRDJOHN5.mjs.map +0 -7
  237. package/dist/lib/node-esm/transcriber-YUTEVANE.mjs.map +0 -7
  238. package/dist/types/src/capabilities/capabilities.d.ts +0 -17
  239. package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
  240. package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
  241. package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
  242. package/dist/types/src/capabilities/react-surface.d.ts +0 -4
  243. package/dist/types/src/capabilities/react-surface.d.ts.map +0 -1
  244. package/dist/types/src/capabilities/transcriber.d.ts +0 -8
  245. package/dist/types/src/capabilities/transcriber.d.ts.map +0 -1
  246. package/dist/types/src/components/Transcript/Transcript.d.ts +0 -20
  247. package/dist/types/src/components/Transcript/Transcript.d.ts.map +0 -1
  248. package/dist/types/src/components/Transcript/Transcript.stories.d.ts +0 -24
  249. package/dist/types/src/components/Transcript/Transcript.stories.d.ts.map +0 -1
  250. package/dist/types/src/components/Transcript/deprecated/OldTranscript.d.ts +0 -28
  251. package/dist/types/src/components/Transcript/deprecated/OldTranscript.d.ts.map +0 -1
  252. package/dist/types/src/components/Transcript/index.d.ts +0 -2
  253. package/dist/types/src/components/Transcript/index.d.ts.map +0 -1
  254. package/dist/types/src/components/Transcript/transcript-extension.d.ts +0 -19
  255. package/dist/types/src/components/Transcript/transcript-extension.d.ts.map +0 -1
  256. package/dist/types/src/components/TranscriptContainer.d.ts +0 -9
  257. package/dist/types/src/components/TranscriptContainer.d.ts.map +0 -1
  258. package/dist/types/src/types/schema.d.ts +0 -41
  259. package/dist/types/src/types/schema.d.ts.map +0 -1
  260. package/src/capabilities/capabilities.ts +0 -33
  261. package/src/capabilities/intent-resolver.ts +0 -24
  262. package/src/capabilities/react-surface.tsx +0 -22
  263. package/src/capabilities/transcriber.ts +0 -76
  264. package/src/components/Transcript/Transcript.tsx +0 -100
  265. package/src/components/Transcript/deprecated/OldTranscript.tsx +0 -260
  266. package/src/components/TranscriptContainer.tsx +0 -35
  267. package/src/types/schema.ts +0 -41
  268. /package/dist/lib/browser/{TranscriptContainer-6WCKCXQ6.mjs.map → blueprints/index.mjs.map} +0 -0
  269. /package/dist/lib/{node-esm/TranscriptContainer-VBAOM5DG.mjs.map → browser/chunk-J5LGTIGS.mjs.map} +0 -0
@@ -1,416 +1,534 @@
1
- import { Schema } from 'effect';
2
- declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").obj<Schema.Struct<{
3
- id: import("@dxos/keys").ObjectIdClass;
4
- created: import("effect/Schema").SchemaClass<string, string, never>;
5
- sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
6
- contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
7
- fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
8
- preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
9
- nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
10
- image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
11
- organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
12
- id: string;
13
- name?: string | undefined;
14
- description?: string | undefined;
15
- status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
16
- image?: string | undefined;
17
- website?: string | undefined;
18
- }>, import("@dxos/echo-protocol").EncodedReference, never>>;
19
- jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
20
- department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
21
- notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
22
- emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
23
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
24
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
25
- }>>>>;
26
- identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
27
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
28
- value: typeof import("effect/Schema").String;
29
- }>>>>;
30
- phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
31
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
32
- value: typeof import("effect/Schema").String;
33
- }>>>>;
34
- addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
35
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
36
- value: import("effect/Schema").Struct<{
37
- street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
38
- extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
39
- locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
40
- region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
41
- postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
42
- postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
43
- country: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
44
- }>;
45
- }>>>>;
46
- urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
47
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
48
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
49
- }>>>>;
50
- birthday: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").SchemaClass<string, string, never>>>;
51
- fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
52
- category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
53
- label: typeof import("effect/Schema").String;
54
- value: typeof import("effect/Schema").String;
55
- }>>>>;
56
- }>>>>;
57
- identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
58
- identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
59
- email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
60
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
61
- role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
62
- }>>;
63
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
64
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
65
- objectId: import("@dxos/keys").ObjectIdClass;
66
- version: typeof import("effect/Schema").Unknown;
67
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
68
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
69
- url: typeof import("effect/Schema").String;
70
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
71
- mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
72
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
73
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
74
- id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
75
- source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
76
- type: import("effect/Schema").Literal<["base64"]>;
77
- mediaType: typeof import("effect/Schema").String;
78
- data: typeof import("effect/Schema").String;
79
- }>>, import("effect/Schema").mutable<import("effect/Schema").Struct<{
80
- type: import("effect/Schema").Literal<["http"]>;
81
- url: typeof import("effect/Schema").String;
82
- }>>]>>;
83
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
84
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
85
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
86
- data: typeof import("effect/Schema").String;
87
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
88
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
89
- text: typeof import("effect/Schema").String;
90
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
91
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
92
- reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
93
- redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
94
- signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
95
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
96
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
97
- reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
98
- [x: string]: any;
99
- id: string;
100
- }, never>>;
101
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
102
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
103
- options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
104
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
105
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
106
- statusText: typeof import("effect/Schema").String;
107
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
108
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
109
- text: typeof import("effect/Schema").String;
110
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
111
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
112
- mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
113
- text: typeof import("effect/Schema").String;
114
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
115
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
116
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
117
- toolCallId: typeof import("effect/Schema").String;
118
- name: typeof import("effect/Schema").String;
119
- input: typeof import("effect/Schema").Unknown;
120
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolList", {
121
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
122
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
123
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
124
- toolCallId: typeof import("effect/Schema").String;
125
- name: typeof import("effect/Schema").String;
126
- result: typeof import("effect/Schema").Unknown;
127
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
128
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
129
- started: typeof import("effect/Schema").String;
130
- text: typeof import("effect/Schema").String;
131
- }>>]>>>;
132
- properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
133
- }>>, Schema.Struct<{
1
+ import * as Schema from 'effect/Schema';
2
+ import { Obj } from '@dxos/echo';
3
+ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").Obj<{
4
+ readonly id: string;
5
+ readonly parentMessage?: string | undefined;
6
+ readonly created: string;
7
+ readonly sender: {
8
+ readonly name?: string | undefined;
9
+ readonly role?: "user" | "assistant" | "tool" | undefined;
10
+ readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
11
+ readonly image?: string | undefined;
12
+ readonly fullName?: string | undefined;
13
+ readonly preferredName?: string | undefined;
14
+ readonly nickname?: string | undefined;
15
+ readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
16
+ readonly description?: string | undefined;
17
+ readonly name?: string | undefined;
18
+ readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
19
+ readonly image?: string | undefined;
20
+ readonly website?: string | undefined;
21
+ } & {
22
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
23
+ }> | undefined;
24
+ readonly jobTitle?: string | undefined;
25
+ readonly department?: string | undefined;
26
+ readonly notes?: string | undefined;
27
+ readonly emails?: readonly {
28
+ readonly value: string;
29
+ readonly label?: string | undefined;
30
+ }[] | undefined;
31
+ readonly identities?: readonly {
32
+ readonly value: string;
33
+ readonly label?: string | undefined;
34
+ }[] | undefined;
35
+ readonly phoneNumbers?: readonly {
36
+ readonly value: string;
37
+ readonly label?: string | undefined;
38
+ }[] | undefined;
39
+ readonly fields?: readonly {
40
+ readonly value: string;
41
+ readonly label: string;
42
+ readonly category?: string | undefined;
43
+ }[] | undefined;
44
+ readonly addresses?: readonly {
45
+ readonly value: {
46
+ readonly street?: string | undefined;
47
+ readonly extended?: string | undefined;
48
+ readonly locality?: string | undefined;
49
+ readonly region?: string | undefined;
50
+ readonly postalCode?: string | undefined;
51
+ readonly postOfficeBoxNumber?: string | undefined;
52
+ readonly country?: string | undefined;
53
+ };
54
+ readonly label?: string | undefined;
55
+ }[] | undefined;
56
+ readonly urls?: readonly {
57
+ readonly value: string;
58
+ readonly label?: string | undefined;
59
+ }[] | undefined;
60
+ readonly birthday?: string | undefined;
61
+ } & {
62
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
63
+ }> | undefined;
64
+ readonly identityDid?: string | undefined;
65
+ readonly identityKey?: string | undefined;
66
+ readonly email?: string | undefined;
67
+ };
68
+ readonly blocks: readonly ({
69
+ readonly pending?: boolean | undefined;
70
+ readonly text: string;
71
+ readonly mimeType?: string | undefined;
72
+ readonly disposition?: string | undefined;
73
+ readonly _tag: "text";
74
+ } | {
75
+ readonly pending?: boolean | undefined;
76
+ readonly _tag: "reasoning";
77
+ readonly reasoningText?: string | undefined;
78
+ readonly redactedText?: string | undefined;
79
+ readonly signature?: string | undefined;
80
+ } | {
81
+ readonly name: string;
82
+ readonly pending?: boolean | undefined;
83
+ readonly _tag: "toolCall";
84
+ readonly toolCallId: string;
85
+ readonly input: string;
86
+ readonly providerExecuted: boolean;
87
+ } | {
88
+ readonly name: string;
89
+ readonly pending?: boolean | undefined;
90
+ readonly _tag: "toolResult";
91
+ readonly toolCallId: string;
92
+ readonly providerExecuted: boolean;
93
+ readonly result?: string | undefined;
94
+ readonly error?: string | undefined;
95
+ } | {
96
+ readonly pending?: boolean | undefined;
97
+ readonly mimeType?: string | undefined;
98
+ readonly _tag: "stats";
99
+ readonly message?: string | undefined;
100
+ readonly model?: string | undefined;
101
+ readonly usage?: {
102
+ readonly inputTokens?: number | undefined;
103
+ readonly outputTokens?: number | undefined;
104
+ readonly totalTokens?: number | undefined;
105
+ } | undefined;
106
+ readonly toolCalls?: number | undefined;
107
+ readonly errors?: number | undefined;
108
+ readonly duration?: number | undefined;
109
+ } | {
110
+ readonly source?: {
111
+ readonly type: "base64";
112
+ readonly mediaType: string;
113
+ readonly data: string;
114
+ } | {
115
+ readonly type: "http";
116
+ readonly url: string;
117
+ } | undefined;
118
+ readonly id?: string | undefined;
119
+ readonly pending?: boolean | undefined;
120
+ readonly _tag: "image";
121
+ } | {
122
+ readonly name?: string | undefined;
123
+ readonly pending?: boolean | undefined;
124
+ readonly _tag: "file";
125
+ readonly mediaType?: string | undefined;
126
+ readonly url: string;
127
+ } | {
128
+ readonly pending?: boolean | undefined;
129
+ readonly _tag: "reference";
130
+ readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
131
+ } | {
132
+ readonly pending?: boolean | undefined;
133
+ readonly text: string;
134
+ readonly _tag: "transcript";
135
+ readonly started: string;
136
+ } | {
137
+ readonly pending?: boolean | undefined;
138
+ readonly _tag: "status";
139
+ readonly statusText: string;
140
+ } | {
141
+ readonly pending?: boolean | undefined;
142
+ readonly text: string;
143
+ readonly _tag: "suggestion";
144
+ } | {
145
+ readonly pending?: boolean | undefined;
146
+ readonly _tag: "select";
147
+ readonly options: string[];
148
+ } | {
149
+ readonly version: unknown;
150
+ readonly pending?: boolean | undefined;
151
+ readonly _tag: "anchor";
152
+ readonly objectId: string;
153
+ } | {
154
+ readonly pending?: boolean | undefined;
155
+ readonly text: string;
156
+ readonly _tag: "proposal";
157
+ } | {
158
+ readonly pending?: boolean | undefined;
159
+ readonly _tag: "summary";
160
+ readonly content: string;
161
+ } | {
162
+ readonly pending?: boolean | undefined;
163
+ readonly _tag: "toolkit";
164
+ } | {
165
+ readonly pending?: boolean | undefined;
166
+ readonly disposition?: string | undefined;
167
+ readonly _tag: "json";
168
+ readonly data: string;
169
+ })[];
170
+ readonly properties?: {
171
+ readonly [x: string]: any;
172
+ } | undefined;
173
+ }, Schema.Struct.Fields>, Schema.Struct<{
134
174
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
135
175
  }>>;
136
176
  export interface MessageWithRangeId extends Schema.Schema.Type<typeof MessageWithRangeId> {
137
177
  }
138
178
  export declare const NormalizationInput: Schema.Struct<{
139
- messages: Schema.Array$<Schema.extend<import("@dxos/echo/Type").obj<Schema.Struct<{
140
- id: import("@dxos/keys").ObjectIdClass;
141
- created: import("effect/Schema").SchemaClass<string, string, never>;
142
- sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
143
- contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
144
- fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
145
- preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
146
- nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
147
- image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
148
- organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
149
- id: string;
150
- name?: string | undefined;
151
- description?: string | undefined;
152
- status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
153
- image?: string | undefined;
154
- website?: string | undefined;
155
- }>, import("@dxos/echo-protocol").EncodedReference, never>>;
156
- jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
157
- department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
158
- notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
159
- emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
160
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
161
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
162
- }>>>>;
163
- identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
164
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
165
- value: typeof import("effect/Schema").String;
166
- }>>>>;
167
- phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
168
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
169
- value: typeof import("effect/Schema").String;
170
- }>>>>;
171
- addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
172
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
173
- value: import("effect/Schema").Struct<{
174
- street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
175
- extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
176
- locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
177
- region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
178
- postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
179
- postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
180
- country: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
181
- }>;
182
- }>>>>;
183
- urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
184
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
185
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
186
- }>>>>;
187
- birthday: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").SchemaClass<string, string, never>>>;
188
- fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
189
- category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
190
- label: typeof import("effect/Schema").String;
191
- value: typeof import("effect/Schema").String;
192
- }>>>>;
193
- }>>>>;
194
- identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
195
- identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
196
- email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
197
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
198
- role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
199
- }>>;
200
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
201
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
202
- objectId: import("@dxos/keys").ObjectIdClass;
203
- version: typeof import("effect/Schema").Unknown;
204
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
205
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
206
- url: typeof import("effect/Schema").String;
207
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
208
- mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
209
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
210
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
211
- id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
212
- source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
213
- type: import("effect/Schema").Literal<["base64"]>;
214
- mediaType: typeof import("effect/Schema").String;
215
- data: typeof import("effect/Schema").String;
216
- }>>, import("effect/Schema").mutable<import("effect/Schema").Struct<{
217
- type: import("effect/Schema").Literal<["http"]>;
218
- url: typeof import("effect/Schema").String;
219
- }>>]>>;
220
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
221
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
222
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
223
- data: typeof import("effect/Schema").String;
224
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
225
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
226
- text: typeof import("effect/Schema").String;
227
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
228
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
229
- reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
230
- redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
231
- signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
232
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
233
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
234
- reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
235
- [x: string]: any;
236
- id: string;
237
- }, never>>;
238
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
239
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
240
- options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
241
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
242
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
243
- statusText: typeof import("effect/Schema").String;
244
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
245
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
246
- text: typeof import("effect/Schema").String;
247
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
248
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
249
- mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
250
- text: typeof import("effect/Schema").String;
251
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
252
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
253
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
254
- toolCallId: typeof import("effect/Schema").String;
255
- name: typeof import("effect/Schema").String;
256
- input: typeof import("effect/Schema").Unknown;
257
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolList", {
258
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
259
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
260
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
261
- toolCallId: typeof import("effect/Schema").String;
262
- name: typeof import("effect/Schema").String;
263
- result: typeof import("effect/Schema").Unknown;
264
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
265
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
266
- started: typeof import("effect/Schema").String;
267
- text: typeof import("effect/Schema").String;
268
- }>>]>>>;
269
- properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
270
- }>>, Schema.Struct<{
179
+ messages: Schema.Array$<Schema.extend<import("@dxos/echo/Type").Obj<{
180
+ readonly id: string;
181
+ readonly parentMessage?: string | undefined;
182
+ readonly created: string;
183
+ readonly sender: {
184
+ readonly name?: string | undefined;
185
+ readonly role?: "user" | "assistant" | "tool" | undefined;
186
+ readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
187
+ readonly image?: string | undefined;
188
+ readonly fullName?: string | undefined;
189
+ readonly preferredName?: string | undefined;
190
+ readonly nickname?: string | undefined;
191
+ readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
192
+ readonly description?: string | undefined;
193
+ readonly name?: string | undefined;
194
+ readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
195
+ readonly image?: string | undefined;
196
+ readonly website?: string | undefined;
197
+ } & {
198
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
199
+ }> | undefined;
200
+ readonly jobTitle?: string | undefined;
201
+ readonly department?: string | undefined;
202
+ readonly notes?: string | undefined;
203
+ readonly emails?: readonly {
204
+ readonly value: string;
205
+ readonly label?: string | undefined;
206
+ }[] | undefined;
207
+ readonly identities?: readonly {
208
+ readonly value: string;
209
+ readonly label?: string | undefined;
210
+ }[] | undefined;
211
+ readonly phoneNumbers?: readonly {
212
+ readonly value: string;
213
+ readonly label?: string | undefined;
214
+ }[] | undefined;
215
+ readonly fields?: readonly {
216
+ readonly value: string;
217
+ readonly label: string;
218
+ readonly category?: string | undefined;
219
+ }[] | undefined;
220
+ readonly addresses?: readonly {
221
+ readonly value: {
222
+ readonly street?: string | undefined;
223
+ readonly extended?: string | undefined;
224
+ readonly locality?: string | undefined;
225
+ readonly region?: string | undefined;
226
+ readonly postalCode?: string | undefined;
227
+ readonly postOfficeBoxNumber?: string | undefined;
228
+ readonly country?: string | undefined;
229
+ };
230
+ readonly label?: string | undefined;
231
+ }[] | undefined;
232
+ readonly urls?: readonly {
233
+ readonly value: string;
234
+ readonly label?: string | undefined;
235
+ }[] | undefined;
236
+ readonly birthday?: string | undefined;
237
+ } & {
238
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
239
+ }> | undefined;
240
+ readonly identityDid?: string | undefined;
241
+ readonly identityKey?: string | undefined;
242
+ readonly email?: string | undefined;
243
+ };
244
+ readonly blocks: readonly ({
245
+ readonly pending?: boolean | undefined;
246
+ readonly text: string;
247
+ readonly mimeType?: string | undefined;
248
+ readonly disposition?: string | undefined;
249
+ readonly _tag: "text";
250
+ } | {
251
+ readonly pending?: boolean | undefined;
252
+ readonly _tag: "reasoning";
253
+ readonly reasoningText?: string | undefined;
254
+ readonly redactedText?: string | undefined;
255
+ readonly signature?: string | undefined;
256
+ } | {
257
+ readonly name: string;
258
+ readonly pending?: boolean | undefined;
259
+ readonly _tag: "toolCall";
260
+ readonly toolCallId: string;
261
+ readonly input: string;
262
+ readonly providerExecuted: boolean;
263
+ } | {
264
+ readonly name: string;
265
+ readonly pending?: boolean | undefined;
266
+ readonly _tag: "toolResult";
267
+ readonly toolCallId: string;
268
+ readonly providerExecuted: boolean;
269
+ readonly result?: string | undefined;
270
+ readonly error?: string | undefined;
271
+ } | {
272
+ readonly pending?: boolean | undefined;
273
+ readonly mimeType?: string | undefined;
274
+ readonly _tag: "stats";
275
+ readonly message?: string | undefined;
276
+ readonly model?: string | undefined;
277
+ readonly usage?: {
278
+ readonly inputTokens?: number | undefined;
279
+ readonly outputTokens?: number | undefined;
280
+ readonly totalTokens?: number | undefined;
281
+ } | undefined;
282
+ readonly toolCalls?: number | undefined;
283
+ readonly errors?: number | undefined;
284
+ readonly duration?: number | undefined;
285
+ } | {
286
+ readonly source?: {
287
+ readonly type: "base64";
288
+ readonly mediaType: string;
289
+ readonly data: string;
290
+ } | {
291
+ readonly type: "http";
292
+ readonly url: string;
293
+ } | undefined;
294
+ readonly id?: string | undefined;
295
+ readonly pending?: boolean | undefined;
296
+ readonly _tag: "image";
297
+ } | {
298
+ readonly name?: string | undefined;
299
+ readonly pending?: boolean | undefined;
300
+ readonly _tag: "file";
301
+ readonly mediaType?: string | undefined;
302
+ readonly url: string;
303
+ } | {
304
+ readonly pending?: boolean | undefined;
305
+ readonly _tag: "reference";
306
+ readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
307
+ } | {
308
+ readonly pending?: boolean | undefined;
309
+ readonly text: string;
310
+ readonly _tag: "transcript";
311
+ readonly started: string;
312
+ } | {
313
+ readonly pending?: boolean | undefined;
314
+ readonly _tag: "status";
315
+ readonly statusText: string;
316
+ } | {
317
+ readonly pending?: boolean | undefined;
318
+ readonly text: string;
319
+ readonly _tag: "suggestion";
320
+ } | {
321
+ readonly pending?: boolean | undefined;
322
+ readonly _tag: "select";
323
+ readonly options: string[];
324
+ } | {
325
+ readonly version: unknown;
326
+ readonly pending?: boolean | undefined;
327
+ readonly _tag: "anchor";
328
+ readonly objectId: string;
329
+ } | {
330
+ readonly pending?: boolean | undefined;
331
+ readonly text: string;
332
+ readonly _tag: "proposal";
333
+ } | {
334
+ readonly pending?: boolean | undefined;
335
+ readonly _tag: "summary";
336
+ readonly content: string;
337
+ } | {
338
+ readonly pending?: boolean | undefined;
339
+ readonly _tag: "toolkit";
340
+ } | {
341
+ readonly pending?: boolean | undefined;
342
+ readonly disposition?: string | undefined;
343
+ readonly _tag: "json";
344
+ readonly data: string;
345
+ })[];
346
+ readonly properties?: {
347
+ readonly [x: string]: any;
348
+ } | undefined;
349
+ }, Schema.Struct.Fields>, Schema.Struct<{
271
350
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
272
351
  }>>>;
273
352
  }>;
274
353
  export interface NormalizationInput extends Schema.Schema.Type<typeof NormalizationInput> {
275
354
  }
276
355
  export declare const NormalizationOutput: Schema.Struct<{
277
- sentences: Schema.mutable<Schema.Array$<Schema.mutable<Schema.extend<import("@dxos/echo/Type").obj<Schema.Struct<{
278
- id: import("@dxos/keys").ObjectIdClass;
279
- created: import("effect/Schema").SchemaClass<string, string, never>;
280
- sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
281
- contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
282
- fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
283
- preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
284
- nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
285
- image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
286
- organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
287
- id: string;
288
- name?: string | undefined;
289
- description?: string | undefined;
290
- status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
291
- image?: string | undefined;
292
- website?: string | undefined;
293
- }>, import("@dxos/echo-protocol").EncodedReference, never>>;
294
- jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
295
- department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
296
- notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
297
- emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
298
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
299
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
300
- }>>>>;
301
- identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
302
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
303
- value: typeof import("effect/Schema").String;
304
- }>>>>;
305
- phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
306
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
307
- value: typeof import("effect/Schema").String;
308
- }>>>>;
309
- addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
310
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
311
- value: import("effect/Schema").Struct<{
312
- street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
313
- extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
314
- locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
315
- region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
316
- postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
317
- postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
318
- country: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
319
- }>;
320
- }>>>>;
321
- urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
322
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
323
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
324
- }>>>>;
325
- birthday: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").SchemaClass<string, string, never>>>;
326
- fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
327
- category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
328
- label: typeof import("effect/Schema").String;
329
- value: typeof import("effect/Schema").String;
330
- }>>>>;
331
- }>>>>;
332
- identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
333
- identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
334
- email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
335
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
336
- role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
337
- }>>;
338
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
339
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
340
- objectId: import("@dxos/keys").ObjectIdClass;
341
- version: typeof import("effect/Schema").Unknown;
342
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
343
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
344
- url: typeof import("effect/Schema").String;
345
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
346
- mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
347
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
348
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
349
- id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
350
- source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
351
- type: import("effect/Schema").Literal<["base64"]>;
352
- mediaType: typeof import("effect/Schema").String;
353
- data: typeof import("effect/Schema").String;
354
- }>>, import("effect/Schema").mutable<import("effect/Schema").Struct<{
355
- type: import("effect/Schema").Literal<["http"]>;
356
- url: typeof import("effect/Schema").String;
357
- }>>]>>;
358
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
359
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
360
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
361
- data: typeof import("effect/Schema").String;
362
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
363
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
364
- text: typeof import("effect/Schema").String;
365
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
366
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
367
- reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
368
- redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
369
- signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
370
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
371
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
372
- reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
373
- [x: string]: any;
374
- id: string;
375
- }, never>>;
376
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
377
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
378
- options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
379
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
380
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
381
- statusText: typeof import("effect/Schema").String;
382
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
383
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
384
- text: typeof import("effect/Schema").String;
385
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
386
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
387
- mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
388
- text: typeof import("effect/Schema").String;
389
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
390
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
391
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
392
- toolCallId: typeof import("effect/Schema").String;
393
- name: typeof import("effect/Schema").String;
394
- input: typeof import("effect/Schema").Unknown;
395
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolList", {
396
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
397
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
398
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
399
- toolCallId: typeof import("effect/Schema").String;
400
- name: typeof import("effect/Schema").String;
401
- result: typeof import("effect/Schema").Unknown;
402
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
403
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
404
- started: typeof import("effect/Schema").String;
405
- text: typeof import("effect/Schema").String;
406
- }>>]>>>;
407
- properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
408
- }>>, Schema.Struct<{
356
+ sentences: Schema.mutable<Schema.Array$<Schema.mutable<Schema.extend<import("@dxos/echo/Type").Obj<{
357
+ readonly id: string;
358
+ readonly parentMessage?: string | undefined;
359
+ readonly created: string;
360
+ readonly sender: {
361
+ readonly name?: string | undefined;
362
+ readonly role?: "user" | "assistant" | "tool" | undefined;
363
+ readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
364
+ readonly image?: string | undefined;
365
+ readonly fullName?: string | undefined;
366
+ readonly preferredName?: string | undefined;
367
+ readonly nickname?: string | undefined;
368
+ readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
369
+ readonly description?: string | undefined;
370
+ readonly name?: string | undefined;
371
+ readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
372
+ readonly image?: string | undefined;
373
+ readonly website?: string | undefined;
374
+ } & {
375
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
376
+ }> | undefined;
377
+ readonly jobTitle?: string | undefined;
378
+ readonly department?: string | undefined;
379
+ readonly notes?: string | undefined;
380
+ readonly emails?: readonly {
381
+ readonly value: string;
382
+ readonly label?: string | undefined;
383
+ }[] | undefined;
384
+ readonly identities?: readonly {
385
+ readonly value: string;
386
+ readonly label?: string | undefined;
387
+ }[] | undefined;
388
+ readonly phoneNumbers?: readonly {
389
+ readonly value: string;
390
+ readonly label?: string | undefined;
391
+ }[] | undefined;
392
+ readonly fields?: readonly {
393
+ readonly value: string;
394
+ readonly label: string;
395
+ readonly category?: string | undefined;
396
+ }[] | undefined;
397
+ readonly addresses?: readonly {
398
+ readonly value: {
399
+ readonly street?: string | undefined;
400
+ readonly extended?: string | undefined;
401
+ readonly locality?: string | undefined;
402
+ readonly region?: string | undefined;
403
+ readonly postalCode?: string | undefined;
404
+ readonly postOfficeBoxNumber?: string | undefined;
405
+ readonly country?: string | undefined;
406
+ };
407
+ readonly label?: string | undefined;
408
+ }[] | undefined;
409
+ readonly urls?: readonly {
410
+ readonly value: string;
411
+ readonly label?: string | undefined;
412
+ }[] | undefined;
413
+ readonly birthday?: string | undefined;
414
+ } & {
415
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
416
+ }> | undefined;
417
+ readonly identityDid?: string | undefined;
418
+ readonly identityKey?: string | undefined;
419
+ readonly email?: string | undefined;
420
+ };
421
+ readonly blocks: readonly ({
422
+ readonly pending?: boolean | undefined;
423
+ readonly text: string;
424
+ readonly mimeType?: string | undefined;
425
+ readonly disposition?: string | undefined;
426
+ readonly _tag: "text";
427
+ } | {
428
+ readonly pending?: boolean | undefined;
429
+ readonly _tag: "reasoning";
430
+ readonly reasoningText?: string | undefined;
431
+ readonly redactedText?: string | undefined;
432
+ readonly signature?: string | undefined;
433
+ } | {
434
+ readonly name: string;
435
+ readonly pending?: boolean | undefined;
436
+ readonly _tag: "toolCall";
437
+ readonly toolCallId: string;
438
+ readonly input: string;
439
+ readonly providerExecuted: boolean;
440
+ } | {
441
+ readonly name: string;
442
+ readonly pending?: boolean | undefined;
443
+ readonly _tag: "toolResult";
444
+ readonly toolCallId: string;
445
+ readonly providerExecuted: boolean;
446
+ readonly result?: string | undefined;
447
+ readonly error?: string | undefined;
448
+ } | {
449
+ readonly pending?: boolean | undefined;
450
+ readonly mimeType?: string | undefined;
451
+ readonly _tag: "stats";
452
+ readonly message?: string | undefined;
453
+ readonly model?: string | undefined;
454
+ readonly usage?: {
455
+ readonly inputTokens?: number | undefined;
456
+ readonly outputTokens?: number | undefined;
457
+ readonly totalTokens?: number | undefined;
458
+ } | undefined;
459
+ readonly toolCalls?: number | undefined;
460
+ readonly errors?: number | undefined;
461
+ readonly duration?: number | undefined;
462
+ } | {
463
+ readonly source?: {
464
+ readonly type: "base64";
465
+ readonly mediaType: string;
466
+ readonly data: string;
467
+ } | {
468
+ readonly type: "http";
469
+ readonly url: string;
470
+ } | undefined;
471
+ readonly id?: string | undefined;
472
+ readonly pending?: boolean | undefined;
473
+ readonly _tag: "image";
474
+ } | {
475
+ readonly name?: string | undefined;
476
+ readonly pending?: boolean | undefined;
477
+ readonly _tag: "file";
478
+ readonly mediaType?: string | undefined;
479
+ readonly url: string;
480
+ } | {
481
+ readonly pending?: boolean | undefined;
482
+ readonly _tag: "reference";
483
+ readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
484
+ } | {
485
+ readonly pending?: boolean | undefined;
486
+ readonly text: string;
487
+ readonly _tag: "transcript";
488
+ readonly started: string;
489
+ } | {
490
+ readonly pending?: boolean | undefined;
491
+ readonly _tag: "status";
492
+ readonly statusText: string;
493
+ } | {
494
+ readonly pending?: boolean | undefined;
495
+ readonly text: string;
496
+ readonly _tag: "suggestion";
497
+ } | {
498
+ readonly pending?: boolean | undefined;
499
+ readonly _tag: "select";
500
+ readonly options: string[];
501
+ } | {
502
+ readonly version: unknown;
503
+ readonly pending?: boolean | undefined;
504
+ readonly _tag: "anchor";
505
+ readonly objectId: string;
506
+ } | {
507
+ readonly pending?: boolean | undefined;
508
+ readonly text: string;
509
+ readonly _tag: "proposal";
510
+ } | {
511
+ readonly pending?: boolean | undefined;
512
+ readonly _tag: "summary";
513
+ readonly content: string;
514
+ } | {
515
+ readonly pending?: boolean | undefined;
516
+ readonly _tag: "toolkit";
517
+ } | {
518
+ readonly pending?: boolean | undefined;
519
+ readonly disposition?: string | undefined;
520
+ readonly _tag: "json";
521
+ readonly data: string;
522
+ })[];
523
+ readonly properties?: {
524
+ readonly [x: string]: any;
525
+ } | undefined;
526
+ }, Schema.Struct.Fields>, Schema.Struct<{
409
527
  rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
410
528
  }>>>>>;
411
529
  }>;
412
530
  export interface NormalizationOutput extends Schema.Schema.Type<typeof NormalizationOutput> {
413
531
  }
414
- export declare const sentenceNormalization: import("@dxos/functions").FunctionDefinition<NormalizationInput, NormalizationOutput>;
532
+ export declare const sentenceNormalization: import("@dxos/functions").FunctionDefinition<NormalizationInput, NormalizationOutput, import("@dxos/functions").FunctionServices>;
415
533
  export {};
416
534
  //# sourceMappingURL=normalization.d.ts.map