@illalabs/interfaces 0.4.0-canary-beta-e22dfc29 → 0.4.0-canary-dev-571ca174

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.
@@ -4,20 +4,20 @@ import { z } from "zod";
4
4
  * Telemetry event type enum values.
5
5
  * Used to infer TelemetryEventType in types/telemetry.ts
6
6
  */
7
- export declare const telemetryEventTypes: readonly ["iteration_start", "iteration_end", "tool_call_batch", "tool_result", "scratchpad_reset", "llm_start", "llm_end", "text_delta", "finish", "error", "connected", "stream_end", "plan_generated"];
7
+ export declare const telemetryEventTypes: readonly ["iteration_start", "iteration_end", "tool_call_batch", "tool_result", "scratchpad_reset", "llm_start", "llm_end", "text_delta", "finish", "error", "connected", "stream_end"];
8
8
  /**
9
9
  * Base telemetry event schema with common fields
10
10
  */
11
11
  export declare const baseTelemetryEventSchema: z.ZodObject<{
12
12
  requestId: z.ZodString;
13
- type: z.ZodEnum<["iteration_start", "iteration_end", "tool_call_batch", "tool_result", "scratchpad_reset", "llm_start", "llm_end", "text_delta", "finish", "error", "connected", "stream_end", "plan_generated"]>;
13
+ type: z.ZodEnum<["iteration_start", "iteration_end", "tool_call_batch", "tool_result", "scratchpad_reset", "llm_start", "llm_end", "text_delta", "finish", "error", "connected", "stream_end"]>;
14
14
  timestamp: z.ZodOptional<z.ZodNumber>;
15
15
  }, "strip", z.ZodTypeAny, {
16
- type: "error" | "iteration_start" | "iteration_end" | "tool_call_batch" | "tool_result" | "scratchpad_reset" | "llm_start" | "llm_end" | "text_delta" | "finish" | "connected" | "stream_end" | "plan_generated";
16
+ type: "error" | "iteration_start" | "iteration_end" | "tool_call_batch" | "tool_result" | "scratchpad_reset" | "llm_start" | "llm_end" | "text_delta" | "finish" | "connected" | "stream_end";
17
17
  requestId: string;
18
18
  timestamp?: number | undefined;
19
19
  }, {
20
- type: "error" | "iteration_start" | "iteration_end" | "tool_call_batch" | "tool_result" | "scratchpad_reset" | "llm_start" | "llm_end" | "text_delta" | "finish" | "connected" | "stream_end" | "plan_generated";
20
+ type: "error" | "iteration_start" | "iteration_end" | "tool_call_batch" | "tool_result" | "scratchpad_reset" | "llm_start" | "llm_end" | "text_delta" | "finish" | "connected" | "stream_end";
21
21
  requestId: string;
22
22
  timestamp?: number | undefined;
23
23
  }>;
@@ -472,26 +472,6 @@ export declare const errorTelemetryEventSchema: z.ZodObject<{
472
472
  requestId: string;
473
473
  timestamp?: number | undefined;
474
474
  }>;
