@moneytools-dev/ai-sdk 0.0.0-stage → 0.2.0

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.
@@ -0,0 +1,3782 @@
1
+ import { type EvmAccount } from "@moneytools-dev/transcripts";
2
+ export declare const TOOLS_URL = "https://tools.moneytools.dev";
3
+ export declare const PRECHECK_URL = "https://api.moneytools.dev";
4
+ export interface MoneyToolsOptions {
5
+ /** viem LocalAccount (or any {address, signTypedData, signMessage}) that pays x402 USDC on Base. */
6
+ account: EvmAccount;
7
+ /** Hard cap per signed payment in USD (default 1.00). Anything above is refused before signing. */
8
+ maxUsdPerRequest?: number;
9
+ /** Cap for wallet-risk / token-safety / precheck payments. Defaults to maxUsdPerRequest or 0.02. */
10
+ maxPaymentUsdc?: number;
11
+ /** Default seconds transcribeAudio waits for the result (default 120). */
12
+ maxWaitSeconds?: number;
13
+ transcriptsUrl?: string;
14
+ settleUrl?: string;
15
+ toolsUrl?: string;
16
+ precheckUrl?: string;
17
+ fetch?: typeof fetch;
18
+ }
19
+ /**
20
+ * MoneyTools tools for the Vercel AI SDK (`generateText({ tools: moneytoolsTools({ account }) })`).
21
+ * Payment safety: precheck and token checks at 0.005 USDC, wallet risk card at 0.02 USDC.
22
+ * Transcripts: 0.005 USDC per started audio minute. Settle: 0.002–0.003 USDC per call.
23
+ * Paid via x402 on Base.
24
+ */
25
+ export declare function moneytoolsTools(o: MoneyToolsOptions): {
26
+ precheck: ({
27
+ deferLoading?: boolean;
28
+ title?: string;
29
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
30
+ metadata?: import("@ai-sdk/provider").JSONObject;
31
+ inputSchema: import("ai").FlexibleSchema<{
32
+ url: string;
33
+ method?: string | undefined;
34
+ }>;
35
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
36
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
37
+ url: string;
38
+ method?: string | undefined;
39
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
40
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
41
+ onInputDelta?: ((options: {
42
+ inputTextDelta: string;
43
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
44
+ onInputAvailable?: ((options: {
45
+ input: {
46
+ url: string;
47
+ method?: string | undefined;
48
+ };
49
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
50
+ toModelOutput?: ((options: {
51
+ toolCallId: string;
52
+ input: {
53
+ url: string;
54
+ method?: string | undefined;
55
+ };
56
+ output: NoInfer<{
57
+ success: boolean;
58
+ data: Record<string, unknown>;
59
+ status?: undefined;
60
+ error?: undefined;
61
+ details?: undefined;
62
+ } | {
63
+ success: boolean;
64
+ status: number;
65
+ error: string;
66
+ details: Record<string, unknown>;
67
+ data?: undefined;
68
+ } | {
69
+ success: boolean;
70
+ paymentRequired: boolean;
71
+ terms: PaymentTerms | undefined;
72
+ error: string;
73
+ } | {
74
+ error: any;
75
+ status: any;
76
+ }>;
77
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
78
+ } & {
79
+ outputSchema?: import("ai").FlexibleSchema<{
80
+ success: boolean;
81
+ data: Record<string, unknown>;
82
+ status?: undefined;
83
+ error?: undefined;
84
+ details?: undefined;
85
+ } | {
86
+ success: boolean;
87
+ status: number;
88
+ error: string;
89
+ details: Record<string, unknown>;
90
+ data?: undefined;
91
+ } | {
92
+ success: boolean;
93
+ paymentRequired: boolean;
94
+ terms: PaymentTerms | undefined;
95
+ error: string;
96
+ } | {
97
+ error: any;
98
+ status: any;
99
+ }> | undefined;
100
+ execute: import("ai").ToolExecuteFunction<{
101
+ url: string;
102
+ method?: string | undefined;
103
+ }, {
104
+ success: boolean;
105
+ data: Record<string, unknown>;
106
+ status?: undefined;
107
+ error?: undefined;
108
+ details?: undefined;
109
+ } | {
110
+ success: boolean;
111
+ status: number;
112
+ error: string;
113
+ details: Record<string, unknown>;
114
+ data?: undefined;
115
+ } | {
116
+ success: boolean;
117
+ paymentRequired: boolean;
118
+ terms: PaymentTerms | undefined;
119
+ error: string;
120
+ } | {
121
+ error: any;
122
+ status: any;
123
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
124
+ } & {
125
+ description?: string | ((options: {
126
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
127
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
128
+ }) => string) | undefined;
129
+ strict?: boolean;
130
+ inputExamples?: {
131
+ input: NoInfer<{
132
+ url: string;
133
+ method?: string | undefined;
134
+ }>;
135
+ }[] | undefined;
136
+ id?: never;
137
+ isProviderExecuted?: never;
138
+ args?: never;
139
+ supportsDeferredResults?: never;
140
+ } & {
141
+ type?: undefined | "function";
142
+ } & {
143
+ execute: import("ai").ToolExecuteFunction<{
144
+ url: string;
145
+ method?: string | undefined;
146
+ }, {
147
+ success: boolean;
148
+ data: Record<string, unknown>;
149
+ status?: undefined;
150
+ error?: undefined;
151
+ details?: undefined;
152
+ } | {
153
+ success: boolean;
154
+ status: number;
155
+ error: string;
156
+ details: Record<string, unknown>;
157
+ data?: undefined;
158
+ } | {
159
+ success: boolean;
160
+ paymentRequired: boolean;
161
+ terms: PaymentTerms | undefined;
162
+ error: string;
163
+ } | {
164
+ error: any;
165
+ status: any;
166
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
167
+ }) | ({
168
+ deferLoading?: boolean;
169
+ title?: string;
170
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
171
+ metadata?: import("@ai-sdk/provider").JSONObject;
172
+ inputSchema: import("ai").FlexibleSchema<{
173
+ url: string;
174
+ method?: string | undefined;
175
+ }>;
176
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
177
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
178
+ url: string;
179
+ method?: string | undefined;
180
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
181
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
182
+ onInputDelta?: ((options: {
183
+ inputTextDelta: string;
184
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
185
+ onInputAvailable?: ((options: {
186
+ input: {
187
+ url: string;
188
+ method?: string | undefined;
189
+ };
190
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
191
+ toModelOutput?: ((options: {
192
+ toolCallId: string;
193
+ input: {
194
+ url: string;
195
+ method?: string | undefined;
196
+ };
197
+ output: NoInfer<{
198
+ success: boolean;
199
+ data: Record<string, unknown>;
200
+ status?: undefined;
201
+ error?: undefined;
202
+ details?: undefined;
203
+ } | {
204
+ success: boolean;
205
+ status: number;
206
+ error: string;
207
+ details: Record<string, unknown>;
208
+ data?: undefined;
209
+ } | {
210
+ success: boolean;
211
+ paymentRequired: boolean;
212
+ terms: PaymentTerms | undefined;
213
+ error: string;
214
+ } | {
215
+ error: any;
216
+ status: any;
217
+ }>;
218
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
219
+ } & {
220
+ outputSchema?: import("ai").FlexibleSchema<{
221
+ success: boolean;
222
+ data: Record<string, unknown>;
223
+ status?: undefined;
224
+ error?: undefined;
225
+ details?: undefined;
226
+ } | {
227
+ success: boolean;
228
+ status: number;
229
+ error: string;
230
+ details: Record<string, unknown>;
231
+ data?: undefined;
232
+ } | {
233
+ success: boolean;
234
+ paymentRequired: boolean;
235
+ terms: PaymentTerms | undefined;
236
+ error: string;
237
+ } | {
238
+ error: any;
239
+ status: any;
240
+ }> | undefined;
241
+ execute: import("ai").ToolExecuteFunction<{
242
+ url: string;
243
+ method?: string | undefined;
244
+ }, {
245
+ success: boolean;
246
+ data: Record<string, unknown>;
247
+ status?: undefined;
248
+ error?: undefined;
249
+ details?: undefined;
250
+ } | {
251
+ success: boolean;
252
+ status: number;
253
+ error: string;
254
+ details: Record<string, unknown>;
255
+ data?: undefined;
256
+ } | {
257
+ success: boolean;
258
+ paymentRequired: boolean;
259
+ terms: PaymentTerms | undefined;
260
+ error: string;
261
+ } | {
262
+ error: any;
263
+ status: any;
264
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
265
+ } & {
266
+ description?: string | ((options: {
267
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
268
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
269
+ }) => string) | undefined;
270
+ strict?: boolean;
271
+ inputExamples?: {
272
+ input: NoInfer<{
273
+ url: string;
274
+ method?: string | undefined;
275
+ }>;
276
+ }[] | undefined;
277
+ id?: never;
278
+ isProviderExecuted?: never;
279
+ args?: never;
280
+ supportsDeferredResults?: never;
281
+ } & {
282
+ type: "dynamic";
283
+ } & {
284
+ execute: import("ai").ToolExecuteFunction<{
285
+ url: string;
286
+ method?: string | undefined;
287
+ }, {
288
+ success: boolean;
289
+ data: Record<string, unknown>;
290
+ status?: undefined;
291
+ error?: undefined;
292
+ details?: undefined;
293
+ } | {
294
+ success: boolean;
295
+ status: number;
296
+ error: string;
297
+ details: Record<string, unknown>;
298
+ data?: undefined;
299
+ } | {
300
+ success: boolean;
301
+ paymentRequired: boolean;
302
+ terms: PaymentTerms | undefined;
303
+ error: string;
304
+ } | {
305
+ error: any;
306
+ status: any;
307
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
308
+ }) | ({
309
+ deferLoading?: boolean;
310
+ title?: string;
311
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
312
+ metadata?: import("@ai-sdk/provider").JSONObject;
313
+ inputSchema: import("ai").FlexibleSchema<{
314
+ url: string;
315
+ method?: string | undefined;
316
+ }>;
317
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
318
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
319
+ url: string;
320
+ method?: string | undefined;
321
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
322
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
323
+ onInputDelta?: ((options: {
324
+ inputTextDelta: string;
325
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
326
+ onInputAvailable?: ((options: {
327
+ input: {
328
+ url: string;
329
+ method?: string | undefined;
330
+ };
331
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
332
+ toModelOutput?: ((options: {
333
+ toolCallId: string;
334
+ input: {
335
+ url: string;
336
+ method?: string | undefined;
337
+ };
338
+ output: NoInfer<{
339
+ success: boolean;
340
+ data: Record<string, unknown>;
341
+ status?: undefined;
342
+ error?: undefined;
343
+ details?: undefined;
344
+ } | {
345
+ success: boolean;
346
+ status: number;
347
+ error: string;
348
+ details: Record<string, unknown>;
349
+ data?: undefined;
350
+ } | {
351
+ success: boolean;
352
+ paymentRequired: boolean;
353
+ terms: PaymentTerms | undefined;
354
+ error: string;
355
+ } | {
356
+ error: any;
357
+ status: any;
358
+ }>;
359
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
360
+ } & {
361
+ outputSchema?: import("ai").FlexibleSchema<{
362
+ success: boolean;
363
+ data: Record<string, unknown>;
364
+ status?: undefined;
365
+ error?: undefined;
366
+ details?: undefined;
367
+ } | {
368
+ success: boolean;
369
+ status: number;
370
+ error: string;
371
+ details: Record<string, unknown>;
372
+ data?: undefined;
373
+ } | {
374
+ success: boolean;
375
+ paymentRequired: boolean;
376
+ terms: PaymentTerms | undefined;
377
+ error: string;
378
+ } | {
379
+ error: any;
380
+ status: any;
381
+ }> | undefined;
382
+ execute: import("ai").ToolExecuteFunction<{
383
+ url: string;
384
+ method?: string | undefined;
385
+ }, {
386
+ success: boolean;
387
+ data: Record<string, unknown>;
388
+ status?: undefined;
389
+ error?: undefined;
390
+ details?: undefined;
391
+ } | {
392
+ success: boolean;
393
+ status: number;
394
+ error: string;
395
+ details: Record<string, unknown>;
396
+ data?: undefined;
397
+ } | {
398
+ success: boolean;
399
+ paymentRequired: boolean;
400
+ terms: PaymentTerms | undefined;
401
+ error: string;
402
+ } | {
403
+ error: any;
404
+ status: any;
405
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
406
+ } & {
407
+ type: "provider";
408
+ id: `${string}.${string}`;
409
+ args: Record<string, unknown>;
410
+ description?: never;
411
+ strict?: never;
412
+ inputExamples?: never;
413
+ } & {
414
+ isProviderExecuted: false;
415
+ supportsDeferredResults?: never;
416
+ } & {
417
+ execute: import("ai").ToolExecuteFunction<{
418
+ url: string;
419
+ method?: string | undefined;
420
+ }, {
421
+ success: boolean;
422
+ data: Record<string, unknown>;
423
+ status?: undefined;
424
+ error?: undefined;
425
+ details?: undefined;
426
+ } | {
427
+ success: boolean;
428
+ status: number;
429
+ error: string;
430
+ details: Record<string, unknown>;
431
+ data?: undefined;
432
+ } | {
433
+ success: boolean;
434
+ paymentRequired: boolean;
435
+ terms: PaymentTerms | undefined;
436
+ error: string;
437
+ } | {
438
+ error: any;
439
+ status: any;
440
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
441
+ }) | ({
442
+ deferLoading?: boolean;
443
+ title?: string;
444
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
445
+ metadata?: import("@ai-sdk/provider").JSONObject;
446
+ inputSchema: import("ai").FlexibleSchema<{
447
+ url: string;
448
+ method?: string | undefined;
449
+ }>;
450
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
451
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
452
+ url: string;
453
+ method?: string | undefined;
454
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
455
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
456
+ onInputDelta?: ((options: {
457
+ inputTextDelta: string;
458
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
459
+ onInputAvailable?: ((options: {
460
+ input: {
461
+ url: string;
462
+ method?: string | undefined;
463
+ };
464
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
465
+ toModelOutput?: ((options: {
466
+ toolCallId: string;
467
+ input: {
468
+ url: string;
469
+ method?: string | undefined;
470
+ };
471
+ output: NoInfer<{
472
+ success: boolean;
473
+ data: Record<string, unknown>;
474
+ status?: undefined;
475
+ error?: undefined;
476
+ details?: undefined;
477
+ } | {
478
+ success: boolean;
479
+ status: number;
480
+ error: string;
481
+ details: Record<string, unknown>;
482
+ data?: undefined;
483
+ } | {
484
+ success: boolean;
485
+ paymentRequired: boolean;
486
+ terms: PaymentTerms | undefined;
487
+ error: string;
488
+ } | {
489
+ error: any;
490
+ status: any;
491
+ }>;
492
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
493
+ } & {
494
+ outputSchema?: import("ai").FlexibleSchema<{
495
+ success: boolean;
496
+ data: Record<string, unknown>;
497
+ status?: undefined;
498
+ error?: undefined;
499
+ details?: undefined;
500
+ } | {
501
+ success: boolean;
502
+ status: number;
503
+ error: string;
504
+ details: Record<string, unknown>;
505
+ data?: undefined;
506
+ } | {
507
+ success: boolean;
508
+ paymentRequired: boolean;
509
+ terms: PaymentTerms | undefined;
510
+ error: string;
511
+ } | {
512
+ error: any;
513
+ status: any;
514
+ }> | undefined;
515
+ execute: import("ai").ToolExecuteFunction<{
516
+ url: string;
517
+ method?: string | undefined;
518
+ }, {
519
+ success: boolean;
520
+ data: Record<string, unknown>;
521
+ status?: undefined;
522
+ error?: undefined;
523
+ details?: undefined;
524
+ } | {
525
+ success: boolean;
526
+ status: number;
527
+ error: string;
528
+ details: Record<string, unknown>;
529
+ data?: undefined;
530
+ } | {
531
+ success: boolean;
532
+ paymentRequired: boolean;
533
+ terms: PaymentTerms | undefined;
534
+ error: string;
535
+ } | {
536
+ error: any;
537
+ status: any;
538
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
539
+ } & {
540
+ type: "provider";
541
+ id: `${string}.${string}`;
542
+ args: Record<string, unknown>;
543
+ description?: never;
544
+ strict?: never;
545
+ inputExamples?: never;
546
+ } & {
547
+ isProviderExecuted: true;
548
+ supportsDeferredResults?: boolean;
549
+ } & {
550
+ execute: import("ai").ToolExecuteFunction<{
551
+ url: string;
552
+ method?: string | undefined;
553
+ }, {
554
+ success: boolean;
555
+ data: Record<string, unknown>;
556
+ status?: undefined;
557
+ error?: undefined;
558
+ details?: undefined;
559
+ } | {
560
+ success: boolean;
561
+ status: number;
562
+ error: string;
563
+ details: Record<string, unknown>;
564
+ data?: undefined;
565
+ } | {
566
+ success: boolean;
567
+ paymentRequired: boolean;
568
+ terms: PaymentTerms | undefined;
569
+ error: string;
570
+ } | {
571
+ error: any;
572
+ status: any;
573
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
574
+ });
575
+ walletRiskCard: ({
576
+ deferLoading?: boolean;
577
+ title?: string;
578
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
579
+ metadata?: import("@ai-sdk/provider").JSONObject;
580
+ inputSchema: import("ai").FlexibleSchema<{
581
+ address: string;
582
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
583
+ }>;
584
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
585
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
586
+ address: string;
587
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
588
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
589
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
590
+ onInputDelta?: ((options: {
591
+ inputTextDelta: string;
592
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
593
+ onInputAvailable?: ((options: {
594
+ input: {
595
+ address: string;
596
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
597
+ };
598
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
599
+ toModelOutput?: ((options: {
600
+ toolCallId: string;
601
+ input: {
602
+ address: string;
603
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
604
+ };
605
+ output: NoInfer<{
606
+ success: boolean;
607
+ data: Record<string, unknown>;
608
+ status?: undefined;
609
+ error?: undefined;
610
+ details?: undefined;
611
+ } | {
612
+ success: boolean;
613
+ status: number;
614
+ error: string;
615
+ details: Record<string, unknown>;
616
+ data?: undefined;
617
+ } | {
618
+ success: boolean;
619
+ paymentRequired: boolean;
620
+ terms: PaymentTerms | undefined;
621
+ error: string;
622
+ } | {
623
+ error: any;
624
+ status: any;
625
+ }>;
626
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
627
+ } & {
628
+ outputSchema?: import("ai").FlexibleSchema<{
629
+ success: boolean;
630
+ data: Record<string, unknown>;
631
+ status?: undefined;
632
+ error?: undefined;
633
+ details?: undefined;
634
+ } | {
635
+ success: boolean;
636
+ status: number;
637
+ error: string;
638
+ details: Record<string, unknown>;
639
+ data?: undefined;
640
+ } | {
641
+ success: boolean;
642
+ paymentRequired: boolean;
643
+ terms: PaymentTerms | undefined;
644
+ error: string;
645
+ } | {
646
+ error: any;
647
+ status: any;
648
+ }> | undefined;
649
+ execute: import("ai").ToolExecuteFunction<{
650
+ address: string;
651
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
652
+ }, {
653
+ success: boolean;
654
+ data: Record<string, unknown>;
655
+ status?: undefined;
656
+ error?: undefined;
657
+ details?: undefined;
658
+ } | {
659
+ success: boolean;
660
+ status: number;
661
+ error: string;
662
+ details: Record<string, unknown>;
663
+ data?: undefined;
664
+ } | {
665
+ success: boolean;
666
+ paymentRequired: boolean;
667
+ terms: PaymentTerms | undefined;
668
+ error: string;
669
+ } | {
670
+ error: any;
671
+ status: any;
672
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
673
+ } & {
674
+ description?: string | ((options: {
675
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
676
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
677
+ }) => string) | undefined;
678
+ strict?: boolean;
679
+ inputExamples?: {
680
+ input: NoInfer<{
681
+ address: string;
682
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
683
+ }>;
684
+ }[] | undefined;
685
+ id?: never;
686
+ isProviderExecuted?: never;
687
+ args?: never;
688
+ supportsDeferredResults?: never;
689
+ } & {
690
+ type?: undefined | "function";
691
+ } & {
692
+ execute: import("ai").ToolExecuteFunction<{
693
+ address: string;
694
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
695
+ }, {
696
+ success: boolean;
697
+ data: Record<string, unknown>;
698
+ status?: undefined;
699
+ error?: undefined;
700
+ details?: undefined;
701
+ } | {
702
+ success: boolean;
703
+ status: number;
704
+ error: string;
705
+ details: Record<string, unknown>;
706
+ data?: undefined;
707
+ } | {
708
+ success: boolean;
709
+ paymentRequired: boolean;
710
+ terms: PaymentTerms | undefined;
711
+ error: string;
712
+ } | {
713
+ error: any;
714
+ status: any;
715
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
716
+ }) | ({
717
+ deferLoading?: boolean;
718
+ title?: string;
719
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
720
+ metadata?: import("@ai-sdk/provider").JSONObject;
721
+ inputSchema: import("ai").FlexibleSchema<{
722
+ address: string;
723
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
724
+ }>;
725
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
726
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
727
+ address: string;
728
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
729
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
730
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
731
+ onInputDelta?: ((options: {
732
+ inputTextDelta: string;
733
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
734
+ onInputAvailable?: ((options: {
735
+ input: {
736
+ address: string;
737
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
738
+ };
739
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
740
+ toModelOutput?: ((options: {
741
+ toolCallId: string;
742
+ input: {
743
+ address: string;
744
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
745
+ };
746
+ output: NoInfer<{
747
+ success: boolean;
748
+ data: Record<string, unknown>;
749
+ status?: undefined;
750
+ error?: undefined;
751
+ details?: undefined;
752
+ } | {
753
+ success: boolean;
754
+ status: number;
755
+ error: string;
756
+ details: Record<string, unknown>;
757
+ data?: undefined;
758
+ } | {
759
+ success: boolean;
760
+ paymentRequired: boolean;
761
+ terms: PaymentTerms | undefined;
762
+ error: string;
763
+ } | {
764
+ error: any;
765
+ status: any;
766
+ }>;
767
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
768
+ } & {
769
+ outputSchema?: import("ai").FlexibleSchema<{
770
+ success: boolean;
771
+ data: Record<string, unknown>;
772
+ status?: undefined;
773
+ error?: undefined;
774
+ details?: undefined;
775
+ } | {
776
+ success: boolean;
777
+ status: number;
778
+ error: string;
779
+ details: Record<string, unknown>;
780
+ data?: undefined;
781
+ } | {
782
+ success: boolean;
783
+ paymentRequired: boolean;
784
+ terms: PaymentTerms | undefined;
785
+ error: string;
786
+ } | {
787
+ error: any;
788
+ status: any;
789
+ }> | undefined;
790
+ execute: import("ai").ToolExecuteFunction<{
791
+ address: string;
792
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
793
+ }, {
794
+ success: boolean;
795
+ data: Record<string, unknown>;
796
+ status?: undefined;
797
+ error?: undefined;
798
+ details?: undefined;
799
+ } | {
800
+ success: boolean;
801
+ status: number;
802
+ error: string;
803
+ details: Record<string, unknown>;
804
+ data?: undefined;
805
+ } | {
806
+ success: boolean;
807
+ paymentRequired: boolean;
808
+ terms: PaymentTerms | undefined;
809
+ error: string;
810
+ } | {
811
+ error: any;
812
+ status: any;
813
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
814
+ } & {
815
+ description?: string | ((options: {
816
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
817
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
818
+ }) => string) | undefined;
819
+ strict?: boolean;
820
+ inputExamples?: {
821
+ input: NoInfer<{
822
+ address: string;
823
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
824
+ }>;
825
+ }[] | undefined;
826
+ id?: never;
827
+ isProviderExecuted?: never;
828
+ args?: never;
829
+ supportsDeferredResults?: never;
830
+ } & {
831
+ type: "dynamic";
832
+ } & {
833
+ execute: import("ai").ToolExecuteFunction<{
834
+ address: string;
835
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
836
+ }, {
837
+ success: boolean;
838
+ data: Record<string, unknown>;
839
+ status?: undefined;
840
+ error?: undefined;
841
+ details?: undefined;
842
+ } | {
843
+ success: boolean;
844
+ status: number;
845
+ error: string;
846
+ details: Record<string, unknown>;
847
+ data?: undefined;
848
+ } | {
849
+ success: boolean;
850
+ paymentRequired: boolean;
851
+ terms: PaymentTerms | undefined;
852
+ error: string;
853
+ } | {
854
+ error: any;
855
+ status: any;
856
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
857
+ }) | ({
858
+ deferLoading?: boolean;
859
+ title?: string;
860
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
861
+ metadata?: import("@ai-sdk/provider").JSONObject;
862
+ inputSchema: import("ai").FlexibleSchema<{
863
+ address: string;
864
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
865
+ }>;
866
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
867
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
868
+ address: string;
869
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
870
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
871
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
872
+ onInputDelta?: ((options: {
873
+ inputTextDelta: string;
874
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
875
+ onInputAvailable?: ((options: {
876
+ input: {
877
+ address: string;
878
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
879
+ };
880
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
881
+ toModelOutput?: ((options: {
882
+ toolCallId: string;
883
+ input: {
884
+ address: string;
885
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
886
+ };
887
+ output: NoInfer<{
888
+ success: boolean;
889
+ data: Record<string, unknown>;
890
+ status?: undefined;
891
+ error?: undefined;
892
+ details?: undefined;
893
+ } | {
894
+ success: boolean;
895
+ status: number;
896
+ error: string;
897
+ details: Record<string, unknown>;
898
+ data?: undefined;
899
+ } | {
900
+ success: boolean;
901
+ paymentRequired: boolean;
902
+ terms: PaymentTerms | undefined;
903
+ error: string;
904
+ } | {
905
+ error: any;
906
+ status: any;
907
+ }>;
908
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
909
+ } & {
910
+ outputSchema?: import("ai").FlexibleSchema<{
911
+ success: boolean;
912
+ data: Record<string, unknown>;
913
+ status?: undefined;
914
+ error?: undefined;
915
+ details?: undefined;
916
+ } | {
917
+ success: boolean;
918
+ status: number;
919
+ error: string;
920
+ details: Record<string, unknown>;
921
+ data?: undefined;
922
+ } | {
923
+ success: boolean;
924
+ paymentRequired: boolean;
925
+ terms: PaymentTerms | undefined;
926
+ error: string;
927
+ } | {
928
+ error: any;
929
+ status: any;
930
+ }> | undefined;
931
+ execute: import("ai").ToolExecuteFunction<{
932
+ address: string;
933
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
934
+ }, {
935
+ success: boolean;
936
+ data: Record<string, unknown>;
937
+ status?: undefined;
938
+ error?: undefined;
939
+ details?: undefined;
940
+ } | {
941
+ success: boolean;
942
+ status: number;
943
+ error: string;
944
+ details: Record<string, unknown>;
945
+ data?: undefined;
946
+ } | {
947
+ success: boolean;
948
+ paymentRequired: boolean;
949
+ terms: PaymentTerms | undefined;
950
+ error: string;
951
+ } | {
952
+ error: any;
953
+ status: any;
954
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
955
+ } & {
956
+ type: "provider";
957
+ id: `${string}.${string}`;
958
+ args: Record<string, unknown>;
959
+ description?: never;
960
+ strict?: never;
961
+ inputExamples?: never;
962
+ } & {
963
+ isProviderExecuted: false;
964
+ supportsDeferredResults?: never;
965
+ } & {
966
+ execute: import("ai").ToolExecuteFunction<{
967
+ address: string;
968
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
969
+ }, {
970
+ success: boolean;
971
+ data: Record<string, unknown>;
972
+ status?: undefined;
973
+ error?: undefined;
974
+ details?: undefined;
975
+ } | {
976
+ success: boolean;
977
+ status: number;
978
+ error: string;
979
+ details: Record<string, unknown>;
980
+ data?: undefined;
981
+ } | {
982
+ success: boolean;
983
+ paymentRequired: boolean;
984
+ terms: PaymentTerms | undefined;
985
+ error: string;
986
+ } | {
987
+ error: any;
988
+ status: any;
989
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
990
+ }) | ({
991
+ deferLoading?: boolean;
992
+ title?: string;
993
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
994
+ metadata?: import("@ai-sdk/provider").JSONObject;
995
+ inputSchema: import("ai").FlexibleSchema<{
996
+ address: string;
997
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
998
+ }>;
999
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1000
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1001
+ address: string;
1002
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1003
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1004
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1005
+ onInputDelta?: ((options: {
1006
+ inputTextDelta: string;
1007
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1008
+ onInputAvailable?: ((options: {
1009
+ input: {
1010
+ address: string;
1011
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1012
+ };
1013
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1014
+ toModelOutput?: ((options: {
1015
+ toolCallId: string;
1016
+ input: {
1017
+ address: string;
1018
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1019
+ };
1020
+ output: NoInfer<{
1021
+ success: boolean;
1022
+ data: Record<string, unknown>;
1023
+ status?: undefined;
1024
+ error?: undefined;
1025
+ details?: undefined;
1026
+ } | {
1027
+ success: boolean;
1028
+ status: number;
1029
+ error: string;
1030
+ details: Record<string, unknown>;
1031
+ data?: undefined;
1032
+ } | {
1033
+ success: boolean;
1034
+ paymentRequired: boolean;
1035
+ terms: PaymentTerms | undefined;
1036
+ error: string;
1037
+ } | {
1038
+ error: any;
1039
+ status: any;
1040
+ }>;
1041
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1042
+ } & {
1043
+ outputSchema?: import("ai").FlexibleSchema<{
1044
+ success: boolean;
1045
+ data: Record<string, unknown>;
1046
+ status?: undefined;
1047
+ error?: undefined;
1048
+ details?: undefined;
1049
+ } | {
1050
+ success: boolean;
1051
+ status: number;
1052
+ error: string;
1053
+ details: Record<string, unknown>;
1054
+ data?: undefined;
1055
+ } | {
1056
+ success: boolean;
1057
+ paymentRequired: boolean;
1058
+ terms: PaymentTerms | undefined;
1059
+ error: string;
1060
+ } | {
1061
+ error: any;
1062
+ status: any;
1063
+ }> | undefined;
1064
+ execute: import("ai").ToolExecuteFunction<{
1065
+ address: string;
1066
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1067
+ }, {
1068
+ success: boolean;
1069
+ data: Record<string, unknown>;
1070
+ status?: undefined;
1071
+ error?: undefined;
1072
+ details?: undefined;
1073
+ } | {
1074
+ success: boolean;
1075
+ status: number;
1076
+ error: string;
1077
+ details: Record<string, unknown>;
1078
+ data?: undefined;
1079
+ } | {
1080
+ success: boolean;
1081
+ paymentRequired: boolean;
1082
+ terms: PaymentTerms | undefined;
1083
+ error: string;
1084
+ } | {
1085
+ error: any;
1086
+ status: any;
1087
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1088
+ } & {
1089
+ type: "provider";
1090
+ id: `${string}.${string}`;
1091
+ args: Record<string, unknown>;
1092
+ description?: never;
1093
+ strict?: never;
1094
+ inputExamples?: never;
1095
+ } & {
1096
+ isProviderExecuted: true;
1097
+ supportsDeferredResults?: boolean;
1098
+ } & {
1099
+ execute: import("ai").ToolExecuteFunction<{
1100
+ address: string;
1101
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1102
+ }, {
1103
+ success: boolean;
1104
+ data: Record<string, unknown>;
1105
+ status?: undefined;
1106
+ error?: undefined;
1107
+ details?: undefined;
1108
+ } | {
1109
+ success: boolean;
1110
+ status: number;
1111
+ error: string;
1112
+ details: Record<string, unknown>;
1113
+ data?: undefined;
1114
+ } | {
1115
+ success: boolean;
1116
+ paymentRequired: boolean;
1117
+ terms: PaymentTerms | undefined;
1118
+ error: string;
1119
+ } | {
1120
+ error: any;
1121
+ status: any;
1122
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1123
+ });
1124
+ tokenSafetyCheck: ({
1125
+ deferLoading?: boolean;
1126
+ title?: string;
1127
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1128
+ metadata?: import("@ai-sdk/provider").JSONObject;
1129
+ inputSchema: import("ai").FlexibleSchema<{
1130
+ token: string;
1131
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1132
+ usd?: number | undefined;
1133
+ }>;
1134
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1135
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1136
+ token: string;
1137
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1138
+ usd?: number | undefined;
1139
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1140
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1141
+ onInputDelta?: ((options: {
1142
+ inputTextDelta: string;
1143
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1144
+ onInputAvailable?: ((options: {
1145
+ input: {
1146
+ token: string;
1147
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1148
+ usd?: number | undefined;
1149
+ };
1150
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1151
+ toModelOutput?: ((options: {
1152
+ toolCallId: string;
1153
+ input: {
1154
+ token: string;
1155
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1156
+ usd?: number | undefined;
1157
+ };
1158
+ output: NoInfer<{
1159
+ success: boolean;
1160
+ data: Record<string, unknown>;
1161
+ status?: undefined;
1162
+ error?: undefined;
1163
+ details?: undefined;
1164
+ } | {
1165
+ success: boolean;
1166
+ status: number;
1167
+ error: string;
1168
+ details: Record<string, unknown>;
1169
+ data?: undefined;
1170
+ } | {
1171
+ success: boolean;
1172
+ paymentRequired: boolean;
1173
+ terms: PaymentTerms | undefined;
1174
+ error: string;
1175
+ } | {
1176
+ error: any;
1177
+ status: any;
1178
+ }>;
1179
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1180
+ } & {
1181
+ outputSchema?: import("ai").FlexibleSchema<{
1182
+ success: boolean;
1183
+ data: Record<string, unknown>;
1184
+ status?: undefined;
1185
+ error?: undefined;
1186
+ details?: undefined;
1187
+ } | {
1188
+ success: boolean;
1189
+ status: number;
1190
+ error: string;
1191
+ details: Record<string, unknown>;
1192
+ data?: undefined;
1193
+ } | {
1194
+ success: boolean;
1195
+ paymentRequired: boolean;
1196
+ terms: PaymentTerms | undefined;
1197
+ error: string;
1198
+ } | {
1199
+ error: any;
1200
+ status: any;
1201
+ }> | undefined;
1202
+ execute: import("ai").ToolExecuteFunction<{
1203
+ token: string;
1204
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1205
+ usd?: number | undefined;
1206
+ }, {
1207
+ success: boolean;
1208
+ data: Record<string, unknown>;
1209
+ status?: undefined;
1210
+ error?: undefined;
1211
+ details?: undefined;
1212
+ } | {
1213
+ success: boolean;
1214
+ status: number;
1215
+ error: string;
1216
+ details: Record<string, unknown>;
1217
+ data?: undefined;
1218
+ } | {
1219
+ success: boolean;
1220
+ paymentRequired: boolean;
1221
+ terms: PaymentTerms | undefined;
1222
+ error: string;
1223
+ } | {
1224
+ error: any;
1225
+ status: any;
1226
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1227
+ } & {
1228
+ description?: string | ((options: {
1229
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
1230
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
1231
+ }) => string) | undefined;
1232
+ strict?: boolean;
1233
+ inputExamples?: {
1234
+ input: NoInfer<{
1235
+ token: string;
1236
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1237
+ usd?: number | undefined;
1238
+ }>;
1239
+ }[] | undefined;
1240
+ id?: never;
1241
+ isProviderExecuted?: never;
1242
+ args?: never;
1243
+ supportsDeferredResults?: never;
1244
+ } & {
1245
+ type?: undefined | "function";
1246
+ } & {
1247
+ execute: import("ai").ToolExecuteFunction<{
1248
+ token: string;
1249
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1250
+ usd?: number | undefined;
1251
+ }, {
1252
+ success: boolean;
1253
+ data: Record<string, unknown>;
1254
+ status?: undefined;
1255
+ error?: undefined;
1256
+ details?: undefined;
1257
+ } | {
1258
+ success: boolean;
1259
+ status: number;
1260
+ error: string;
1261
+ details: Record<string, unknown>;
1262
+ data?: undefined;
1263
+ } | {
1264
+ success: boolean;
1265
+ paymentRequired: boolean;
1266
+ terms: PaymentTerms | undefined;
1267
+ error: string;
1268
+ } | {
1269
+ error: any;
1270
+ status: any;
1271
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1272
+ }) | ({
1273
+ deferLoading?: boolean;
1274
+ title?: string;
1275
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1276
+ metadata?: import("@ai-sdk/provider").JSONObject;
1277
+ inputSchema: import("ai").FlexibleSchema<{
1278
+ token: string;
1279
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1280
+ usd?: number | undefined;
1281
+ }>;
1282
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1283
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1284
+ token: string;
1285
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1286
+ usd?: number | undefined;
1287
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1288
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1289
+ onInputDelta?: ((options: {
1290
+ inputTextDelta: string;
1291
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1292
+ onInputAvailable?: ((options: {
1293
+ input: {
1294
+ token: string;
1295
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1296
+ usd?: number | undefined;
1297
+ };
1298
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1299
+ toModelOutput?: ((options: {
1300
+ toolCallId: string;
1301
+ input: {
1302
+ token: string;
1303
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1304
+ usd?: number | undefined;
1305
+ };
1306
+ output: NoInfer<{
1307
+ success: boolean;
1308
+ data: Record<string, unknown>;
1309
+ status?: undefined;
1310
+ error?: undefined;
1311
+ details?: undefined;
1312
+ } | {
1313
+ success: boolean;
1314
+ status: number;
1315
+ error: string;
1316
+ details: Record<string, unknown>;
1317
+ data?: undefined;
1318
+ } | {
1319
+ success: boolean;
1320
+ paymentRequired: boolean;
1321
+ terms: PaymentTerms | undefined;
1322
+ error: string;
1323
+ } | {
1324
+ error: any;
1325
+ status: any;
1326
+ }>;
1327
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1328
+ } & {
1329
+ outputSchema?: import("ai").FlexibleSchema<{
1330
+ success: boolean;
1331
+ data: Record<string, unknown>;
1332
+ status?: undefined;
1333
+ error?: undefined;
1334
+ details?: undefined;
1335
+ } | {
1336
+ success: boolean;
1337
+ status: number;
1338
+ error: string;
1339
+ details: Record<string, unknown>;
1340
+ data?: undefined;
1341
+ } | {
1342
+ success: boolean;
1343
+ paymentRequired: boolean;
1344
+ terms: PaymentTerms | undefined;
1345
+ error: string;
1346
+ } | {
1347
+ error: any;
1348
+ status: any;
1349
+ }> | undefined;
1350
+ execute: import("ai").ToolExecuteFunction<{
1351
+ token: string;
1352
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1353
+ usd?: number | undefined;
1354
+ }, {
1355
+ success: boolean;
1356
+ data: Record<string, unknown>;
1357
+ status?: undefined;
1358
+ error?: undefined;
1359
+ details?: undefined;
1360
+ } | {
1361
+ success: boolean;
1362
+ status: number;
1363
+ error: string;
1364
+ details: Record<string, unknown>;
1365
+ data?: undefined;
1366
+ } | {
1367
+ success: boolean;
1368
+ paymentRequired: boolean;
1369
+ terms: PaymentTerms | undefined;
1370
+ error: string;
1371
+ } | {
1372
+ error: any;
1373
+ status: any;
1374
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1375
+ } & {
1376
+ description?: string | ((options: {
1377
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
1378
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
1379
+ }) => string) | undefined;
1380
+ strict?: boolean;
1381
+ inputExamples?: {
1382
+ input: NoInfer<{
1383
+ token: string;
1384
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1385
+ usd?: number | undefined;
1386
+ }>;
1387
+ }[] | undefined;
1388
+ id?: never;
1389
+ isProviderExecuted?: never;
1390
+ args?: never;
1391
+ supportsDeferredResults?: never;
1392
+ } & {
1393
+ type: "dynamic";
1394
+ } & {
1395
+ execute: import("ai").ToolExecuteFunction<{
1396
+ token: string;
1397
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1398
+ usd?: number | undefined;
1399
+ }, {
1400
+ success: boolean;
1401
+ data: Record<string, unknown>;
1402
+ status?: undefined;
1403
+ error?: undefined;
1404
+ details?: undefined;
1405
+ } | {
1406
+ success: boolean;
1407
+ status: number;
1408
+ error: string;
1409
+ details: Record<string, unknown>;
1410
+ data?: undefined;
1411
+ } | {
1412
+ success: boolean;
1413
+ paymentRequired: boolean;
1414
+ terms: PaymentTerms | undefined;
1415
+ error: string;
1416
+ } | {
1417
+ error: any;
1418
+ status: any;
1419
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1420
+ }) | ({
1421
+ deferLoading?: boolean;
1422
+ title?: string;
1423
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1424
+ metadata?: import("@ai-sdk/provider").JSONObject;
1425
+ inputSchema: import("ai").FlexibleSchema<{
1426
+ token: string;
1427
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1428
+ usd?: number | undefined;
1429
+ }>;
1430
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1431
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1432
+ token: string;
1433
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1434
+ usd?: number | undefined;
1435
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1436
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1437
+ onInputDelta?: ((options: {
1438
+ inputTextDelta: string;
1439
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1440
+ onInputAvailable?: ((options: {
1441
+ input: {
1442
+ token: string;
1443
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1444
+ usd?: number | undefined;
1445
+ };
1446
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1447
+ toModelOutput?: ((options: {
1448
+ toolCallId: string;
1449
+ input: {
1450
+ token: string;
1451
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1452
+ usd?: number | undefined;
1453
+ };
1454
+ output: NoInfer<{
1455
+ success: boolean;
1456
+ data: Record<string, unknown>;
1457
+ status?: undefined;
1458
+ error?: undefined;
1459
+ details?: undefined;
1460
+ } | {
1461
+ success: boolean;
1462
+ status: number;
1463
+ error: string;
1464
+ details: Record<string, unknown>;
1465
+ data?: undefined;
1466
+ } | {
1467
+ success: boolean;
1468
+ paymentRequired: boolean;
1469
+ terms: PaymentTerms | undefined;
1470
+ error: string;
1471
+ } | {
1472
+ error: any;
1473
+ status: any;
1474
+ }>;
1475
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1476
+ } & {
1477
+ outputSchema?: import("ai").FlexibleSchema<{
1478
+ success: boolean;
1479
+ data: Record<string, unknown>;
1480
+ status?: undefined;
1481
+ error?: undefined;
1482
+ details?: undefined;
1483
+ } | {
1484
+ success: boolean;
1485
+ status: number;
1486
+ error: string;
1487
+ details: Record<string, unknown>;
1488
+ data?: undefined;
1489
+ } | {
1490
+ success: boolean;
1491
+ paymentRequired: boolean;
1492
+ terms: PaymentTerms | undefined;
1493
+ error: string;
1494
+ } | {
1495
+ error: any;
1496
+ status: any;
1497
+ }> | undefined;
1498
+ execute: import("ai").ToolExecuteFunction<{
1499
+ token: string;
1500
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1501
+ usd?: number | undefined;
1502
+ }, {
1503
+ success: boolean;
1504
+ data: Record<string, unknown>;
1505
+ status?: undefined;
1506
+ error?: undefined;
1507
+ details?: undefined;
1508
+ } | {
1509
+ success: boolean;
1510
+ status: number;
1511
+ error: string;
1512
+ details: Record<string, unknown>;
1513
+ data?: undefined;
1514
+ } | {
1515
+ success: boolean;
1516
+ paymentRequired: boolean;
1517
+ terms: PaymentTerms | undefined;
1518
+ error: string;
1519
+ } | {
1520
+ error: any;
1521
+ status: any;
1522
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1523
+ } & {
1524
+ type: "provider";
1525
+ id: `${string}.${string}`;
1526
+ args: Record<string, unknown>;
1527
+ description?: never;
1528
+ strict?: never;
1529
+ inputExamples?: never;
1530
+ } & {
1531
+ isProviderExecuted: false;
1532
+ supportsDeferredResults?: never;
1533
+ } & {
1534
+ execute: import("ai").ToolExecuteFunction<{
1535
+ token: string;
1536
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1537
+ usd?: number | undefined;
1538
+ }, {
1539
+ success: boolean;
1540
+ data: Record<string, unknown>;
1541
+ status?: undefined;
1542
+ error?: undefined;
1543
+ details?: undefined;
1544
+ } | {
1545
+ success: boolean;
1546
+ status: number;
1547
+ error: string;
1548
+ details: Record<string, unknown>;
1549
+ data?: undefined;
1550
+ } | {
1551
+ success: boolean;
1552
+ paymentRequired: boolean;
1553
+ terms: PaymentTerms | undefined;
1554
+ error: string;
1555
+ } | {
1556
+ error: any;
1557
+ status: any;
1558
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1559
+ }) | ({
1560
+ deferLoading?: boolean;
1561
+ title?: string;
1562
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1563
+ metadata?: import("@ai-sdk/provider").JSONObject;
1564
+ inputSchema: import("ai").FlexibleSchema<{
1565
+ token: string;
1566
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1567
+ usd?: number | undefined;
1568
+ }>;
1569
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1570
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1571
+ token: string;
1572
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1573
+ usd?: number | undefined;
1574
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1575
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1576
+ onInputDelta?: ((options: {
1577
+ inputTextDelta: string;
1578
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1579
+ onInputAvailable?: ((options: {
1580
+ input: {
1581
+ token: string;
1582
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1583
+ usd?: number | undefined;
1584
+ };
1585
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1586
+ toModelOutput?: ((options: {
1587
+ toolCallId: string;
1588
+ input: {
1589
+ token: string;
1590
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1591
+ usd?: number | undefined;
1592
+ };
1593
+ output: NoInfer<{
1594
+ success: boolean;
1595
+ data: Record<string, unknown>;
1596
+ status?: undefined;
1597
+ error?: undefined;
1598
+ details?: undefined;
1599
+ } | {
1600
+ success: boolean;
1601
+ status: number;
1602
+ error: string;
1603
+ details: Record<string, unknown>;
1604
+ data?: undefined;
1605
+ } | {
1606
+ success: boolean;
1607
+ paymentRequired: boolean;
1608
+ terms: PaymentTerms | undefined;
1609
+ error: string;
1610
+ } | {
1611
+ error: any;
1612
+ status: any;
1613
+ }>;
1614
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1615
+ } & {
1616
+ outputSchema?: import("ai").FlexibleSchema<{
1617
+ success: boolean;
1618
+ data: Record<string, unknown>;
1619
+ status?: undefined;
1620
+ error?: undefined;
1621
+ details?: undefined;
1622
+ } | {
1623
+ success: boolean;
1624
+ status: number;
1625
+ error: string;
1626
+ details: Record<string, unknown>;
1627
+ data?: undefined;
1628
+ } | {
1629
+ success: boolean;
1630
+ paymentRequired: boolean;
1631
+ terms: PaymentTerms | undefined;
1632
+ error: string;
1633
+ } | {
1634
+ error: any;
1635
+ status: any;
1636
+ }> | undefined;
1637
+ execute: import("ai").ToolExecuteFunction<{
1638
+ token: string;
1639
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1640
+ usd?: number | undefined;
1641
+ }, {
1642
+ success: boolean;
1643
+ data: Record<string, unknown>;
1644
+ status?: undefined;
1645
+ error?: undefined;
1646
+ details?: undefined;
1647
+ } | {
1648
+ success: boolean;
1649
+ status: number;
1650
+ error: string;
1651
+ details: Record<string, unknown>;
1652
+ data?: undefined;
1653
+ } | {
1654
+ success: boolean;
1655
+ paymentRequired: boolean;
1656
+ terms: PaymentTerms | undefined;
1657
+ error: string;
1658
+ } | {
1659
+ error: any;
1660
+ status: any;
1661
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1662
+ } & {
1663
+ type: "provider";
1664
+ id: `${string}.${string}`;
1665
+ args: Record<string, unknown>;
1666
+ description?: never;
1667
+ strict?: never;
1668
+ inputExamples?: never;
1669
+ } & {
1670
+ isProviderExecuted: true;
1671
+ supportsDeferredResults?: boolean;
1672
+ } & {
1673
+ execute: import("ai").ToolExecuteFunction<{
1674
+ token: string;
1675
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1676
+ usd?: number | undefined;
1677
+ }, {
1678
+ success: boolean;
1679
+ data: Record<string, unknown>;
1680
+ status?: undefined;
1681
+ error?: undefined;
1682
+ details?: undefined;
1683
+ } | {
1684
+ success: boolean;
1685
+ status: number;
1686
+ error: string;
1687
+ details: Record<string, unknown>;
1688
+ data?: undefined;
1689
+ } | {
1690
+ success: boolean;
1691
+ paymentRequired: boolean;
1692
+ terms: PaymentTerms | undefined;
1693
+ error: string;
1694
+ } | {
1695
+ error: any;
1696
+ status: any;
1697
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1698
+ });
1699
+ tokenContractInfo: ({
1700
+ deferLoading?: boolean;
1701
+ title?: string;
1702
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1703
+ metadata?: import("@ai-sdk/provider").JSONObject;
1704
+ inputSchema: import("ai").FlexibleSchema<{
1705
+ token: string;
1706
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1707
+ }>;
1708
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1709
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1710
+ token: string;
1711
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1712
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1713
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1714
+ onInputDelta?: ((options: {
1715
+ inputTextDelta: string;
1716
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1717
+ onInputAvailable?: ((options: {
1718
+ input: {
1719
+ token: string;
1720
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1721
+ };
1722
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1723
+ toModelOutput?: ((options: {
1724
+ toolCallId: string;
1725
+ input: {
1726
+ token: string;
1727
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1728
+ };
1729
+ output: NoInfer<{
1730
+ success: boolean;
1731
+ data: Record<string, unknown>;
1732
+ status?: undefined;
1733
+ error?: undefined;
1734
+ details?: undefined;
1735
+ } | {
1736
+ success: boolean;
1737
+ status: number;
1738
+ error: string;
1739
+ details: Record<string, unknown>;
1740
+ data?: undefined;
1741
+ } | {
1742
+ success: boolean;
1743
+ paymentRequired: boolean;
1744
+ terms: PaymentTerms | undefined;
1745
+ error: string;
1746
+ } | {
1747
+ error: any;
1748
+ status: any;
1749
+ }>;
1750
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1751
+ } & {
1752
+ outputSchema?: import("ai").FlexibleSchema<{
1753
+ success: boolean;
1754
+ data: Record<string, unknown>;
1755
+ status?: undefined;
1756
+ error?: undefined;
1757
+ details?: undefined;
1758
+ } | {
1759
+ success: boolean;
1760
+ status: number;
1761
+ error: string;
1762
+ details: Record<string, unknown>;
1763
+ data?: undefined;
1764
+ } | {
1765
+ success: boolean;
1766
+ paymentRequired: boolean;
1767
+ terms: PaymentTerms | undefined;
1768
+ error: string;
1769
+ } | {
1770
+ error: any;
1771
+ status: any;
1772
+ }> | undefined;
1773
+ execute: import("ai").ToolExecuteFunction<{
1774
+ token: string;
1775
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1776
+ }, {
1777
+ success: boolean;
1778
+ data: Record<string, unknown>;
1779
+ status?: undefined;
1780
+ error?: undefined;
1781
+ details?: undefined;
1782
+ } | {
1783
+ success: boolean;
1784
+ status: number;
1785
+ error: string;
1786
+ details: Record<string, unknown>;
1787
+ data?: undefined;
1788
+ } | {
1789
+ success: boolean;
1790
+ paymentRequired: boolean;
1791
+ terms: PaymentTerms | undefined;
1792
+ error: string;
1793
+ } | {
1794
+ error: any;
1795
+ status: any;
1796
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1797
+ } & {
1798
+ description?: string | ((options: {
1799
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
1800
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
1801
+ }) => string) | undefined;
1802
+ strict?: boolean;
1803
+ inputExamples?: {
1804
+ input: NoInfer<{
1805
+ token: string;
1806
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1807
+ }>;
1808
+ }[] | undefined;
1809
+ id?: never;
1810
+ isProviderExecuted?: never;
1811
+ args?: never;
1812
+ supportsDeferredResults?: never;
1813
+ } & {
1814
+ type?: undefined | "function";
1815
+ } & {
1816
+ execute: import("ai").ToolExecuteFunction<{
1817
+ token: string;
1818
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1819
+ }, {
1820
+ success: boolean;
1821
+ data: Record<string, unknown>;
1822
+ status?: undefined;
1823
+ error?: undefined;
1824
+ details?: undefined;
1825
+ } | {
1826
+ success: boolean;
1827
+ status: number;
1828
+ error: string;
1829
+ details: Record<string, unknown>;
1830
+ data?: undefined;
1831
+ } | {
1832
+ success: boolean;
1833
+ paymentRequired: boolean;
1834
+ terms: PaymentTerms | undefined;
1835
+ error: string;
1836
+ } | {
1837
+ error: any;
1838
+ status: any;
1839
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1840
+ }) | ({
1841
+ deferLoading?: boolean;
1842
+ title?: string;
1843
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1844
+ metadata?: import("@ai-sdk/provider").JSONObject;
1845
+ inputSchema: import("ai").FlexibleSchema<{
1846
+ token: string;
1847
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1848
+ }>;
1849
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1850
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1851
+ token: string;
1852
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1853
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1854
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1855
+ onInputDelta?: ((options: {
1856
+ inputTextDelta: string;
1857
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1858
+ onInputAvailable?: ((options: {
1859
+ input: {
1860
+ token: string;
1861
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1862
+ };
1863
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1864
+ toModelOutput?: ((options: {
1865
+ toolCallId: string;
1866
+ input: {
1867
+ token: string;
1868
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1869
+ };
1870
+ output: NoInfer<{
1871
+ success: boolean;
1872
+ data: Record<string, unknown>;
1873
+ status?: undefined;
1874
+ error?: undefined;
1875
+ details?: undefined;
1876
+ } | {
1877
+ success: boolean;
1878
+ status: number;
1879
+ error: string;
1880
+ details: Record<string, unknown>;
1881
+ data?: undefined;
1882
+ } | {
1883
+ success: boolean;
1884
+ paymentRequired: boolean;
1885
+ terms: PaymentTerms | undefined;
1886
+ error: string;
1887
+ } | {
1888
+ error: any;
1889
+ status: any;
1890
+ }>;
1891
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1892
+ } & {
1893
+ outputSchema?: import("ai").FlexibleSchema<{
1894
+ success: boolean;
1895
+ data: Record<string, unknown>;
1896
+ status?: undefined;
1897
+ error?: undefined;
1898
+ details?: undefined;
1899
+ } | {
1900
+ success: boolean;
1901
+ status: number;
1902
+ error: string;
1903
+ details: Record<string, unknown>;
1904
+ data?: undefined;
1905
+ } | {
1906
+ success: boolean;
1907
+ paymentRequired: boolean;
1908
+ terms: PaymentTerms | undefined;
1909
+ error: string;
1910
+ } | {
1911
+ error: any;
1912
+ status: any;
1913
+ }> | undefined;
1914
+ execute: import("ai").ToolExecuteFunction<{
1915
+ token: string;
1916
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1917
+ }, {
1918
+ success: boolean;
1919
+ data: Record<string, unknown>;
1920
+ status?: undefined;
1921
+ error?: undefined;
1922
+ details?: undefined;
1923
+ } | {
1924
+ success: boolean;
1925
+ status: number;
1926
+ error: string;
1927
+ details: Record<string, unknown>;
1928
+ data?: undefined;
1929
+ } | {
1930
+ success: boolean;
1931
+ paymentRequired: boolean;
1932
+ terms: PaymentTerms | undefined;
1933
+ error: string;
1934
+ } | {
1935
+ error: any;
1936
+ status: any;
1937
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1938
+ } & {
1939
+ description?: string | ((options: {
1940
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
1941
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
1942
+ }) => string) | undefined;
1943
+ strict?: boolean;
1944
+ inputExamples?: {
1945
+ input: NoInfer<{
1946
+ token: string;
1947
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1948
+ }>;
1949
+ }[] | undefined;
1950
+ id?: never;
1951
+ isProviderExecuted?: never;
1952
+ args?: never;
1953
+ supportsDeferredResults?: never;
1954
+ } & {
1955
+ type: "dynamic";
1956
+ } & {
1957
+ execute: import("ai").ToolExecuteFunction<{
1958
+ token: string;
1959
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1960
+ }, {
1961
+ success: boolean;
1962
+ data: Record<string, unknown>;
1963
+ status?: undefined;
1964
+ error?: undefined;
1965
+ details?: undefined;
1966
+ } | {
1967
+ success: boolean;
1968
+ status: number;
1969
+ error: string;
1970
+ details: Record<string, unknown>;
1971
+ data?: undefined;
1972
+ } | {
1973
+ success: boolean;
1974
+ paymentRequired: boolean;
1975
+ terms: PaymentTerms | undefined;
1976
+ error: string;
1977
+ } | {
1978
+ error: any;
1979
+ status: any;
1980
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1981
+ }) | ({
1982
+ deferLoading?: boolean;
1983
+ title?: string;
1984
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1985
+ metadata?: import("@ai-sdk/provider").JSONObject;
1986
+ inputSchema: import("ai").FlexibleSchema<{
1987
+ token: string;
1988
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1989
+ }>;
1990
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1991
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1992
+ token: string;
1993
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
1994
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1995
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1996
+ onInputDelta?: ((options: {
1997
+ inputTextDelta: string;
1998
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1999
+ onInputAvailable?: ((options: {
2000
+ input: {
2001
+ token: string;
2002
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
2003
+ };
2004
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2005
+ toModelOutput?: ((options: {
2006
+ toolCallId: string;
2007
+ input: {
2008
+ token: string;
2009
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
2010
+ };
2011
+ output: NoInfer<{
2012
+ success: boolean;
2013
+ data: Record<string, unknown>;
2014
+ status?: undefined;
2015
+ error?: undefined;
2016
+ details?: undefined;
2017
+ } | {
2018
+ success: boolean;
2019
+ status: number;
2020
+ error: string;
2021
+ details: Record<string, unknown>;
2022
+ data?: undefined;
2023
+ } | {
2024
+ success: boolean;
2025
+ paymentRequired: boolean;
2026
+ terms: PaymentTerms | undefined;
2027
+ error: string;
2028
+ } | {
2029
+ error: any;
2030
+ status: any;
2031
+ }>;
2032
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
2033
+ } & {
2034
+ outputSchema?: import("ai").FlexibleSchema<{
2035
+ success: boolean;
2036
+ data: Record<string, unknown>;
2037
+ status?: undefined;
2038
+ error?: undefined;
2039
+ details?: undefined;
2040
+ } | {
2041
+ success: boolean;
2042
+ status: number;
2043
+ error: string;
2044
+ details: Record<string, unknown>;
2045
+ data?: undefined;
2046
+ } | {
2047
+ success: boolean;
2048
+ paymentRequired: boolean;
2049
+ terms: PaymentTerms | undefined;
2050
+ error: string;
2051
+ } | {
2052
+ error: any;
2053
+ status: any;
2054
+ }> | undefined;
2055
+ execute: import("ai").ToolExecuteFunction<{
2056
+ token: string;
2057
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
2058
+ }, {
2059
+ success: boolean;
2060
+ data: Record<string, unknown>;
2061
+ status?: undefined;
2062
+ error?: undefined;
2063
+ details?: undefined;
2064
+ } | {
2065
+ success: boolean;
2066
+ status: number;
2067
+ error: string;
2068
+ details: Record<string, unknown>;
2069
+ data?: undefined;
2070
+ } | {
2071
+ success: boolean;
2072
+ paymentRequired: boolean;
2073
+ terms: PaymentTerms | undefined;
2074
+ error: string;
2075
+ } | {
2076
+ error: any;
2077
+ status: any;
2078
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
2079
+ } & {
2080
+ type: "provider";
2081
+ id: `${string}.${string}`;
2082
+ args: Record<string, unknown>;
2083
+ description?: never;
2084
+ strict?: never;
2085
+ inputExamples?: never;
2086
+ } & {
2087
+ isProviderExecuted: false;
2088
+ supportsDeferredResults?: never;
2089
+ } & {
2090
+ execute: import("ai").ToolExecuteFunction<{
2091
+ token: string;
2092
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
2093
+ }, {
2094
+ success: boolean;
2095
+ data: Record<string, unknown>;
2096
+ status?: undefined;
2097
+ error?: undefined;
2098
+ details?: undefined;
2099
+ } | {
2100
+ success: boolean;
2101
+ status: number;
2102
+ error: string;
2103
+ details: Record<string, unknown>;
2104
+ data?: undefined;
2105
+ } | {
2106
+ success: boolean;
2107
+ paymentRequired: boolean;
2108
+ terms: PaymentTerms | undefined;
2109
+ error: string;
2110
+ } | {
2111
+ error: any;
2112
+ status: any;
2113
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
2114
+ }) | ({
2115
+ deferLoading?: boolean;
2116
+ title?: string;
2117
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
2118
+ metadata?: import("@ai-sdk/provider").JSONObject;
2119
+ inputSchema: import("ai").FlexibleSchema<{
2120
+ token: string;
2121
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
2122
+ }>;
2123
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
2124
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
2125
+ token: string;
2126
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
2127
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
2128
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2129
+ onInputDelta?: ((options: {
2130
+ inputTextDelta: string;
2131
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2132
+ onInputAvailable?: ((options: {
2133
+ input: {
2134
+ token: string;
2135
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
2136
+ };
2137
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2138
+ toModelOutput?: ((options: {
2139
+ toolCallId: string;
2140
+ input: {
2141
+ token: string;
2142
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
2143
+ };
2144
+ output: NoInfer<{
2145
+ success: boolean;
2146
+ data: Record<string, unknown>;
2147
+ status?: undefined;
2148
+ error?: undefined;
2149
+ details?: undefined;
2150
+ } | {
2151
+ success: boolean;
2152
+ status: number;
2153
+ error: string;
2154
+ details: Record<string, unknown>;
2155
+ data?: undefined;
2156
+ } | {
2157
+ success: boolean;
2158
+ paymentRequired: boolean;
2159
+ terms: PaymentTerms | undefined;
2160
+ error: string;
2161
+ } | {
2162
+ error: any;
2163
+ status: any;
2164
+ }>;
2165
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
2166
+ } & {
2167
+ outputSchema?: import("ai").FlexibleSchema<{
2168
+ success: boolean;
2169
+ data: Record<string, unknown>;
2170
+ status?: undefined;
2171
+ error?: undefined;
2172
+ details?: undefined;
2173
+ } | {
2174
+ success: boolean;
2175
+ status: number;
2176
+ error: string;
2177
+ details: Record<string, unknown>;
2178
+ data?: undefined;
2179
+ } | {
2180
+ success: boolean;
2181
+ paymentRequired: boolean;
2182
+ terms: PaymentTerms | undefined;
2183
+ error: string;
2184
+ } | {
2185
+ error: any;
2186
+ status: any;
2187
+ }> | undefined;
2188
+ execute: import("ai").ToolExecuteFunction<{
2189
+ token: string;
2190
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
2191
+ }, {
2192
+ success: boolean;
2193
+ data: Record<string, unknown>;
2194
+ status?: undefined;
2195
+ error?: undefined;
2196
+ details?: undefined;
2197
+ } | {
2198
+ success: boolean;
2199
+ status: number;
2200
+ error: string;
2201
+ details: Record<string, unknown>;
2202
+ data?: undefined;
2203
+ } | {
2204
+ success: boolean;
2205
+ paymentRequired: boolean;
2206
+ terms: PaymentTerms | undefined;
2207
+ error: string;
2208
+ } | {
2209
+ error: any;
2210
+ status: any;
2211
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
2212
+ } & {
2213
+ type: "provider";
2214
+ id: `${string}.${string}`;
2215
+ args: Record<string, unknown>;
2216
+ description?: never;
2217
+ strict?: never;
2218
+ inputExamples?: never;
2219
+ } & {
2220
+ isProviderExecuted: true;
2221
+ supportsDeferredResults?: boolean;
2222
+ } & {
2223
+ execute: import("ai").ToolExecuteFunction<{
2224
+ token: string;
2225
+ chain?: "base" | "ethereum" | "arbitrum" | "optimism" | "polygon" | "bsc" | "avalanche" | undefined;
2226
+ }, {
2227
+ success: boolean;
2228
+ data: Record<string, unknown>;
2229
+ status?: undefined;
2230
+ error?: undefined;
2231
+ details?: undefined;
2232
+ } | {
2233
+ success: boolean;
2234
+ status: number;
2235
+ error: string;
2236
+ details: Record<string, unknown>;
2237
+ data?: undefined;
2238
+ } | {
2239
+ success: boolean;
2240
+ paymentRequired: boolean;
2241
+ terms: PaymentTerms | undefined;
2242
+ error: string;
2243
+ } | {
2244
+ error: any;
2245
+ status: any;
2246
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
2247
+ });
2248
+ transcribeAudio: ({
2249
+ deferLoading?: boolean;
2250
+ title?: string;
2251
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
2252
+ metadata?: import("@ai-sdk/provider").JSONObject;
2253
+ inputSchema: import("ai").FlexibleSchema<{
2254
+ url: string;
2255
+ language?: string | undefined;
2256
+ summary?: boolean | undefined;
2257
+ }>;
2258
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
2259
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
2260
+ url: string;
2261
+ language?: string | undefined;
2262
+ summary?: boolean | undefined;
2263
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
2264
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2265
+ onInputDelta?: ((options: {
2266
+ inputTextDelta: string;
2267
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2268
+ onInputAvailable?: ((options: {
2269
+ input: {
2270
+ url: string;
2271
+ language?: string | undefined;
2272
+ summary?: boolean | undefined;
2273
+ };
2274
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2275
+ toModelOutput?: ((options: {
2276
+ toolCallId: string;
2277
+ input: {
2278
+ url: string;
2279
+ language?: string | undefined;
2280
+ summary?: boolean | undefined;
2281
+ };
2282
+ output: NoInfer<{
2283
+ jobId: string;
2284
+ status: import("@moneytools-dev/transcripts").JobStatus;
2285
+ durationSeconds: number | undefined;
2286
+ paidUsd: any;
2287
+ text: string | undefined;
2288
+ language: string | null | undefined;
2289
+ segments: import("@moneytools-dev/transcripts").TranscriptSegment[] | undefined;
2290
+ error: string | undefined;
2291
+ } | {
2292
+ error: any;
2293
+ status: any;
2294
+ }>;
2295
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
2296
+ } & {
2297
+ outputSchema?: import("ai").FlexibleSchema<{
2298
+ jobId: string;
2299
+ status: import("@moneytools-dev/transcripts").JobStatus;
2300
+ durationSeconds: number | undefined;
2301
+ paidUsd: any;
2302
+ text: string | undefined;
2303
+ language: string | null | undefined;
2304
+ segments: import("@moneytools-dev/transcripts").TranscriptSegment[] | undefined;
2305
+ error: string | undefined;
2306
+ } | {
2307
+ error: any;
2308
+ status: any;
2309
+ }> | undefined;
2310
+ execute: import("ai").ToolExecuteFunction<{
2311
+ url: string;
2312
+ language?: string | undefined;
2313
+ summary?: boolean | undefined;
2314
+ }, {
2315
+ jobId: string;
2316
+ status: import("@moneytools-dev/transcripts").JobStatus;
2317
+ durationSeconds: number | undefined;
2318
+ paidUsd: any;
2319
+ text: string | undefined;
2320
+ language: string | null | undefined;
2321
+ segments: import("@moneytools-dev/transcripts").TranscriptSegment[] | undefined;
2322
+ error: string | undefined;
2323
+ } | {
2324
+ error: any;
2325
+ status: any;
2326
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
2327
+ } & {
2328
+ description?: string | ((options: {
2329
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
2330
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
2331
+ }) => string) | undefined;
2332
+ strict?: boolean;
2333
+ inputExamples?: {
2334
+ input: NoInfer<{
2335
+ url: string;
2336
+ language?: string | undefined;
2337
+ summary?: boolean | undefined;
2338
+ }>;
2339
+ }[] | undefined;
2340
+ id?: never;
2341
+ isProviderExecuted?: never;
2342
+ args?: never;
2343
+ supportsDeferredResults?: never;
2344
+ } & {
2345
+ type?: undefined | "function";
2346
+ } & {
2347
+ execute: import("ai").ToolExecuteFunction<{
2348
+ url: string;
2349
+ language?: string | undefined;
2350
+ summary?: boolean | undefined;
2351
+ }, {
2352
+ jobId: string;
2353
+ status: import("@moneytools-dev/transcripts").JobStatus;
2354
+ durationSeconds: number | undefined;
2355
+ paidUsd: any;
2356
+ text: string | undefined;
2357
+ language: string | null | undefined;
2358
+ segments: import("@moneytools-dev/transcripts").TranscriptSegment[] | undefined;
2359
+ error: string | undefined;
2360
+ } | {
2361
+ error: any;
2362
+ status: any;
2363
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
2364
+ }) | ({
2365
+ deferLoading?: boolean;
2366
+ title?: string;
2367
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
2368
+ metadata?: import("@ai-sdk/provider").JSONObject;
2369
+ inputSchema: import("ai").FlexibleSchema<{
2370
+ url: string;
2371
+ language?: string | undefined;
2372
+ summary?: boolean | undefined;
2373
+ }>;
2374
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
2375
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
2376
+ url: string;
2377
+ language?: string | undefined;
2378
+ summary?: boolean | undefined;
2379
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
2380
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2381
+ onInputDelta?: ((options: {
2382
+ inputTextDelta: string;
2383
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2384
+ onInputAvailable?: ((options: {
2385
+ input: {
2386
+ url: string;
2387
+ language?: string | undefined;
2388
+ summary?: boolean | undefined;
2389
+ };
2390
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2391
+ toModelOutput?: ((options: {
2392
+ toolCallId: string;
2393
+ input: {
2394
+ url: string;
2395
+ language?: string | undefined;
2396
+ summary?: boolean | undefined;
2397
+ };
2398
+ output: NoInfer<{
2399
+ jobId: string;
2400
+ status: import("@moneytools-dev/transcripts").JobStatus;
2401
+ durationSeconds: number | undefined;
2402
+ paidUsd: any;
2403
+ text: string | undefined;
2404
+ language: string | null | undefined;
2405
+ segments: import("@moneytools-dev/transcripts").TranscriptSegment[] | undefined;
2406
+ error: string | undefined;
2407
+ } | {
2408
+ error: any;
2409
+ status: any;
2410
+ }>;
2411
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
2412
+ } & {
2413
+ outputSchema?: import("ai").FlexibleSchema<{
2414
+ jobId: string;
2415
+ status: import("@moneytools-dev/transcripts").JobStatus;
2416
+ durationSeconds: number | undefined;
2417
+ paidUsd: any;
2418
+ text: string | undefined;
2419
+ language: string | null | undefined;
2420
+ segments: import("@moneytools-dev/transcripts").TranscriptSegment[] | undefined;
2421
+ error: string | undefined;
2422
+ } | {
2423
+ error: any;
2424
+ status: any;
2425
+ }> | undefined;
2426
+ execute: import("ai").ToolExecuteFunction<{
2427
+ url: string;
2428
+ language?: string | undefined;
2429
+ summary?: boolean | undefined;
2430
+ }, {
2431
+ jobId: string;
2432
+ status: import("@moneytools-dev/transcripts").JobStatus;
2433
+ durationSeconds: number | undefined;
2434
+ paidUsd: any;
2435
+ text: string | undefined;
2436
+ language: string | null | undefined;
2437
+ segments: import("@moneytools-dev/transcripts").TranscriptSegment[] | undefined;
2438
+ error: string | undefined;
2439
+ } | {
2440
+ error: any;
2441
+ status: any;
2442
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
2443
+ } & {
2444
+ description?: string | ((options: {
2445
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
2446
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
2447
+ }) => string) | undefined;
2448
+ strict?: boolean;
2449
+ inputExamples?: {
2450
+ input: NoInfer<{
2451
+ url: string;
2452
+ language?: string | undefined;
2453
+ summary?: boolean | undefined;
2454
+ }>;
2455
+ }[] | undefined;
2456
+ id?: never;
2457
+ isProviderExecuted?: never;
2458
+ args?: never;
2459
+ supportsDeferredResults?: never;
2460
+ } & {
2461
+ type: "dynamic";
2462
+ } & {
2463
+ execute: import("ai").ToolExecuteFunction<{
2464
+ url: string;
2465
+ language?: string | undefined;
2466
+ summary?: boolean | undefined;
2467
+ }, {
2468
+ jobId: string;
2469
+ status: import("@moneytools-dev/transcripts").JobStatus;
2470
+ durationSeconds: number | undefined;
2471
+ paidUsd: any;
2472
+ text: string | undefined;
2473
+ language: string | null | undefined;
2474
+ segments: import("@moneytools-dev/transcripts").TranscriptSegment[] | undefined;
2475
+ error: string | undefined;
2476
+ } | {
2477
+ error: any;
2478
+ status: any;
2479
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
2480
+ }) | ({
2481
+ deferLoading?: boolean;
2482
+ title?: string;
2483
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
2484
+ metadata?: import("@ai-sdk/provider").JSONObject;
2485
+ inputSchema: import("ai").FlexibleSchema<{
2486
+ url: string;
2487
+ language?: string | undefined;
2488
+ summary?: boolean | undefined;
2489
+ }>;
2490
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
2491
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
2492
+ url: string;
2493
+ language?: string | undefined;
2494
+ summary?: boolean | undefined;
2495
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
2496
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2497
+ onInputDelta?: ((options: {
2498
+ inputTextDelta: string;
2499
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2500
+ onInputAvailable?: ((options: {
2501
+ input: {
2502
+ url: string;
2503
+ language?: string | undefined;
2504
+ summary?: boolean | undefined;
2505
+ };
2506
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2507
+ toModelOutput?: ((options: {
2508
+ toolCallId: string;
2509
+ input: {
2510
+ url: string;
2511
+ language?: string | undefined;
2512
+ summary?: boolean | undefined;
2513
+ };
2514
+ output: NoInfer<{
2515
+ jobId: string;
2516
+ status: import("@moneytools-dev/transcripts").JobStatus;
2517
+ durationSeconds: number | undefined;
2518
+ paidUsd: any;
2519
+ text: string | undefined;
2520
+ language: string | null | undefined;
2521
+ segments: import("@moneytools-dev/transcripts").TranscriptSegment[] | undefined;
2522
+ error: string | undefined;
2523
+ } | {
2524
+ error: any;
2525
+ status: any;
2526
+ }>;
2527
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
2528
+ } & {
2529
+ outputSchema?: import("ai").FlexibleSchema<{
2530
+ jobId: string;
2531
+ status: import("@moneytools-dev/transcripts").JobStatus;
2532
+ durationSeconds: number | undefined;
2533
+ paidUsd: any;
2534
+ text: string | undefined;
2535
+ language: string | null | undefined;
2536
+ segments: import("@moneytools-dev/transcripts").TranscriptSegment[] | undefined;
2537
+ error: string | undefined;
2538
+ } | {
2539
+ error: any;
2540
+ status: any;
2541
+ }> | undefined;
2542
+ execute: import("ai").ToolExecuteFunction<{
2543
+ url: string;
2544
+ language?: string | undefined;
2545
+ summary?: boolean | undefined;
2546
+ }, {
2547
+ jobId: string;
2548
+ status: import("@moneytools-dev/transcripts").JobStatus;
2549
+ durationSeconds: number | undefined;
2550
+ paidUsd: any;
2551
+ text: string | undefined;
2552
+ language: string | null | undefined;
2553
+ segments: import("@moneytools-dev/transcripts").TranscriptSegment[] | undefined;
2554
+ error: string | undefined;
2555
+ } | {
2556
+ error: any;
2557
+ status: any;
2558
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
2559
+ } & {
2560
+ type: "provider";
2561
+ id: `${string}.${string}`;
2562
+ args: Record<string, unknown>;
2563
+ description?: never;
2564
+ strict?: never;
2565
+ inputExamples?: never;
2566
+ } & {
2567
+ isProviderExecuted: false;
2568
+ supportsDeferredResults?: never;
2569
+ } & {
2570
+ execute: import("ai").ToolExecuteFunction<{
2571
+ url: string;
2572
+ language?: string | undefined;
2573
+ summary?: boolean | undefined;
2574
+ }, {
2575
+ jobId: string;
2576
+ status: import("@moneytools-dev/transcripts").JobStatus;
2577
+ durationSeconds: number | undefined;
2578
+ paidUsd: any;
2579
+ text: string | undefined;
2580
+ language: string | null | undefined;
2581
+ segments: import("@moneytools-dev/transcripts").TranscriptSegment[] | undefined;
2582
+ error: string | undefined;
2583
+ } | {
2584
+ error: any;
2585
+ status: any;
2586
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
2587
+ }) | ({
2588
+ deferLoading?: boolean;
2589
+ title?: string;
2590
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
2591
+ metadata?: import("@ai-sdk/provider").JSONObject;
2592
+ inputSchema: import("ai").FlexibleSchema<{
2593
+ url: string;
2594
+ language?: string | undefined;
2595
+ summary?: boolean | undefined;
2596
+ }>;
2597
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
2598
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
2599
+ url: string;
2600
+ language?: string | undefined;
2601
+ summary?: boolean | undefined;
2602
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
2603
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2604
+ onInputDelta?: ((options: {
2605
+ inputTextDelta: string;
2606
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2607
+ onInputAvailable?: ((options: {
2608
+ input: {
2609
+ url: string;
2610
+ language?: string | undefined;
2611
+ summary?: boolean | undefined;
2612
+ };
2613
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2614
+ toModelOutput?: ((options: {
2615
+ toolCallId: string;
2616
+ input: {
2617
+ url: string;
2618
+ language?: string | undefined;
2619
+ summary?: boolean | undefined;
2620
+ };
2621
+ output: NoInfer<{
2622
+ jobId: string;
2623
+ status: import("@moneytools-dev/transcripts").JobStatus;
2624
+ durationSeconds: number | undefined;
2625
+ paidUsd: any;
2626
+ text: string | undefined;
2627
+ language: string | null | undefined;
2628
+ segments: import("@moneytools-dev/transcripts").TranscriptSegment[] | undefined;
2629
+ error: string | undefined;
2630
+ } | {
2631
+ error: any;
2632
+ status: any;
2633
+ }>;
2634
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
2635
+ } & {
2636
+ outputSchema?: import("ai").FlexibleSchema<{
2637
+ jobId: string;
2638
+ status: import("@moneytools-dev/transcripts").JobStatus;
2639
+ durationSeconds: number | undefined;
2640
+ paidUsd: any;
2641
+ text: string | undefined;
2642
+ language: string | null | undefined;
2643
+ segments: import("@moneytools-dev/transcripts").TranscriptSegment[] | undefined;
2644
+ error: string | undefined;
2645
+ } | {
2646
+ error: any;
2647
+ status: any;
2648
+ }> | undefined;
2649
+ execute: import("ai").ToolExecuteFunction<{
2650
+ url: string;
2651
+ language?: string | undefined;
2652
+ summary?: boolean | undefined;
2653
+ }, {
2654
+ jobId: string;
2655
+ status: import("@moneytools-dev/transcripts").JobStatus;
2656
+ durationSeconds: number | undefined;
2657
+ paidUsd: any;
2658
+ text: string | undefined;
2659
+ language: string | null | undefined;
2660
+ segments: import("@moneytools-dev/transcripts").TranscriptSegment[] | undefined;
2661
+ error: string | undefined;
2662
+ } | {
2663
+ error: any;
2664
+ status: any;
2665
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
2666
+ } & {
2667
+ type: "provider";
2668
+ id: `${string}.${string}`;
2669
+ args: Record<string, unknown>;
2670
+ description?: never;
2671
+ strict?: never;
2672
+ inputExamples?: never;
2673
+ } & {
2674
+ isProviderExecuted: true;
2675
+ supportsDeferredResults?: boolean;
2676
+ } & {
2677
+ execute: import("ai").ToolExecuteFunction<{
2678
+ url: string;
2679
+ language?: string | undefined;
2680
+ summary?: boolean | undefined;
2681
+ }, {
2682
+ jobId: string;
2683
+ status: import("@moneytools-dev/transcripts").JobStatus;
2684
+ durationSeconds: number | undefined;
2685
+ paidUsd: any;
2686
+ text: string | undefined;
2687
+ language: string | null | undefined;
2688
+ segments: import("@moneytools-dev/transcripts").TranscriptSegment[] | undefined;
2689
+ error: string | undefined;
2690
+ } | {
2691
+ error: any;
2692
+ status: any;
2693
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
2694
+ });
2695
+ getTranscription: ({
2696
+ deferLoading?: boolean;
2697
+ title?: string;
2698
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
2699
+ metadata?: import("@ai-sdk/provider").JSONObject;
2700
+ inputSchema: import("ai").FlexibleSchema<{
2701
+ jobId: string;
2702
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2703
+ }>;
2704
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
2705
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
2706
+ jobId: string;
2707
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2708
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
2709
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2710
+ onInputDelta?: ((options: {
2711
+ inputTextDelta: string;
2712
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2713
+ onInputAvailable?: ((options: {
2714
+ input: {
2715
+ jobId: string;
2716
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2717
+ };
2718
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2719
+ toModelOutput?: ((options: {
2720
+ toolCallId: string;
2721
+ input: {
2722
+ jobId: string;
2723
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2724
+ };
2725
+ output: NoInfer<import("@moneytools-dev/transcripts").FileTranscriptionJob | {
2726
+ jobId: string;
2727
+ format: "srt" | "vtt" | "txt";
2728
+ content: string;
2729
+ } | {
2730
+ error: any;
2731
+ status: any;
2732
+ }>;
2733
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
2734
+ } & {
2735
+ outputSchema?: import("ai").FlexibleSchema<import("@moneytools-dev/transcripts").FileTranscriptionJob | {
2736
+ jobId: string;
2737
+ format: "srt" | "vtt" | "txt";
2738
+ content: string;
2739
+ } | {
2740
+ error: any;
2741
+ status: any;
2742
+ }> | undefined;
2743
+ execute: import("ai").ToolExecuteFunction<{
2744
+ jobId: string;
2745
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2746
+ }, import("@moneytools-dev/transcripts").FileTranscriptionJob | {
2747
+ jobId: string;
2748
+ format: "srt" | "vtt" | "txt";
2749
+ content: string;
2750
+ } | {
2751
+ error: any;
2752
+ status: any;
2753
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
2754
+ } & {
2755
+ description?: string | ((options: {
2756
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
2757
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
2758
+ }) => string) | undefined;
2759
+ strict?: boolean;
2760
+ inputExamples?: {
2761
+ input: NoInfer<{
2762
+ jobId: string;
2763
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2764
+ }>;
2765
+ }[] | undefined;
2766
+ id?: never;
2767
+ isProviderExecuted?: never;
2768
+ args?: never;
2769
+ supportsDeferredResults?: never;
2770
+ } & {
2771
+ type?: undefined | "function";
2772
+ } & {
2773
+ execute: import("ai").ToolExecuteFunction<{
2774
+ jobId: string;
2775
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2776
+ }, import("@moneytools-dev/transcripts").FileTranscriptionJob | {
2777
+ jobId: string;
2778
+ format: "srt" | "vtt" | "txt";
2779
+ content: string;
2780
+ } | {
2781
+ error: any;
2782
+ status: any;
2783
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
2784
+ }) | ({
2785
+ deferLoading?: boolean;
2786
+ title?: string;
2787
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
2788
+ metadata?: import("@ai-sdk/provider").JSONObject;
2789
+ inputSchema: import("ai").FlexibleSchema<{
2790
+ jobId: string;
2791
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2792
+ }>;
2793
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
2794
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
2795
+ jobId: string;
2796
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2797
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
2798
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2799
+ onInputDelta?: ((options: {
2800
+ inputTextDelta: string;
2801
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2802
+ onInputAvailable?: ((options: {
2803
+ input: {
2804
+ jobId: string;
2805
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2806
+ };
2807
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2808
+ toModelOutput?: ((options: {
2809
+ toolCallId: string;
2810
+ input: {
2811
+ jobId: string;
2812
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2813
+ };
2814
+ output: NoInfer<import("@moneytools-dev/transcripts").FileTranscriptionJob | {
2815
+ jobId: string;
2816
+ format: "srt" | "vtt" | "txt";
2817
+ content: string;
2818
+ } | {
2819
+ error: any;
2820
+ status: any;
2821
+ }>;
2822
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
2823
+ } & {
2824
+ outputSchema?: import("ai").FlexibleSchema<import("@moneytools-dev/transcripts").FileTranscriptionJob | {
2825
+ jobId: string;
2826
+ format: "srt" | "vtt" | "txt";
2827
+ content: string;
2828
+ } | {
2829
+ error: any;
2830
+ status: any;
2831
+ }> | undefined;
2832
+ execute: import("ai").ToolExecuteFunction<{
2833
+ jobId: string;
2834
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2835
+ }, import("@moneytools-dev/transcripts").FileTranscriptionJob | {
2836
+ jobId: string;
2837
+ format: "srt" | "vtt" | "txt";
2838
+ content: string;
2839
+ } | {
2840
+ error: any;
2841
+ status: any;
2842
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
2843
+ } & {
2844
+ description?: string | ((options: {
2845
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
2846
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
2847
+ }) => string) | undefined;
2848
+ strict?: boolean;
2849
+ inputExamples?: {
2850
+ input: NoInfer<{
2851
+ jobId: string;
2852
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2853
+ }>;
2854
+ }[] | undefined;
2855
+ id?: never;
2856
+ isProviderExecuted?: never;
2857
+ args?: never;
2858
+ supportsDeferredResults?: never;
2859
+ } & {
2860
+ type: "dynamic";
2861
+ } & {
2862
+ execute: import("ai").ToolExecuteFunction<{
2863
+ jobId: string;
2864
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2865
+ }, import("@moneytools-dev/transcripts").FileTranscriptionJob | {
2866
+ jobId: string;
2867
+ format: "srt" | "vtt" | "txt";
2868
+ content: string;
2869
+ } | {
2870
+ error: any;
2871
+ status: any;
2872
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
2873
+ }) | ({
2874
+ deferLoading?: boolean;
2875
+ title?: string;
2876
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
2877
+ metadata?: import("@ai-sdk/provider").JSONObject;
2878
+ inputSchema: import("ai").FlexibleSchema<{
2879
+ jobId: string;
2880
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2881
+ }>;
2882
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
2883
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
2884
+ jobId: string;
2885
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2886
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
2887
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2888
+ onInputDelta?: ((options: {
2889
+ inputTextDelta: string;
2890
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2891
+ onInputAvailable?: ((options: {
2892
+ input: {
2893
+ jobId: string;
2894
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2895
+ };
2896
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2897
+ toModelOutput?: ((options: {
2898
+ toolCallId: string;
2899
+ input: {
2900
+ jobId: string;
2901
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2902
+ };
2903
+ output: NoInfer<import("@moneytools-dev/transcripts").FileTranscriptionJob | {
2904
+ jobId: string;
2905
+ format: "srt" | "vtt" | "txt";
2906
+ content: string;
2907
+ } | {
2908
+ error: any;
2909
+ status: any;
2910
+ }>;
2911
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
2912
+ } & {
2913
+ outputSchema?: import("ai").FlexibleSchema<import("@moneytools-dev/transcripts").FileTranscriptionJob | {
2914
+ jobId: string;
2915
+ format: "srt" | "vtt" | "txt";
2916
+ content: string;
2917
+ } | {
2918
+ error: any;
2919
+ status: any;
2920
+ }> | undefined;
2921
+ execute: import("ai").ToolExecuteFunction<{
2922
+ jobId: string;
2923
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2924
+ }, import("@moneytools-dev/transcripts").FileTranscriptionJob | {
2925
+ jobId: string;
2926
+ format: "srt" | "vtt" | "txt";
2927
+ content: string;
2928
+ } | {
2929
+ error: any;
2930
+ status: any;
2931
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
2932
+ } & {
2933
+ type: "provider";
2934
+ id: `${string}.${string}`;
2935
+ args: Record<string, unknown>;
2936
+ description?: never;
2937
+ strict?: never;
2938
+ inputExamples?: never;
2939
+ } & {
2940
+ isProviderExecuted: false;
2941
+ supportsDeferredResults?: never;
2942
+ } & {
2943
+ execute: import("ai").ToolExecuteFunction<{
2944
+ jobId: string;
2945
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2946
+ }, import("@moneytools-dev/transcripts").FileTranscriptionJob | {
2947
+ jobId: string;
2948
+ format: "srt" | "vtt" | "txt";
2949
+ content: string;
2950
+ } | {
2951
+ error: any;
2952
+ status: any;
2953
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
2954
+ }) | ({
2955
+ deferLoading?: boolean;
2956
+ title?: string;
2957
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
2958
+ metadata?: import("@ai-sdk/provider").JSONObject;
2959
+ inputSchema: import("ai").FlexibleSchema<{
2960
+ jobId: string;
2961
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2962
+ }>;
2963
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
2964
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
2965
+ jobId: string;
2966
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2967
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
2968
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2969
+ onInputDelta?: ((options: {
2970
+ inputTextDelta: string;
2971
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2972
+ onInputAvailable?: ((options: {
2973
+ input: {
2974
+ jobId: string;
2975
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2976
+ };
2977
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
2978
+ toModelOutput?: ((options: {
2979
+ toolCallId: string;
2980
+ input: {
2981
+ jobId: string;
2982
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
2983
+ };
2984
+ output: NoInfer<import("@moneytools-dev/transcripts").FileTranscriptionJob | {
2985
+ jobId: string;
2986
+ format: "srt" | "vtt" | "txt";
2987
+ content: string;
2988
+ } | {
2989
+ error: any;
2990
+ status: any;
2991
+ }>;
2992
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
2993
+ } & {
2994
+ outputSchema?: import("ai").FlexibleSchema<import("@moneytools-dev/transcripts").FileTranscriptionJob | {
2995
+ jobId: string;
2996
+ format: "srt" | "vtt" | "txt";
2997
+ content: string;
2998
+ } | {
2999
+ error: any;
3000
+ status: any;
3001
+ }> | undefined;
3002
+ execute: import("ai").ToolExecuteFunction<{
3003
+ jobId: string;
3004
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
3005
+ }, import("@moneytools-dev/transcripts").FileTranscriptionJob | {
3006
+ jobId: string;
3007
+ format: "srt" | "vtt" | "txt";
3008
+ content: string;
3009
+ } | {
3010
+ error: any;
3011
+ status: any;
3012
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3013
+ } & {
3014
+ type: "provider";
3015
+ id: `${string}.${string}`;
3016
+ args: Record<string, unknown>;
3017
+ description?: never;
3018
+ strict?: never;
3019
+ inputExamples?: never;
3020
+ } & {
3021
+ isProviderExecuted: true;
3022
+ supportsDeferredResults?: boolean;
3023
+ } & {
3024
+ execute: import("ai").ToolExecuteFunction<{
3025
+ jobId: string;
3026
+ format?: "json" | "srt" | "vtt" | "txt" | undefined;
3027
+ }, import("@moneytools-dev/transcripts").FileTranscriptionJob | {
3028
+ jobId: string;
3029
+ format: "srt" | "vtt" | "txt";
3030
+ content: string;
3031
+ } | {
3032
+ error: any;
3033
+ status: any;
3034
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3035
+ });
3036
+ spendCheck: ({
3037
+ deferLoading?: boolean;
3038
+ title?: string;
3039
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
3040
+ metadata?: import("@ai-sdk/provider").JSONObject;
3041
+ inputSchema: import("ai").FlexibleSchema<{
3042
+ amountUsd: string;
3043
+ host: string;
3044
+ payTo?: string | undefined;
3045
+ }>;
3046
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
3047
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
3048
+ amountUsd: string;
3049
+ host: string;
3050
+ payTo?: string | undefined;
3051
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
3052
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3053
+ onInputDelta?: ((options: {
3054
+ inputTextDelta: string;
3055
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3056
+ onInputAvailable?: ((options: {
3057
+ input: {
3058
+ amountUsd: string;
3059
+ host: string;
3060
+ payTo?: string | undefined;
3061
+ };
3062
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3063
+ toModelOutput?: ((options: {
3064
+ toolCallId: string;
3065
+ input: {
3066
+ amountUsd: string;
3067
+ host: string;
3068
+ payTo?: string | undefined;
3069
+ };
3070
+ output: any;
3071
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3072
+ } & Partial<{
3073
+ outputSchema?: import("ai").FlexibleSchema<any> | undefined;
3074
+ execute: import("ai").ToolExecuteFunction<{
3075
+ amountUsd: string;
3076
+ host: string;
3077
+ payTo?: string | undefined;
3078
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3079
+ }> & {
3080
+ description?: string | ((options: {
3081
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
3082
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
3083
+ }) => string) | undefined;
3084
+ strict?: boolean;
3085
+ inputExamples?: {
3086
+ input: NoInfer<{
3087
+ amountUsd: string;
3088
+ host: string;
3089
+ payTo?: string | undefined;
3090
+ }>;
3091
+ }[] | undefined;
3092
+ id?: never;
3093
+ isProviderExecuted?: never;
3094
+ args?: never;
3095
+ supportsDeferredResults?: never;
3096
+ } & {
3097
+ type?: undefined | "function";
3098
+ } & {
3099
+ execute: import("ai").ToolExecuteFunction<{
3100
+ amountUsd: string;
3101
+ host: string;
3102
+ payTo?: string | undefined;
3103
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3104
+ }) | ({
3105
+ deferLoading?: boolean;
3106
+ title?: string;
3107
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
3108
+ metadata?: import("@ai-sdk/provider").JSONObject;
3109
+ inputSchema: import("ai").FlexibleSchema<{
3110
+ amountUsd: string;
3111
+ host: string;
3112
+ payTo?: string | undefined;
3113
+ }>;
3114
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
3115
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
3116
+ amountUsd: string;
3117
+ host: string;
3118
+ payTo?: string | undefined;
3119
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
3120
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3121
+ onInputDelta?: ((options: {
3122
+ inputTextDelta: string;
3123
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3124
+ onInputAvailable?: ((options: {
3125
+ input: {
3126
+ amountUsd: string;
3127
+ host: string;
3128
+ payTo?: string | undefined;
3129
+ };
3130
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3131
+ toModelOutput?: ((options: {
3132
+ toolCallId: string;
3133
+ input: {
3134
+ amountUsd: string;
3135
+ host: string;
3136
+ payTo?: string | undefined;
3137
+ };
3138
+ output: any;
3139
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3140
+ } & Partial<{
3141
+ outputSchema?: import("ai").FlexibleSchema<any> | undefined;
3142
+ execute: import("ai").ToolExecuteFunction<{
3143
+ amountUsd: string;
3144
+ host: string;
3145
+ payTo?: string | undefined;
3146
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3147
+ }> & {
3148
+ description?: string | ((options: {
3149
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
3150
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
3151
+ }) => string) | undefined;
3152
+ strict?: boolean;
3153
+ inputExamples?: {
3154
+ input: NoInfer<{
3155
+ amountUsd: string;
3156
+ host: string;
3157
+ payTo?: string | undefined;
3158
+ }>;
3159
+ }[] | undefined;
3160
+ id?: never;
3161
+ isProviderExecuted?: never;
3162
+ args?: never;
3163
+ supportsDeferredResults?: never;
3164
+ } & {
3165
+ type: "dynamic";
3166
+ } & {
3167
+ execute: import("ai").ToolExecuteFunction<{
3168
+ amountUsd: string;
3169
+ host: string;
3170
+ payTo?: string | undefined;
3171
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3172
+ }) | ({
3173
+ deferLoading?: boolean;
3174
+ title?: string;
3175
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
3176
+ metadata?: import("@ai-sdk/provider").JSONObject;
3177
+ inputSchema: import("ai").FlexibleSchema<{
3178
+ amountUsd: string;
3179
+ host: string;
3180
+ payTo?: string | undefined;
3181
+ }>;
3182
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
3183
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
3184
+ amountUsd: string;
3185
+ host: string;
3186
+ payTo?: string | undefined;
3187
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
3188
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3189
+ onInputDelta?: ((options: {
3190
+ inputTextDelta: string;
3191
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3192
+ onInputAvailable?: ((options: {
3193
+ input: {
3194
+ amountUsd: string;
3195
+ host: string;
3196
+ payTo?: string | undefined;
3197
+ };
3198
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3199
+ toModelOutput?: ((options: {
3200
+ toolCallId: string;
3201
+ input: {
3202
+ amountUsd: string;
3203
+ host: string;
3204
+ payTo?: string | undefined;
3205
+ };
3206
+ output: any;
3207
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3208
+ } & Partial<{
3209
+ outputSchema?: import("ai").FlexibleSchema<any> | undefined;
3210
+ execute: import("ai").ToolExecuteFunction<{
3211
+ amountUsd: string;
3212
+ host: string;
3213
+ payTo?: string | undefined;
3214
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3215
+ }> & {
3216
+ type: "provider";
3217
+ id: `${string}.${string}`;
3218
+ args: Record<string, unknown>;
3219
+ description?: never;
3220
+ strict?: never;
3221
+ inputExamples?: never;
3222
+ } & {
3223
+ isProviderExecuted: false;
3224
+ supportsDeferredResults?: never;
3225
+ } & {
3226
+ execute: import("ai").ToolExecuteFunction<{
3227
+ amountUsd: string;
3228
+ host: string;
3229
+ payTo?: string | undefined;
3230
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3231
+ }) | ({
3232
+ deferLoading?: boolean;
3233
+ title?: string;
3234
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
3235
+ metadata?: import("@ai-sdk/provider").JSONObject;
3236
+ inputSchema: import("ai").FlexibleSchema<{
3237
+ amountUsd: string;
3238
+ host: string;
3239
+ payTo?: string | undefined;
3240
+ }>;
3241
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
3242
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
3243
+ amountUsd: string;
3244
+ host: string;
3245
+ payTo?: string | undefined;
3246
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
3247
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3248
+ onInputDelta?: ((options: {
3249
+ inputTextDelta: string;
3250
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3251
+ onInputAvailable?: ((options: {
3252
+ input: {
3253
+ amountUsd: string;
3254
+ host: string;
3255
+ payTo?: string | undefined;
3256
+ };
3257
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3258
+ toModelOutput?: ((options: {
3259
+ toolCallId: string;
3260
+ input: {
3261
+ amountUsd: string;
3262
+ host: string;
3263
+ payTo?: string | undefined;
3264
+ };
3265
+ output: any;
3266
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3267
+ } & Partial<{
3268
+ outputSchema?: import("ai").FlexibleSchema<any> | undefined;
3269
+ execute: import("ai").ToolExecuteFunction<{
3270
+ amountUsd: string;
3271
+ host: string;
3272
+ payTo?: string | undefined;
3273
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3274
+ }> & {
3275
+ type: "provider";
3276
+ id: `${string}.${string}`;
3277
+ args: Record<string, unknown>;
3278
+ description?: never;
3279
+ strict?: never;
3280
+ inputExamples?: never;
3281
+ } & {
3282
+ isProviderExecuted: true;
3283
+ supportsDeferredResults?: boolean;
3284
+ } & {
3285
+ execute: import("ai").ToolExecuteFunction<{
3286
+ amountUsd: string;
3287
+ host: string;
3288
+ payTo?: string | undefined;
3289
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3290
+ });
3291
+ setSpendCap: ({
3292
+ deferLoading?: boolean;
3293
+ title?: string;
3294
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
3295
+ metadata?: import("@ai-sdk/provider").JSONObject;
3296
+ inputSchema: import("ai").FlexibleSchema<{
3297
+ perCallUsd?: string | undefined;
3298
+ perDayUsd?: string | undefined;
3299
+ allowHosts?: string[] | undefined;
3300
+ }>;
3301
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
3302
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
3303
+ perCallUsd?: string | undefined;
3304
+ perDayUsd?: string | undefined;
3305
+ allowHosts?: string[] | undefined;
3306
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
3307
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3308
+ onInputDelta?: ((options: {
3309
+ inputTextDelta: string;
3310
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3311
+ onInputAvailable?: ((options: {
3312
+ input: {
3313
+ perCallUsd?: string | undefined;
3314
+ perDayUsd?: string | undefined;
3315
+ allowHosts?: string[] | undefined;
3316
+ };
3317
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3318
+ toModelOutput?: ((options: {
3319
+ toolCallId: string;
3320
+ input: {
3321
+ perCallUsd?: string | undefined;
3322
+ perDayUsd?: string | undefined;
3323
+ allowHosts?: string[] | undefined;
3324
+ };
3325
+ output: any;
3326
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3327
+ } & Partial<{
3328
+ outputSchema?: import("ai").FlexibleSchema<any> | undefined;
3329
+ execute: import("ai").ToolExecuteFunction<{
3330
+ perCallUsd?: string | undefined;
3331
+ perDayUsd?: string | undefined;
3332
+ allowHosts?: string[] | undefined;
3333
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3334
+ }> & {
3335
+ description?: string | ((options: {
3336
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
3337
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
3338
+ }) => string) | undefined;
3339
+ strict?: boolean;
3340
+ inputExamples?: {
3341
+ input: NoInfer<{
3342
+ perCallUsd?: string | undefined;
3343
+ perDayUsd?: string | undefined;
3344
+ allowHosts?: string[] | undefined;
3345
+ }>;
3346
+ }[] | undefined;
3347
+ id?: never;
3348
+ isProviderExecuted?: never;
3349
+ args?: never;
3350
+ supportsDeferredResults?: never;
3351
+ } & {
3352
+ type?: undefined | "function";
3353
+ } & {
3354
+ execute: import("ai").ToolExecuteFunction<{
3355
+ perCallUsd?: string | undefined;
3356
+ perDayUsd?: string | undefined;
3357
+ allowHosts?: string[] | undefined;
3358
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3359
+ }) | ({
3360
+ deferLoading?: boolean;
3361
+ title?: string;
3362
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
3363
+ metadata?: import("@ai-sdk/provider").JSONObject;
3364
+ inputSchema: import("ai").FlexibleSchema<{
3365
+ perCallUsd?: string | undefined;
3366
+ perDayUsd?: string | undefined;
3367
+ allowHosts?: string[] | undefined;
3368
+ }>;
3369
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
3370
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
3371
+ perCallUsd?: string | undefined;
3372
+ perDayUsd?: string | undefined;
3373
+ allowHosts?: string[] | undefined;
3374
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
3375
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3376
+ onInputDelta?: ((options: {
3377
+ inputTextDelta: string;
3378
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3379
+ onInputAvailable?: ((options: {
3380
+ input: {
3381
+ perCallUsd?: string | undefined;
3382
+ perDayUsd?: string | undefined;
3383
+ allowHosts?: string[] | undefined;
3384
+ };
3385
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3386
+ toModelOutput?: ((options: {
3387
+ toolCallId: string;
3388
+ input: {
3389
+ perCallUsd?: string | undefined;
3390
+ perDayUsd?: string | undefined;
3391
+ allowHosts?: string[] | undefined;
3392
+ };
3393
+ output: any;
3394
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3395
+ } & Partial<{
3396
+ outputSchema?: import("ai").FlexibleSchema<any> | undefined;
3397
+ execute: import("ai").ToolExecuteFunction<{
3398
+ perCallUsd?: string | undefined;
3399
+ perDayUsd?: string | undefined;
3400
+ allowHosts?: string[] | undefined;
3401
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3402
+ }> & {
3403
+ description?: string | ((options: {
3404
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
3405
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
3406
+ }) => string) | undefined;
3407
+ strict?: boolean;
3408
+ inputExamples?: {
3409
+ input: NoInfer<{
3410
+ perCallUsd?: string | undefined;
3411
+ perDayUsd?: string | undefined;
3412
+ allowHosts?: string[] | undefined;
3413
+ }>;
3414
+ }[] | undefined;
3415
+ id?: never;
3416
+ isProviderExecuted?: never;
3417
+ args?: never;
3418
+ supportsDeferredResults?: never;
3419
+ } & {
3420
+ type: "dynamic";
3421
+ } & {
3422
+ execute: import("ai").ToolExecuteFunction<{
3423
+ perCallUsd?: string | undefined;
3424
+ perDayUsd?: string | undefined;
3425
+ allowHosts?: string[] | undefined;
3426
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3427
+ }) | ({
3428
+ deferLoading?: boolean;
3429
+ title?: string;
3430
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
3431
+ metadata?: import("@ai-sdk/provider").JSONObject;
3432
+ inputSchema: import("ai").FlexibleSchema<{
3433
+ perCallUsd?: string | undefined;
3434
+ perDayUsd?: string | undefined;
3435
+ allowHosts?: string[] | undefined;
3436
+ }>;
3437
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
3438
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
3439
+ perCallUsd?: string | undefined;
3440
+ perDayUsd?: string | undefined;
3441
+ allowHosts?: string[] | undefined;
3442
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
3443
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3444
+ onInputDelta?: ((options: {
3445
+ inputTextDelta: string;
3446
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3447
+ onInputAvailable?: ((options: {
3448
+ input: {
3449
+ perCallUsd?: string | undefined;
3450
+ perDayUsd?: string | undefined;
3451
+ allowHosts?: string[] | undefined;
3452
+ };
3453
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3454
+ toModelOutput?: ((options: {
3455
+ toolCallId: string;
3456
+ input: {
3457
+ perCallUsd?: string | undefined;
3458
+ perDayUsd?: string | undefined;
3459
+ allowHosts?: string[] | undefined;
3460
+ };
3461
+ output: any;
3462
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3463
+ } & Partial<{
3464
+ outputSchema?: import("ai").FlexibleSchema<any> | undefined;
3465
+ execute: import("ai").ToolExecuteFunction<{
3466
+ perCallUsd?: string | undefined;
3467
+ perDayUsd?: string | undefined;
3468
+ allowHosts?: string[] | undefined;
3469
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3470
+ }> & {
3471
+ type: "provider";
3472
+ id: `${string}.${string}`;
3473
+ args: Record<string, unknown>;
3474
+ description?: never;
3475
+ strict?: never;
3476
+ inputExamples?: never;
3477
+ } & {
3478
+ isProviderExecuted: false;
3479
+ supportsDeferredResults?: never;
3480
+ } & {
3481
+ execute: import("ai").ToolExecuteFunction<{
3482
+ perCallUsd?: string | undefined;
3483
+ perDayUsd?: string | undefined;
3484
+ allowHosts?: string[] | undefined;
3485
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3486
+ }) | ({
3487
+ deferLoading?: boolean;
3488
+ title?: string;
3489
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
3490
+ metadata?: import("@ai-sdk/provider").JSONObject;
3491
+ inputSchema: import("ai").FlexibleSchema<{
3492
+ perCallUsd?: string | undefined;
3493
+ perDayUsd?: string | undefined;
3494
+ allowHosts?: string[] | undefined;
3495
+ }>;
3496
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
3497
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
3498
+ perCallUsd?: string | undefined;
3499
+ perDayUsd?: string | undefined;
3500
+ allowHosts?: string[] | undefined;
3501
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
3502
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3503
+ onInputDelta?: ((options: {
3504
+ inputTextDelta: string;
3505
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3506
+ onInputAvailable?: ((options: {
3507
+ input: {
3508
+ perCallUsd?: string | undefined;
3509
+ perDayUsd?: string | undefined;
3510
+ allowHosts?: string[] | undefined;
3511
+ };
3512
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3513
+ toModelOutput?: ((options: {
3514
+ toolCallId: string;
3515
+ input: {
3516
+ perCallUsd?: string | undefined;
3517
+ perDayUsd?: string | undefined;
3518
+ allowHosts?: string[] | undefined;
3519
+ };
3520
+ output: any;
3521
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3522
+ } & Partial<{
3523
+ outputSchema?: import("ai").FlexibleSchema<any> | undefined;
3524
+ execute: import("ai").ToolExecuteFunction<{
3525
+ perCallUsd?: string | undefined;
3526
+ perDayUsd?: string | undefined;
3527
+ allowHosts?: string[] | undefined;
3528
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3529
+ }> & {
3530
+ type: "provider";
3531
+ id: `${string}.${string}`;
3532
+ args: Record<string, unknown>;
3533
+ description?: never;
3534
+ strict?: never;
3535
+ inputExamples?: never;
3536
+ } & {
3537
+ isProviderExecuted: true;
3538
+ supportsDeferredResults?: boolean;
3539
+ } & {
3540
+ execute: import("ai").ToolExecuteFunction<{
3541
+ perCallUsd?: string | undefined;
3542
+ perDayUsd?: string | undefined;
3543
+ allowHosts?: string[] | undefined;
3544
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3545
+ });
3546
+ verifyPayment: ({
3547
+ deferLoading?: boolean;
3548
+ title?: string;
3549
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
3550
+ metadata?: import("@ai-sdk/provider").JSONObject;
3551
+ inputSchema: import("ai").FlexibleSchema<{
3552
+ tx?: string | undefined;
3553
+ nonce?: string | undefined;
3554
+ }>;
3555
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
3556
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
3557
+ tx?: string | undefined;
3558
+ nonce?: string | undefined;
3559
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
3560
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3561
+ onInputDelta?: ((options: {
3562
+ inputTextDelta: string;
3563
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3564
+ onInputAvailable?: ((options: {
3565
+ input: {
3566
+ tx?: string | undefined;
3567
+ nonce?: string | undefined;
3568
+ };
3569
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3570
+ toModelOutput?: ((options: {
3571
+ toolCallId: string;
3572
+ input: {
3573
+ tx?: string | undefined;
3574
+ nonce?: string | undefined;
3575
+ };
3576
+ output: any;
3577
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3578
+ } & Partial<{
3579
+ outputSchema?: import("ai").FlexibleSchema<any> | undefined;
3580
+ execute: import("ai").ToolExecuteFunction<{
3581
+ tx?: string | undefined;
3582
+ nonce?: string | undefined;
3583
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3584
+ }> & {
3585
+ description?: string | ((options: {
3586
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
3587
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
3588
+ }) => string) | undefined;
3589
+ strict?: boolean;
3590
+ inputExamples?: {
3591
+ input: NoInfer<{
3592
+ tx?: string | undefined;
3593
+ nonce?: string | undefined;
3594
+ }>;
3595
+ }[] | undefined;
3596
+ id?: never;
3597
+ isProviderExecuted?: never;
3598
+ args?: never;
3599
+ supportsDeferredResults?: never;
3600
+ } & {
3601
+ type?: undefined | "function";
3602
+ } & {
3603
+ execute: import("ai").ToolExecuteFunction<{
3604
+ tx?: string | undefined;
3605
+ nonce?: string | undefined;
3606
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3607
+ }) | ({
3608
+ deferLoading?: boolean;
3609
+ title?: string;
3610
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
3611
+ metadata?: import("@ai-sdk/provider").JSONObject;
3612
+ inputSchema: import("ai").FlexibleSchema<{
3613
+ tx?: string | undefined;
3614
+ nonce?: string | undefined;
3615
+ }>;
3616
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
3617
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
3618
+ tx?: string | undefined;
3619
+ nonce?: string | undefined;
3620
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
3621
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3622
+ onInputDelta?: ((options: {
3623
+ inputTextDelta: string;
3624
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3625
+ onInputAvailable?: ((options: {
3626
+ input: {
3627
+ tx?: string | undefined;
3628
+ nonce?: string | undefined;
3629
+ };
3630
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3631
+ toModelOutput?: ((options: {
3632
+ toolCallId: string;
3633
+ input: {
3634
+ tx?: string | undefined;
3635
+ nonce?: string | undefined;
3636
+ };
3637
+ output: any;
3638
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3639
+ } & Partial<{
3640
+ outputSchema?: import("ai").FlexibleSchema<any> | undefined;
3641
+ execute: import("ai").ToolExecuteFunction<{
3642
+ tx?: string | undefined;
3643
+ nonce?: string | undefined;
3644
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3645
+ }> & {
3646
+ description?: string | ((options: {
3647
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
3648
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
3649
+ }) => string) | undefined;
3650
+ strict?: boolean;
3651
+ inputExamples?: {
3652
+ input: NoInfer<{
3653
+ tx?: string | undefined;
3654
+ nonce?: string | undefined;
3655
+ }>;
3656
+ }[] | undefined;
3657
+ id?: never;
3658
+ isProviderExecuted?: never;
3659
+ args?: never;
3660
+ supportsDeferredResults?: never;
3661
+ } & {
3662
+ type: "dynamic";
3663
+ } & {
3664
+ execute: import("ai").ToolExecuteFunction<{
3665
+ tx?: string | undefined;
3666
+ nonce?: string | undefined;
3667
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3668
+ }) | ({
3669
+ deferLoading?: boolean;
3670
+ title?: string;
3671
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
3672
+ metadata?: import("@ai-sdk/provider").JSONObject;
3673
+ inputSchema: import("ai").FlexibleSchema<{
3674
+ tx?: string | undefined;
3675
+ nonce?: string | undefined;
3676
+ }>;
3677
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
3678
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
3679
+ tx?: string | undefined;
3680
+ nonce?: string | undefined;
3681
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
3682
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3683
+ onInputDelta?: ((options: {
3684
+ inputTextDelta: string;
3685
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3686
+ onInputAvailable?: ((options: {
3687
+ input: {
3688
+ tx?: string | undefined;
3689
+ nonce?: string | undefined;
3690
+ };
3691
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3692
+ toModelOutput?: ((options: {
3693
+ toolCallId: string;
3694
+ input: {
3695
+ tx?: string | undefined;
3696
+ nonce?: string | undefined;
3697
+ };
3698
+ output: any;
3699
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3700
+ } & Partial<{
3701
+ outputSchema?: import("ai").FlexibleSchema<any> | undefined;
3702
+ execute: import("ai").ToolExecuteFunction<{
3703
+ tx?: string | undefined;
3704
+ nonce?: string | undefined;
3705
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3706
+ }> & {
3707
+ type: "provider";
3708
+ id: `${string}.${string}`;
3709
+ args: Record<string, unknown>;
3710
+ description?: never;
3711
+ strict?: never;
3712
+ inputExamples?: never;
3713
+ } & {
3714
+ isProviderExecuted: false;
3715
+ supportsDeferredResults?: never;
3716
+ } & {
3717
+ execute: import("ai").ToolExecuteFunction<{
3718
+ tx?: string | undefined;
3719
+ nonce?: string | undefined;
3720
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3721
+ }) | ({
3722
+ deferLoading?: boolean;
3723
+ title?: string;
3724
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
3725
+ metadata?: import("@ai-sdk/provider").JSONObject;
3726
+ inputSchema: import("ai").FlexibleSchema<{
3727
+ tx?: string | undefined;
3728
+ nonce?: string | undefined;
3729
+ }>;
3730
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
3731
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
3732
+ tx?: string | undefined;
3733
+ nonce?: string | undefined;
3734
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
3735
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3736
+ onInputDelta?: ((options: {
3737
+ inputTextDelta: string;
3738
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3739
+ onInputAvailable?: ((options: {
3740
+ input: {
3741
+ tx?: string | undefined;
3742
+ nonce?: string | undefined;
3743
+ };
3744
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
3745
+ toModelOutput?: ((options: {
3746
+ toolCallId: string;
3747
+ input: {
3748
+ tx?: string | undefined;
3749
+ nonce?: string | undefined;
3750
+ };
3751
+ output: any;
3752
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
3753
+ } & Partial<{
3754
+ outputSchema?: import("ai").FlexibleSchema<any> | undefined;
3755
+ execute: import("ai").ToolExecuteFunction<{
3756
+ tx?: string | undefined;
3757
+ nonce?: string | undefined;
3758
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3759
+ }> & {
3760
+ type: "provider";
3761
+ id: `${string}.${string}`;
3762
+ args: Record<string, unknown>;
3763
+ description?: never;
3764
+ strict?: never;
3765
+ inputExamples?: never;
3766
+ } & {
3767
+ isProviderExecuted: true;
3768
+ supportsDeferredResults?: boolean;
3769
+ } & {
3770
+ execute: import("ai").ToolExecuteFunction<{
3771
+ tx?: string | undefined;
3772
+ nonce?: string | undefined;
3773
+ }, any, NoInfer<import("@ai-sdk/provider-utils").Context>>;
3774
+ });
3775
+ };
3776
+ interface PaymentTerms {
3777
+ amount: string;
3778
+ network: string;
3779
+ asset: string;
3780
+ payTo: string;
3781
+ }
3782
+ export default moneytoolsTools;