@mastra/client-js 0.0.0-commonjs-20250227130920 → 0.0.0-consolidate-changesets-20250904042643

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 (74) hide show
  1. package/CHANGELOG.md +2554 -4
  2. package/LICENSE.md +15 -0
  3. package/README.md +12 -6
  4. package/dist/adapters/agui.d.ts +23 -0
  5. package/dist/adapters/agui.d.ts.map +1 -0
  6. package/dist/client.d.ts +284 -0
  7. package/dist/client.d.ts.map +1 -0
  8. package/dist/example.d.ts +2 -0
  9. package/dist/example.d.ts.map +1 -0
  10. package/dist/index.cjs +3038 -97
  11. package/dist/index.cjs.map +1 -0
  12. package/dist/index.d.ts +4 -405
  13. package/dist/index.d.ts.map +1 -0
  14. package/dist/index.js +3037 -100
  15. package/dist/index.js.map +1 -0
  16. package/dist/resources/a2a.d.ts +41 -0
  17. package/dist/resources/a2a.d.ts.map +1 -0
  18. package/dist/resources/agent-builder.d.ts +148 -0
  19. package/dist/resources/agent-builder.d.ts.map +1 -0
  20. package/dist/resources/agent.d.ts +155 -0
  21. package/dist/resources/agent.d.ts.map +1 -0
  22. package/dist/resources/base.d.ts +13 -0
  23. package/dist/resources/base.d.ts.map +1 -0
  24. package/dist/resources/index.d.ts +13 -0
  25. package/dist/resources/index.d.ts.map +1 -0
  26. package/dist/resources/legacy-workflow.d.ts +87 -0
  27. package/dist/resources/legacy-workflow.d.ts.map +1 -0
  28. package/dist/resources/mcp-tool.d.ts +27 -0
  29. package/dist/resources/mcp-tool.d.ts.map +1 -0
  30. package/dist/resources/memory-thread.d.ts +53 -0
  31. package/dist/resources/memory-thread.d.ts.map +1 -0
  32. package/dist/resources/network-memory-thread.d.ts +47 -0
  33. package/dist/resources/network-memory-thread.d.ts.map +1 -0
  34. package/dist/resources/network.d.ts +30 -0
  35. package/dist/resources/network.d.ts.map +1 -0
  36. package/dist/resources/observability.d.ts +19 -0
  37. package/dist/resources/observability.d.ts.map +1 -0
  38. package/dist/resources/tool.d.ts +23 -0
  39. package/dist/resources/tool.d.ts.map +1 -0
  40. package/dist/resources/vNextNetwork.d.ts +42 -0
  41. package/dist/resources/vNextNetwork.d.ts.map +1 -0
  42. package/dist/resources/vector.d.ts +48 -0
  43. package/dist/resources/vector.d.ts.map +1 -0
  44. package/dist/resources/workflow.d.ts +154 -0
  45. package/dist/resources/workflow.d.ts.map +1 -0
  46. package/dist/types.d.ts +482 -0
  47. package/dist/types.d.ts.map +1 -0
  48. package/dist/utils/index.d.ts +3 -0
  49. package/dist/utils/index.d.ts.map +1 -0
  50. package/dist/utils/process-client-tools.d.ts +3 -0
  51. package/dist/utils/process-client-tools.d.ts.map +1 -0
  52. package/dist/utils/process-mastra-stream.d.ts +7 -0
  53. package/dist/utils/process-mastra-stream.d.ts.map +1 -0
  54. package/dist/utils/zod-to-json-schema.d.ts +3 -0
  55. package/dist/utils/zod-to-json-schema.d.ts.map +1 -0
  56. package/package.json +43 -17
  57. package/.turbo/turbo-build.log +0 -19
  58. package/LICENSE +0 -44
  59. package/dist/index.d.cts +0 -405
  60. package/eslint.config.js +0 -6
  61. package/src/client.ts +0 -205
  62. package/src/example.ts +0 -43
  63. package/src/index.test.ts +0 -597
  64. package/src/index.ts +0 -2
  65. package/src/resources/agent.ts +0 -116
  66. package/src/resources/base.ts +0 -68
  67. package/src/resources/index.ts +0 -6
  68. package/src/resources/memory-thread.ts +0 -60
  69. package/src/resources/tool.ts +0 -32
  70. package/src/resources/vector.ts +0 -83
  71. package/src/resources/workflow.ts +0 -68
  72. package/src/types.ts +0 -163
  73. package/tsconfig.json +0 -5
  74. package/vitest.config.js +0 -8