475
- /**
476
- * Plan generated event schema - emitted when a plan is generated by the planning agent.
477
- */
478
- export declare const planGeneratedEventSchema: z.ZodObject<{
479
- requestId: z.ZodString;
480
- timestamp: z.ZodOptional<z.ZodNumber>;
481
- } & {
482
- type: z.ZodLiteral<"plan_generated">;
483
- planId: z.ZodString;
484
- }, "strip", z.ZodTypeAny, {
485
- type: "plan_generated";
486
- requestId: string;
487
- planId: string;
488
- timestamp?: number | undefined;
489
- }, {
490
- type: "plan_generated";
491
- requestId: string;
492
- planId: string;
493
- timestamp?: number | undefined;
494
- }>;
495
475
  /**
496
476
  * Schema for validating telemetry events.
497
477
  * Discriminated union using the "type" field.
@@ -898,22 +878,6 @@ export declare const telemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
898
878
  };
899
879
  requestId: string;
900
880
  timestamp?: number | undefined;
901
- }>, z.ZodObject<{
902
- requestId: z.ZodString;
903
- timestamp: z.ZodOptional<z.ZodNumber>;
904
- } & {
905
- type: z.ZodLiteral<"plan_generated">;
906
- planId: z.ZodString;
907
- }, "strip", z.ZodTypeAny, {
908
- type: "plan_generated";
909
- requestId: string;
910
- planId: string;
911
- timestamp?: number | undefined;
912
- }, {
913
- type: "plan_generated";
914
- requestId: string;
915
- planId: string;
916
- timestamp?: number | undefined;
917
881
  }>]>;
918
882
  /**
919
883
  * Schema for validating result events from the streaming endpoint.
@@ -1113,31 +1077,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
1113
1077
  description?: string | undefined;
1114
1078
  metadata?: Record<string, unknown> | undefined;
1115
1079
  }>]>, "many">;
1116
- transactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1117
- transaction: z.ZodType<import("viem").PrepareTransactionRequestReturnType>;
1118
- metadata: z.ZodOptional<z.ZodObject<{
1119
- explorerUrl: z.ZodOptional<z.ZodString>;
1120
- usdValue: z.ZodOptional<z.ZodString>;
1121
- }, "strip", z.ZodTypeAny, {
1122
- explorerUrl?: string | undefined;
1123
- usdValue?: string | undefined;
1124
- }, {
1125
- explorerUrl?: string | undefined;
1126
- usdValue?: string | undefined;
1127
- }>>;
1128
- }, "strip", z.ZodTypeAny, {
1129
- transaction: import("viem").PrepareTransactionRequestReturnType;
1130
- metadata?: {
1131
- explorerUrl?: string | undefined;
1132
- usdValue?: string | undefined;
1133
- } | undefined;
1134
- }, {
1135
- transaction: import("viem").PrepareTransactionRequestReturnType;
1136
- metadata?: {
1137
- explorerUrl?: string | undefined;
1138
- usdValue?: string | undefined;
1139
- } | undefined;
1140
- }>, "many">>;
1141
1080
  }, "strip", z.ZodTypeAny, {
1142
1081
  signatureRequests: ({
1143
1082
  id: string;
@@ -1162,13 +1101,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
1162
1101
  description?: string | undefined;
1163
1102
  metadata?: Record<string, unknown> | undefined;
1164
1103
  })[];
1165
- transactions?: {
1166
- transaction: import("viem").PrepareTransactionRequestReturnType;
1167
- metadata?: {
1168
- explorerUrl?: string | undefined;
1169
- usdValue?: string | undefined;
1170
- } | undefined;
1171
- }[] | undefined;
1172
1104
  }, {
1173
1105
  signatureRequests: ({
1174
1106
  id: string;
@@ -1193,13 +1125,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
1193
1125
  description?: string | undefined;
1194
1126
  metadata?: Record<string, unknown> | undefined;
1195
1127
  })[];
1196
- transactions?: {
1197
- transaction: import("viem").PrepareTransactionRequestReturnType;
1198
- metadata?: {
1199
- explorerUrl?: string | undefined;
1200
- usdValue?: string | undefined;
1201
- } | undefined;
1202
- }[] | undefined;
1203
1128
  }>;
1204
1129
  }, "strip", z.ZodTypeAny, {
1205
1130
  value: {
@@ -1226,13 +1151,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
1226
1151
  description?: string | undefined;
1227
1152
  metadata?: Record<string, unknown> | undefined;
1228
1153
  })[];
1229
- transactions?: {
1230
- transaction: import("viem").PrepareTransactionRequestReturnType;
1231
- metadata?: {
1232
- explorerUrl?: string | undefined;
1233
- usdValue?: string | undefined;
1234
- } | undefined;
1235
- }[] | undefined;
1236
1154
  };
1237
1155
  type: "SignatureRequests";
1238
1156
  }, {
@@ -1260,13 +1178,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
1260
1178
  description?: string | undefined;
1261
1179
  metadata?: Record<string, unknown> | undefined;
1262
1180
  })[];
1263
- transactions?: {
1264
- transaction: import("viem").PrepareTransactionRequestReturnType;
1265
- metadata?: {
1266
- explorerUrl?: string | undefined;
1267
- usdValue?: string | undefined;
1268
- } | undefined;
1269
- }[] | undefined;
1270
1181
  };
1271
1182
  type: "SignatureRequests";
1272
1183
  }>, z.ZodObject<{
@@ -1455,31 +1366,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
1455
1366
  description?: string | undefined;
1456
1367
  metadata?: Record<string, unknown> | undefined;
1457
1368
  }>]>, "many">;
1458
- transactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1459
- transaction: z.ZodType<import("viem").PrepareTransactionRequestReturnType>;
1460
- metadata: z.ZodOptional<z.ZodObject<{
1461
- explorerUrl: z.ZodOptional<z.ZodString>;
1462
- usdValue: z.ZodOptional<z.ZodString>;
1463
- }, "strip", z.ZodTypeAny, {
1464
- explorerUrl?: string | undefined;
1465
- usdValue?: string | undefined;
1466
- }, {
1467
- explorerUrl?: string | undefined;
1468
- usdValue?: string | undefined;
1469
- }>>;
1470
- }, "strip", z.ZodTypeAny, {
1471
- transaction: import("viem").PrepareTransactionRequestReturnType;
1472
- metadata?: {
1473
- explorerUrl?: string | undefined;
1474
- usdValue?: string | undefined;
1475
- } | undefined;
1476
- }, {
1477
- transaction: import("viem").PrepareTransactionRequestReturnType;
1478
- metadata?: {
1479
- explorerUrl?: string | undefined;
1480
- usdValue?: string | undefined;
1481
- } | undefined;
1482
- }>, "many">>;
1483
1369
  }, "strip", z.ZodTypeAny, {
1484
1370
  signatureRequests: ({
1485
1371
  id: string;
@@ -1504,13 +1390,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
1504
1390
  description?: string | undefined;
1505
1391
  metadata?: Record<string, unknown> | undefined;
1506
1392
  })[];
1507
- transactions?: {
1508
- transaction: import("viem").PrepareTransactionRequestReturnType;
1509
- metadata?: {
1510
- explorerUrl?: string | undefined;
1511
- usdValue?: string | undefined;
1512
- } | undefined;
1513
- }[] | undefined;
1514
1393
  }, {
1515
1394
  signatureRequests: ({
1516
1395
  id: string;
@@ -1535,13 +1414,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
1535
1414
  description?: string | undefined;
1536
1415
  metadata?: Record<string, unknown> | undefined;
1537
1416
  })[];
1538
- transactions?: {
1539
- transaction: import("viem").PrepareTransactionRequestReturnType;
1540
- metadata?: {
1541
- explorerUrl?: string | undefined;
1542
- usdValue?: string | undefined;
1543
- } | undefined;
1544
- }[] | undefined;
1545
1417
  }>;
1546
1418
  }, "strip", z.ZodTypeAny, {
1547
1419
  value: {
@@ -1568,13 +1440,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
1568
1440
  description?: string | undefined;
1569
1441
  metadata?: Record<string, unknown> | undefined;
1570
1442
  })[];
1571
- transactions?: {
1572
- transaction: import("viem").PrepareTransactionRequestReturnType;
1573
- metadata?: {
1574
- explorerUrl?: string | undefined;
1575
- usdValue?: string | undefined;
1576
- } | undefined;
1577
- }[] | undefined;
1578
1443
  };
1579
1444
  type: "SignatureRequests";
1580
1445
  }, {
@@ -1602,13 +1467,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
1602
1467
  description?: string | undefined;
1603
1468
  metadata?: Record<string, unknown> | undefined;
1604
1469
  })[];
1605
- transactions?: {
1606
- transaction: import("viem").PrepareTransactionRequestReturnType;
1607
- metadata?: {
1608
- explorerUrl?: string | undefined;
1609
- usdValue?: string | undefined;
1610
- } | undefined;
1611
- }[] | undefined;
1612
1470
  };
1613
1471
  type: "SignatureRequests";
1614
1472
  }>]>, "many">;
@@ -1656,13 +1514,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
1656
1514
  description?: string | undefined;
1657
1515
  metadata?: Record<string, unknown> | undefined;
1658
1516
  })[];
1659
- transactions?: {
1660
- transaction: import("viem").PrepareTransactionRequestReturnType;
1661
- metadata?: {
1662
- explorerUrl?: string | undefined;
1663
- usdValue?: string | undefined;
1664
- } | undefined;
1665
- }[] | undefined;
1666
1517
  };
1667
1518
  type: "SignatureRequests";
1668
1519
  })[];
@@ -1711,13 +1562,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
1711
1562
  description?: string | undefined;
1712
1563
  metadata?: Record<string, unknown> | undefined;
1713
1564
  })[];
1714
- transactions?: {
1715
- transaction: import("viem").PrepareTransactionRequestReturnType;
1716
- metadata?: {
1717
- explorerUrl?: string | undefined;
1718
- usdValue?: string | undefined;
1719
- } | undefined;
1720
- }[] | undefined;
1721
1565
  };
1722
1566
  type: "SignatureRequests";
1723
1567
  })[];
@@ -1967,13 +1811,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
1967
1811
  description?: string | undefined;
1968
1812
  metadata?: Record<string, unknown> | undefined;
1969
1813
  })[];
1970
- transactions?: {
1971
- transaction: import("viem").PrepareTransactionRequestReturnType;
1972
- metadata?: {
1973
- explorerUrl?: string | undefined;
1974
- usdValue?: string | undefined;
1975
- } | undefined;
1976
- }[] | undefined;
1977
1814
  };
1978
1815
  type: "SignatureRequests";
1979
1816
  } | {
@@ -2020,13 +1857,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
2020
1857
  description?: string | undefined;
2021
1858
  metadata?: Record<string, unknown> | undefined;
2022
1859
  })[];
2023
- transactions?: {
2024
- transaction: import("viem").PrepareTransactionRequestReturnType;
2025
- metadata?: {
2026
- explorerUrl?: string | undefined;
2027
- usdValue?: string | undefined;
2028
- } | undefined;
2029
- }[] | undefined;
2030
1860
  };
2031
1861
  type: "SignatureRequests";
2032
1862
  })[];
@@ -2125,13 +1955,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
2125
1955
  description?: string | undefined;
2126
1956
  metadata?: Record<string, unknown> | undefined;
2127
1957
  })[];
2128
- transactions?: {
2129
- transaction: import("viem").PrepareTransactionRequestReturnType;
2130
- metadata?: {
2131
- explorerUrl?: string | undefined;
2132
- usdValue?: string | undefined;
2133
- } | undefined;
2134
- }[] | undefined;
2135
1958
  };
2136
1959
  type: "SignatureRequests";
2137
1960
  } | {
@@ -2178,13 +2001,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
2178
2001
  description?: string | undefined;
2179
2002
  metadata?: Record<string, unknown> | undefined;
2180
2003
  })[];
2181
- transactions?: {
2182
- transaction: import("viem").PrepareTransactionRequestReturnType;
2183
- metadata?: {
2184
- explorerUrl?: string | undefined;
2185
- usdValue?: string | undefined;
2186
- } | undefined;
2187
- }[] | undefined;
2188
2004
  };
2189
2005
  type: "SignatureRequests";
2190
2006
  })[];
@@ -2373,13 +2189,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
2373
2189
  description?: string | undefined;
2374
2190
  metadata?: Record<string, unknown> | undefined;
2375
2191
  })[];
2376
- transactions?: {
2377
- transaction: import("viem").PrepareTransactionRequestReturnType;
2378
- metadata?: {
2379
- explorerUrl?: string | undefined;
2380
- usdValue?: string | undefined;
2381
- } | undefined;
2382
- }[] | undefined;
2383
2192
  };
2384
2193
  type: "SignatureRequests";
2385
2194
  } | {
@@ -2426,13 +2235,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
2426
2235
  description?: string | undefined;
2427
2236
  metadata?: Record<string, unknown> | undefined;
2428
2237
  })[];
2429
- transactions?: {
2430
- transaction: import("viem").PrepareTransactionRequestReturnType;
2431
- metadata?: {
2432
- explorerUrl?: string | undefined;
2433
- usdValue?: string | undefined;
2434
- } | undefined;
2435
- }[] | undefined;
2436
2238
  };
2437
2239
  type: "SignatureRequests";
2438
2240
  })[];
@@ -2558,13 +2360,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
2558
2360
  description?: string | undefined;
2559
2361
  metadata?: Record<string, unknown> | undefined;
2560
2362
  })[];
2561
- transactions?: {
2562
- transaction: import("viem").PrepareTransactionRequestReturnType;
2563
- metadata?: {
2564
- explorerUrl?: string | undefined;
2565
- usdValue?: string | undefined;
2566
- } | undefined;
2567
- }[] | undefined;
2568
2363
  };
2569
2364
  type: "SignatureRequests";
2570
2365
  } | {
@@ -2611,13 +2406,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
2611
2406
  description?: string | undefined;
2612
2407
  metadata?: Record<string, unknown> | undefined;
2613
2408
  })[];
2614
- transactions?: {
2615
- transaction: import("viem").PrepareTransactionRequestReturnType;
2616
- metadata?: {
2617
- explorerUrl?: string | undefined;
2618
- usdValue?: string | undefined;
2619
- } | undefined;
2620
- }[] | undefined;
2621
2409
  };
2622
2410
  type: "SignatureRequests";
2623
2411
  })[];
@@ -2693,29 +2481,6 @@ export declare const resultEventDataSchema: z.ZodObject<{
2693
2481
  };
2694
2482
  }[] | undefined;
2695
2483
  }>;
2696
- /**
2697
- * Schema for plan approval required result events.
2698
- * Emitted when a plan requires user approval before execution.
2699
- */
2700
- export declare const planApprovalRequiredEventDataSchema: z.ZodObject<{
2701
- type: z.ZodLiteral<"plan_approval_required">;
2702
- status: z.ZodLiteral<200>;
2703
- plan: z.ZodUnknown;
2704
- requiresApproval: z.ZodBoolean;
2705
- requestId: z.ZodString;
2706
- }, "strip", z.ZodTypeAny, {
2707
- type: "plan_approval_required";
2708
- status: 200;
2709
- requestId: string;
2710
- requiresApproval: boolean;
2711
- plan?: unknown;
2712
- }, {
2713
- type: "plan_approval_required";
2714
- status: 200;
2715
- requestId: string;
2716
- requiresApproval: boolean;
2717
- plan?: unknown;
2718
- }>;
2719
2484
  /**
2720
2485
  * Schema for validating error events from the streaming endpoint
2721
2486
  */
