@dxos/assistant 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 (180) hide show
  1. package/README.md +1 -0
  2. package/dist/lib/neutral/chunk-BE6SRJ4N.mjs +193 -0
  3. package/dist/lib/neutral/chunk-BE6SRJ4N.mjs.map +7 -0
  4. package/dist/lib/neutral/extraction/index.mjs +223 -0
  5. package/dist/lib/neutral/extraction/index.mjs.map +7 -0
  6. package/dist/lib/neutral/index.mjs +1328 -0
  7. package/dist/lib/neutral/index.mjs.map +7 -0
  8. package/dist/lib/neutral/meta.json +1 -0
  9. package/dist/lib/neutral/testing/index.mjs +38 -0
  10. package/dist/lib/neutral/testing/index.mjs.map +7 -0
  11. package/dist/types/src/conversation/context.d.ts +146 -0
  12. package/dist/types/src/conversation/context.d.ts.map +1 -0
  13. package/dist/types/src/conversation/context.test.d.ts +2 -0
  14. package/dist/types/src/conversation/context.test.d.ts.map +1 -0
  15. package/dist/types/src/conversation/conversation.d.ts +53 -25
  16. package/dist/types/src/conversation/conversation.d.ts.map +1 -1
  17. package/dist/types/src/conversation/conversation.test.d.ts +2 -0
  18. package/dist/types/src/conversation/conversation.test.d.ts.map +1 -0
  19. package/dist/types/src/conversation/index.d.ts +1 -0
  20. package/dist/types/src/conversation/index.d.ts.map +1 -1
  21. package/dist/types/src/diff.d.ts +17 -0
  22. package/dist/types/src/diff.d.ts.map +1 -0
  23. package/dist/types/src/diff.test.d.ts +2 -0
  24. package/dist/types/src/diff.test.d.ts.map +1 -0
  25. package/dist/types/src/errors.d.ts +47 -18
  26. package/dist/types/src/errors.d.ts.map +1 -1
  27. package/dist/types/src/execution-graph.d.ts +85 -0
  28. package/dist/types/src/execution-graph.d.ts.map +1 -0
  29. package/dist/types/src/execution-graph.test.d.ts +2 -0
  30. package/dist/types/src/execution-graph.test.d.ts.map +1 -0
  31. package/dist/types/src/extraction/extraction-llm-function/extraction-llm-function.d.ts +1 -1
  32. package/dist/types/src/extraction/extraction-llm-function/extraction-llm-function.d.ts.map +1 -1
  33. package/dist/types/src/extraction/extraction-ner-function/extraction-ner-function.d.ts +290 -237
  34. package/dist/types/src/extraction/extraction-ner-function/extraction-ner-function.d.ts.map +1 -1
  35. package/dist/types/src/extraction/extraction-ner-function/named-entity-recognition.d.ts.map +1 -1
  36. package/dist/types/src/extraction/extraction.d.ts +349 -270
  37. package/dist/types/src/extraction/extraction.d.ts.map +1 -1
  38. package/dist/types/src/extraction/quotes.d.ts +3 -3
  39. package/dist/types/src/extraction/quotes.d.ts.map +1 -1
  40. package/dist/types/src/functions/services.d.ts +17 -4
  41. package/dist/types/src/functions/services.d.ts.map +1 -1
  42. package/dist/types/src/functions.test.d.ts +2 -0
  43. package/dist/types/src/functions.test.d.ts.map +1 -0
  44. package/dist/types/src/index.d.ts +3 -3
  45. package/dist/types/src/index.d.ts.map +1 -1
  46. package/dist/types/src/session/artifact-diff.d.ts +27 -0
  47. package/dist/types/src/session/artifact-diff.d.ts.map +1 -0
  48. package/dist/types/src/session/error-handling.d.ts +4 -0
  49. package/dist/types/src/session/error-handling.d.ts.map +1 -0
  50. package/dist/types/src/session/format.d.ts +12 -0
  51. package/dist/types/src/session/format.d.ts.map +1 -0
  52. package/dist/types/src/session/format.test.d.ts +2 -0
  53. package/dist/types/src/session/format.test.d.ts.map +1 -0
  54. package/dist/types/src/session/index.d.ts +4 -0
  55. package/dist/types/src/session/index.d.ts.map +1 -1
  56. package/dist/types/src/session/observer.d.ts +23 -0
  57. package/dist/types/src/session/observer.d.ts.map +1 -0
  58. package/dist/types/src/session/session.d.ts +41 -240
  59. package/dist/types/src/session/session.d.ts.map +1 -1
  60. package/dist/types/src/session/toolkit.d.ts +18 -0
  61. package/dist/types/src/session/toolkit.d.ts.map +1 -0
  62. package/dist/types/src/session/version-pin.d.ts +4 -4
  63. package/dist/types/src/session/version-pin.d.ts.map +1 -1
  64. package/dist/types/src/templates/index.d.ts +1 -1
  65. package/dist/types/src/templates/system.d.ts +18 -0
  66. package/dist/types/src/templates/system.d.ts.map +1 -0
  67. package/dist/types/src/testing/index.d.ts +1 -2
  68. package/dist/types/src/testing/index.d.ts.map +1 -1
  69. package/dist/types/src/testing/layer.d.ts +22 -0
  70. package/dist/types/src/testing/layer.d.ts.map +1 -0
  71. package/dist/types/src/types/artifact.d.ts +28 -0
  72. package/dist/types/src/types/artifact.d.ts.map +1 -0
  73. package/dist/types/src/types/index.d.ts +2 -0
  74. package/dist/types/src/types/index.d.ts.map +1 -0
  75. package/dist/types/tsconfig.tsbuildinfo +1 -1
  76. package/package.json +57 -35
  77. package/src/conversation/context.test.ts +46 -0
  78. package/src/conversation/context.ts +330 -0
  79. package/src/conversation/conversation.test.ts +65 -0
  80. package/src/conversation/conversation.ts +214 -63
  81. package/src/conversation/index.ts +1 -0
  82. package/src/diff.test.ts +74 -0
  83. package/src/diff.ts +93 -0
  84. package/src/errors.ts +6 -1
  85. package/src/execution-graph.test.ts +740 -0
  86. package/src/execution-graph.ts +509 -0
  87. package/src/extraction/extraction-llm-function/extraction-llm-function.test.ts +10 -9
  88. package/src/extraction/extraction-llm-function/extraction-llm-function.ts +48 -56
  89. package/src/extraction/extraction-ner-function/extraction-ner-function.test.ts +23 -22
  90. package/src/extraction/extraction-ner-function/extraction-ner-function.ts +42 -43
  91. package/src/extraction/extraction-ner-function/named-entity-recognition.test.ts +12 -6
  92. package/src/extraction/extraction-ner-function/named-entity-recognition.ts +2 -0
  93. package/src/extraction/extraction.ts +10 -9
  94. package/src/extraction/quotes.test.ts +3 -3
  95. package/src/extraction/quotes.ts +6 -7
  96. package/src/functions/services.ts +165 -95
  97. package/src/functions.conversations.json +1 -0
  98. package/src/functions.test.ts +74 -0
  99. package/src/index.ts +3 -3
  100. package/src/session/artifact-diff.ts +41 -0
  101. package/src/session/error-handling.ts +41 -0
  102. package/src/session/format.test.ts +124 -0
  103. package/src/session/format.ts +143 -0
  104. package/src/session/index.ts +4 -0
  105. package/src/session/observer.ts +62 -0
  106. package/src/session/session.conversations.json +1 -0
  107. package/src/session/session.test.ts +81 -200
  108. package/src/session/session.ts +176 -261
  109. package/src/session/toolkit.ts +44 -0
  110. package/src/session/version-pin.ts +8 -8
  111. package/src/templates/index.ts +1 -1
  112. package/src/templates/instructions/format.tpl +57 -0
  113. package/src/templates/instructions/system.tpl +48 -0
  114. package/src/templates/system.ts +41 -0
  115. package/src/testing/index.ts +2 -8
  116. package/src/testing/layer.ts +85 -0
  117. package/src/types/artifact.ts +89 -0
  118. package/src/types/index.ts +5 -0
  119. package/src/typings.d.ts +5 -0
  120. package/dist/lib/browser/index.mjs +0 -1831
  121. package/dist/lib/browser/index.mjs.map +0 -7
  122. package/dist/lib/browser/meta.json +0 -1
  123. package/dist/lib/node-esm/index.mjs +0 -1833
  124. package/dist/lib/node-esm/index.mjs.map +0 -7
  125. package/dist/lib/node-esm/meta.json +0 -1
  126. package/dist/types/bin/chat.d.ts +0 -2
  127. package/dist/types/bin/chat.d.ts.map +0 -1
  128. package/dist/types/src/context/binder.d.ts +0 -34
  129. package/dist/types/src/context/binder.d.ts.map +0 -1
  130. package/dist/types/src/context/binding.d.ts +0 -56
  131. package/dist/types/src/context/binding.d.ts.map +0 -1
  132. package/dist/types/src/context/index.d.ts +0 -3
  133. package/dist/types/src/context/index.d.ts.map +0 -1
  134. package/dist/types/src/research/exa.d.ts +0 -12
  135. package/dist/types/src/research/exa.d.ts.map +0 -1
  136. package/dist/types/src/research/graph.d.ts +0 -51
  137. package/dist/types/src/research/graph.d.ts.map +0 -1
  138. package/dist/types/src/research/graph.test.d.ts +0 -2
  139. package/dist/types/src/research/graph.test.d.ts.map +0 -1
  140. package/dist/types/src/research/index.d.ts +0 -4
  141. package/dist/types/src/research/index.d.ts.map +0 -1
  142. package/dist/types/src/research/research.d.ts +0 -10
  143. package/dist/types/src/research/research.d.ts.map +0 -1
  144. package/dist/types/src/research/research.test.d.ts +0 -2
  145. package/dist/types/src/research/research.test.d.ts.map +0 -1
  146. package/dist/types/src/session/version-pin.test.d.ts +0 -2
  147. package/dist/types/src/session/version-pin.test.d.ts.map +0 -1
  148. package/dist/types/src/summarization/summarization.test.d.ts +0 -2
  149. package/dist/types/src/summarization/summarization.test.d.ts.map +0 -1
  150. package/dist/types/src/templates/prompt.d.ts +0 -30
  151. package/dist/types/src/templates/prompt.d.ts.map +0 -1
  152. package/dist/types/src/testing/exa-search-1748337321991.d.ts +0 -38
  153. package/dist/types/src/testing/exa-search-1748337321991.d.ts.map +0 -1
  154. package/dist/types/src/testing/exa-search-1748337331526.d.ts +0 -37
  155. package/dist/types/src/testing/exa-search-1748337331526.d.ts.map +0 -1
  156. package/dist/types/src/testing/exa-search-1748337344119.d.ts +0 -58
  157. package/dist/types/src/testing/exa-search-1748337344119.d.ts.map +0 -1
  158. package/dist/types/src/types.d.ts +0 -13
  159. package/dist/types/src/types.d.ts.map +0 -1
  160. package/src/context/binder.ts +0 -103
  161. package/src/context/binding.ts +0 -32
  162. package/src/context/index.ts +0 -6
  163. package/src/research/exa.ts +0 -97
  164. package/src/research/graph.test.ts +0 -64
  165. package/src/research/graph.ts +0 -369
  166. package/src/research/index.ts +0 -7
  167. package/src/research/instructions-research.tpl +0 -98
  168. package/src/research/research.test.ts +0 -190
  169. package/src/research/research.ts +0 -87
  170. package/src/session/__snapshots__/session.test.ts.snap +0 -32
  171. package/src/session/version-pin.test.ts +0 -7
  172. package/src/summarization/summarization.test.ts +0 -208
  173. package/src/templates/assistant.tpl +0 -111
  174. package/src/templates/prompt.ts +0 -45
  175. package/src/testing/exa-search-1748337321991.ts +0 -131
  176. package/src/testing/exa-search-1748337331526.ts +0 -144
  177. package/src/testing/exa-search-1748337344119.ts +0 -133
  178. package/src/typedefs.d.ts +0 -8
  179. package/src/types.ts +0 -47
  180. /package/src/extraction/extraction-llm-function/{instructions.tpl → transcription-instructions.tpl} +0 -0
