agents 0.3.0 → 0.3.2

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 (67) hide show
  1. package/README.md +12 -326
  2. package/dist/ai-chat-agent.d.ts +1 -324
  3. package/dist/ai-chat-agent.js +3 -1147
  4. package/dist/ai-chat-agent.js.map +1 -1
  5. package/dist/ai-chat-v5-migration.d.ts +1 -155
  6. package/dist/ai-chat-v5-migration.js +4 -151
  7. package/dist/ai-chat-v5-migration.js.map +1 -1
  8. package/dist/ai-react.d.ts +1 -286
  9. package/dist/ai-react.js +3 -632
  10. package/dist/ai-react.js.map +1 -1
  11. package/dist/ai-types.d.ts +7 -6
  12. package/dist/ai-types.js +12 -2
  13. package/dist/ai-types.js.map +1 -0
  14. package/dist/{client-QZa2Rq0l.js → client-C7SOlYfK.js} +2 -2
  15. package/dist/{client-QZa2Rq0l.js.map → client-C7SOlYfK.js.map} +1 -1
  16. package/dist/{client-DjTPRM8-.js → client-CEO0P7vN.js} +2 -2
  17. package/dist/client-CEO0P7vN.js.map +1 -0
  18. package/dist/{client-DFotUKH_.d.ts → client-CbcnyqCo.d.ts} +10 -10
  19. package/dist/client.d.ts +92 -7
  20. package/dist/client.js +1 -1
  21. package/dist/codemode/ai.d.ts +1 -27
  22. package/dist/codemode/ai.js +3 -146
  23. package/dist/codemode/ai.js.map +1 -1
  24. package/dist/{do-oauth-client-provider--To1Tsjj.d.ts → do-oauth-client-provider-BH9zFtSy.d.ts} +1 -1
  25. package/dist/{do-oauth-client-provider-B1fVIshX.js → do-oauth-client-provider-BfPFgQU0.js} +1 -1
  26. package/dist/{do-oauth-client-provider-B1fVIshX.js.map → do-oauth-client-provider-BfPFgQU0.js.map} +1 -1
  27. package/dist/{index-DLuxm_9W.d.ts → index-B7Ny-XfU.d.ts} +2 -2
  28. package/dist/index.d.ts +553 -38
  29. package/dist/index.js +5 -5
  30. package/dist/{context-DcbQ8o7k.d.ts → internal_context-neg89p5n.d.ts} +2 -2
  31. package/dist/{context-BkKbAa1R.js → internal_context-oN047Id3.js} +2 -2
  32. package/dist/internal_context-oN047Id3.js.map +1 -0
  33. package/dist/{context.d.ts → internal_context.d.ts} +1 -1
  34. package/dist/internal_context.js +3 -0
  35. package/dist/mcp/client.d.ts +1 -1
  36. package/dist/mcp/client.js +2 -2
  37. package/dist/mcp/do-oauth-client-provider.d.ts +1 -1
  38. package/dist/mcp/do-oauth-client-provider.js +1 -1
  39. package/dist/mcp/index.d.ts +3 -4
  40. package/dist/mcp/index.js +6 -6
  41. package/dist/mcp/index.js.map +1 -1
  42. package/dist/mcp/x402.d.ts +1 -1
  43. package/dist/{mcp-CPSfGUgd.d.ts → mcp-AK39tq6H.d.ts} +1 -1
  44. package/dist/observability/index.d.ts +1 -1
  45. package/dist/observability/index.js +5 -5
  46. package/dist/react.d.ts +14 -6
  47. package/dist/react.js +16 -8
  48. package/dist/react.js.map +1 -1
  49. package/dist/serializable.d.ts +33 -6
  50. package/dist/{src-BZDh910Z.js → src-CXf5SiV4.js} +6 -6
  51. package/dist/src-CXf5SiV4.js.map +1 -0
  52. package/dist/types-4b5tlB0u.js +15 -0
  53. package/dist/types-4b5tlB0u.js.map +1 -0
  54. package/dist/types-C5vR2Gzv.d.ts +13 -0
  55. package/dist/types.d.ts +2 -0
  56. package/dist/types.js +3 -0
  57. package/package.json +33 -25
  58. package/dist/ai-types-0OnT3FHg.d.ts +0 -127
  59. package/dist/ai-types-DEtF_8Km.js +0 -28
  60. package/dist/ai-types-DEtF_8Km.js.map +0 -1
  61. package/dist/client-CdM5I962.d.ts +0 -104
  62. package/dist/client-DjTPRM8-.js.map +0 -1
  63. package/dist/context-BkKbAa1R.js.map +0 -1
  64. package/dist/context.js +0 -3
  65. package/dist/index-CT2tCrLr.d.ts +0 -577
  66. package/dist/serializable-Crsj26mx.d.ts +0 -39
  67. package/dist/src-BZDh910Z.js.map +0 -1