@@ -2963,31 +2728,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
2963
2728
  description?: string | undefined;
2964
2729
  metadata?: Record<string, unknown> | undefined;
2965
2730
  }>]>, "many">;
2966
- transactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2967
- transaction: z.ZodType<import("viem").PrepareTransactionRequestReturnType>;
2968
- metadata: z.ZodOptional<z.ZodObject<{
2969
- explorerUrl: z.ZodOptional<z.ZodString>;
2970
- usdValue: z.ZodOptional<z.ZodString>;
2971
- }, "strip", z.ZodTypeAny, {
2972
- explorerUrl?: string | undefined;
2973
- usdValue?: string | undefined;
2974
- }, {
2975
- explorerUrl?: string | undefined;
2976
- usdValue?: string | undefined;
2977
- }>>;
2978
- }, "strip", z.ZodTypeAny, {
2979
- transaction: import("viem").PrepareTransactionRequestReturnType;
2980
- metadata?: {
2981
- explorerUrl?: string | undefined;
2982
- usdValue?: string | undefined;
2983
- } | undefined;
2984
- }, {
2985
- transaction: import("viem").PrepareTransactionRequestReturnType;
2986
- metadata?: {
2987
- explorerUrl?: string | undefined;
2988
- usdValue?: string | undefined;
2989
- } | undefined;
2990
- }>, "many">>;
2991
2731
  }, "strip", z.ZodTypeAny, {
2992
2732
  signatureRequests: ({
2993
2733
  id: string;
@@ -3012,13 +2752,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
3012
2752
  description?: string | undefined;
3013
2753
  metadata?: Record<string, unknown> | undefined;
3014
2754
  })[];
3015
- transactions?: {
3016
- transaction: import("viem").PrepareTransactionRequestReturnType;
3017
- metadata?: {
3018
- explorerUrl?: string | undefined;
3019
- usdValue?: string | undefined;
3020
- } | undefined;
3021
- }[] | undefined;
3022
2755
  }, {
3023
2756
  signatureRequests: ({
3024
2757
  id: string;
@@ -3043,13 +2776,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
3043
2776
  description?: string | undefined;
3044
2777
  metadata?: Record<string, unknown> | undefined;
3045
2778
  })[];
3046
- transactions?: {
3047
- transaction: import("viem").PrepareTransactionRequestReturnType;
3048
- metadata?: {
3049
- explorerUrl?: string | undefined;
3050
- usdValue?: string | undefined;
3051
- } | undefined;
3052
- }[] | undefined;
3053
2779
  }>;