@@ -1,140 +1,180 @@
1
- import { Schema } from 'effect';
2
- import { Expando } from '@dxos/echo-schema';
3
- import { type FunctionDefinition, type FunctionExecutor } from '@dxos/functions';
1
+ import * as Schema from 'effect/Schema';
2
+ import { Obj } from '@dxos/echo';
3
+ import { type FunctionDefinition } from '@dxos/functions';
4
+ import { type FunctionExecutor } from '@dxos/functions-runtime';
4
5
  export declare const ExtractionInput: Schema.Struct<{
5
- message: import("@dxos/echo/Type").obj<Schema.Struct<{
6
- id: import("@dxos/keys").ObjectIdClass;
7
- created: import("effect/Schema").SchemaClass<string, string, never>;
8
- sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
9
- contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
10
- fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
11
- preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
12
- nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
13
- image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
14
- 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> & {
15
- id: string;
16
- name?: string | undefined;
17
- description?: string | undefined;
18
- status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
19
- image?: string | undefined;
20
- website?: string | undefined;
21
- }>, import("@dxos/echo-protocol").EncodedReference, never>>;
22
- jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
23
- department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
24
- notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
25
- emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
26
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
27
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
28
- }>>>>;
29
- identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
30
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
31
- value: typeof import("effect/Schema").String;
32
- }>>>>;
33
- phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
34
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
35
- value: typeof import("effect/Schema").String;
36
- }>>>>;
37
- addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
38
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
39
- value: import("effect/Schema").Struct<{
40
- street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
41
- extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
42
- locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
43
- region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
44
- postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
45
- postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
46
- country: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
47
- }>;
48
- }>>>>;
49
- urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
50
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
51
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
52
- }>>>>;
53
- birthday: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").SchemaClass<string, string, never>>>;
54
- fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
55
- category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
56
- label: typeof import("effect/Schema").String;
57
- value: typeof import("effect/Schema").String;
58
- }>>>>;
59
- }>>>>;
60
- identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
61
- identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
62
- email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
63
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
64
- role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
65
- }>>;
66
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
67
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
68
- objectId: import("@dxos/keys").ObjectIdClass;
69
- version: typeof import("effect/Schema").Unknown;
70
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
71
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
72
- url: typeof import("effect/Schema").String;
73
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
74
- mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
75
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
76
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
77
- id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
78
- source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
79
- type: import("effect/Schema").Literal<["base64"]>;
80
- mediaType: typeof import("effect/Schema").String;
81
- data: typeof import("effect/Schema").String;
82
- }>>, import("effect/Schema").mutable<import("effect/Schema").Struct<{
83
- type: import("effect/Schema").Literal<["http"]>;
84
- url: typeof import("effect/Schema").String;
85
- }>>]>>;
86
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
87
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
88
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
89
- data: typeof import("effect/Schema").String;
90
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
91
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
92
- text: typeof import("effect/Schema").String;
93
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
94
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
95
- reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
96
- redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
97
- signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
98
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
99
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
100
- reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
101
- [x: string]: any;
102
- id: string;
103
- }, never>>;
104
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
105
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
106
- options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
107
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
108
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
109
- statusText: typeof import("effect/Schema").String;
110
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
111
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
112
- text: typeof import("effect/Schema").String;
113
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
114
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
115
- mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
116
- text: typeof import("effect/Schema").String;
117
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
118
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
119
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
120
- toolCallId: typeof import("effect/Schema").String;
121
- name: typeof import("effect/Schema").String;
122
- input: typeof import("effect/Schema").Unknown;
123
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolList", {
124
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
125
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
126
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
127
- toolCallId: typeof import("effect/Schema").String;
128
- name: typeof import("effect/Schema").String;
129
- result: typeof import("effect/Schema").Unknown;
130
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
131
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
132
- started: typeof import("effect/Schema").String;
133
- text: typeof import("effect/Schema").String;
134
- }>>]>>>;
135
- properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
136
- }>>;
137
- objects: Schema.optional<Schema.Array$<Schema.Schema<Expando, Expando, never>>>;
6
+ message: import("@dxos/echo/Type").Obj<{
7
+ readonly id: string;
8
+ readonly parentMessage?: string | undefined;
9
+ readonly created: string;
10
+ readonly sender: {
11
+ readonly name?: string | undefined;
12
+ readonly role?: "user" | "assistant" | "tool" | undefined;
13
+ readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
14
+ readonly image?: string | undefined;
15
+ readonly fullName?: string | undefined;
16
+ readonly preferredName?: string | undefined;
17
+ readonly nickname?: string | undefined;
18
+ readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
19
+ readonly description?: string | undefined;
20
+ readonly name?: string | undefined;
21
+ readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
22
+ readonly image?: string | undefined;
23
+ readonly website?: string | undefined;
24
+ } & {
25
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
26
+ }> | undefined;
27
+ readonly jobTitle?: string | undefined;
28
+ readonly department?: string | undefined;
29
+ readonly notes?: string | undefined;
30
+ readonly emails?: readonly {
31
+ readonly value: string;
32
+ readonly label?: string | undefined;
33
+ }[] | undefined;
34
+ readonly identities?: readonly {
35
+ readonly value: string;
36
+ readonly label?: string | undefined;
37
+ }[] | undefined;
38
+ readonly phoneNumbers?: readonly {
39
+ readonly value: string;
40
+ readonly label?: string | undefined;
41
+ }[] | undefined;
42
+ readonly fields?: readonly {
43
+ readonly value: string;
44
+ readonly label: string;
45
+ readonly category?: string | undefined;
46
+ }[] | undefined;
47
+ readonly addresses?: readonly {
48
+ readonly value: {
49
+ readonly street?: string | undefined;
50
+ readonly extended?: string | undefined;
51
+ readonly locality?: string | undefined;
52
+ readonly region?: string | undefined;
53
+ readonly postalCode?: string | undefined;
54
+ readonly postOfficeBoxNumber?: string | undefined;
55
+ readonly country?: string | undefined;
56
+ };
57
+ readonly label?: string | undefined;
58
+ }[] | undefined;
59
+ readonly urls?: readonly {
60
+ readonly value: string;
61
+ readonly label?: string | undefined;
62
+ }[] | undefined;
63
+ readonly birthday?: string | undefined;
64
+ } & {
65
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
66
+ }> | undefined;
67
+ readonly identityDid?: string | undefined;
68
+ readonly identityKey?: string | undefined;
69
+ readonly email?: string | undefined;
70
+ };
71
+ readonly blocks: readonly ({
72
+ readonly pending?: boolean | undefined;
73
+ readonly text: string;
74
+ readonly mimeType?: string | undefined;
75
+ readonly disposition?: string | undefined;
76
+ readonly _tag: "text";
77
+ } | {
78
+ readonly pending?: boolean | undefined;
79
+ readonly _tag: "reasoning";
80
+ readonly reasoningText?: string | undefined;
81
+ readonly redactedText?: string | undefined;
82
+ readonly signature?: string | undefined;
83
+ } | {
84
+ readonly name: string;
85
+ readonly pending?: boolean | undefined;
86
+ readonly _tag: "toolCall";
87
+ readonly toolCallId: string;
88
+ readonly input: string;
89
+ readonly providerExecuted: boolean;
90
+ } | {
91
+ readonly name: string;
92
+ readonly pending?: boolean | undefined;
93
+ readonly _tag: "toolResult";
94
+ readonly toolCallId: string;
95
+ readonly providerExecuted: boolean;
96
+ readonly result?: string | undefined;
97
+ readonly error?: string | undefined;
98
+ } | {
99
+ readonly pending?: boolean | undefined;
100
+ readonly mimeType?: string | undefined;
101
+ readonly _tag: "stats";
102
+ readonly message?: string | undefined;
103
+ readonly model?: string | undefined;
104
+ readonly usage?: {
105
+ readonly inputTokens?: number | undefined;
106
+ readonly outputTokens?: number | undefined;
107
+ readonly totalTokens?: number | undefined;
108
+ } | undefined;
109
+ readonly toolCalls?: number | undefined;
110
+ readonly errors?: number | undefined;
111
+ readonly duration?: number | undefined;
112
+ } | {
113
+ readonly source?: {
114
+ readonly type: "base64";
115
+ readonly mediaType: string;
116
+ readonly data: string;
117
+ } | {
118
+ readonly type: "http";
119
+ readonly url: string;
120
+ } | undefined;
121
+ readonly id?: string | undefined;
122
+ readonly pending?: boolean | undefined;
123
+ readonly _tag: "image";
124
+ } | {
125
+ readonly name?: string | undefined;
126
+ readonly pending?: boolean | undefined;
127
+ readonly _tag: "file";
128
+ readonly mediaType?: string | undefined;
129
+ readonly url: string;
130
+ } | {
131
+ readonly pending?: boolean | undefined;
132
+ readonly _tag: "reference";
133
+ readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
134
+ } | {
135
+ readonly pending?: boolean | undefined;
136
+ readonly text: string;
137
+ readonly _tag: "transcript";
138
+ readonly started: string;
139
+ } | {
140
+ readonly pending?: boolean | undefined;
141
+ readonly _tag: "status";
142
+ readonly statusText: string;
143
+ } | {
144
+ readonly pending?: boolean | undefined;
145
+ readonly text: string;
146
+ readonly _tag: "suggestion";
147
+ } | {
148
+ readonly pending?: boolean | undefined;
149
+ readonly _tag: "select";
150
+ readonly options: string[];
151
+ } | {
152
+ readonly version: unknown;
153
+ readonly pending?: boolean | undefined;
154
+ readonly _tag: "anchor";
155
+ readonly objectId: string;
156
+ } | {
157
+ readonly pending?: boolean | undefined;
158
+ readonly text: string;
159
+ readonly _tag: "proposal";
160
+ } | {
161
+ readonly pending?: boolean | undefined;
162
+ readonly _tag: "summary";
163
+ readonly content: string;
164
+ } | {
165
+ readonly pending?: boolean | undefined;
166
+ readonly _tag: "toolkit";
167
+ } | {
168
+ readonly pending?: boolean | undefined;
169
+ readonly disposition?: string | undefined;
170
+ readonly _tag: "json";
171
+ readonly data: string;
172
+ })[];
173
+ readonly properties?: {
174
+ readonly [x: string]: any;
175
+ } | undefined;
176
+ }, Schema.Struct.Fields>;
177
+ objects: Schema.optional<Schema.Array$<import("@dxos/echo/Type").Obj<Obj.Unknown, Schema.Struct.Fields>>>;
138
178
  options: Schema.optional<Schema.Struct<{
139
179
  timeout: Schema.optional<typeof Schema.Number>;
140
180
  fallbackToRaw: Schema.optional<typeof Schema.Boolean>;
@@ -143,143 +183,182 @@ export declare const ExtractionInput: Schema.Struct<{
143
183
  export interface ExtractionInput extends Schema.Schema.Type<typeof ExtractionInput> {
144
184
  }
145
185
  export declare const ExtractionOutput: Schema.Struct<{
146
- message: import("@dxos/echo/Type").obj<Schema.Struct<{
147
- id: import("@dxos/keys").ObjectIdClass;
148
- created: import("effect/Schema").SchemaClass<string, string, never>;
149
- sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
150
- contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
151
- fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
152
- preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
153
- nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
154
- image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
155
- 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> & {
156
- id: string;
157
- name?: string | undefined;
158
- description?: string | undefined;
159
- status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
160
- image?: string | undefined;
161
- website?: string | undefined;
162
- }>, import("@dxos/echo-protocol").EncodedReference, never>>;
163
- jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
164
- department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
165
- notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
166
- emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
167
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
168
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
169
- }>>>>;
170
- identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
171
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
172
- value: typeof import("effect/Schema").String;
173
- }>>>>;
174
- phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
175
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
176
- value: typeof import("effect/Schema").String;
177
- }>>>>;
178
- addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
179
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
180
- value: import("effect/Schema").Struct<{
181
- street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
182
- extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
183
- locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
184
- region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
185
- postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
186
- postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
187
- country: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
188
- }>;
189
- }>>>>;
190
- urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
191
- label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
192
- value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
193
- }>>>>;
194
- birthday: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").SchemaClass<string, string, never>>>;
195
- fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
196
- category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
197
- label: typeof import("effect/Schema").String;
198
- value: typeof import("effect/Schema").String;
199
- }>>>>;
200
- }>>>>;
201
- identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
202
- identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
203
- email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
204
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
205
- role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
206
- }>>;
207
- blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
208
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
209
- objectId: import("@dxos/keys").ObjectIdClass;
210
- version: typeof import("effect/Schema").Unknown;
211
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
212
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
213
- url: typeof import("effect/Schema").String;
214
- name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
215
- mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
216
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
217
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
218
- id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
219
- source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
220
- type: import("effect/Schema").Literal<["base64"]>;
221
- mediaType: typeof import("effect/Schema").String;
222
- data: typeof import("effect/Schema").String;
223
- }>>, import("effect/Schema").mutable<import("effect/Schema").Struct<{
224
- type: import("effect/Schema").Literal<["http"]>;
225
- url: typeof import("effect/Schema").String;
226
- }>>]>>;
227
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
228
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
229
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
230
- data: typeof import("effect/Schema").String;
231
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
232
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
233
- text: typeof import("effect/Schema").String;
234
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
235
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
236
- reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
237
- redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
238
- signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
239
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
240
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
241
- reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
242
- [x: string]: any;
243
- id: string;
244
- }, never>>;
245
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
246
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
247
- options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
248
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
249
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
250
- statusText: typeof import("effect/Schema").String;
251
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
252
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
253
- text: typeof import("effect/Schema").String;
254
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
255
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
256
- mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
257
- text: typeof import("effect/Schema").String;
258
- disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
259
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
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
- input: typeof import("effect/Schema").Unknown;
264
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolList", {
265
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
266
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
267
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
268
- toolCallId: typeof import("effect/Schema").String;
269
- name: typeof import("effect/Schema").String;
270
- result: typeof import("effect/Schema").Unknown;
271
- }>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
272
- pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
273
- started: typeof import("effect/Schema").String;
274
- text: typeof import("effect/Schema").String;
275
- }>>]>>>;
276
- properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
277
- }>>;
186
+ message: import("@dxos/echo/Type").Obj<{
187
+ readonly id: string;
188
+ readonly parentMessage?: string | undefined;
189
+ readonly created: string;
190
+ readonly sender: {
191
+ readonly name?: string | undefined;
192
+ readonly role?: "user" | "assistant" | "tool" | undefined;
193
+ readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
194
+ readonly image?: string | undefined;
195
+ readonly fullName?: string | undefined;
196
+ readonly preferredName?: string | undefined;
197
+ readonly nickname?: string | undefined;
198
+ readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
199
+ readonly description?: string | undefined;
200
+ readonly name?: string | undefined;
201
+ readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
202
+ readonly image?: string | undefined;
203
+ readonly website?: string | undefined;
204
+ } & {
205
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
206
+ }> | undefined;
207
+ readonly jobTitle?: string | undefined;
208
+ readonly department?: string | undefined;
209
+ readonly notes?: string | undefined;
210
+ readonly emails?: readonly {
211
+ readonly value: string;
212
+ readonly label?: string | undefined;
213
+ }[] | undefined;
214
+ readonly identities?: readonly {
215
+ readonly value: string;
216
+ readonly label?: string | undefined;
217
+ }[] | undefined;
218
+ readonly phoneNumbers?: readonly {
219
+ readonly value: string;
220
+ readonly label?: string | undefined;
221
+ }[] | undefined;
222
+ readonly fields?: readonly {
223
+ readonly value: string;
224
+ readonly label: string;
225
+ readonly category?: string | undefined;
226
+ }[] | undefined;
227
+ readonly addresses?: readonly {
228
+ readonly value: {
229
+ readonly street?: string | undefined;
230
+ readonly extended?: string | undefined;
231
+ readonly locality?: string | undefined;
232
+ readonly region?: string | undefined;
233
+ readonly postalCode?: string | undefined;
234
+ readonly postOfficeBoxNumber?: string | undefined;
235
+ readonly country?: string | undefined;
236
+ };
237
+ readonly label?: string | undefined;
238
+ }[] | undefined;
239
+ readonly urls?: readonly {
240
+ readonly value: string;
241
+ readonly label?: string | undefined;
242
+ }[] | undefined;
243
+ readonly birthday?: string | undefined;
244
+ } & {
245
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
246
+ }> | undefined;
247
+ readonly identityDid?: string | undefined;
248
+ readonly identityKey?: string | undefined;
249
+ readonly email?: string | undefined;
250
+ };
251
+ readonly blocks: readonly ({
252
+ readonly pending?: boolean | undefined;
253
+ readonly text: string;
254
+ readonly mimeType?: string | undefined;
255
+ readonly disposition?: string | undefined;
256
+ readonly _tag: "text";
257
+ } | {
258
+ readonly pending?: boolean | undefined;
259
+ readonly _tag: "reasoning";
260
+ readonly reasoningText?: string | undefined;
261
+ readonly redactedText?: string | undefined;
262
+ readonly signature?: string | undefined;
263
+ } | {
264
+ readonly name: string;
265
+ readonly pending?: boolean | undefined;
266
+ readonly _tag: "toolCall";
267
+ readonly toolCallId: string;
268
+ readonly input: string;
269
+ readonly providerExecuted: boolean;
270
+ } | {
271
+ readonly name: string;
272
+ readonly pending?: boolean | undefined;
273
+ readonly _tag: "toolResult";
274
+ readonly toolCallId: string;
275
+ readonly providerExecuted: boolean;
276
+ readonly result?: string | undefined;
277
+ readonly error?: string | undefined;
278
+ } | {
279
+ readonly pending?: boolean | undefined;
280
+ readonly mimeType?: string | undefined;
281
+ readonly _tag: "stats";
282
+ readonly message?: string | undefined;
283
+ readonly model?: string | undefined;
284
+ readonly usage?: {
285
+ readonly inputTokens?: number | undefined;
286
+ readonly outputTokens?: number | undefined;
287
+ readonly totalTokens?: number | undefined;
288
+ } | undefined;
289
+ readonly toolCalls?: number | undefined;
290
+ readonly errors?: number | undefined;
291
+ readonly duration?: number | undefined;
292
+ } | {
293
+ readonly source?: {
294
+ readonly type: "base64";
295
+ readonly mediaType: string;
296
+ readonly data: string;
297
+ } | {
298
+ readonly type: "http";
299
+ readonly url: string;
300
+ } | undefined;
301
+ readonly id?: string | undefined;
302
+ readonly pending?: boolean | undefined;
303
+ readonly _tag: "image";
304
+ } | {
305
+ readonly name?: string | undefined;
306
+ readonly pending?: boolean | undefined;
307
+ readonly _tag: "file";
308
+ readonly mediaType?: string | undefined;
309
+ readonly url: string;
310
+ } | {
311
+ readonly pending?: boolean | undefined;
312
+ readonly _tag: "reference";
313
+ readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
314
+ } | {
315
+ readonly pending?: boolean | undefined;
316
+ readonly text: string;
317
+ readonly _tag: "transcript";
318
+ readonly started: string;
319
+ } | {
320
+ readonly pending?: boolean | undefined;
321
+ readonly _tag: "status";
322
+ readonly statusText: string;
323
+ } | {
324
+ readonly pending?: boolean | undefined;
325
+ readonly text: string;
326
+ readonly _tag: "suggestion";
327
+ } | {
328
+ readonly pending?: boolean | undefined;
329
+ readonly _tag: "select";
330
+ readonly options: string[];
331
+ } | {
332
+ readonly version: unknown;
333
+ readonly pending?: boolean | undefined;
334
+ readonly _tag: "anchor";
335
+ readonly objectId: string;
336
+ } | {
337
+ readonly pending?: boolean | undefined;
338
+ readonly text: string;
339
+ readonly _tag: "proposal";
340
+ } | {
341
+ readonly pending?: boolean | undefined;
342
+ readonly _tag: "summary";
343
+ readonly content: string;
344
+ } | {
345
+ readonly pending?: boolean | undefined;
346
+ readonly _tag: "toolkit";
347
+ } | {
348
+ readonly pending?: boolean | undefined;
349
+ readonly disposition?: string | undefined;
350
+ readonly _tag: "json";
351
+ readonly data: string;
352
+ })[];
353
+ readonly properties?: {
354
+ readonly [x: string]: any;
355
+ } | undefined;
356
+ }, Schema.Struct.Fields>;
278
357
  timeElapsed: typeof Schema.Number;
279
358
  }>;
280
359
  export interface ExtractionOutput extends Schema.Schema.Type<typeof ExtractionOutput> {
281
360
  }
282
- export type ProcessTranscriptMessageParams = {
361
+ export type ProcessTranscriptMessageProps = {
283
362
  input: ExtractionInput;
284
363
  function: FunctionDefinition<ExtractionInput, ExtractionOutput>;
285
364
  executor: FunctionExecutor;
@@ -300,5 +379,5 @@ export type ExtractionFunction = FunctionDefinition<ExtractionInput, ExtractionO
300
379
  /**
301
380
  * Extract entities from the transcript message and add them to the message.
302
381
  */
303
- export declare const processTranscriptMessage: (params: ProcessTranscriptMessageParams) => Promise<ExtractionOutput>;
382
+ export declare const processTranscriptMessage: (params: ProcessTranscriptMessageProps) => Promise<ExtractionOutput>;
304
383
  //# sourceMappingURL=extraction.d.ts.map