ncrypted 0.2.0 → 0.3.1

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,1651 @@
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
+ status: import("./client.js").SecretStatus;
978
+ }>;
979
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
980
+ } & {
981
+ outputSchema?: import("ai").FlexibleSchema<string | {
982
+ burned: boolean;
983
+ status: import("./client.js").SecretStatus;
984
+ }> | undefined;
985
+ execute: import("ai").ToolExecuteFunction<{
986
+ id: string;
987
+ receiptToken: string;
988
+ }, string | {
989
+ burned: boolean;
990
+ status: import("./client.js").SecretStatus;
991
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
992
+ } & {
993
+ description?: string | ((options: {
994
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
995
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
996
+ }) => string) | undefined;
997
+ strict?: boolean;
998
+ inputExamples?: {
999
+ input: NoInfer<{
1000
+ id: string;
1001
+ receiptToken: string;
1002
+ }>;
1003
+ }[] | undefined;
1004
+ id?: never;
1005
+ isProviderExecuted?: never;
1006
+ args?: never;
1007
+ supportsDeferredResults?: never;
1008
+ } & {
1009
+ type?: undefined | "function";
1010
+ } & {
1011
+ execute: import("ai").ToolExecuteFunction<{
1012
+ id: string;
1013
+ receiptToken: string;
1014
+ }, string | {
1015
+ burned: boolean;
1016
+ status: import("./client.js").SecretStatus;
1017
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1018
+ }) | ({
1019
+ deferLoading?: boolean;
1020
+ title?: string;
1021
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1022
+ metadata?: import("@ai-sdk/provider").JSONObject;
1023
+ inputSchema: import("ai").FlexibleSchema<{
1024
+ id: string;
1025
+ receiptToken: string;
1026
+ }>;
1027
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1028
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1029
+ id: string;
1030
+ receiptToken: string;
1031
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1032
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1033
+ onInputDelta?: ((options: {
1034
+ inputTextDelta: string;
1035
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1036
+ onInputAvailable?: ((options: {
1037
+ input: {
1038
+ id: string;
1039
+ receiptToken: string;
1040
+ };
1041
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1042
+ toModelOutput?: ((options: {
1043
+ toolCallId: string;
1044
+ input: {
1045
+ id: string;
1046
+ receiptToken: string;
1047
+ };
1048
+ output: NoInfer<string | {
1049
+ burned: boolean;
1050
+ status: import("./client.js").SecretStatus;
1051
+ }>;
1052
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1053
+ } & {
1054
+ outputSchema?: import("ai").FlexibleSchema<string | {
1055
+ burned: boolean;
1056
+ status: import("./client.js").SecretStatus;
1057
+ }> | undefined;
1058
+ execute: import("ai").ToolExecuteFunction<{
1059
+ id: string;
1060
+ receiptToken: string;
1061
+ }, string | {
1062
+ burned: boolean;
1063
+ status: import("./client.js").SecretStatus;
1064
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1065
+ } & {
1066
+ description?: string | ((options: {
1067
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
1068
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
1069
+ }) => string) | undefined;
1070
+ strict?: boolean;
1071
+ inputExamples?: {
1072
+ input: NoInfer<{
1073
+ id: string;
1074
+ receiptToken: string;
1075
+ }>;
1076
+ }[] | undefined;
1077
+ id?: never;
1078
+ isProviderExecuted?: never;
1079
+ args?: never;
1080
+ supportsDeferredResults?: never;
1081
+ } & {
1082
+ type: "dynamic";
1083
+ } & {
1084
+ execute: import("ai").ToolExecuteFunction<{
1085
+ id: string;
1086
+ receiptToken: string;
1087
+ }, string | {
1088
+ burned: boolean;
1089
+ status: import("./client.js").SecretStatus;
1090
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1091
+ }) | ({
1092
+ deferLoading?: boolean;
1093
+ title?: string;
1094
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1095
+ metadata?: import("@ai-sdk/provider").JSONObject;
1096
+ inputSchema: import("ai").FlexibleSchema<{
1097
+ id: string;
1098
+ receiptToken: string;
1099
+ }>;
1100
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1101
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1102
+ id: string;
1103
+ receiptToken: string;
1104
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1105
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1106
+ onInputDelta?: ((options: {
1107
+ inputTextDelta: string;
1108
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1109
+ onInputAvailable?: ((options: {
1110
+ input: {
1111
+ id: string;
1112
+ receiptToken: string;
1113
+ };
1114
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1115
+ toModelOutput?: ((options: {
1116
+ toolCallId: string;
1117
+ input: {
1118
+ id: string;
1119
+ receiptToken: string;
1120
+ };
1121
+ output: NoInfer<string | {
1122
+ burned: boolean;
1123
+ status: import("./client.js").SecretStatus;
1124
+ }>;
1125
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1126
+ } & {
1127
+ outputSchema?: import("ai").FlexibleSchema<string | {
1128
+ burned: boolean;
1129
+ status: import("./client.js").SecretStatus;
1130
+ }> | undefined;
1131
+ execute: import("ai").ToolExecuteFunction<{
1132
+ id: string;
1133
+ receiptToken: string;
1134
+ }, string | {
1135
+ burned: boolean;
1136
+ status: import("./client.js").SecretStatus;
1137
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1138
+ } & {
1139
+ type: "provider";
1140
+ id: `${string}.${string}`;
1141
+ args: Record<string, unknown>;
1142
+ description?: never;
1143
+ strict?: never;
1144
+ inputExamples?: never;
1145
+ } & {
1146
+ isProviderExecuted: false;
1147
+ supportsDeferredResults?: never;
1148
+ } & {
1149
+ execute: import("ai").ToolExecuteFunction<{
1150
+ id: string;
1151
+ receiptToken: string;
1152
+ }, string | {
1153
+ burned: boolean;
1154
+ status: import("./client.js").SecretStatus;
1155
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1156
+ }) | ({
1157
+ deferLoading?: boolean;
1158
+ title?: string;
1159
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1160
+ metadata?: import("@ai-sdk/provider").JSONObject;
1161
+ inputSchema: import("ai").FlexibleSchema<{
1162
+ id: string;
1163
+ receiptToken: string;
1164
+ }>;
1165
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1166
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1167
+ id: string;
1168
+ receiptToken: string;
1169
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1170
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1171
+ onInputDelta?: ((options: {
1172
+ inputTextDelta: string;
1173
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1174
+ onInputAvailable?: ((options: {
1175
+ input: {
1176
+ id: string;
1177
+ receiptToken: string;
1178
+ };
1179
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1180
+ toModelOutput?: ((options: {
1181
+ toolCallId: string;
1182
+ input: {
1183
+ id: string;
1184
+ receiptToken: string;
1185
+ };
1186
+ output: NoInfer<string | {
1187
+ burned: boolean;
1188
+ status: import("./client.js").SecretStatus;
1189
+ }>;
1190
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1191
+ } & {
1192
+ outputSchema?: import("ai").FlexibleSchema<string | {
1193
+ burned: boolean;
1194
+ status: import("./client.js").SecretStatus;
1195
+ }> | undefined;
1196
+ execute: import("ai").ToolExecuteFunction<{
1197
+ id: string;
1198
+ receiptToken: string;
1199
+ }, string | {
1200
+ burned: boolean;
1201
+ status: import("./client.js").SecretStatus;
1202
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1203
+ } & {
1204
+ type: "provider";
1205
+ id: `${string}.${string}`;
1206
+ args: Record<string, unknown>;
1207
+ description?: never;
1208
+ strict?: never;
1209
+ inputExamples?: never;
1210
+ } & {
1211
+ isProviderExecuted: true;
1212
+ supportsDeferredResults?: boolean;
1213
+ } & {
1214
+ execute: import("ai").ToolExecuteFunction<{
1215
+ id: string;
1216
+ receiptToken: string;
1217
+ }, string | {
1218
+ burned: boolean;
1219
+ status: import("./client.js").SecretStatus;
1220
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1221
+ });
1222
+ ncrypted_to_vercel_env: ({
1223
+ deferLoading?: boolean;
1224
+ title?: string;
1225
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1226
+ metadata?: import("@ai-sdk/provider").JSONObject;
1227
+ inputSchema: import("ai").FlexibleSchema<{
1228
+ link: string;
1229
+ key: string;
1230
+ project: string;
1231
+ passphrase?: string | undefined;
1232
+ team?: string | undefined;
1233
+ targets?: ("production" | "preview" | "development")[] | undefined;
1234
+ }>;
1235
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1236
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1237
+ link: string;
1238
+ key: string;
1239
+ project: string;
1240
+ passphrase?: string | undefined;
1241
+ team?: string | undefined;
1242
+ targets?: ("production" | "preview" | "development")[] | undefined;
1243
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1244
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1245
+ onInputDelta?: ((options: {
1246
+ inputTextDelta: string;
1247
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1248
+ onInputAvailable?: ((options: {
1249
+ input: {
1250
+ link: string;
1251
+ key: string;
1252
+ project: string;
1253
+ passphrase?: string | undefined;
1254
+ team?: string | undefined;
1255
+ targets?: ("production" | "preview" | "development")[] | undefined;
1256
+ };
1257
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1258
+ toModelOutput?: ((options: {
1259
+ toolCallId: string;
1260
+ input: {
1261
+ link: string;
1262
+ key: string;
1263
+ project: string;
1264
+ passphrase?: string | undefined;
1265
+ team?: string | undefined;
1266
+ targets?: ("production" | "preview" | "development")[] | undefined;
1267
+ };
1268
+ output: NoInfer<string | {
1269
+ note: string;
1270
+ destination: string;
1271
+ key: string;
1272
+ details: Record<string, unknown>;
1273
+ delivered: boolean;
1274
+ }>;
1275
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1276
+ } & {
1277
+ outputSchema?: import("ai").FlexibleSchema<string | {
1278
+ note: string;
1279
+ destination: string;
1280
+ key: string;
1281
+ details: Record<string, unknown>;
1282
+ delivered: boolean;
1283
+ }> | undefined;
1284
+ execute: import("ai").ToolExecuteFunction<{
1285
+ link: string;
1286
+ key: string;
1287
+ project: string;
1288
+ passphrase?: string | undefined;
1289
+ team?: string | undefined;
1290
+ targets?: ("production" | "preview" | "development")[] | undefined;
1291
+ }, string | {
1292
+ note: string;
1293
+ destination: string;
1294
+ key: string;
1295
+ details: Record<string, unknown>;
1296
+ delivered: boolean;
1297
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1298
+ } & {
1299
+ description?: string | ((options: {
1300
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
1301
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
1302
+ }) => string) | undefined;
1303
+ strict?: boolean;
1304
+ inputExamples?: {
1305
+ input: NoInfer<{
1306
+ link: string;
1307
+ key: string;
1308
+ project: string;
1309
+ passphrase?: string | undefined;
1310
+ team?: string | undefined;
1311
+ targets?: ("production" | "preview" | "development")[] | undefined;
1312
+ }>;
1313
+ }[] | undefined;
1314
+ id?: never;
1315
+ isProviderExecuted?: never;
1316
+ args?: never;
1317
+ supportsDeferredResults?: never;
1318
+ } & {
1319
+ type?: undefined | "function";
1320
+ } & {
1321
+ execute: import("ai").ToolExecuteFunction<{
1322
+ link: string;
1323
+ key: string;
1324
+ project: string;
1325
+ passphrase?: string | undefined;
1326
+ team?: string | undefined;
1327
+ targets?: ("production" | "preview" | "development")[] | undefined;
1328
+ }, string | {
1329
+ note: string;
1330
+ destination: string;
1331
+ key: string;
1332
+ details: Record<string, unknown>;
1333
+ delivered: boolean;
1334
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1335
+ }) | ({
1336
+ deferLoading?: boolean;
1337
+ title?: string;
1338
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1339
+ metadata?: import("@ai-sdk/provider").JSONObject;
1340
+ inputSchema: import("ai").FlexibleSchema<{
1341
+ link: string;
1342
+ key: string;
1343
+ project: string;
1344
+ passphrase?: string | undefined;
1345
+ team?: string | undefined;
1346
+ targets?: ("production" | "preview" | "development")[] | undefined;
1347
+ }>;
1348
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1349
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1350
+ link: string;
1351
+ key: string;
1352
+ project: string;
1353
+ passphrase?: string | undefined;
1354
+ team?: string | undefined;
1355
+ targets?: ("production" | "preview" | "development")[] | undefined;
1356
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1357
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1358
+ onInputDelta?: ((options: {
1359
+ inputTextDelta: string;
1360
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1361
+ onInputAvailable?: ((options: {
1362
+ input: {
1363
+ link: string;
1364
+ key: string;
1365
+ project: string;
1366
+ passphrase?: string | undefined;
1367
+ team?: string | undefined;
1368
+ targets?: ("production" | "preview" | "development")[] | undefined;
1369
+ };
1370
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1371
+ toModelOutput?: ((options: {
1372
+ toolCallId: string;
1373
+ input: {
1374
+ link: string;
1375
+ key: string;
1376
+ project: string;
1377
+ passphrase?: string | undefined;
1378
+ team?: string | undefined;
1379
+ targets?: ("production" | "preview" | "development")[] | undefined;
1380
+ };
1381
+ output: NoInfer<string | {
1382
+ note: string;
1383
+ destination: string;
1384
+ key: string;
1385
+ details: Record<string, unknown>;
1386
+ delivered: boolean;
1387
+ }>;
1388
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1389
+ } & {
1390
+ outputSchema?: import("ai").FlexibleSchema<string | {
1391
+ note: string;
1392
+ destination: string;
1393
+ key: string;
1394
+ details: Record<string, unknown>;
1395
+ delivered: boolean;
1396
+ }> | undefined;
1397
+ execute: import("ai").ToolExecuteFunction<{
1398
+ link: string;
1399
+ key: string;
1400
+ project: string;
1401
+ passphrase?: string | undefined;
1402
+ team?: string | undefined;
1403
+ targets?: ("production" | "preview" | "development")[] | undefined;
1404
+ }, string | {
1405
+ note: string;
1406
+ destination: string;
1407
+ key: string;
1408
+ details: Record<string, unknown>;
1409
+ delivered: boolean;
1410
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1411
+ } & {
1412
+ description?: string | ((options: {
1413
+ context: NoInfer<import("@ai-sdk/provider-utils").Context>;
1414
+ experimental_sandbox?: import("ai").Experimental_SandboxSession;
1415
+ }) => string) | undefined;
1416
+ strict?: boolean;
1417
+ inputExamples?: {
1418
+ input: NoInfer<{
1419
+ link: string;
1420
+ key: string;
1421
+ project: string;
1422
+ passphrase?: string | undefined;
1423
+ team?: string | undefined;
1424
+ targets?: ("production" | "preview" | "development")[] | undefined;
1425
+ }>;
1426
+ }[] | undefined;
1427
+ id?: never;
1428
+ isProviderExecuted?: never;
1429
+ args?: never;
1430
+ supportsDeferredResults?: never;
1431
+ } & {
1432
+ type: "dynamic";
1433
+ } & {
1434
+ execute: import("ai").ToolExecuteFunction<{
1435
+ link: string;
1436
+ key: string;
1437
+ project: string;
1438
+ passphrase?: string | undefined;
1439
+ team?: string | undefined;
1440
+ targets?: ("production" | "preview" | "development")[] | undefined;
1441
+ }, string | {
1442
+ note: string;
1443
+ destination: string;
1444
+ key: string;
1445
+ details: Record<string, unknown>;
1446
+ delivered: boolean;
1447
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1448
+ }) | ({
1449
+ deferLoading?: boolean;
1450
+ title?: string;
1451
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1452
+ metadata?: import("@ai-sdk/provider").JSONObject;
1453
+ inputSchema: import("ai").FlexibleSchema<{
1454
+ link: string;
1455
+ key: string;
1456
+ project: string;
1457
+ passphrase?: string | undefined;
1458
+ team?: string | undefined;
1459
+ targets?: ("production" | "preview" | "development")[] | undefined;
1460
+ }>;
1461
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1462
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1463
+ link: string;
1464
+ key: string;
1465
+ project: string;
1466
+ passphrase?: string | undefined;
1467
+ team?: string | undefined;
1468
+ targets?: ("production" | "preview" | "development")[] | undefined;
1469
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1470
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1471
+ onInputDelta?: ((options: {
1472
+ inputTextDelta: string;
1473
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1474
+ onInputAvailable?: ((options: {
1475
+ input: {
1476
+ link: string;
1477
+ key: string;
1478
+ project: string;
1479
+ passphrase?: string | undefined;
1480
+ team?: string | undefined;
1481
+ targets?: ("production" | "preview" | "development")[] | undefined;
1482
+ };
1483
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1484
+ toModelOutput?: ((options: {
1485
+ toolCallId: string;
1486
+ input: {
1487
+ link: string;
1488
+ key: string;
1489
+ project: string;
1490
+ passphrase?: string | undefined;
1491
+ team?: string | undefined;
1492
+ targets?: ("production" | "preview" | "development")[] | undefined;
1493
+ };
1494
+ output: NoInfer<string | {
1495
+ note: string;
1496
+ destination: string;
1497
+ key: string;
1498
+ details: Record<string, unknown>;
1499
+ delivered: boolean;
1500
+ }>;
1501
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1502
+ } & {
1503
+ outputSchema?: import("ai").FlexibleSchema<string | {
1504
+ note: string;
1505
+ destination: string;
1506
+ key: string;
1507
+ details: Record<string, unknown>;
1508
+ delivered: boolean;
1509
+ }> | undefined;
1510
+ execute: import("ai").ToolExecuteFunction<{
1511
+ link: string;
1512
+ key: string;
1513
+ project: string;
1514
+ passphrase?: string | undefined;
1515
+ team?: string | undefined;
1516
+ targets?: ("production" | "preview" | "development")[] | undefined;
1517
+ }, string | {
1518
+ note: string;
1519
+ destination: string;
1520
+ key: string;
1521
+ details: Record<string, unknown>;
1522
+ delivered: boolean;
1523
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1524
+ } & {
1525
+ type: "provider";
1526
+ id: `${string}.${string}`;
1527
+ args: Record<string, unknown>;
1528
+ description?: never;
1529
+ strict?: never;
1530
+ inputExamples?: never;
1531
+ } & {
1532
+ isProviderExecuted: false;
1533
+ supportsDeferredResults?: never;
1534
+ } & {
1535
+ execute: import("ai").ToolExecuteFunction<{
1536
+ link: string;
1537
+ key: string;
1538
+ project: string;
1539
+ passphrase?: string | undefined;
1540
+ team?: string | undefined;
1541
+ targets?: ("production" | "preview" | "development")[] | undefined;
1542
+ }, string | {
1543
+ note: string;
1544
+ destination: string;
1545
+ key: string;
1546
+ details: Record<string, unknown>;
1547
+ delivered: boolean;
1548
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1549
+ }) | ({
1550
+ deferLoading?: boolean;
1551
+ title?: string;
1552
+ providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
1553
+ metadata?: import("@ai-sdk/provider").JSONObject;
1554
+ inputSchema: import("ai").FlexibleSchema<{
1555
+ link: string;
1556
+ key: string;
1557
+ project: string;
1558
+ passphrase?: string | undefined;
1559
+ team?: string | undefined;
1560
+ targets?: ("production" | "preview" | "development")[] | undefined;
1561
+ }>;
1562
+ contextSchema?: import("ai").FlexibleSchema<import("@ai-sdk/provider-utils").Context> | undefined;
1563
+ needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
1564
+ link: string;
1565
+ key: string;
1566
+ project: string;
1567
+ passphrase?: string | undefined;
1568
+ team?: string | undefined;
1569
+ targets?: ("production" | "preview" | "development")[] | undefined;
1570
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>> | undefined;
1571
+ onInputStart?: ((options: import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1572
+ onInputDelta?: ((options: {
1573
+ inputTextDelta: string;
1574
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1575
+ onInputAvailable?: ((options: {
1576
+ input: {
1577
+ link: string;
1578
+ key: string;
1579
+ project: string;
1580
+ passphrase?: string | undefined;
1581
+ team?: string | undefined;
1582
+ targets?: ("production" | "preview" | "development")[] | undefined;
1583
+ };
1584
+ } & import("ai").ToolExecutionOptions<NoInfer<import("@ai-sdk/provider-utils").Context>>) => void | PromiseLike<void>) | undefined;
1585
+ toModelOutput?: ((options: {
1586
+ toolCallId: string;
1587
+ input: {
1588
+ link: string;
1589
+ key: string;
1590
+ project: string;
1591
+ passphrase?: string | undefined;
1592
+ team?: string | undefined;
1593
+ targets?: ("production" | "preview" | "development")[] | undefined;
1594
+ };
1595
+ output: NoInfer<string | {
1596
+ note: string;
1597
+ destination: string;
1598
+ key: string;
1599
+ details: Record<string, unknown>;
1600
+ delivered: boolean;
1601
+ }>;
1602
+ }) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
1603
+ } & {
1604
+ outputSchema?: import("ai").FlexibleSchema<string | {
1605
+ note: string;
1606
+ destination: string;
1607
+ key: string;
1608
+ details: Record<string, unknown>;
1609
+ delivered: boolean;
1610
+ }> | undefined;
1611
+ execute: import("ai").ToolExecuteFunction<{
1612
+ link: string;
1613
+ key: string;
1614
+ project: string;
1615
+ passphrase?: string | undefined;
1616
+ team?: string | undefined;
1617
+ targets?: ("production" | "preview" | "development")[] | undefined;
1618
+ }, string | {
1619
+ note: string;
1620
+ destination: string;
1621
+ key: string;
1622
+ details: Record<string, unknown>;
1623
+ delivered: boolean;
1624
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1625
+ } & {
1626
+ type: "provider";
1627
+ id: `${string}.${string}`;
1628
+ args: Record<string, unknown>;
1629
+ description?: never;
1630
+ strict?: never;
1631
+ inputExamples?: never;
1632
+ } & {
1633
+ isProviderExecuted: true;
1634
+ supportsDeferredResults?: boolean;
1635
+ } & {
1636
+ execute: import("ai").ToolExecuteFunction<{
1637
+ link: string;
1638
+ key: string;
1639
+ project: string;
1640
+ passphrase?: string | undefined;
1641
+ team?: string | undefined;
1642
+ targets?: ("production" | "preview" | "development")[] | undefined;
1643
+ }, string | {
1644
+ note: string;
1645
+ destination: string;
1646
+ key: string;
1647
+ details: Record<string, unknown>;
1648
+ delivered: boolean;
1649
+ }, NoInfer<import("@ai-sdk/provider-utils").Context>>;
1650
+ });
1651
+ }>;