3054
2780
  }, "strip", z.ZodTypeAny, {
3055
2781
  value: {
@@ -3076,13 +2802,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
3076
2802
  description?: string | undefined;
3077
2803
  metadata?: Record<string, unknown> | undefined;
3078
2804
  })[];
3079
- transactions?: {
3080
- transaction: import("viem").PrepareTransactionRequestReturnType;
3081
- metadata?: {
3082
- explorerUrl?: string | undefined;
3083
- usdValue?: string | undefined;
3084
- } | undefined;
3085
- }[] | undefined;
3086
2805
  };
3087
2806
  type: "SignatureRequests";
3088
2807
  }, {
@@ -3110,13 +2829,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
3110
2829
  description?: string | undefined;
3111
2830
  metadata?: Record<string, unknown> | undefined;
3112
2831
  })[];
3113
- transactions?: {
3114
- transaction: import("viem").PrepareTransactionRequestReturnType;
3115
- metadata?: {
3116
- explorerUrl?: string | undefined;
3117
- usdValue?: string | undefined;
3118
- } | undefined;
3119
- }[] | undefined;
3120
2832
  };
3121
2833
  type: "SignatureRequests";
3122
2834
  }>, z.ZodObject<{
@@ -3305,31 +3017,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
3305
3017
  description?: string | undefined;
3306
3018
  metadata?: Record<string, unknown> | undefined;
3307
3019
  }>]>, "many">;
