ncrypted 0.2.0 → 0.3.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,1635 @@
1
+ import { type NcryptedOptions } from "./client.js";
2
+ export type NcryptedToolName = "ncrypted_create" | "ncrypted_read" | "ncrypted_status" | "ncrypted_burn" | "ncrypted_to_vercel_env";
3
+ export interface NcryptedToolsOptions extends NcryptedOptions {
4
+ /** Limit which tools are returned. Default: all. */
5
+ include?: NcryptedToolName[];
6
+ }
7
+ /**
8
+ * Returns AI SDK tools for sharing secrets as one-time, end-to-end encrypted links (and writing them into Vercel env
9
+ * vars without the model seeing them). Encryption happens in your server process. The first 3 secrets per day are
10
+ * free; after that each costs 0.005 USDC on Base, paid via x402 from the configured wallet
11
+ * (NCRYPTED_WALLET_PRIVATE_KEY or ~/.config/ncrypted/wallet.key). Reads and deliveries are free.
12
+ */
13
+ export declare function ncryptedTools(options?: NcryptedToolsOptions): Partial<{
14
+ ncrypted_create: ({
15
+ deferLoading?: boolean;
16
+ title?: string;
17
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
18
+ metadata?: import("@ai-sdk/provider").JSONObject;
19
+ inputSchema: import("ai").FlexibleSchema<{
20
+ secret: string;
21
+ ttlSeconds?: number | undefined;
22
+ passphrase?: string | undefined;
23
+ emailTo?: string | undefined;
24
+ }>;
25
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
26
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
27
+ secret: string;
28
+ ttlSeconds?: number | undefined;
29
+ passphrase?: string | undefined;
30
+ emailTo?: string | undefined;
31
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
32
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
33
+ onInputDelta?: ((options: {
34
+ inputTextDelta: string;
35
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
36
+ onInputAvailable?: ((options: {
37
+ input: {
38
+ secret: string;
39
+ ttlSeconds?: number | undefined;
40
+ passphrase?: string | undefined;
41
+ emailTo?: string | undefined;
42
+ };
43
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
44
+ toModelOutput?: ((options: {
45
+ toolCallId: string;
46
+ input: {
47
+ secret: string;
48
+ ttlSeconds?: number | undefined;
49
+ passphrase?: string | undefined;
50
+ emailTo?: string | undefined;
51
+ };
52
+ output: NoInfer<string | {
53
+ link: string;
54
+ id: string;
55
+ expiresAt: string;
56
+ receiptToken: string;
57
+ emailed: boolean;
58
+ free: boolean;
59
+ note: string;
60
+ }>;
61
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
62
+ } & {
63
+ outputSchema?: import("ai").FlexibleSchema<string | {
64
+ link: string;
65
+ id: string;
66
+ expiresAt: string;
67
+ receiptToken: string;
68
+ emailed: boolean;
69
+ free: boolean;
70
+ note: string;
71
+ }> | undefined;
72
+ execute: import("ai").ToolExecuteFunction<{
73
+ secret: string;
74
+ ttlSeconds?: number | undefined;
75
+ passphrase?: string | undefined;
76
+ emailTo?: string | undefined;
77
+ }, string | {
78
+ link: string;
79
+ id: string;
80
+ expiresAt: string;
81
+ receiptToken: string;
82
+ emailed: boolean;
83
+ free: boolean;
84
+ note: string;
85
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
86
+ } & {
87
+ description?: string | ((options: {
88
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
89
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
90
+ }) => string) | undefined;
91
+ strict?: boolean;
92
+ inputExamples?: {
93
+ input: NoInfer<{
94
+ secret: string;
95
+ ttlSeconds?: number | undefined;
96
+ passphrase?: string | undefined;
97
+ emailTo?: string | undefined;
98
+ }>;
99
+ }[] | undefined;
100
+ id?: never;
101
+ isProviderExecuted?: never;
102
+ args?: never;
103
+ supportsDeferredResults?: never;
104
+ } & {
105
+ type?: undefined | "function";
106
+ } & {
107
+ execute: import("ai").ToolExecuteFunction<{
108
+ secret: string;
109
+ ttlSeconds?: number | undefined;
110
+ passphrase?: string | undefined;
111
+ emailTo?: string | undefined;
112
+ }, string | {
113
+ link: string;
114
+ id: string;
115
+ expiresAt: string;
116
+ receiptToken: string;
117
+ emailed: boolean;
118
+ free: boolean;
119
+ note: string;
120
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
121
+ }) | ({
122
+ deferLoading?: boolean;
123
+ title?: string;
124
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
125
+ metadata?: import("@ai-sdk/provider").JSONObject;
126
+ inputSchema: import("ai").FlexibleSchema<{
127
+ secret: string;
128
+ ttlSeconds?: number | undefined;
129
+ passphrase?: string | undefined;
130
+ emailTo?: string | undefined;
131
+ }>;
132
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
133
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
134
+ secret: string;
135
+ ttlSeconds?: number | undefined;
136
+ passphrase?: string | undefined;
137
+ emailTo?: string | undefined;
138
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
139
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
140
+ onInputDelta?: ((options: {
141
+ inputTextDelta: string;
142
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
143
+ onInputAvailable?: ((options: {
144
+ input: {
145
+ secret: string;
146
+ ttlSeconds?: number | undefined;
147
+ passphrase?: string | undefined;
148
+ emailTo?: string | undefined;
149
+ };
150
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
151
+ toModelOutput?: ((options: {
152
+ toolCallId: string;
153
+ input: {
154
+ secret: string;
155
+ ttlSeconds?: number | undefined;
156
+ passphrase?: string | undefined;
157
+ emailTo?: string | undefined;
158
+ };
159
+ output: NoInfer<string | {
160
+ link: string;
161
+ id: string;
162
+ expiresAt: string;
163
+ receiptToken: string;
164
+ emailed: boolean;
165
+ free: boolean;
166
+ note: string;
167
+ }>;
168
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
169
+ } & {
170
+ outputSchema?: import("ai").FlexibleSchema<string | {
171
+ link: string;
172
+ id: string;
173
+ expiresAt: string;
174
+ receiptToken: string;
175
+ emailed: boolean;
176
+ free: boolean;
177
+ note: string;
178
+ }> | undefined;
179
+ execute: import("ai").ToolExecuteFunction<{
180
+ secret: string;
181
+ ttlSeconds?: number | undefined;
182
+ passphrase?: string | undefined;
183
+ emailTo?: string | undefined;
184
+ }, string | {
185
+ link: string;
186
+ id: string;
187
+ expiresAt: string;
188
+ receiptToken: string;
189
+ emailed: boolean;
190
+ free: boolean;
191
+ note: string;
192
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
193
+ } & {
194
+ description?: string | ((options: {
195
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
196
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
197
+ }) => string) | undefined;
198
+ strict?: boolean;
199
+ inputExamples?: {
200
+ input: NoInfer<{
201
+ secret: string;
202
+ ttlSeconds?: number | undefined;
203
+ passphrase?: string | undefined;
204
+ emailTo?: string | undefined;
205
+ }>;
206
+ }[] | undefined;
207
+ id?: never;
208
+ isProviderExecuted?: never;
209
+ args?: never;
210
+ supportsDeferredResults?: never;
211
+ } & {
212
+ type: "dynamic";
213
+ } & {
214
+ execute: import("ai").ToolExecuteFunction<{
215
+ secret: string;
216
+ ttlSeconds?: number | undefined;
217
+ passphrase?: string | undefined;
218
+ emailTo?: string | undefined;
219
+ }, string | {
220
+ link: string;
221
+ id: string;
222
+ expiresAt: string;
223
+ receiptToken: string;
224
+ emailed: boolean;
225
+ free: boolean;
226
+ note: string;
227
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
228
+ }) | ({
229
+ deferLoading?: boolean;
230
+ title?: string;
231
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
232
+ metadata?: import("@ai-sdk/provider").JSONObject;
233
+ inputSchema: import("ai").FlexibleSchema<{
234
+ secret: string;
235
+ ttlSeconds?: number | undefined;
236
+ passphrase?: string | undefined;
237
+ emailTo?: string | undefined;
238
+ }>;
239
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
240
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
241
+ secret: string;
242
+ ttlSeconds?: number | undefined;
243
+ passphrase?: string | undefined;
244
+ emailTo?: string | undefined;
245
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
246
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
247
+ onInputDelta?: ((options: {
248
+ inputTextDelta: string;
249
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
250
+ onInputAvailable?: ((options: {
251
+ input: {
252
+ secret: string;
253
+ ttlSeconds?: number | undefined;
254
+ passphrase?: string | undefined;
255
+ emailTo?: string | undefined;
256
+ };
257
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
258
+ toModelOutput?: ((options: {
259
+ toolCallId: string;
260
+ input: {
261
+ secret: string;
262
+ ttlSeconds?: number | undefined;
263
+ passphrase?: string | undefined;
264
+ emailTo?: string | undefined;
265
+ };
266
+ output: NoInfer<string | {
267
+ link: string;
268
+ id: string;
269
+ expiresAt: string;
270
+ receiptToken: string;
271
+ emailed: boolean;
272
+ free: boolean;
273
+ note: string;
274
+ }>;
275
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
276
+ } & {
277
+ outputSchema?: import("ai").FlexibleSchema<string | {
278
+ link: string;
279
+ id: string;
280
+ expiresAt: string;
281
+ receiptToken: string;
282
+ emailed: boolean;
283
+ free: boolean;
284
+ note: string;
285
+ }> | undefined;
286
+ execute: import("ai").ToolExecuteFunction<{
287
+ secret: string;
288
+ ttlSeconds?: number | undefined;
289
+ passphrase?: string | undefined;
290
+ emailTo?: string | undefined;
291
+ }, string | {
292
+ link: string;
293
+ id: string;
294
+ expiresAt: string;
295
+ receiptToken: string;
296
+ emailed: boolean;
297
+ free: boolean;
298
+ note: string;
299
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
300
+ } & {
301
+ type: "provider";
302
+ id: `${string}.${string}`;
303
+ args: Record<string, unknown>;
304
+ description?: never;
305
+ strict?: never;
306
+ inputExamples?: never;
307
+ } & {
308
+ isProviderExecuted: false;
309
+ supportsDeferredResults?: never;
310
+ } & {
311
+ execute: import("ai").ToolExecuteFunction<{
312
+ secret: string;
313
+ ttlSeconds?: number | undefined;
314
+ passphrase?: string | undefined;
315
+ emailTo?: string | undefined;
316
+ }, string | {
317
+ link: string;
318
+ id: string;
319
+ expiresAt: string;
320
+ receiptToken: string;
321
+ emailed: boolean;
322
+ free: boolean;
323
+ note: string;
324
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
325
+ }) | ({
326
+ deferLoading?: boolean;
327
+ title?: string;
328
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
329
+ metadata?: import("@ai-sdk/provider").JSONObject;
330
+ inputSchema: import("ai").FlexibleSchema<{
331
+ secret: string;
332
+ ttlSeconds?: number | undefined;
333
+ passphrase?: string | undefined;
334
+ emailTo?: string | undefined;
335
+ }>;
336
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
337
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
338
+ secret: string;
339
+ ttlSeconds?: number | undefined;
340
+ passphrase?: string | undefined;
341
+ emailTo?: string | undefined;
342
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
343
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
344
+ onInputDelta?: ((options: {
345
+ inputTextDelta: string;
346
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
347
+ onInputAvailable?: ((options: {
348
+ input: {
349
+ secret: string;
350
+ ttlSeconds?: number | undefined;
351
+ passphrase?: string | undefined;
352
+ emailTo?: string | undefined;
353
+ };
354
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
355
+ toModelOutput?: ((options: {
356
+ toolCallId: string;
357
+ input: {
358
+ secret: string;
359
+ ttlSeconds?: number | undefined;
360
+ passphrase?: string | undefined;
361
+ emailTo?: string | undefined;
362
+ };
363
+ output: NoInfer<string | {
364
+ link: string;
365
+ id: string;
366
+ expiresAt: string;
367
+ receiptToken: string;
368
+ emailed: boolean;
369
+ free: boolean;
370
+ note: string;
371
+ }>;
372
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
373
+ } & {
374
+ outputSchema?: import("ai").FlexibleSchema<string | {
375
+ link: string;
376
+ id: string;
377
+ expiresAt: string;
378
+ receiptToken: string;
379
+ emailed: boolean;
380
+ free: boolean;
381
+ note: string;
382
+ }> | undefined;
383
+ execute: import("ai").ToolExecuteFunction<{
384
+ secret: string;
385
+ ttlSeconds?: number | undefined;
386
+ passphrase?: string | undefined;
387
+ emailTo?: string | undefined;
388
+ }, string | {
389
+ link: string;
390
+ id: string;
391
+ expiresAt: string;
392
+ receiptToken: string;
393
+ emailed: boolean;
394
+ free: boolean;
395
+ note: string;
396
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
397
+ } & {
398
+ type: "provider";
399
+ id: `${string}.${string}`;
400
+ args: Record<string, unknown>;
401
+ description?: never;
402
+ strict?: never;
403
+ inputExamples?: never;
404
+ } & {
405
+ isProviderExecuted: true;
406
+ supportsDeferredResults?: boolean;
407
+ } & {
408
+ execute: import("ai").ToolExecuteFunction<{
409
+ secret: string;
410
+ ttlSeconds?: number | undefined;
411
+ passphrase?: string | undefined;
412
+ emailTo?: string | undefined;
413
+ }, string | {
414
+ link: string;
415
+ id: string;
416
+ expiresAt: string;
417
+ receiptToken: string;
418
+ emailed: boolean;
419
+ free: boolean;
420
+ note: string;
421
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
422
+ });
423
+ ncrypted_read: ({
424
+ deferLoading?: boolean;
425
+ title?: string;
426
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
427
+ metadata?: import("@ai-sdk/provider").JSONObject;
428
+ inputSchema: import("ai").FlexibleSchema<{
429
+ link: string;
430
+ passphrase?: string | undefined;
431
+ }>;
432
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
433
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
434
+ link: string;
435
+ passphrase?: string | undefined;
436
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
437
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
438
+ onInputDelta?: ((options: {
439
+ inputTextDelta: string;
440
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
441
+ onInputAvailable?: ((options: {
442
+ input: {
443
+ link: string;
444
+ passphrase?: string | undefined;
445
+ };
446
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
447
+ toModelOutput?: ((options: {
448
+ toolCallId: string;
449
+ input: {
450
+ link: string;
451
+ passphrase?: string | undefined;
452
+ };
453
+ output: string;
454
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
455
+ } & {
456
+ outputSchema?: import("ai").FlexibleSchema<string> | undefined;
457
+ execute: import("ai").ToolExecuteFunction<{
458
+ link: string;
459
+ passphrase?: string | undefined;
460
+ }, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
461
+ } & {
462
+ description?: string | ((options: {
463
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
464
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
465
+ }) => string) | undefined;
466
+ strict?: boolean;
467
+ inputExamples?: {
468
+ input: NoInfer<{
469
+ link: string;
470
+ passphrase?: string | undefined;
471
+ }>;
472
+ }[] | undefined;
473
+ id?: never;
474
+ isProviderExecuted?: never;
475
+ args?: never;
476
+ supportsDeferredResults?: never;
477
+ } & {
478
+ type?: undefined | "function";
479
+ } & {
480
+ execute: import("ai").ToolExecuteFunction<{
481
+ link: string;
482
+ passphrase?: string | undefined;
483
+ }, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
484
+ }) | ({
485
+ deferLoading?: boolean;
486
+ title?: string;
487
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
488
+ metadata?: import("@ai-sdk/provider").JSONObject;
489
+ inputSchema: import("ai").FlexibleSchema<{
490
+ link: string;
491
+ passphrase?: string | undefined;
492
+ }>;
493
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
494
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
495
+ link: string;
496
+ passphrase?: string | undefined;
497
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
498
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
499
+ onInputDelta?: ((options: {
500
+ inputTextDelta: string;
501
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
502
+ onInputAvailable?: ((options: {
503
+ input: {
504
+ link: string;
505
+ passphrase?: string | undefined;
506
+ };
507
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
508
+ toModelOutput?: ((options: {
509
+ toolCallId: string;
510
+ input: {
511
+ link: string;
512
+ passphrase?: string | undefined;
513
+ };
514
+ output: string;
515
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
516
+ } & {
517
+ outputSchema?: import("ai").FlexibleSchema<string> | undefined;
518
+ execute: import("ai").ToolExecuteFunction<{
519
+ link: string;
520
+ passphrase?: string | undefined;
521
+ }, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
522
+ } & {
523
+ description?: string | ((options: {
524
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
525
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
526
+ }) => string) | undefined;
527
+ strict?: boolean;
528
+ inputExamples?: {
529
+ input: NoInfer<{
530
+ link: string;
531
+ passphrase?: string | undefined;
532
+ }>;
533
+ }[] | undefined;
534
+ id?: never;
535
+ isProviderExecuted?: never;
536
+ args?: never;
537
+ supportsDeferredResults?: never;
538
+ } & {
539
+ type: "dynamic";
540
+ } & {
541
+ execute: import("ai").ToolExecuteFunction<{
542
+ link: string;
543
+ passphrase?: string | undefined;
544
+ }, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
545
+ }) | ({
546
+ deferLoading?: boolean;
547
+ title?: string;
548
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
549
+ metadata?: import("@ai-sdk/provider").JSONObject;
550
+ inputSchema: import("ai").FlexibleSchema<{
551
+ link: string;
552
+ passphrase?: string | undefined;
553
+ }>;
554
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
555
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
556
+ link: string;
557
+ passphrase?: string | undefined;
558
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
559
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
560
+ onInputDelta?: ((options: {
561
+ inputTextDelta: string;
562
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
563
+ onInputAvailable?: ((options: {
564
+ input: {
565
+ link: string;
566
+ passphrase?: string | undefined;
567
+ };
568
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
569
+ toModelOutput?: ((options: {
570
+ toolCallId: string;
571
+ input: {
572
+ link: string;
573
+ passphrase?: string | undefined;
574
+ };
575
+ output: string;
576
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
577
+ } & {
578
+ outputSchema?: import("ai").FlexibleSchema<string> | undefined;
579
+ execute: import("ai").ToolExecuteFunction<{
580
+ link: string;
581
+ passphrase?: string | undefined;
582
+ }, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
583
+ } & {
584
+ type: "provider";
585
+ id: `${string}.${string}`;
586
+ args: Record<string, unknown>;
587
+ description?: never;
588
+ strict?: never;
589
+ inputExamples?: never;
590
+ } & {
591
+ isProviderExecuted: false;
592
+ supportsDeferredResults?: never;
593
+ } & {
594
+ execute: import("ai").ToolExecuteFunction<{
595
+ link: string;
596
+ passphrase?: string | undefined;
597
+ }, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
598
+ }) | ({
599
+ deferLoading?: boolean;
600
+ title?: string;
601
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
602
+ metadata?: import("@ai-sdk/provider").JSONObject;
603
+ inputSchema: import("ai").FlexibleSchema<{
604
+ link: string;
605
+ passphrase?: string | undefined;
606
+ }>;
607
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
608
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
609
+ link: string;
610
+ passphrase?: string | undefined;
611
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
612
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
613
+ onInputDelta?: ((options: {
614
+ inputTextDelta: string;
615
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
616
+ onInputAvailable?: ((options: {
617
+ input: {
618
+ link: string;
619
+ passphrase?: string | undefined;
620
+ };
621
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
622
+ toModelOutput?: ((options: {
623
+ toolCallId: string;
624
+ input: {
625
+ link: string;
626
+ passphrase?: string | undefined;
627
+ };
628
+ output: string;
629
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
630
+ } & {
631
+ outputSchema?: import("ai").FlexibleSchema<string> | undefined;
632
+ execute: import("ai").ToolExecuteFunction<{
633
+ link: string;
634
+ passphrase?: string | undefined;
635
+ }, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
636
+ } & {
637
+ type: "provider";
638
+ id: `${string}.${string}`;
639
+ args: Record<string, unknown>;
640
+ description?: never;
641
+ strict?: never;
642
+ inputExamples?: never;
643
+ } & {
644
+ isProviderExecuted: true;
645
+ supportsDeferredResults?: boolean;
646
+ } & {
647
+ execute: import("ai").ToolExecuteFunction<{
648
+ link: string;
649
+ passphrase?: string | undefined;
650
+ }, string, NoInfer<import("@ai-sdk/provider-utils").Context>>;
651
+ });
652
+ ncrypted_status: ({
653
+ deferLoading?: boolean;
654
+ title?: string;
655
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
656
+ metadata?: import("@ai-sdk/provider").JSONObject;
657
+ inputSchema: import("ai").FlexibleSchema<{
658
+ id: string;
659
+ receiptToken: string;
660
+ }>;
661
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
662
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
663
+ id: string;
664
+ receiptToken: string;
665
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
666
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
667
+ onInputDelta?: ((options: {
668
+ inputTextDelta: string;
669
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
670
+ onInputAvailable?: ((options: {
671
+ input: {
672
+ id: string;
673
+ receiptToken: string;
674
+ };
675
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
676
+ toModelOutput?: ((options: {
677
+ toolCallId: string;
678
+ input: {
679
+ id: string;
680
+ receiptToken: string;
681
+ };
682
+ output: NoInfer<string | {
683
+ status: import("./client.js").SecretStatus;
684
+ readAt?: string;
685
+ expiresAt?: string;
686
+ }>;
687
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
688
+ } & {
689
+ outputSchema?: import("ai").FlexibleSchema<string | {
690
+ status: import("./client.js").SecretStatus;
691
+ readAt?: string;
692
+ expiresAt?: string;
693
+ }> | undefined;
694
+ execute: import("ai").ToolExecuteFunction<{
695
+ id: string;
696
+ receiptToken: string;
697
+ }, string | {
698
+ status: import("./client.js").SecretStatus;
699
+ readAt?: string;
700
+ expiresAt?: string;
701
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
702
+ } & {
703
+ description?: string | ((options: {
704
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
705
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
706
+ }) => string) | undefined;
707
+ strict?: boolean;
708
+ inputExamples?: {
709
+ input: NoInfer<{
710
+ id: string;
711
+ receiptToken: string;
712
+ }>;
713
+ }[] | undefined;
714
+ id?: never;
715
+ isProviderExecuted?: never;
716
+ args?: never;
717
+ supportsDeferredResults?: never;
718
+ } & {
719
+ type?: undefined | "function";
720
+ } & {
721
+ execute: import("ai").ToolExecuteFunction<{
722
+ id: string;
723
+ receiptToken: string;
724
+ }, string | {
725
+ status: import("./client.js").SecretStatus;
726
+ readAt?: string;
727
+ expiresAt?: string;
728
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
729
+ }) | ({
730
+ deferLoading?: boolean;
731
+ title?: string;
732
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
733
+ metadata?: import("@ai-sdk/provider").JSONObject;
734
+ inputSchema: import("ai").FlexibleSchema<{
735
+ id: string;
736
+ receiptToken: string;
737
+ }>;
738
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
739
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
740
+ id: string;
741
+ receiptToken: string;
742
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
743
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
744
+ onInputDelta?: ((options: {
745
+ inputTextDelta: string;
746
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
747
+ onInputAvailable?: ((options: {
748
+ input: {
749
+ id: string;
750
+ receiptToken: string;
751
+ };
752
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
753
+ toModelOutput?: ((options: {
754
+ toolCallId: string;
755
+ input: {
756
+ id: string;
757
+ receiptToken: string;
758
+ };
759
+ output: NoInfer<string | {
760
+ status: import("./client.js").SecretStatus;
761
+ readAt?: string;
762
+ expiresAt?: string;
763
+ }>;
764
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
765
+ } & {
766
+ outputSchema?: import("ai").FlexibleSchema<string | {
767
+ status: import("./client.js").SecretStatus;
768
+ readAt?: string;
769
+ expiresAt?: string;
770
+ }> | undefined;
771
+ execute: import("ai").ToolExecuteFunction<{
772
+ id: string;
773
+ receiptToken: string;
774
+ }, string | {
775
+ status: import("./client.js").SecretStatus;
776
+ readAt?: string;
777
+ expiresAt?: string;
778
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
779
+ } & {
780
+ description?: string | ((options: {
781
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
782
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
783
+ }) => string) | undefined;
784
+ strict?: boolean;
785
+ inputExamples?: {
786
+ input: NoInfer<{
787
+ id: string;
788
+ receiptToken: string;
789
+ }>;
790
+ }[] | undefined;
791
+ id?: never;
792
+ isProviderExecuted?: never;
793
+ args?: never;
794
+ supportsDeferredResults?: never;
795
+ } & {
796
+ type: "dynamic";
797
+ } & {
798
+ execute: import("ai").ToolExecuteFunction<{
799
+ id: string;
800
+ receiptToken: string;
801
+ }, string | {
802
+ status: import("./client.js").SecretStatus;
803
+ readAt?: string;
804
+ expiresAt?: string;
805
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
806
+ }) | ({
807
+ deferLoading?: boolean;
808
+ title?: string;
809
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
810
+ metadata?: import("@ai-sdk/provider").JSONObject;
811
+ inputSchema: import("ai").FlexibleSchema<{
812
+ id: string;
813
+ receiptToken: string;
814
+ }>;
815
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
816
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
817
+ id: string;
818
+ receiptToken: string;
819
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
820
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
821
+ onInputDelta?: ((options: {
822
+ inputTextDelta: string;
823
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
824
+ onInputAvailable?: ((options: {
825
+ input: {
826
+ id: string;
827
+ receiptToken: string;
828
+ };
829
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
830
+ toModelOutput?: ((options: {
831
+ toolCallId: string;
832
+ input: {
833
+ id: string;
834
+ receiptToken: string;
835
+ };
836
+ output: NoInfer<string | {
837
+ status: import("./client.js").SecretStatus;
838
+ readAt?: string;
839
+ expiresAt?: string;
840
+ }>;
841
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
842
+ } & {
843
+ outputSchema?: import("ai").FlexibleSchema<string | {
844
+ status: import("./client.js").SecretStatus;
845
+ readAt?: string;
846
+ expiresAt?: string;
847
+ }> | undefined;
848
+ execute: import("ai").ToolExecuteFunction<{
849
+ id: string;
850
+ receiptToken: string;
851
+ }, string | {
852
+ status: import("./client.js").SecretStatus;
853
+ readAt?: string;
854
+ expiresAt?: string;
855
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
856
+ } & {
857
+ type: "provider";
858
+ id: `${string}.${string}`;
859
+ args: Record<string, unknown>;
860
+ description?: never;
861
+ strict?: never;
862
+ inputExamples?: never;
863
+ } & {
864
+ isProviderExecuted: false;
865
+ supportsDeferredResults?: never;
866
+ } & {
867
+ execute: import("ai").ToolExecuteFunction<{
868
+ id: string;
869
+ receiptToken: string;
870
+ }, string | {
871
+ status: import("./client.js").SecretStatus;
872
+ readAt?: string;
873
+ expiresAt?: string;
874
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
875
+ }) | ({
876
+ deferLoading?: boolean;
877
+ title?: string;
878
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
879
+ metadata?: import("@ai-sdk/provider").JSONObject;
880
+ inputSchema: import("ai").FlexibleSchema<{
881
+ id: string;
882
+ receiptToken: string;
883
+ }>;
884
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
885
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
886
+ id: string;
887
+ receiptToken: string;
888
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
889
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
890
+ onInputDelta?: ((options: {
891
+ inputTextDelta: string;
892
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
893
+ onInputAvailable?: ((options: {
894
+ input: {
895
+ id: string;
896
+ receiptToken: string;
897
+ };
898
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
899
+ toModelOutput?: ((options: {
900
+ toolCallId: string;
901
+ input: {
902
+ id: string;
903
+ receiptToken: string;
904
+ };
905
+ output: NoInfer<string | {
906
+ status: import("./client.js").SecretStatus;
907
+ readAt?: string;
908
+ expiresAt?: string;
909
+ }>;
910
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
911
+ } & {
912
+ outputSchema?: import("ai").FlexibleSchema<string | {
913
+ status: import("./client.js").SecretStatus;
914
+ readAt?: string;
915
+ expiresAt?: string;
916
+ }> | undefined;
917
+ execute: import("ai").ToolExecuteFunction<{
918
+ id: string;
919
+ receiptToken: string;
920
+ }, string | {
921
+ status: import("./client.js").SecretStatus;
922
+ readAt?: string;
923
+ expiresAt?: string;
924
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
925
+ } & {
926
+ type: "provider";
927
+ id: `${string}.${string}`;
928
+ args: Record<string, unknown>;
929
+ description?: never;
930
+ strict?: never;
931
+ inputExamples?: never;
932
+ } & {
933
+ isProviderExecuted: true;
934
+ supportsDeferredResults?: boolean;
935
+ } & {
936
+ execute: import("ai").ToolExecuteFunction<{
937
+ id: string;
938
+ receiptToken: string;
939
+ }, string | {
940
+ status: import("./client.js").SecretStatus;
941
+ readAt?: string;
942
+ expiresAt?: string;
943
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
944
+ });
945
+ ncrypted_burn: ({
946
+ deferLoading?: boolean;
947
+ title?: string;
948
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
949
+ metadata?: import("@ai-sdk/provider").JSONObject;
950
+ inputSchema: import("ai").FlexibleSchema<{
951
+ id: string;
952
+ receiptToken: string;
953
+ }>;
954
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
955
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
956
+ id: string;
957
+ receiptToken: string;
958
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
959
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
960
+ onInputDelta?: ((options: {
961
+ inputTextDelta: string;
962
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
963
+ onInputAvailable?: ((options: {
964
+ input: {
965
+ id: string;
966
+ receiptToken: string;
967
+ };
968
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
969
+ toModelOutput?: ((options: {
970
+ toolCallId: string;
971
+ input: {
972
+ id: string;
973
+ receiptToken: string;
974
+ };
975
+ output: NoInfer<string | {
976
+ burned: boolean;
977
+ }>;
978
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
979
+ } & {
980
+ outputSchema?: import("ai").FlexibleSchema<string | {
981
+ burned: boolean;
982
+ }> | undefined;
983
+ execute: import("ai").ToolExecuteFunction<{
984
+ id: string;
985
+ receiptToken: string;
986
+ }, string | {
987
+ burned: boolean;
988
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
989
+ } & {
990
+ description?: string | ((options: {
991
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
992
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
993
+ }) => string) | undefined;
994
+ strict?: boolean;
995
+ inputExamples?: {
996
+ input: NoInfer<{
997
+ id: string;
998
+ receiptToken: string;
999
+ }>;
1000
+ }[] | undefined;
1001
+ id?: never;
1002
+ isProviderExecuted?: never;
1003
+ args?: never;
1004
+ supportsDeferredResults?: never;
1005
+ } & {
1006
+ type?: undefined | "function";
1007
+ } & {
1008
+ execute: import("ai").ToolExecuteFunction<{
1009
+ id: string;
1010
+ receiptToken: string;
1011
+ }, string | {
1012
+ burned: boolean;
1013
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1014
+ }) | ({
1015
+ deferLoading?: boolean;
1016
+ title?: string;
1017
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1018
+ metadata?: import("@ai-sdk/provider").JSONObject;
1019
+ inputSchema: import("ai").FlexibleSchema<{
1020
+ id: string;
1021
+ receiptToken: string;
1022
+ }>;
1023
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1024
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1025
+ id: string;
1026
+ receiptToken: string;
1027
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1028
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1029
+ onInputDelta?: ((options: {
1030
+ inputTextDelta: string;
1031
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1032
+ onInputAvailable?: ((options: {
1033
+ input: {
1034
+ id: string;
1035
+ receiptToken: string;
1036
+ };
1037
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1038
+ toModelOutput?: ((options: {
1039
+ toolCallId: string;
1040
+ input: {
1041
+ id: string;
1042
+ receiptToken: string;
1043
+ };
1044
+ output: NoInfer<string | {
1045
+ burned: boolean;
1046
+ }>;
1047
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1048
+ } & {
1049
+ outputSchema?: import("ai").FlexibleSchema<string | {
1050
+ burned: boolean;
1051
+ }> | undefined;
1052
+ execute: import("ai").ToolExecuteFunction<{
1053
+ id: string;
1054
+ receiptToken: string;
1055
+ }, string | {
1056
+ burned: boolean;
1057
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1058
+ } & {
1059
+ description?: string | ((options: {
1060
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
1061
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
1062
+ }) => string) | undefined;
1063
+ strict?: boolean;
1064
+ inputExamples?: {
1065
+ input: NoInfer<{
1066
+ id: string;
1067
+ receiptToken: string;
1068
+ }>;
1069
+ }[] | undefined;
1070
+ id?: never;
1071
+ isProviderExecuted?: never;
1072
+ args?: never;
1073
+ supportsDeferredResults?: never;
1074
+ } & {
1075
+ type: "dynamic";
1076
+ } & {
1077
+ execute: import("ai").ToolExecuteFunction<{
1078
+ id: string;
1079
+ receiptToken: string;
1080
+ }, string | {
1081
+ burned: boolean;
1082
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1083
+ }) | ({
1084
+ deferLoading?: boolean;
1085
+ title?: string;
1086
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1087
+ metadata?: import("@ai-sdk/provider").JSONObject;
1088
+ inputSchema: import("ai").FlexibleSchema<{
1089
+ id: string;
1090
+ receiptToken: string;
1091
+ }>;
1092
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1093
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1094
+ id: string;
1095
+ receiptToken: string;
1096
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1097
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1098
+ onInputDelta?: ((options: {
1099
+ inputTextDelta: string;
1100
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1101
+ onInputAvailable?: ((options: {
1102
+ input: {
1103
+ id: string;
1104
+ receiptToken: string;
1105
+ };
1106
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1107
+ toModelOutput?: ((options: {
1108
+ toolCallId: string;
1109
+ input: {
1110
+ id: string;
1111
+ receiptToken: string;
1112
+ };
1113
+ output: NoInfer<string | {
1114
+ burned: boolean;
1115
+ }>;
1116
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1117
+ } & {
1118
+ outputSchema?: import("ai").FlexibleSchema<string | {
1119
+ burned: boolean;
1120
+ }> | undefined;
1121
+ execute: import("ai").ToolExecuteFunction<{
1122
+ id: string;
1123
+ receiptToken: string;
1124
+ }, string | {
1125
+ burned: boolean;
1126
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1127
+ } & {
1128
+ type: "provider";
1129
+ id: `${string}.${string}`;
1130
+ args: Record<string, unknown>;
1131
+ description?: never;
1132
+ strict?: never;
1133
+ inputExamples?: never;
1134
+ } & {
1135
+ isProviderExecuted: false;
1136
+ supportsDeferredResults?: never;
1137
+ } & {
1138
+ execute: import("ai").ToolExecuteFunction<{
1139
+ id: string;
1140
+ receiptToken: string;
1141
+ }, string | {
1142
+ burned: boolean;
1143
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1144
+ }) | ({
1145
+ deferLoading?: boolean;
1146
+ title?: string;
1147
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1148
+ metadata?: import("@ai-sdk/provider").JSONObject;
1149
+ inputSchema: import("ai").FlexibleSchema<{
1150
+ id: string;
1151
+ receiptToken: string;
1152
+ }>;
1153
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1154
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1155
+ id: string;
1156
+ receiptToken: string;
1157
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1158
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1159
+ onInputDelta?: ((options: {
1160
+ inputTextDelta: string;
1161
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1162
+ onInputAvailable?: ((options: {
1163
+ input: {
1164
+ id: string;
1165
+ receiptToken: string;
1166
+ };
1167
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1168
+ toModelOutput?: ((options: {
1169
+ toolCallId: string;
1170
+ input: {
1171
+ id: string;
1172
+ receiptToken: string;
1173
+ };
1174
+ output: NoInfer<string | {
1175
+ burned: boolean;
1176
+ }>;
1177
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1178
+ } & {
1179
+ outputSchema?: import("ai").FlexibleSchema<string | {
1180
+ burned: boolean;
1181
+ }> | undefined;
1182
+ execute: import("ai").ToolExecuteFunction<{
1183
+ id: string;
1184
+ receiptToken: string;
1185
+ }, string | {
1186
+ burned: boolean;
1187
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1188
+ } & {
1189
+ type: "provider";
1190
+ id: `${string}.${string}`;
1191
+ args: Record<string, unknown>;
1192
+ description?: never;
1193
+ strict?: never;
1194
+ inputExamples?: never;
1195
+ } & {
1196
+ isProviderExecuted: true;
1197
+ supportsDeferredResults?: boolean;
1198
+ } & {
1199
+ execute: import("ai").ToolExecuteFunction<{
1200
+ id: string;
1201
+ receiptToken: string;
1202
+ }, string | {
1203
+ burned: boolean;
1204
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1205
+ });
1206
+ ncrypted_to_vercel_env: ({
1207
+ deferLoading?: boolean;
1208
+ title?: string;
1209
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1210
+ metadata?: import("@ai-sdk/provider").JSONObject;
1211
+ inputSchema: import("ai").FlexibleSchema<{
1212
+ link: string;
1213
+ key: string;
1214
+ project: string;
1215
+ passphrase?: string | undefined;
1216
+ team?: string | undefined;
1217
+ targets?: ("production" | "preview" | "development")[] | undefined;
1218
+ }>;
1219
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1220
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1221
+ link: string;
1222
+ key: string;
1223
+ project: string;
1224
+ passphrase?: string | undefined;
1225
+ team?: string | undefined;
1226
+ targets?: ("production" | "preview" | "development")[] | undefined;
1227
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1228
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1229
+ onInputDelta?: ((options: {
1230
+ inputTextDelta: string;
1231
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1232
+ onInputAvailable?: ((options: {
1233
+ input: {
1234
+ link: string;
1235
+ key: string;
1236
+ project: string;
1237
+ passphrase?: string | undefined;
1238
+ team?: string | undefined;
1239
+ targets?: ("production" | "preview" | "development")[] | undefined;
1240
+ };
1241
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1242
+ toModelOutput?: ((options: {
1243
+ toolCallId: string;
1244
+ input: {
1245
+ link: string;
1246
+ key: string;
1247
+ project: string;
1248
+ passphrase?: string | undefined;
1249
+ team?: string | undefined;
1250
+ targets?: ("production" | "preview" | "development")[] | undefined;
1251
+ };
1252
+ output: NoInfer<string | {
1253
+ note: string;
1254
+ destination: string;
1255
+ key: string;
1256
+ details: Record<string, unknown>;
1257
+ delivered: boolean;
1258
+ }>;
1259
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1260
+ } & {
1261
+ outputSchema?: import("ai").FlexibleSchema<string | {
1262
+ note: string;
1263
+ destination: string;
1264
+ key: string;
1265
+ details: Record<string, unknown>;
1266
+ delivered: boolean;
1267
+ }> | undefined;
1268
+ execute: import("ai").ToolExecuteFunction<{
1269
+ link: string;
1270
+ key: string;
1271
+ project: string;
1272
+ passphrase?: string | undefined;
1273
+ team?: string | undefined;
1274
+ targets?: ("production" | "preview" | "development")[] | undefined;
1275
+ }, string | {
1276
+ note: string;
1277
+ destination: string;
1278
+ key: string;
1279
+ details: Record<string, unknown>;
1280
+ delivered: boolean;
1281
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1282
+ } & {
1283
+ description?: string | ((options: {
1284
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
1285
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
1286
+ }) => string) | undefined;
1287
+ strict?: boolean;
1288
+ inputExamples?: {
1289
+ input: NoInfer<{
1290
+ link: string;
1291
+ key: string;
1292
+ project: string;
1293
+ passphrase?: string | undefined;
1294
+ team?: string | undefined;
1295
+ targets?: ("production" | "preview" | "development")[] | undefined;
1296
+ }>;
1297
+ }[] | undefined;
1298
+ id?: never;
1299
+ isProviderExecuted?: never;
1300
+ args?: never;
1301
+ supportsDeferredResults?: never;
1302
+ } & {
1303
+ type?: undefined | "function";
1304
+ } & {
1305
+ execute: import("ai").ToolExecuteFunction<{
1306
+ link: string;
1307
+ key: string;
1308
+ project: string;
1309
+ passphrase?: string | undefined;
1310
+ team?: string | undefined;
1311
+ targets?: ("production" | "preview" | "development")[] | undefined;
1312
+ }, string | {
1313
+ note: string;
1314
+ destination: string;
1315
+ key: string;
1316
+ details: Record<string, unknown>;
1317
+ delivered: boolean;
1318
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1319
+ }) | ({
1320
+ deferLoading?: boolean;
1321
+ title?: string;
1322
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1323
+ metadata?: import("@ai-sdk/provider").JSONObject;
1324
+ inputSchema: import("ai").FlexibleSchema<{
1325
+ link: string;
1326
+ key: string;
1327
+ project: string;
1328
+ passphrase?: string | undefined;
1329
+ team?: string | undefined;
1330
+ targets?: ("production" | "preview" | "development")[] | undefined;
1331
+ }>;
1332
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1333
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1334
+ link: string;
1335
+ key: string;
1336
+ project: string;
1337
+ passphrase?: string | undefined;
1338
+ team?: string | undefined;
1339
+ targets?: ("production" | "preview" | "development")[] | undefined;
1340
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1341
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1342
+ onInputDelta?: ((options: {
1343
+ inputTextDelta: string;
1344
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1345
+ onInputAvailable?: ((options: {
1346
+ input: {
1347
+ link: string;
1348
+ key: string;
1349
+ project: string;
1350
+ passphrase?: string | undefined;
1351
+ team?: string | undefined;
1352
+ targets?: ("production" | "preview" | "development")[] | undefined;
1353
+ };
1354
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1355
+ toModelOutput?: ((options: {
1356
+ toolCallId: string;
1357
+ input: {
1358
+ link: string;
1359
+ key: string;
1360
+ project: string;
1361
+ passphrase?: string | undefined;
1362
+ team?: string | undefined;
1363
+ targets?: ("production" | "preview" | "development")[] | undefined;
1364
+ };
1365
+ output: NoInfer<string | {
1366
+ note: string;
1367
+ destination: string;
1368
+ key: string;
1369
+ details: Record<string, unknown>;
1370
+ delivered: boolean;
1371
+ }>;
1372
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1373
+ } & {
1374
+ outputSchema?: import("ai").FlexibleSchema<string | {
1375
+ note: string;
1376
+ destination: string;
1377
+ key: string;
1378
+ details: Record<string, unknown>;
1379
+ delivered: boolean;
1380
+ }> | undefined;
1381
+ execute: import("ai").ToolExecuteFunction<{
1382
+ link: string;
1383
+ key: string;
1384
+ project: string;
1385
+ passphrase?: string | undefined;
1386
+ team?: string | undefined;
1387
+ targets?: ("production" | "preview" | "development")[] | undefined;
1388
+ }, string | {
1389
+ note: string;
1390
+ destination: string;
1391
+ key: string;
1392
+ details: Record<string, unknown>;
1393
+ delivered: boolean;
1394
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1395
+ } & {
1396
+ description?: string | ((options: {
1397
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
1398
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
1399
+ }) => string) | undefined;
1400
+ strict?: boolean;
1401
+ inputExamples?: {
1402
+ input: NoInfer<{
1403
+ link: string;
1404
+ key: string;
1405
+ project: string;
1406
+ passphrase?: string | undefined;
1407
+ team?: string | undefined;
1408
+ targets?: ("production" | "preview" | "development")[] | undefined;
1409
+ }>;
1410
+ }[] | undefined;
1411
+ id?: never;
1412
+ isProviderExecuted?: never;
1413
+ args?: never;
1414
+ supportsDeferredResults?: never;
1415
+ } & {
1416
+ type: "dynamic";
1417
+ } & {
1418
+ execute: import("ai").ToolExecuteFunction<{
1419
+ link: string;
1420
+ key: string;
1421
+ project: string;
1422
+ passphrase?: string | undefined;
1423
+ team?: string | undefined;
1424
+ targets?: ("production" | "preview" | "development")[] | undefined;
1425
+ }, string | {
1426
+ note: string;
1427
+ destination: string;
1428
+ key: string;
1429
+ details: Record<string, unknown>;
1430
+ delivered: boolean;
1431
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1432
+ }) | ({
1433
+ deferLoading?: boolean;
1434
+ title?: string;
1435
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1436
+ metadata?: import("@ai-sdk/provider").JSONObject;
1437
+ inputSchema: import("ai").FlexibleSchema<{
1438
+ link: string;
1439
+ key: string;
1440
+ project: string;
1441
+ passphrase?: string | undefined;
1442
+ team?: string | undefined;
1443
+ targets?: ("production" | "preview" | "development")[] | undefined;
1444
+ }>;
1445
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1446
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1447
+ link: string;
1448
+ key: string;
1449
+ project: string;
1450
+ passphrase?: string | undefined;
1451
+ team?: string | undefined;
1452
+ targets?: ("production" | "preview" | "development")[] | undefined;
1453
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1454
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1455
+ onInputDelta?: ((options: {
1456
+ inputTextDelta: string;
1457
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1458
+ onInputAvailable?: ((options: {
1459
+ input: {
1460
+ link: string;
1461
+ key: string;
1462
+ project: string;
1463
+ passphrase?: string | undefined;
1464
+ team?: string | undefined;
1465
+ targets?: ("production" | "preview" | "development")[] | undefined;
1466
+ };
1467
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1468
+ toModelOutput?: ((options: {
1469
+ toolCallId: string;
1470
+ input: {
1471
+ link: string;
1472
+ key: string;
1473
+ project: string;
1474
+ passphrase?: string | undefined;
1475
+ team?: string | undefined;
1476
+ targets?: ("production" | "preview" | "development")[] | undefined;
1477
+ };
1478
+ output: NoInfer<string | {
1479
+ note: string;
1480
+ destination: string;
1481
+ key: string;
1482
+ details: Record<string, unknown>;
1483
+ delivered: boolean;
1484
+ }>;
1485
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1486
+ } & {
1487
+ outputSchema?: import("ai").FlexibleSchema<string | {
1488
+ note: string;
1489
+ destination: string;
1490
+ key: string;
1491
+ details: Record<string, unknown>;
1492
+ delivered: boolean;
1493
+ }> | undefined;
1494
+ execute: import("ai").ToolExecuteFunction<{
1495
+ link: string;
1496
+ key: string;
1497
+ project: string;
1498
+ passphrase?: string | undefined;
1499
+ team?: string | undefined;
1500
+ targets?: ("production" | "preview" | "development")[] | undefined;
1501
+ }, string | {
1502
+ note: string;
1503
+ destination: string;
1504
+ key: string;
1505
+ details: Record<string, unknown>;
1506
+ delivered: boolean;
1507
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1508
+ } & {
1509
+ type: "provider";
1510
+ id: `${string}.${string}`;
1511
+ args: Record<string, unknown>;
1512
+ description?: never;
1513
+ strict?: never;
1514
+ inputExamples?: never;
1515
+ } & {
1516
+ isProviderExecuted: false;
1517
+ supportsDeferredResults?: never;
1518
+ } & {
1519
+ execute: import("ai").ToolExecuteFunction<{
1520
+ link: string;
1521
+ key: string;
1522
+ project: string;
1523
+ passphrase?: string | undefined;
1524
+ team?: string | undefined;
1525
+ targets?: ("production" | "preview" | "development")[] | undefined;
1526
+ }, string | {
1527
+ note: string;
1528
+ destination: string;
1529
+ key: string;
1530
+ details: Record<string, unknown>;
1531
+ delivered: boolean;
1532
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1533
+ }) | ({
1534
+ deferLoading?: boolean;
1535
+ title?: string;
1536
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1537
+ metadata?: import("@ai-sdk/provider").JSONObject;
1538
+ inputSchema: import("ai").FlexibleSchema<{
1539
+ link: string;
1540
+ key: string;
1541
+ project: string;
1542
+ passphrase?: string | undefined;
1543
+ team?: string | undefined;
1544
+ targets?: ("production" | "preview" | "development")[] | undefined;
1545
+ }>;
1546
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1547
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1548
+ link: string;
1549
+ key: string;
1550
+ project: string;
1551
+ passphrase?: string | undefined;
1552
+ team?: string | undefined;
1553
+ targets?: ("production" | "preview" | "development")[] | undefined;
1554
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1555
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1556
+ onInputDelta?: ((options: {
1557
+ inputTextDelta: string;
1558
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1559
+ onInputAvailable?: ((options: {
1560
+ input: {
1561
+ link: string;
1562
+ key: string;
1563
+ project: string;
1564
+ passphrase?: string | undefined;
1565
+ team?: string | undefined;
1566
+ targets?: ("production" | "preview" | "development")[] | undefined;
1567
+ };
1568
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1569
+ toModelOutput?: ((options: {
1570
+ toolCallId: string;
1571
+ input: {
1572
+ link: string;
1573
+ key: string;
1574
+ project: string;
1575
+ passphrase?: string | undefined;
1576
+ team?: string | undefined;
1577
+ targets?: ("production" | "preview" | "development")[] | undefined;
1578
+ };
1579
+ output: NoInfer<string | {
1580
+ note: string;
1581
+ destination: string;
1582
+ key: string;
1583
+ details: Record<string, unknown>;
1584
+ delivered: boolean;
1585
+ }>;
1586
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1587
+ } & {
1588
+ outputSchema?: import("ai").FlexibleSchema<string | {
1589
+ note: string;
1590
+ destination: string;
1591
+ key: string;
1592
+ details: Record<string, unknown>;
1593
+ delivered: boolean;
1594
+ }> | undefined;
1595
+ execute: import("ai").ToolExecuteFunction<{
1596
+ link: string;
1597
+ key: string;
1598
+ project: string;
1599
+ passphrase?: string | undefined;
1600
+ team?: string | undefined;
1601
+ targets?: ("production" | "preview" | "development")[] | undefined;
1602
+ }, string | {
1603
+ note: string;
1604
+ destination: string;
1605
+ key: string;
1606
+ details: Record<string, unknown>;
1607
+ delivered: boolean;
1608
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1609
+ } & {
1610
+ type: "provider";
1611
+ id: `${string}.${string}`;
1612
+ args: Record<string, unknown>;
1613
+ description?: never;
1614
+ strict?: never;
1615
+ inputExamples?: never;
1616
+ } & {
1617
+ isProviderExecuted: true;
1618
+ supportsDeferredResults?: boolean;
1619
+ } & {
1620
+ execute: import("ai").ToolExecuteFunction<{
1621
+ link: string;
1622
+ key: string;
1623
+ project: string;
1624
+ passphrase?: string | undefined;
1625
+ team?: string | undefined;
1626
+ targets?: ("production" | "preview" | "development")[] | undefined;
1627
+ }, string | {
1628
+ note: string;
1629
+ destination: string;
1630
+ key: string;
1631
+ details: Record<string, unknown>;
1632
+ delivered: boolean;
1633
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1634
+ });
1635
+ }>;