package/LICENSE.md ADDED
@@ -0,0 +1,15 @@
1
+ # Apache License 2.0
2
+
3
+ Copyright (c) 2025 Kepler Software, Inc.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
package/README.md CHANGED
@@ -11,7 +11,7 @@ npm install @mastra/client-js
11
11
  ## Quick Start
12
12
 
13
13
  ```typescript
14
- import { MastraClient } from '@mastra/client';
14
+ import { MastraClient } from '@mastra/client-js';
15
15
 
16
16
  // Initialize the client
17
17
  const client = new MastraClient({
@@ -53,8 +53,10 @@ const client = new MastraClient({
53
53
  - `getAgents()`: Get all available agents
54
54
  - `getAgent(agentId)`: Get a specific agent instance
55
55
  - `agent.details()`: Get agent details
56
- - `agent.generate(params)`: Generate a response
57
- - `agent.stream(params)`: Stream a response
56
+ - `agent.generate(params)`: Generate a response (deprecated)
57
+ - `agent.generateVNext(params)`: Improved API for generating a response
58
+ - `agent.stream(params)`: Stream a response (deprecated)
59
+ - `agent.streamVNext(params)`: Improved API for streaming a response
58
60
  - `agent.getTool(toolId)`: Get agent tool details
59
61
  - `agent.evals()`: Get agent evaluations
60
62
  - `agent.liveEvals()`: Get live evaluations
@@ -79,9 +81,13 @@ const client = new MastraClient({
79
81
  - `getWorkflows()`: Get all workflows
80
82
  - `getWorkflow(workflowId)`: Get a workflow instance
81
83
  - `workflow.details()`: Get workflow details
82
- - `workflow.execute(params)`: Execute the workflow
83
- - `workflow.watch(params)`: Watch the workflow
84
- - `workflow.resume(params)`: Resume the workflow
84
+ - `workflow.createRun()`: Create workflow run
85
+ - `workflow.createRunAsync()`: Create workflow run (alias)
86
+ - `workflow.startAsync(params)`: Execute the workflow and wait for execution results
87
+ - `workflow.resumeAsync(params)`: Resume suspended workflow step async
88
+ - `workflow.watch({runId},(record)=>{})`: Watch the step transitions of the workflow run
89
+ - `workflow.start({runId, triggerData})`: Start a workflow run sync
90
+ - `workflow.resume(params)`: Resume the workflow run sync
85
91
 
86
92
  ### Vectors
87
93
 
@@ -0,0 +1,23 @@
1
+ import type { AgentConfig, BaseEvent, Message, RunAgentInput } from '@ag-ui/client';
2
+ import { AbstractAgent } from '@ag-ui/client';
3
+ import type { CoreMessage } from '@mastra/core/llm';
4
+ import { Observable } from 'rxjs';
5
+ import type { Agent } from '../resources/agent.js';
6
+ interface MastraAgentConfig extends AgentConfig {
7
+ agent: Agent;
8
+ agentId: string;
9
+ resourceId?: string;
10
+ }
11
+ export declare class AGUIAdapter extends AbstractAgent {
12
+ agent: Agent;
13
+ resourceId?: string;
14
+ constructor({ agent, agentId, resourceId, ...rest }: MastraAgentConfig);
15
+ protected run(input: RunAgentInput): Observable<BaseEvent>;
16
+ }
17
+ /**
18
+ * Generates a UUID v4 that works in both browser and Node.js environments
19
+ */
20
+ export declare function generateUUID(): string;
21
+ export declare function convertMessagesToMastraMessages(messages: Message[]): CoreMessage[];
22
+ export {};
23
+ //# sourceMappingURL=agui.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agui.d.ts","sourceRoot":"","sources":["../../src/adapters/agui.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,WAAW,EACX,SAAS,EACT,OAAO,EACP,aAAa,EASd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAa,MAAM,eAAe,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,UAAU,iBAAkB,SAAQ,WAAW;IAC7C,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,qBAAa,WAAY,SAAQ,aAAa;IAC5C,KAAK,EAAE,KAAK,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;gBACR,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,EAAE,iBAAiB;IAStE,SAAS,CAAC,GAAG,CAAC,KAAK,EAAE,aAAa,GAAG,UAAU,CAAC,SAAS,CAAC;CA+G3D;AAED;;GAEG;AACH,wBAAgB,YAAY,IAAI,MAAM,CAgCrC;AAED,wBAAgB,+BAA+B,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,WAAW,EAAE,CAoElF"}
@@ -0,0 +1,284 @@
1
+ import type { AbstractAgent } from '@ag-ui/client';
2
+ import type { AITraceRecord, AITracesPaginatedArg, WorkflowInfo } from '@mastra/core';
3
+ import type { ServerDetailInfo } from '@mastra/core/mcp';
4
+ import { Agent, MemoryThread, Tool, Workflow, Vector, BaseResource, Network, A2A, MCPTool, LegacyWorkflow, AgentBuilder } from './resources/index.js';
5
+ import { NetworkMemoryThread } from './resources/network-memory-thread.js';
6
+ import { VNextNetwork } from './resources/vNextNetwork.js';
7
+ import type { ClientOptions, CreateMemoryThreadParams, CreateMemoryThreadResponse, GetAgentResponse, GetLogParams, GetLogsParams, GetLogsResponse, GetMemoryThreadParams, GetMemoryThreadResponse, GetNetworkResponse, GetTelemetryParams, GetTelemetryResponse, GetToolResponse, GetWorkflowResponse, SaveMessageToMemoryParams, SaveMessageToMemoryResponse, McpServerListResponse, McpServerToolListResponse, GetLegacyWorkflowResponse, GetVNextNetworkResponse, GetNetworkMemoryThreadParams, CreateNetworkMemoryThreadParams, SaveNetworkMessageToMemoryParams, GetScorerResponse, GetScoresByScorerIdParams, GetScoresResponse, GetScoresByRunIdParams, GetScoresByEntityIdParams, SaveScoreParams, SaveScoreResponse, GetAITracesResponse } from './types.js';
8
+ export declare class MastraClient extends BaseResource {
9
+ private observability;
10
+ constructor(options: ClientOptions);
11
+ /**
12
+ * Retrieves all available agents
13
+ * @returns Promise containing map of agent IDs to agent details
14
+ */
15
+ getAgents(): Promise<Record<string, GetAgentResponse>>;
16
+ getAGUI({ resourceId }: {
17
+ resourceId: string;
18
+ }): Promise<Record<string, AbstractAgent>>;
19
+ /**
20
+ * Gets an agent instance by ID
21
+ * @param agentId - ID of the agent to retrieve
22
+ * @returns Agent instance
23
+ */
24
+ getAgent(agentId: string): Agent;
25
+ /**
26
+ * Retrieves memory threads for a resource
27
+ * @param params - Parameters containing the resource ID
28
+ * @returns Promise containing array of memory threads
29
+ */
30
+ getMemoryThreads(params: GetMemoryThreadParams): Promise<GetMemoryThreadResponse>;
31
+ /**
32
+ * Creates a new memory thread
33
+ * @param params - Parameters for creating the memory thread
34
+ * @returns Promise containing the created memory thread
35
+ */
36
+ createMemoryThread(params: CreateMemoryThreadParams): Promise<CreateMemoryThreadResponse>;
37
+ /**
38
+ * Gets a memory thread instance by ID
39
+ * @param threadId - ID of the memory thread to retrieve
40
+ * @returns MemoryThread instance
41
+ */
42
+ getMemoryThread(threadId: string, agentId: string): MemoryThread;
43
+ /**
44
+ * Saves messages to memory
45
+ * @param params - Parameters containing messages to save
46
+ * @returns Promise containing the saved messages
47
+ */
48
+ saveMessageToMemory(params: SaveMessageToMemoryParams): Promise<SaveMessageToMemoryResponse>;
49
+ /**
50
+ * Gets the status of the memory system
51
+ * @returns Promise containing memory system status
52
+ */
53
+ getMemoryStatus(agentId: string): Promise<{
54
+ result: boolean;
55
+ }>;
56
+ /**
57
+ * Retrieves memory threads for a resource
58
+ * @param params - Parameters containing the resource ID
59
+ * @returns Promise containing array of memory threads
60
+ */
61
+ getNetworkMemoryThreads(params: GetNetworkMemoryThreadParams): Promise<GetMemoryThreadResponse>;
62
+ /**
63
+ * Creates a new memory thread
64
+ * @param params - Parameters for creating the memory thread
65
+ * @returns Promise containing the created memory thread
66
+ */
67
+ createNetworkMemoryThread(params: CreateNetworkMemoryThreadParams): Promise<CreateMemoryThreadResponse>;
68
+ /**
69
+ * Gets a memory thread instance by ID
70
+ * @param threadId - ID of the memory thread to retrieve
71
+ * @returns MemoryThread instance
72
+ */
73
+ getNetworkMemoryThread(threadId: string, networkId: string): NetworkMemoryThread;
74
+ /**
75
+ * Saves messages to memory
76
+ * @param params - Parameters containing messages to save
77
+ * @returns Promise containing the saved messages
78
+ */
79
+ saveNetworkMessageToMemory(params: SaveNetworkMessageToMemoryParams): Promise<SaveMessageToMemoryResponse>;
80
+ /**
81
+ * Gets the status of the memory system
82
+ * @returns Promise containing memory system status
83
+ */
84
+ getNetworkMemoryStatus(networkId: string): Promise<{
85
+ result: boolean;
86
+ }>;
87
+ /**
88
+ * Retrieves all available tools
89
+ * @returns Promise containing map of tool IDs to tool details
90
+ */
91
+ getTools(): Promise<Record<string, GetToolResponse>>;
92
+ /**
93
+ * Gets a tool instance by ID
94
+ * @param toolId - ID of the tool to retrieve
95
+ * @returns Tool instance
96
+ */
97
+ getTool(toolId: string): Tool;
98
+ /**
99
+ * Retrieves all available legacy workflows
100
+ * @returns Promise containing map of legacy workflow IDs to legacy workflow details
101
+ */
102
+ getLegacyWorkflows(): Promise<Record<string, GetLegacyWorkflowResponse>>;
103
+ /**
104
+ * Gets a legacy workflow instance by ID
105
+ * @param workflowId - ID of the legacy workflow to retrieve
106
+ * @returns Legacy Workflow instance
107
+ */
108
+ getLegacyWorkflow(workflowId: string): LegacyWorkflow;
109
+ /**
110
+ * Retrieves all available workflows
111
+ * @returns Promise containing map of workflow IDs to workflow details
112
+ */
113
+ getWorkflows(): Promise<Record<string, GetWorkflowResponse>>;
114
+ /**
115
+ * Gets a workflow instance by ID
116
+ * @param workflowId - ID of the workflow to retrieve
117
+ * @returns Workflow instance
118
+ */
119
+ getWorkflow(workflowId: string): Workflow;
120
+ /**
121
+ * Gets all available agent builder actions
122
+ * @returns Promise containing map of action IDs to action details
123
+ */
124
+ getAgentBuilderActions(): Promise<Record<string, WorkflowInfo>>;
125
+ /**
126
+ * Gets an agent builder instance for executing agent-builder workflows
127
+ * @returns AgentBuilder instance
128
+ */
129
+ getAgentBuilderAction(actionId: string): AgentBuilder;
130
+ /**
131
+ * Gets a vector instance by name
132
+ * @param vectorName - Name of the vector to retrieve
133
+ * @returns Vector instance
134
+ */
135
+ getVector(vectorName: string): Vector;
136
+ /**
137
+ * Retrieves logs
138
+ * @param params - Parameters for filtering logs
139
+ * @returns Promise containing array of log messages
140
+ */
141
+ getLogs(params: GetLogsParams): Promise<GetLogsResponse>;
142
+ /**
143
+ * Gets logs for a specific run
144
+ * @param params - Parameters containing run ID to retrieve
145
+ * @returns Promise containing array of log messages
146
+ */
147
+ getLogForRun(params: GetLogParams): Promise<GetLogsResponse>;
148
+ /**
149
+ * List of all log transports
150
+ * @returns Promise containing list of log transports
151
+ */
152
+ getLogTransports(): Promise<{
153
+ transports: string[];
154
+ }>;
155
+ /**
156
+ * List of all traces (paged)
157
+ * @param params - Parameters for filtering traces
158
+ * @returns Promise containing telemetry data
159
+ */
160
+ getTelemetry(params?: GetTelemetryParams): Promise<GetTelemetryResponse>;
161
+ /**
162
+ * Retrieves all available networks
163
+ * @returns Promise containing map of network IDs to network details
164
+ */
165
+ getNetworks(): Promise<Array<GetNetworkResponse>>;
166
+ /**
167
+ * Retrieves all available vNext networks
168
+ * @returns Promise containing map of vNext network IDs to vNext network details
169
+ */
170
+ getVNextNetworks(): Promise<Array<GetVNextNetworkResponse>>;
171
+ /**
172
+ * Gets a network instance by ID
173
+ * @param networkId - ID of the network to retrieve
174
+ * @returns Network instance
175
+ */
176
+ getNetwork(networkId: string): Network;
177
+ /**
178
+ * Gets a vNext network instance by ID
179
+ * @param networkId - ID of the vNext network to retrieve
180
+ * @returns vNext Network instance
181
+ */
182
+ getVNextNetwork(networkId: string): VNextNetwork;
183
+ /**
184
+ * Retrieves a list of available MCP servers.
185
+ * @param params - Optional parameters for pagination (limit, offset).
186
+ * @returns Promise containing the list of MCP servers and pagination info.
187
+ */
188
+ getMcpServers(params?: {
189
+ limit?: number;
190
+ offset?: number;
191
+ }): Promise<McpServerListResponse>;
192
+ /**
193
+ * Retrieves detailed information for a specific MCP server.
194
+ * @param serverId - The ID of the MCP server to retrieve.
195
+ * @param params - Optional parameters, e.g., specific version.
196
+ * @returns Promise containing the detailed MCP server information.
197
+ */
198
+ getMcpServerDetails(serverId: string, params?: {
199
+ version?: string;
200
+ }): Promise<ServerDetailInfo>;
201
+ /**
202
+ * Retrieves a list of tools for a specific MCP server.
203
+ * @param serverId - The ID of the MCP server.
204
+ * @returns Promise containing the list of tools.
205
+ */
206
+ getMcpServerTools(serverId: string): Promise<McpServerToolListResponse>;
207
+ /**
208
+ * Gets an MCPTool resource instance for a specific tool on an MCP server.
209
+ * This instance can then be used to fetch details or execute the tool.
210
+ * @param serverId - The ID of the MCP server.
211
+ * @param toolId - The ID of the tool.
212
+ * @returns MCPTool instance.
213
+ */
214
+ getMcpServerTool(serverId: string, toolId: string): MCPTool;
215
+ /**
216
+ * Gets an A2A client for interacting with an agent via the A2A protocol
217
+ * @param agentId - ID of the agent to interact with
218
+ * @returns A2A client instance
219
+ */
220
+ getA2A(agentId: string): A2A;
221
+ /**
222
+ * Retrieves the working memory for a specific thread (optionally resource-scoped).
223
+ * @param agentId - ID of the agent.
224
+ * @param threadId - ID of the thread.
225
+ * @param resourceId - Optional ID of the resource.
226
+ * @returns Working memory for the specified thread or resource.
227
+ */
228
+ getWorkingMemory({ agentId, threadId, resourceId, }: {
229
+ agentId: string;
230
+ threadId: string;
231
+ resourceId?: string;
232
+ }): Promise<unknown>;
233
+ /**
234
+ * Updates the working memory for a specific thread (optionally resource-scoped).
235
+ * @param agentId - ID of the agent.
236
+ * @param threadId - ID of the thread.
237
+ * @param workingMemory - The new working memory content.
238
+ * @param resourceId - Optional ID of the resource.
239
+ */
240
+ updateWorkingMemory({ agentId, threadId, workingMemory, resourceId, }: {
241
+ agentId: string;
242
+ threadId: string;
243
+ workingMemory: string;
244
+ resourceId?: string;
245
+ }): Promise<unknown>;
246
+ /**
247
+ * Retrieves all available scorers
248
+ * @returns Promise containing list of available scorers
249
+ */
250
+ getScorers(): Promise<Record<string, GetScorerResponse>>;
251
+ /**
252
+ * Retrieves a scorer by ID
253
+ * @param scorerId - ID of the scorer to retrieve
254
+ * @returns Promise containing the scorer
255
+ */
256
+ getScorer(scorerId: string): Promise<GetScorerResponse>;
257
+ getScoresByScorerId(params: GetScoresByScorerIdParams): Promise<GetScoresResponse>;
258
+ /**
259
+ * Retrieves scores by run ID
260
+ * @param params - Parameters containing run ID and pagination options
261
+ * @returns Promise containing scores and pagination info
262
+ */
263
+ getScoresByRunId(params: GetScoresByRunIdParams): Promise<GetScoresResponse>;
264
+ /**
265
+ * Retrieves scores by entity ID and type
266
+ * @param params - Parameters containing entity ID, type, and pagination options
267
+ * @returns Promise containing scores and pagination info
268
+ */
269
+ getScoresByEntityId(params: GetScoresByEntityIdParams): Promise<GetScoresResponse>;
270
+ /**
271
+ * Saves a score
272
+ * @param params - Parameters containing the score data to save
273
+ * @returns Promise containing the saved score
274
+ */
275
+ saveScore(params: SaveScoreParams): Promise<SaveScoreResponse>;
276
+ /**
277
+ * Retrieves model providers with available keys
278
+ * @returns Promise containing model providers with available keys
279
+ */
280
+ getModelProviders(): Promise<string[]>;
281
+ getAITrace(traceId: string): Promise<AITraceRecord>;
282
+ getAITraces(params: AITracesPaginatedArg): Promise<GetAITracesResponse>;
283
+ }
284
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACtF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAO,EACL,KAAK,EACL,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,YAAY,EACZ,OAAO,EACP,GAAG,EACH,OAAO,EACP,cAAc,EACd,YAAY,EAEb,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,mBAAmB,EAAE,MAAM,m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AO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB;IAID;;;;;;OAMG;IACI,mBAAmB,CAAC,EACzB,OAAO,EACP,QAAQ,EACR,aAAa,EACb,UAAU,GACX,EAAE;QACD,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB;IAUD;;;OAGG;IACI,UAAU,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;IAI/D;;;;OAIG;IACI,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAIvD,mBAAmB,CAAC,MAAM,EAAE,yBAAyB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAqBzF;;;;OAIG;IACI,gBAAgB,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAenF;;;;OAIG;IACI,mBAAmB,CAAC,MAAM,EAAE,yBAAyB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAezF;;;;OAIG;IACI,SAAS,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAOrE;;;OAGG;IACH,iBAAiB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAItC,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAInD,WAAW,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAGxE"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=example.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../src/example.ts"],"names":[],"mappings":""}