3308
- transactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3309
- transaction: z.ZodType<import("viem").PrepareTransactionRequestReturnType>;
3310
- metadata: z.ZodOptional<z.ZodObject<{
3311
- explorerUrl: z.ZodOptional<z.ZodString>;
3312
- usdValue: z.ZodOptional<z.ZodString>;
3313
- }, "strip", z.ZodTypeAny, {
3314
- explorerUrl?: string | undefined;
3315
- usdValue?: string | undefined;
3316
- }, {
3317
- explorerUrl?: string | undefined;
3318
- usdValue?: string | undefined;
3319
- }>>;
3320
- }, "strip", z.ZodTypeAny, {
3321
- transaction: import("viem").PrepareTransactionRequestReturnType;
3322
- metadata?: {
3323
- explorerUrl?: string | undefined;
3324
- usdValue?: string | undefined;
3325
- } | undefined;
3326
- }, {
3327
- transaction: import("viem").PrepareTransactionRequestReturnType;
3328
- metadata?: {
3329
- explorerUrl?: string | undefined;
3330
- usdValue?: string | undefined;
3331
- } | undefined;
3332
- }>, "many">>;
3333
3020
  }, "strip", z.ZodTypeAny, {
3334
3021
  signatureRequests: ({
3335
3022
  id: string;
@@ -3354,13 +3041,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
3354
3041
  description?: string | undefined;
3355
3042
  metadata?: Record<string, unknown> | undefined;
3356
3043
  })[];
3357
- transactions?: {
3358
- transaction: import("viem").PrepareTransactionRequestReturnType;
3359
- metadata?: {
3360
- explorerUrl?: string | undefined;
3361
- usdValue?: string | undefined;
3362
- } | undefined;
3363
- }[] | undefined;
3364
3044
  }, {
3365
3045
  signatureRequests: ({
3366
3046
  id: string;
@@ -3385,13 +3065,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
3385
3065
  description?: string | undefined;
3386
3066
  metadata?: Record<string, unknown> | undefined;
3387
3067
  })[];
3388
- transactions?: {
3389
- transaction: import("viem").PrepareTransactionRequestReturnType;
3390
- metadata?: {
3391
- explorerUrl?: string | undefined;
3392
- usdValue?: string | undefined;
3393
- } | undefined;
3394
- }[] | undefined;
3395
3068
  }>;