@@ -1,577 +0,0 @@
1
- import { n as AgentEmail } from "./context-DcbQ8o7k.js";
2
- import {
3
- h as TransportType,
4
- t as MCPClientManager,
5
- u as MCPConnectionState
6
- } from "./client-DFotUKH_.js";
7
- import { t as Observability } from "./index-DLuxm_9W.js";
8
- import { n as MessageType } from "./ai-types-0OnT3FHg.js";
9
- import {
10
- Connection,
11
- Connection as Connection$1,
12
- ConnectionContext,
13
- PartyServerOptions,
14
- Server,
15
- WSMessage
16
- } from "partyserver";
17
- import { Client } from "@modelcontextprotocol/sdk/client/index.js";
18
- import {
19
- Prompt,
20
- Resource,
21
- ServerCapabilities,
22
- Tool
23
- } from "@modelcontextprotocol/sdk/types.js";
24
-
25
- //#region src/index.d.ts
26
-
27
- /**
28
- * RPC request message from client
29
- */
30
- type RPCRequest = {
31
- type: "rpc";
32
- id: string;
33
- method: string;
34
- args: unknown[];
35
- };
36
- /**
37
- * State update message from client
38
- */
39
- type StateUpdateMessage = {
40
- type: MessageType.CF_AGENT_STATE;
41
- state: unknown;
42
- };
43
- /**
44
- * RPC response message to client
45
- */
46
- type RPCResponse = {
47
- type: MessageType.RPC;
48
- id: string;
49
- } & (
50
- | {
51
- success: true;
52
- result: unknown;
53
- done?: false;
54
- }
55
- | {
56
- success: true;
57
- result: unknown;
58
- done: true;
59
- }
60
- | {
61
- success: false;
62
- error: string;
63
- }
64
- );
65
- /**
66
- * Metadata for a callable method
67
- */
68
- type CallableMetadata = {
69
- /** Optional description of what the method does */
70
- description?: string;
71
- /** Whether the method supports streaming responses */
72
- streaming?: boolean;
73
- };
74
- /**
75
- * Decorator that marks a method as callable by clients
76
- * @param metadata Optional metadata about the callable method
77
- */
78
- declare function callable(
79
- metadata?: CallableMetadata
80
- ): <This, Args extends unknown[], Return>(
81
- target: (this: This, ...args: Args) => Return,
82
- context: ClassMethodDecoratorContext
83
- ) => (this: This, ...args: Args) => Return;
84
- /**
85
- * Decorator that marks a method as callable by clients
86
- * @deprecated this has been renamed to callable, and unstable_callable will be removed in the next major version
87
- * @param metadata Optional metadata about the callable method
88
- */
89
- declare const unstable_callable: (metadata?: CallableMetadata) => void;
90
- type QueueItem<T = string> = {
91
- id: string;
92
- payload: T;
93
- callback: keyof Agent<Cloudflare.Env>;
94
- created_at: number;
95
- };
96
- /**
97
- * Represents a scheduled task within an Agent
98
- * @template T Type of the payload data
99
- */
100
- type Schedule<T = string> = {
101
- /** Unique identifier for the schedule */
102
- id: string;
103
- /** Name of the method to be called */
104
- callback: string;
105
- /** Data to be passed to the callback */
106
- payload: T;
107
- } & (
108
- | {
109
- /** Type of schedule for one-time execution at a specific time */
110
- type: "scheduled";
111
- /** Timestamp when the task should execute */
112
- time: number;
113
- }
114
- | {
115
- /** Type of schedule for delayed execution */
116
- type: "delayed";
117
- /** Timestamp when the task should execute */
118
- time: number;
119
- /** Number of seconds to delay execution */
120
- delayInSeconds: number;
121
- }
122
- | {
123
- /** Type of schedule for recurring execution based on cron expression */
124
- type: "cron";
125
- /** Timestamp for the next execution */
126
- time: number;
127
- /** Cron expression defining the schedule */
128
- cron: string;
129
- }
130
- );
131
- /**
132
- * MCP Server state update message from server -> Client
133
- */
134
- type MCPServerMessage = {
135
- type: MessageType.CF_AGENT_MCP_SERVERS;
136
- mcp: MCPServersState;
137
- };
138
- type MCPServersState = {
139
- servers: {
140
- [id: string]: MCPServer;
141
- };
142
- tools: (Tool & {
143
- serverId: string;
144
- })[];
145
- prompts: (Prompt & {
146
- serverId: string;
147
- })[];
148
- resources: (Resource & {
149
- serverId: string;
150
- })[];
151
- };
152
- type MCPServer = {
153
- name: string;
154
- server_url: string;
155
- auth_url: string | null;
156
- state: MCPConnectionState;
157
- instructions: string | null;
158
- capabilities: ServerCapabilities | null;
159
- };
160
- declare function getCurrentAgent<
161
- T extends Agent<Cloudflare.Env> = Agent<Cloudflare.Env>
162
- >(): {
163
- agent: T | undefined;
164
- connection: Connection | undefined;
165
- request: Request | undefined;
166
- email: AgentEmail | undefined;
167
- };
168
- /**
169
- * Base class for creating Agent implementations
170
- * @template Env Environment type containing bindings
171
- * @template State State type to store within the Agent
172
- */
173
- declare class Agent<
174
- Env extends Cloudflare.Env = Cloudflare.Env,
175
- State = unknown,
176
- Props extends Record<string, unknown> = Record<string, unknown>
177
- > extends Server<Env, Props> {
178
- private _state;
179
- private _disposables;
180
- private _destroyed;
181
- private _ParentClass;
182
- readonly mcp: MCPClientManager;
183
- /**
184
- * Initial state for the Agent
185
- * Override to provide default state values
186
- */
187
- initialState: State;
188
- /**
189
- * Current state of the Agent
190
- */
191
- get state(): State;
192
- /**
193
- * Agent configuration options
194
- */
195
- static options: {
196
- /** Whether the Agent should hibernate when inactive */
197
- hibernate: boolean;
198
- };
199
- /**
200
- * The observability implementation to use for the Agent
201
- */
202
- observability?: Observability;
203
- /**
204
- * Execute SQL queries against the Agent's database
205
- * @template T Type of the returned rows
206
- * @param strings SQL query template strings
207
- * @param values Values to be inserted into the query
208
- * @returns Array of query results
209
- */
210
- sql<T = Record<string, string | number | boolean | null>>(
211
- strings: TemplateStringsArray,
212
- ...values: (string | number | boolean | null)[]
213
- ): T[];
214
- constructor(ctx: AgentContext, env: Env);
215
- private _setStateInternal;
216
- /**
217
- * Update the Agent's state
218
- * @param state New state to set
219
- */
220
- setState(state: State): void;
221
- /**
222
- * Called when the Agent's state is updated
223
- * @param state Updated state
224
- * @param source Source of the state update ("server" or a client connection)
225
- */
226
- onStateUpdate(state: State | undefined, source: Connection | "server"): void;
227
- /**
228
- * Called when the Agent receives an email via routeAgentEmail()
229
- * Override this method to handle incoming emails
230
- * @param email Email message to process
231
- */
232
- _onEmail(email: AgentEmail): Promise<void>;
233
- /**
234
- * Reply to an email
235
- * @param email The email to reply to
236
- * @param options Options for the reply
237
- * @returns void
238
- */
239
- replyToEmail(
240
- email: AgentEmail,
241
- options: {
242
- fromName: string;
243
- subject?: string | undefined;
244
- body: string;
245
- contentType?: string;
246
- headers?: Record<string, string>;
247
- }
248
- ): Promise<void>;
249
- private _tryCatch;
250
- /**
251
- * Automatically wrap custom methods with agent context
252
- * This ensures getCurrentAgent() works in all custom methods without decorators
253
- */
254
- private _autoWrapCustomMethods;
255
- onError(connection: Connection, error: unknown): void | Promise<void>;
256
- onError(error: unknown): void | Promise<void>;
257
- /**
258
- * Render content (not implemented in base class)
259
- */
260
- render(): void;
261
- /**
262
- * Queue a task to be executed in the future
263
- * @param payload Payload to pass to the callback
264
- * @param callback Name of the method to call
265
- * @returns The ID of the queued task
266
- */
267
- queue<T = unknown>(callback: keyof this, payload: T): Promise<string>;
268
- private _flushingQueue;
269
- private _flushQueue;
270
- /**
271
- * Dequeue a task by ID
272
- * @param id ID of the task to dequeue
273
- */
274
- dequeue(id: string): Promise<void>;
275
- /**
276
- * Dequeue all tasks
277
- */
278
- dequeueAll(): Promise<void>;
279
- /**
280
- * Dequeue all tasks by callback
281
- * @param callback Name of the callback to dequeue
282
- */
283
- dequeueAllByCallback(callback: string): Promise<void>;
284
- /**
285
- * Get a queued task by ID
286
- * @param id ID of the task to get
287
- * @returns The task or undefined if not found
288
- */
289
- getQueue(id: string): Promise<QueueItem<string> | undefined>;
290
- /**
291
- * Get all queues by key and value
292
- * @param key Key to filter by
293
- * @param value Value to filter by
294
- * @returns Array of matching QueueItem objects
295
- */
296
- getQueues(key: string, value: string): Promise<QueueItem<string>[]>;
297
- /**
298
- * Schedule a task to be executed in the future
299
- * @template T Type of the payload data
300
- * @param when When to execute the task (Date, seconds delay, or cron expression)
301
- * @param callback Name of the method to call
302
- * @param payload Data to pass to the callback
303
- * @returns Schedule object representing the scheduled task
304
- */
305
- schedule<T = string>(
306
- when: Date | string | number,
307
- callback: keyof this,
308
- payload?: T
309
- ): Promise<Schedule<T>>;
310
- /**
311
- * Get a scheduled task by ID
312
- * @template T Type of the payload data
313
- * @param id ID of the scheduled task
314
- * @returns The Schedule object or undefined if not found
315
- */
316
- getSchedule<T = string>(id: string): Promise<Schedule<T> | undefined>;
317
- /**
318
- * Get scheduled tasks matching the given criteria
319
- * @template T Type of the payload data
320
- * @param criteria Criteria to filter schedules
321
- * @returns Array of matching Schedule objects
322
- */
323
- getSchedules<T = string>(criteria?: {
324
- id?: string;
325
- type?: "scheduled" | "delayed" | "cron";
326
- timeRange?: {
327
- start?: Date;
328
- end?: Date;
329
- };
330
- }): Schedule<T>[];
331
- /**
332
- * Cancel a scheduled task
333
- * @param id ID of the task to cancel
334
- * @returns true if the task was cancelled, false if the task was not found
335
- */
336
- cancelSchedule(id: string): Promise<boolean>;
337
- private _scheduleNextAlarm;
338
- /**
339
- * Method called when an alarm fires.
340
- * Executes any scheduled tasks that are due.
341
- *
342
- * @remarks
343
- * To schedule a task, please use the `this.schedule` method instead.
344
- * See {@link https://developers.cloudflare.com/agents/api-reference/schedule-tasks/}
345
- */
346
- readonly alarm: () => Promise<void>;
347
- /**
348
- * Destroy the Agent, removing all state and scheduled tasks
349
- */
350
- destroy(): Promise<void>;
351
- /**
352
- * Get all methods marked as callable on this Agent
353
- * @returns A map of method names to their metadata
354
- */
355
- private _isCallable;
356
- /**
357
- * Connect to a new MCP Server
358
- *
359
- * @param serverName Name of the MCP server
360
- * @param url MCP Server SSE URL
361
- * @param callbackHost Base host for the agent, used for the redirect URI. If not provided, will be derived from the current request.
362
- * @param agentsPrefix agents routing prefix if not using `agents`
363
- * @param options MCP client and transport options
364
- * @returns Server id and state - either "authenticating" with authUrl, or "ready"
365
- * @throws If connection or discovery fails
366
- */
367
- addMcpServer(
368
- serverName: string,
369
- url: string,
370
- callbackHost?: string,
371
- agentsPrefix?: string,
372
- options?: {
373
- client?: ConstructorParameters<typeof Client>[1];
374
- transport?: {
375
- headers?: HeadersInit;
376
- type?: TransportType;
377
- };
378
- }
379
- ): Promise<
380
- | {
381
- id: string;
382
- state: typeof MCPConnectionState.AUTHENTICATING;
383
- authUrl: string;
384
- }
385
- | {
386
- id: string;
387
- state: typeof MCPConnectionState.READY;
388
- authUrl?: undefined;
389
- }
390
- >;
391
- removeMcpServer(id: string): Promise<void>;
392
- getMcpServers(): MCPServersState;
393
- private broadcastMcpServers;
394
- /**
395
- * Handle MCP OAuth callback request if it's an OAuth callback.
396
- *
397
- * This method encapsulates the entire OAuth callback flow:
398
- * 1. Checks if the request is an MCP OAuth callback
399
- * 2. Processes the OAuth code exchange
400
- * 3. Establishes the connection if successful
401
- * 4. Broadcasts MCP server state updates
402
- * 5. Returns the appropriate HTTP response
403
- *
404
- * @param request The incoming HTTP request
405
- * @returns Response if this was an OAuth callback, null otherwise
406
- */
407
- private handleMcpOAuthCallback;
408
- /**
409
- * Handle OAuth callback response using MCPClientManager configuration
410
- * @param result OAuth callback result
411
- * @param request The original request (needed for base URL)
412
- * @returns Response for the OAuth callback
413
- */
414
- private handleOAuthCallbackResponse;
415
- }
416
- /**
417
- * Namespace for creating Agent instances
418
- * @template Agentic Type of the Agent class
419
- * @deprecated Use DurableObjectNamespace instead
420
- */
421
- type AgentNamespace<Agentic extends Agent<Cloudflare.Env>> =
422
- DurableObjectNamespace<Agentic>;
423
- /**
424
- * Agent's durable context
425
- */
426
- type AgentContext = DurableObjectState;
427
- /**
428
- * Configuration options for Agent routing
429
- */
430
- type AgentOptions<Env> = PartyServerOptions<Env> & {
431
- /**
432
- * Whether to enable CORS for the Agent
433
- */
434
- cors?: boolean | HeadersInit | undefined;
435
- };
436
- /**
437
- * Route a request to the appropriate Agent
438
- * @param request Request to route
439
- * @param env Environment containing Agent bindings
440
- * @param options Routing options
441
- * @returns Response from the Agent or undefined if no route matched
442
- */
443
- declare function routeAgentRequest<Env>(
444
- request: Request,
445
- env: Env,
446
- options?: AgentOptions<Env>
447
- ): Promise<Response | null>;
448
- type EmailResolver<Env> = (
449
- email: ForwardableEmailMessage,
450
- env: Env
451
- ) => Promise<{
452
- agentName: string;
453
- agentId: string;
454
- } | null>;
455
- /**
456
- * Create a resolver that uses the message-id header to determine the agent to route the email to
457
- * @returns A function that resolves the agent to route the email to
458
- */
459
- declare function createHeaderBasedEmailResolver<Env>(): EmailResolver<Env>;
460
- /**
461
- * Create a resolver that uses the email address to determine the agent to route the email to
462
- * @param defaultAgentName The default agent name to use if the email address does not contain a sub-address
463
- * @returns A function that resolves the agent to route the email to
464
- */
465
- declare function createAddressBasedEmailResolver<Env>(
466
- defaultAgentName: string
467
- ): EmailResolver<Env>;
468
- /**
469
- * Create a resolver that uses the agentName and agentId to determine the agent to route the email to
470
- * @param agentName The name of the agent to route the email to
471
- * @param agentId The id of the agent to route the email to
472
- * @returns A function that resolves the agent to route the email to
473
- */
474
- declare function createCatchAllEmailResolver<Env>(
475
- agentName: string,
476
- agentId: string
477
- ): EmailResolver<Env>;
478
- type EmailRoutingOptions<Env> = AgentOptions<Env> & {
479
- resolver: EmailResolver<Env>;
480
- };
481
- /**
482
- * Route an email to the appropriate Agent
483
- * @param email The email to route
484
- * @param env The environment containing the Agent bindings
485
- * @param options The options for routing the email
486
- * @returns A promise that resolves when the email has been routed
487
- */
488
- declare function routeAgentEmail<Env extends Cloudflare.Env = Cloudflare.Env>(
489
- email: ForwardableEmailMessage,
490
- env: Env,
491
- options: EmailRoutingOptions<Env>
492
- ): Promise<void>;
493
- type EmailSendOptions = {
494
- to: string;
495
- subject: string;
496
- body: string;
497
- contentType?: string;
498
- headers?: Record<string, string>;
499
- includeRoutingHeaders?: boolean;
500
- agentName?: string;
501
- agentId?: string;
502
- domain?: string;
503
- };
504
- /**
505
- * Get or create an Agent by name
506
- * @template Env Environment type containing bindings
507
- * @template T Type of the Agent class
508
- * @param namespace Agent namespace
509
- * @param name Name of the Agent instance
510
- * @param options Options for Agent creation
511
- * @returns Promise resolving to an Agent instance stub
512
- */
513
- declare function getAgentByName<
514
- Env extends Cloudflare.Env = Cloudflare.Env,
515
- T extends Agent<Env> = Agent<Env>,
516
- Props extends Record<string, unknown> = Record<string, unknown>
517
- >(
518
- namespace: DurableObjectNamespace<T>,
519
- name: string,
520
- options?: {
521
- jurisdiction?: DurableObjectJurisdiction;
522
- locationHint?: DurableObjectLocationHint;
523
- props?: Props;
524
- }
525
- ): Promise<DurableObjectStub<T>>;
526
- /**
527
- * A wrapper for streaming responses in callable methods
528
- */
529
- declare class StreamingResponse {
530
- private _connection;
531
- private _id;
532
- private _closed;
533
- constructor(connection: Connection, id: string);
534
- /**
535
- * Send a chunk of data to the client
536
- * @param chunk The data to send
537
- */
538
- send(chunk: unknown): void;
539
- /**
540
- * End the stream and send the final chunk (if any)
541
- * @param finalChunk Optional final chunk of data to send
542
- */
543
- end(finalChunk?: unknown): void;
544
- }
545
- //#endregion
546
- export {
547
- createCatchAllEmailResolver as C,
548
- routeAgentEmail as D,
549
- getCurrentAgent as E,
550
- routeAgentRequest as O,
551
- createAddressBasedEmailResolver as S,
552
- getAgentByName as T,
553
- Schedule as _,
554
- CallableMetadata as a,
555
- WSMessage as b,
556
- EmailResolver as c,
557
- MCPServer as d,
558
- MCPServerMessage as f,
559
- RPCResponse as g,
560
- RPCRequest as h,
561
- AgentOptions as i,
562
- unstable_callable as k,
563
- EmailRoutingOptions as l,
564
- QueueItem as m,
565
- AgentContext as n,
566
- Connection$1 as o,
567
- MCPServersState as p,
568
- AgentNamespace as r,
569
- ConnectionContext as s,
570
- Agent as t,
571
- EmailSendOptions as u,
572
- StateUpdateMessage as v,
573
- createHeaderBasedEmailResolver as w,
574
- callable as x,
575
- StreamingResponse as y
576
- };
577
- //# sourceMappingURL=index-CT2tCrLr.d.ts.map
@@ -1,39 +0,0 @@
1
- //#region src/serializable.d.ts
2
- type SerializableValue =
3
- | undefined
4
- | null
5
- | string
6
- | number
7
- | boolean
8
- | {
9
- [key: string]: SerializableValue;
10
- }
11
- | SerializableValue[];
12
- type SerializableReturnValue =
13
- | SerializableValue
14
- | void
15
- | Promise<SerializableValue>
16
- | Promise<void>;
17
- type AllSerializableValues<A$1> = A$1 extends [infer First, ...infer Rest]
18
- ? First extends SerializableValue
19
- ? AllSerializableValues<Rest>
20
- : false
21
- : true;
22
- type Method = (...args: any[]) => any;
23
- type RPCMethod<T = Method> = T extends Method
24
- ? T extends (...arg: infer A) => infer R
25
- ? AllSerializableValues<A> extends true
26
- ? R extends SerializableReturnValue
27
- ? T
28
- : never
29
- : never
30
- : never
31
- : never;
32
- //#endregion
33
- export {
34
- SerializableValue as i,
35
- RPCMethod as n,
36
- SerializableReturnValue as r,
37
- Method as t
38
- };
39
- //# sourceMappingURL=serializable-Crsj26mx.d.ts.map