3396
3069
  }, "strip", z.ZodTypeAny, {
3397
3070
  value: {
@@ -3418,13 +3091,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
3418
3091
  description?: string | undefined;
3419
3092
  metadata?: Record<string, unknown> | undefined;
3420
3093
  })[];
3421
- transactions?: {
3422
- transaction: import("viem").PrepareTransactionRequestReturnType;
3423
- metadata?: {
3424
- explorerUrl?: string | undefined;
3425
- usdValue?: string | undefined;
3426
- } | undefined;
3427
- }[] | undefined;
3428
3094
  };
3429
3095
  type: "SignatureRequests";
3430
3096
  }, {
@@ -3452,13 +3118,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
3452
3118
  description?: string | undefined;
3453
3119
  metadata?: Record<string, unknown> | undefined;
3454
3120
  })[];
3455
- transactions?: {
3456
- transaction: import("viem").PrepareTransactionRequestReturnType;
3457
- metadata?: {
3458
- explorerUrl?: string | undefined;
3459
- usdValue?: string | undefined;
3460
- } | undefined;
3461
- }[] | undefined;
3462
3121
  };
3463
3122
  type: "SignatureRequests";
3464
3123
  }>]>, "many">;
@@ -3506,13 +3165,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
3506
3165
  description?: string | undefined;
3507
3166
  metadata?: Record<string, unknown> | undefined;
3508
3167
  })[];
3509
- transactions?: {
3510
- transaction: import("viem").PrepareTransactionRequestReturnType;
3511
- metadata?: {
3512
- explorerUrl?: string | undefined;
3513
- usdValue?: string | undefined;
3514
- } | undefined;
3515
- }[] | undefined;
3516
3168
  };
3517
3169
  type: "SignatureRequests";
3518
3170
  })[];
@@ -3561,13 +3213,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
3561
3213
  description?: string | undefined;
3562
3214
  metadata?: Record<string, unknown> | undefined;
3563
3215
  })[];
3564
- transactions?: {
3565
- transaction: import("viem").PrepareTransactionRequestReturnType;
3566
- metadata?: {
3567
- explorerUrl?: string | undefined;
3568
- usdValue?: string | undefined;
3569
- } | undefined;
3570
- }[] | undefined;
3571
3216
  };
3572
3217
  type: "SignatureRequests";
3573
3218
  })[];
@@ -3817,13 +3462,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
3817
3462
  description?: string | undefined;
3818
3463
  metadata?: Record<string, unknown> | undefined;
3819
3464
  })[];
3820
- transactions?: {
3821
- transaction: import("viem").PrepareTransactionRequestReturnType;
3822
- metadata?: {
3823
- explorerUrl?: string | undefined;
3824
- usdValue?: string | undefined;
3825
- } | undefined;
3826
- }[] | undefined;
3827
3465
  };
3828
3466
  type: "SignatureRequests";
3829
3467
  } | {
@@ -3870,13 +3508,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
3870
3508
  description?: string | undefined;
3871
3509
  metadata?: Record<string, unknown> | undefined;
3872
3510
  })[];
3873
- transactions?: {
3874
- transaction: import("viem").PrepareTransactionRequestReturnType;
3875
- metadata?: {
3876
- explorerUrl?: string | undefined;
3877
- usdValue?: string | undefined;
3878
- } | undefined;
3879
- }[] | undefined;
3880
3511
  };
3881
3512
  type: "SignatureRequests";
3882
3513
  })[];
@@ -3975,13 +3606,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
3975
3606
  description?: string | undefined;
3976
3607
  metadata?: Record<string, unknown> | undefined;
3977
3608
  })[];
3978
- transactions?: {
3979
- transaction: import("viem").PrepareTransactionRequestReturnType;
3980
- metadata?: {
3981
- explorerUrl?: string | undefined;
3982
- usdValue?: string | undefined;
3983
- } | undefined;
3984
- }[] | undefined;
3985
3609
  };
3986
3610
  type: "SignatureRequests";
3987
3611
  } | {
@@ -4028,13 +3652,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
4028
3652
  description?: string | undefined;
4029
3653
  metadata?: Record<string, unknown> | undefined;
4030
3654
  })[];
4031
- transactions?: {
4032
- transaction: import("viem").PrepareTransactionRequestReturnType;
4033
- metadata?: {
4034
- explorerUrl?: string | undefined;
4035
- usdValue?: string | undefined;
4036
- } | undefined;
4037
- }[] | undefined;
4038
3655
  };
4039
3656
  type: "SignatureRequests";
4040
3657
  })[];
@@ -4223,13 +3840,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
4223
3840
  description?: string | undefined;
4224
3841
  metadata?: Record<string, unknown> | undefined;
4225
3842
  })[];
4226
- transactions?: {
4227
- transaction: import("viem").PrepareTransactionRequestReturnType;
4228
- metadata?: {
4229
- explorerUrl?: string | undefined;
4230
- usdValue?: string | undefined;
4231
- } | undefined;
4232
- }[] | undefined;
4233
3843
  };
4234
3844
  type: "SignatureRequests";
4235
3845
  } | {
@@ -4276,13 +3886,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
4276
3886
  description?: string | undefined;
4277
3887
  metadata?: Record<string, unknown> | undefined;
4278
3888
  })[];
4279
- transactions?: {
4280
- transaction: import("viem").PrepareTransactionRequestReturnType;
4281
- metadata?: {
4282
- explorerUrl?: string | undefined;
4283
- usdValue?: string | undefined;
4284
- } | undefined;
4285
- }[] | undefined;
4286
3889
  };
4287
3890
  type: "SignatureRequests";
4288
3891
  })[];
@@ -4408,13 +4011,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
4408
4011
  description?: string | undefined;
4409
4012
  metadata?: Record<string, unknown> | undefined;
4410
4013
  })[];
4411
- transactions?: {
4412
- transaction: import("viem").PrepareTransactionRequestReturnType;
4413
- metadata?: {
4414
- explorerUrl?: string | undefined;
4415
- usdValue?: string | undefined;
4416
- } | undefined;
4417
- }[] | undefined;
4418
4014
  };
4419
4015
  type: "SignatureRequests";
4420
4016
  } | {
@@ -4461,13 +4057,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
4461
4057
  description?: string | undefined;
4462
4058
  metadata?: Record<string, unknown> | undefined;
4463
4059
  })[];
4464
- transactions?: {
4465
- transaction: import("viem").PrepareTransactionRequestReturnType;
4466
- metadata?: {
4467
- explorerUrl?: string | undefined;
4468
- usdValue?: string | undefined;
4469
- } | undefined;
4470
- }[] | undefined;
4471
4060
  };
4472
4061
  type: "SignatureRequests";
4473
4062
  })[];
@@ -4542,24 +4131,6 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
4542
4131
  details?: unknown;
4543
4132
  };
4544
4133
  }[] | undefined;
4545
- }>, z.ZodObject<{
4546
- type: z.ZodLiteral<"plan_approval_required">;
4547
- status: z.ZodLiteral<200>;
4548
- plan: z.ZodUnknown;
4549
- requiresApproval: z.ZodBoolean;
4550
- requestId: z.ZodString;
4551
- }, "strip", z.ZodTypeAny, {
4552
- type: "plan_approval_required";
4553
- status: 200;
4554
- requestId: string;
4555
- requiresApproval: boolean;
4556
- plan?: unknown;
4557
- }, {
4558
- type: "plan_approval_required";
4559
- status: 200;
4560
- requestId: string;
4561
- requiresApproval: boolean;
4562
- plan?: unknown;
4563
4134
  }>, z.ZodObject<{
4564
4135
  type: z.ZodLiteral<"error">;
4565
4136
  requestId: z.ZodString;