@aztec-labs/stdlib 6.0.0-nightly.20260918 → 6.0.0-nightly.20260920

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/dest/avm/avm.d.ts +146 -146
  2. package/dest/avm/avm_circuit_public_inputs.d.ts +16 -16
  3. package/dest/avm/avm_proving_request.d.ts +62 -62
  4. package/dest/block/block_data.d.ts +2 -2
  5. package/dest/block/block_parameter.d.ts +27 -4
  6. package/dest/block/block_parameter.d.ts.map +1 -1
  7. package/dest/block/block_parameter.js +38 -2
  8. package/dest/block/l2_block.d.ts +4 -4
  9. package/dest/block/l2_block.d.ts.map +1 -1
  10. package/dest/block/l2_block.js +2 -2
  11. package/dest/block/l2_block_source.d.ts +12 -4
  12. package/dest/block/l2_block_source.d.ts.map +1 -1
  13. package/dest/block/l2_block_source.js +30 -24
  14. package/dest/checkpoint/checkpoint.d.ts +4 -4
  15. package/dest/checkpoint/checkpoint_data.d.ts +4 -4
  16. package/dest/checkpoint/checkpoint_reexecution_tracker.d.ts +9 -1
  17. package/dest/checkpoint/checkpoint_reexecution_tracker.d.ts.map +1 -1
  18. package/dest/checkpoint/checkpoint_reexecution_tracker.js +26 -2
  19. package/dest/checkpoint/published_checkpoint.d.ts +4 -4
  20. package/dest/checkpoint/simulation_overrides.d.ts +1 -1
  21. package/dest/checkpoint/simulation_overrides.js +2 -2
  22. package/dest/deserialization/index.d.ts +6 -1
  23. package/dest/deserialization/index.d.ts.map +1 -1
  24. package/dest/deserialization/index.js +6 -1
  25. package/dest/gas/fee_math.d.ts +2 -2
  26. package/dest/gas/fee_math.js +2 -2
  27. package/dest/interfaces/archiver.d.ts +2 -2
  28. package/dest/interfaces/archiver.d.ts.map +1 -1
  29. package/dest/interfaces/archiver.js +14 -22
  30. package/dest/interfaces/block-builder.d.ts +3 -3
  31. package/dest/interfaces/block-builder.d.ts.map +1 -1
  32. package/dest/interfaces/block_response.d.ts +2 -2
  33. package/dest/interfaces/checkpoint_parameter.d.ts +6 -3
  34. package/dest/interfaces/checkpoint_parameter.d.ts.map +1 -1
  35. package/dest/interfaces/checkpoint_parameter.js +10 -5
  36. package/dest/interfaces/checkpoint_response.d.ts +4 -4
  37. package/dest/interfaces/l2_logs_source.d.ts +7 -4
  38. package/dest/interfaces/l2_logs_source.d.ts.map +1 -1
  39. package/dest/interfaces/l2_logs_source.js +3 -0
  40. package/dest/interfaces/proving-job.d.ts +62 -62
  41. package/dest/interfaces/validator.d.ts +3 -2
  42. package/dest/interfaces/validator.d.ts.map +1 -1
  43. package/dest/kernel/private_kernel_tail_circuit_public_inputs.d.ts +2 -1
  44. package/dest/kernel/private_kernel_tail_circuit_public_inputs.d.ts.map +1 -1
  45. package/dest/kernel/private_kernel_tail_circuit_public_inputs.js +4 -2
  46. package/dest/logs/logs_query.d.ts +27 -3
  47. package/dest/logs/logs_query.d.ts.map +1 -1
  48. package/dest/logs/logs_query.js +27 -7
  49. package/dest/logs/private_log.d.ts +6 -1
  50. package/dest/logs/private_log.d.ts.map +1 -1
  51. package/dest/logs/private_log.js +6 -0
  52. package/dest/messaging/inbox_consumption.d.ts +7 -46
  53. package/dest/messaging/inbox_consumption.d.ts.map +1 -1
  54. package/dest/messaging/inbox_consumption.js +7 -45
  55. package/dest/messaging/inbox_message_prefix_ref.d.ts +43 -0
  56. package/dest/messaging/inbox_message_prefix_ref.d.ts.map +1 -0
  57. package/dest/messaging/inbox_message_prefix_ref.js +60 -0
  58. package/dest/messaging/index.d.ts +2 -2
  59. package/dest/messaging/index.d.ts.map +1 -1
  60. package/dest/messaging/index.js +1 -1
  61. package/dest/messaging/l1_to_l2_message_source.d.ts +72 -37
  62. package/dest/messaging/l1_to_l2_message_source.d.ts.map +1 -1
  63. package/dest/messaging/l1_to_l2_message_source.js +12 -3
  64. package/dest/p2p/block_proposal.d.ts +32 -22
  65. package/dest/p2p/block_proposal.d.ts.map +1 -1
  66. package/dest/p2p/block_proposal.js +35 -44
  67. package/dest/p2p/checkpoint_proposal.d.ts +9 -9
  68. package/dest/p2p/checkpoint_proposal.d.ts.map +1 -1
  69. package/dest/p2p/checkpoint_proposal.js +20 -31
  70. package/dest/p2p/wire_compat_fixtures.d.ts +18 -7
  71. package/dest/p2p/wire_compat_fixtures.d.ts.map +1 -1
  72. package/dest/p2p/wire_compat_fixtures.js +26 -12
  73. package/dest/rollup/checkpoint_rollup_public_inputs.d.ts +1 -1
  74. package/dest/tests/factories.d.ts +1 -1
  75. package/dest/tests/factories.d.ts.map +1 -1
  76. package/dest/tests/factories.js +4 -4
  77. package/dest/tests/mocks.d.ts +4 -4
  78. package/dest/tests/mocks.d.ts.map +1 -1
  79. package/dest/tests/mocks.js +6 -3
  80. package/dest/timetable/budgets.d.ts +6 -1
  81. package/dest/timetable/budgets.d.ts.map +1 -1
  82. package/dest/timetable/budgets.js +7 -2
  83. package/dest/trees/append_only_tree_snapshot.d.ts +11 -9
  84. package/dest/trees/append_only_tree_snapshot.d.ts.map +1 -1
  85. package/dest/trees/append_only_tree_snapshot.js +17 -12
  86. package/dest/tx/block_header.d.ts +8 -1
  87. package/dest/tx/block_header.d.ts.map +1 -1
  88. package/dest/tx/block_header.js +10 -0
  89. package/dest/tx/partial_state_reference.d.ts +6 -6
  90. package/dest/tx/state_reference.d.ts +8 -8
  91. package/dest/tx/tree_snapshots.d.ts +8 -8
  92. package/dest/tx/validator/error_texts.d.ts +2 -1
  93. package/dest/tx/validator/error_texts.d.ts.map +1 -1
  94. package/dest/tx/validator/error_texts.js +1 -0
  95. package/dest/world-state/genesis_data.d.ts +14 -7
  96. package/dest/world-state/genesis_data.d.ts.map +1 -1
  97. package/dest/world-state/genesis_data.js +6 -2
  98. package/package.json +7 -7
  99. package/src/block/block_parameter.ts +66 -5
  100. package/src/block/l2_block.ts +2 -1
  101. package/src/block/l2_block_source.ts +72 -34
  102. package/src/checkpoint/checkpoint_reexecution_tracker.ts +33 -0
  103. package/src/checkpoint/simulation_overrides.ts +2 -2
  104. package/src/deserialization/index.ts +14 -0
  105. package/src/gas/README.md +2 -2
  106. package/src/gas/fee_math.ts +2 -2
  107. package/src/interfaces/archiver.ts +13 -17
  108. package/src/interfaces/block-builder.ts +2 -2
  109. package/src/interfaces/checkpoint_parameter.ts +5 -2
  110. package/src/interfaces/l2_logs_source.ts +6 -3
  111. package/src/interfaces/validator.ts +2 -0
  112. package/src/kernel/private_kernel_tail_circuit_public_inputs.ts +6 -3
  113. package/src/logs/logs_query.ts +53 -20
  114. package/src/logs/private_log.ts +13 -0
  115. package/src/messaging/inbox_consumption.ts +7 -64
  116. package/src/messaging/inbox_message_prefix_ref.ts +74 -0
  117. package/src/messaging/index.ts +1 -1
  118. package/src/messaging/l1_to_l2_message_source.ts +70 -37
  119. package/src/p2p/block_proposal.ts +35 -42
  120. package/src/p2p/checkpoint_proposal.ts +25 -35
  121. package/src/p2p/wire_compat_fixtures.ts +38 -18
  122. package/src/tests/factories.ts +4 -4
  123. package/src/tests/mocks.ts +9 -6
  124. package/src/timetable/budgets.ts +9 -2
  125. package/src/trees/append_only_tree_snapshot.ts +20 -16
  126. package/src/tx/block_header.ts +10 -0
  127. package/src/tx/validator/error_texts.ts +1 -0
  128. package/src/world-state/genesis_data.ts +15 -6
  129. package/dest/messaging/inbox_bucket.d.ts +0 -77
  130. package/dest/messaging/inbox_bucket.d.ts.map +0 -1
  131. package/dest/messaging/inbox_bucket.js +0 -73
  132. package/src/messaging/inbox_bucket.ts +0 -124
package/dest/avm/avm.d.ts CHANGED
@@ -161,10 +161,10 @@ export declare class AvmGetSiblingPathHint {
161
161
  static get schema(): z.ZodPipe<z.ZodObject<{
162
162
  hintKey: z.ZodPipe<z.ZodObject<{
163
163
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
164
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
164
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
165
165
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
166
166
  root: Fr;
167
- nextAvailableLeafIndex: number;
167
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
168
168
  }>>;
169
169
  treeId: z.ZodNumber;
170
170
  index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
@@ -194,10 +194,10 @@ export declare class AvmGetPreviousValueIndexHint {
194
194
  static get schema(): z.ZodPipe<z.ZodObject<{
195
195
  hintKey: z.ZodPipe<z.ZodObject<{
196
196
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
197
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
197
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
198
198
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
199
199
  root: Fr;
200
- nextAvailableLeafIndex: number;
200
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
201
201
  }>>;
202
202
  treeId: z.ZodNumber;
203
203
  value: ZodFor<Fr>;
@@ -229,10 +229,10 @@ declare const AvmGetLeafPreimageHintPublicDataTree_base: {
229
229
  get schema(): z.ZodPipe<z.ZodObject<{
230
230
  hintKey: z.ZodPipe<z.ZodObject<{
231
231
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
232
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
232
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
233
233
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
234
234
  root: Fr;
235
- nextAvailableLeafIndex: number;
235
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
236
236
  }>>;
237
237
  index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
238
238
  leafPreimage: z.ZodPipe<z.ZodObject<{
@@ -291,10 +291,10 @@ declare const AvmGetLeafPreimageHintNullifierTree_base: {
291
291
  get schema(): z.ZodPipe<z.ZodObject<{
292
292
  hintKey: z.ZodPipe<z.ZodObject<{
293
293
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
294
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
294
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
295
295
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
296
296
  root: Fr;
297
- nextAvailableLeafIndex: number;
297
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
298
298
  }>>;
299
299
  index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
300
300
  leafPreimage: z.ZodPipe<z.ZodObject<{
@@ -353,10 +353,10 @@ export declare class AvmGetLeafValueHint {
353
353
  static get schema(): z.ZodPipe<z.ZodObject<{
354
354
  hintKey: z.ZodPipe<z.ZodObject<{
355
355
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
356
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
356
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
357
357
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
358
358
  root: Fr;
359
- nextAvailableLeafIndex: number;
359
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
360
360
  }>>;
361
361
  treeId: z.ZodNumber;
362
362
  index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
@@ -404,17 +404,17 @@ declare const AvmSequentialInsertHintPublicDataTree_base: {
404
404
  get schema(): z.ZodPipe<z.ZodObject<{
405
405
  hintKey: z.ZodPipe<z.ZodObject<{
406
406
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
407
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
407
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
408
408
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
409
409
  root: Fr;
410
- nextAvailableLeafIndex: number;
410
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
411
411
  }>>;
412
412
  stateAfter: z.ZodPipe<z.ZodObject<{
413
413
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
414
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
414
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
415
415
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
416
416
  root: Fr;
417
- nextAvailableLeafIndex: number;
417
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
418
418
  }>>;
419
419
  treeId: z.ZodNumber;
420
420
  leaf: z.ZodPipe<z.ZodObject<{
@@ -560,17 +560,17 @@ declare const AvmSequentialInsertHintNullifierTree_base: {
560
560
  get schema(): z.ZodPipe<z.ZodObject<{
561
561
  hintKey: z.ZodPipe<z.ZodObject<{
562
562
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
563
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
563
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
564
564
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
565
565
  root: Fr;
566
- nextAvailableLeafIndex: number;
566
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
567
567
  }>>;
568
568
  stateAfter: z.ZodPipe<z.ZodObject<{
569
569
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
570
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
570
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
571
571
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
572
572
  root: Fr;
573
- nextAvailableLeafIndex: number;
573
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
574
574
  }>>;
575
575
  treeId: z.ZodNumber;
576
576
  leaf: z.ZodPipe<z.ZodObject<{
@@ -697,17 +697,17 @@ export declare class AvmAppendLeavesHint {
697
697
  static get schema(): z.ZodPipe<z.ZodObject<{
698
698
  hintKey: z.ZodPipe<z.ZodObject<{
699
699
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
700
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
700
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
701
701
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
702
702
  root: Fr;
703
- nextAvailableLeafIndex: number;
703
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
704
704
  }>>;
705
705
  stateAfter: z.ZodPipe<z.ZodObject<{
706
706
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
707
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
707
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
708
708
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
709
709
  root: Fr;
710
- nextAvailableLeafIndex: number;
710
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
711
711
  }>>;
712
712
  treeId: z.ZodNumber;
713
713
  leaves: z.ZodArray<ZodFor<Fr>>;
@@ -768,31 +768,31 @@ export declare class AvmRevertCheckpointHint {
768
768
  stateBefore: z.ZodPipe<z.ZodObject<{
769
769
  l1ToL2MessageTree: z.ZodPipe<z.ZodObject<{
770
770
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
771
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
771
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
772
772
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
773
773
  root: Fr;
774
- nextAvailableLeafIndex: number;
774
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
775
775
  }>>;
776
776
  noteHashTree: z.ZodPipe<z.ZodObject<{
777
777
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
778
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
778
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
779
779
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
780
780
  root: Fr;
781
- nextAvailableLeafIndex: number;
781
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
782
782
  }>>;
783
783
  nullifierTree: z.ZodPipe<z.ZodObject<{
784
784
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
785
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
785
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
786
786
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
787
787
  root: Fr;
788
- nextAvailableLeafIndex: number;
788
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
789
789
  }>>;
790
790
  publicDataTree: z.ZodPipe<z.ZodObject<{
791
791
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
792
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
792
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
793
793
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
794
794
  root: Fr;
795
- nextAvailableLeafIndex: number;
795
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
796
796
  }>>;
797
797
  }, z.core.$strip>, z.ZodTransform<TreeSnapshots, {
798
798
  l1ToL2MessageTree: AppendOnlyTreeSnapshot;
@@ -803,31 +803,31 @@ export declare class AvmRevertCheckpointHint {
803
803
  stateAfter: z.ZodPipe<z.ZodObject<{
804
804
  l1ToL2MessageTree: z.ZodPipe<z.ZodObject<{
805
805
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
806
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
806
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
807
807
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
808
808
  root: Fr;
809
- nextAvailableLeafIndex: number;
809
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
810
810
  }>>;
811
811
  noteHashTree: z.ZodPipe<z.ZodObject<{
812
812
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
813
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
813
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
814
814
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
815
815
  root: Fr;
816
- nextAvailableLeafIndex: number;
816
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
817
817
  }>>;
818
818
  nullifierTree: z.ZodPipe<z.ZodObject<{
819
819
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
820
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
820
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
821
821
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
822
822
  root: Fr;
823
- nextAvailableLeafIndex: number;
823
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
824
824
  }>>;
825
825
  publicDataTree: z.ZodPipe<z.ZodObject<{
826
826
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
827
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
827
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
828
828
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
829
829
  root: Fr;
830
- nextAvailableLeafIndex: number;
830
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
831
831
  }>>;
832
832
  }, z.core.$strip>, z.ZodTransform<TreeSnapshots, {
833
833
  l1ToL2MessageTree: AppendOnlyTreeSnapshot;
@@ -1380,31 +1380,31 @@ export declare class AvmExecutionHints {
1380
1380
  startingTreeRoots: z.ZodPipe<z.ZodObject<{
1381
1381
  l1ToL2MessageTree: z.ZodPipe<z.ZodObject<{
1382
1382
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1383
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1383
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1384
1384
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1385
1385
  root: Fr;
1386
- nextAvailableLeafIndex: number;
1386
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1387
1387
  }>>;
1388
1388
  noteHashTree: z.ZodPipe<z.ZodObject<{
1389
1389
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1390
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1390
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1391
1391
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1392
1392
  root: Fr;
1393
- nextAvailableLeafIndex: number;
1393
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1394
1394
  }>>;
1395
1395
  nullifierTree: z.ZodPipe<z.ZodObject<{
1396
1396
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1397
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1397
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1398
1398
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1399
1399
  root: Fr;
1400
- nextAvailableLeafIndex: number;
1400
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1401
1401
  }>>;
1402
1402
  publicDataTree: z.ZodPipe<z.ZodObject<{
1403
1403
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1404
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1404
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1405
1405
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1406
1406
  root: Fr;
1407
- nextAvailableLeafIndex: number;
1407
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1408
1408
  }>>;
1409
1409
  }, z.core.$strip>, z.ZodTransform<TreeSnapshots, {
1410
1410
  l1ToL2MessageTree: AppendOnlyTreeSnapshot;
@@ -1415,10 +1415,10 @@ export declare class AvmExecutionHints {
1415
1415
  getSiblingPathHints: z.ZodArray<z.ZodPipe<z.ZodObject<{
1416
1416
  hintKey: z.ZodPipe<z.ZodObject<{
1417
1417
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1418
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1418
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1419
1419
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1420
1420
  root: Fr;
1421
- nextAvailableLeafIndex: number;
1421
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1422
1422
  }>>;
1423
1423
  treeId: z.ZodNumber;
1424
1424
  index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
@@ -1432,10 +1432,10 @@ export declare class AvmExecutionHints {
1432
1432
  getPreviousValueIndexHints: z.ZodArray<z.ZodPipe<z.ZodObject<{
1433
1433
  hintKey: z.ZodPipe<z.ZodObject<{
1434
1434
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1435
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1435
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1436
1436
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1437
1437
  root: Fr;
1438
- nextAvailableLeafIndex: number;
1438
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1439
1439
  }>>;
1440
1440
  treeId: z.ZodNumber;
1441
1441
  value: ZodFor<Fr>;
@@ -1451,10 +1451,10 @@ export declare class AvmExecutionHints {
1451
1451
  getLeafPreimageHintsPublicDataTree: z.ZodArray<z.ZodPipe<z.ZodObject<{
1452
1452
  hintKey: z.ZodPipe<z.ZodObject<{
1453
1453
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1454
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1454
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1455
1455
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1456
1456
  root: Fr;
1457
- nextAvailableLeafIndex: number;
1457
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1458
1458
  }>>;
1459
1459
  index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
1460
1460
  leafPreimage: z.ZodPipe<z.ZodObject<{
@@ -1496,10 +1496,10 @@ export declare class AvmExecutionHints {
1496
1496
  getLeafPreimageHintsNullifierTree: z.ZodArray<z.ZodPipe<z.ZodObject<{
1497
1497
  hintKey: z.ZodPipe<z.ZodObject<{
1498
1498
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1499
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1499
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1500
1500
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1501
1501
  root: Fr;
1502
- nextAvailableLeafIndex: number;
1502
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1503
1503
  }>>;
1504
1504
  index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
1505
1505
  leafPreimage: z.ZodPipe<z.ZodObject<{
@@ -1541,10 +1541,10 @@ export declare class AvmExecutionHints {
1541
1541
  getLeafValueHints: z.ZodArray<z.ZodPipe<z.ZodObject<{
1542
1542
  hintKey: z.ZodPipe<z.ZodObject<{
1543
1543
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1544
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1544
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1545
1545
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1546
1546
  root: Fr;
1547
- nextAvailableLeafIndex: number;
1547
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1548
1548
  }>>;
1549
1549
  treeId: z.ZodNumber;
1550
1550
  index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
@@ -1558,17 +1558,17 @@ export declare class AvmExecutionHints {
1558
1558
  sequentialInsertHintsPublicDataTree: z.ZodArray<z.ZodPipe<z.ZodObject<{
1559
1559
  hintKey: z.ZodPipe<z.ZodObject<{
1560
1560
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1561
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1561
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1562
1562
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1563
1563
  root: Fr;
1564
- nextAvailableLeafIndex: number;
1564
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1565
1565
  }>>;
1566
1566
  stateAfter: z.ZodPipe<z.ZodObject<{
1567
1567
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1568
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1568
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1569
1569
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1570
1570
  root: Fr;
1571
- nextAvailableLeafIndex: number;
1571
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1572
1572
  }>>;
1573
1573
  treeId: z.ZodNumber;
1574
1574
  leaf: z.ZodPipe<z.ZodObject<{
@@ -1678,17 +1678,17 @@ export declare class AvmExecutionHints {
1678
1678
  sequentialInsertHintsNullifierTree: z.ZodArray<z.ZodPipe<z.ZodObject<{
1679
1679
  hintKey: z.ZodPipe<z.ZodObject<{
1680
1680
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1681
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1681
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1682
1682
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1683
1683
  root: Fr;
1684
- nextAvailableLeafIndex: number;
1684
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1685
1685
  }>>;
1686
1686
  stateAfter: z.ZodPipe<z.ZodObject<{
1687
1687
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1688
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1688
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1689
1689
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1690
1690
  root: Fr;
1691
- nextAvailableLeafIndex: number;
1691
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1692
1692
  }>>;
1693
1693
  treeId: z.ZodNumber;
1694
1694
  leaf: z.ZodPipe<z.ZodObject<{
@@ -1798,17 +1798,17 @@ export declare class AvmExecutionHints {
1798
1798
  appendLeavesHints: z.ZodArray<z.ZodPipe<z.ZodObject<{
1799
1799
  hintKey: z.ZodPipe<z.ZodObject<{
1800
1800
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1801
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1801
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1802
1802
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1803
1803
  root: Fr;
1804
- nextAvailableLeafIndex: number;
1804
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1805
1805
  }>>;
1806
1806
  stateAfter: z.ZodPipe<z.ZodObject<{
1807
1807
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1808
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1808
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1809
1809
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1810
1810
  root: Fr;
1811
- nextAvailableLeafIndex: number;
1811
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1812
1812
  }>>;
1813
1813
  treeId: z.ZodNumber;
1814
1814
  leaves: z.ZodArray<ZodFor<Fr>>;
@@ -1843,31 +1843,31 @@ export declare class AvmExecutionHints {
1843
1843
  stateBefore: z.ZodPipe<z.ZodObject<{
1844
1844
  l1ToL2MessageTree: z.ZodPipe<z.ZodObject<{
1845
1845
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1846
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1846
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1847
1847
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1848
1848
  root: Fr;
1849
- nextAvailableLeafIndex: number;
1849
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1850
1850
  }>>;
1851
1851
  noteHashTree: z.ZodPipe<z.ZodObject<{
1852
1852
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1853
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1853
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1854
1854
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1855
1855
  root: Fr;
1856
- nextAvailableLeafIndex: number;
1856
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1857
1857
  }>>;
1858
1858
  nullifierTree: z.ZodPipe<z.ZodObject<{
1859
1859
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1860
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1860
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1861
1861
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1862
1862
  root: Fr;
1863
- nextAvailableLeafIndex: number;
1863
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1864
1864
  }>>;
1865
1865
  publicDataTree: z.ZodPipe<z.ZodObject<{
1866
1866
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1867
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1867
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1868
1868
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1869
1869
  root: Fr;
1870
- nextAvailableLeafIndex: number;
1870
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1871
1871
  }>>;
1872
1872
  }, z.core.$strip>, z.ZodTransform<TreeSnapshots, {
1873
1873
  l1ToL2MessageTree: AppendOnlyTreeSnapshot;
@@ -1878,31 +1878,31 @@ export declare class AvmExecutionHints {
1878
1878
  stateAfter: z.ZodPipe<z.ZodObject<{
1879
1879
  l1ToL2MessageTree: z.ZodPipe<z.ZodObject<{
1880
1880
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1881
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1881
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1882
1882
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1883
1883
  root: Fr;
1884
- nextAvailableLeafIndex: number;
1884
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1885
1885
  }>>;
1886
1886
  noteHashTree: z.ZodPipe<z.ZodObject<{
1887
1887
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1888
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1888
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1889
1889
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1890
1890
  root: Fr;
1891
- nextAvailableLeafIndex: number;
1891
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1892
1892
  }>>;
1893
1893
  nullifierTree: z.ZodPipe<z.ZodObject<{
1894
1894
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1895
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1895
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1896
1896
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1897
1897
  root: Fr;
1898
- nextAvailableLeafIndex: number;
1898
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1899
1899
  }>>;
1900
1900
  publicDataTree: z.ZodPipe<z.ZodObject<{
1901
1901
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
1902
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1902
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
1903
1903
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
1904
1904
  root: Fr;
1905
- nextAvailableLeafIndex: number;
1905
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
1906
1906
  }>>;
1907
1907
  }, z.core.$strip>, z.ZodTransform<TreeSnapshots, {
1908
1908
  l1ToL2MessageTree: AppendOnlyTreeSnapshot;
@@ -2275,31 +2275,31 @@ export declare class AvmCircuitInputs {
2275
2275
  startingTreeRoots: z.ZodPipe<z.ZodObject<{
2276
2276
  l1ToL2MessageTree: z.ZodPipe<z.ZodObject<{
2277
2277
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2278
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2278
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2279
2279
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2280
2280
  root: Fr;
2281
- nextAvailableLeafIndex: number;
2281
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2282
2282
  }>>;
2283
2283
  noteHashTree: z.ZodPipe<z.ZodObject<{
2284
2284
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2285
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2285
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2286
2286
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2287
2287
  root: Fr;
2288
- nextAvailableLeafIndex: number;
2288
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2289
2289
  }>>;
2290
2290
  nullifierTree: z.ZodPipe<z.ZodObject<{
2291
2291
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2292
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2292
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2293
2293
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2294
2294
  root: Fr;
2295
- nextAvailableLeafIndex: number;
2295
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2296
2296
  }>>;
2297
2297
  publicDataTree: z.ZodPipe<z.ZodObject<{
2298
2298
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2299
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2299
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2300
2300
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2301
2301
  root: Fr;
2302
- nextAvailableLeafIndex: number;
2302
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2303
2303
  }>>;
2304
2304
  }, z.core.$strip>, z.ZodTransform<TreeSnapshots, {
2305
2305
  l1ToL2MessageTree: AppendOnlyTreeSnapshot;
@@ -2310,10 +2310,10 @@ export declare class AvmCircuitInputs {
2310
2310
  getSiblingPathHints: z.ZodArray<z.ZodPipe<z.ZodObject<{
2311
2311
  hintKey: z.ZodPipe<z.ZodObject<{
2312
2312
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2313
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2313
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2314
2314
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2315
2315
  root: Fr;
2316
- nextAvailableLeafIndex: number;
2316
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2317
2317
  }>>;
2318
2318
  treeId: z.ZodNumber;
2319
2319
  index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
@@ -2327,10 +2327,10 @@ export declare class AvmCircuitInputs {
2327
2327
  getPreviousValueIndexHints: z.ZodArray<z.ZodPipe<z.ZodObject<{
2328
2328
  hintKey: z.ZodPipe<z.ZodObject<{
2329
2329
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2330
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2330
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2331
2331
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2332
2332
  root: Fr;
2333
- nextAvailableLeafIndex: number;
2333
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2334
2334
  }>>;
2335
2335
  treeId: z.ZodNumber;
2336
2336
  value: ZodFor<Fr>;
@@ -2346,10 +2346,10 @@ export declare class AvmCircuitInputs {
2346
2346
  getLeafPreimageHintsPublicDataTree: z.ZodArray<z.ZodPipe<z.ZodObject<{
2347
2347
  hintKey: z.ZodPipe<z.ZodObject<{
2348
2348
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2349
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2349
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2350
2350
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2351
2351
  root: Fr;
2352
- nextAvailableLeafIndex: number;
2352
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2353
2353
  }>>;
2354
2354
  index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
2355
2355
  leafPreimage: z.ZodPipe<z.ZodObject<{
@@ -2391,10 +2391,10 @@ export declare class AvmCircuitInputs {
2391
2391
  getLeafPreimageHintsNullifierTree: z.ZodArray<z.ZodPipe<z.ZodObject<{
2392
2392
  hintKey: z.ZodPipe<z.ZodObject<{
2393
2393
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2394
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2394
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2395
2395
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2396
2396
  root: Fr;
2397
- nextAvailableLeafIndex: number;
2397
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2398
2398
  }>>;
2399
2399
  index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
2400
2400
  leafPreimage: z.ZodPipe<z.ZodObject<{
@@ -2436,10 +2436,10 @@ export declare class AvmCircuitInputs {
2436
2436
  getLeafValueHints: z.ZodArray<z.ZodPipe<z.ZodObject<{
2437
2437
  hintKey: z.ZodPipe<z.ZodObject<{
2438
2438
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2439
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2439
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2440
2440
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2441
2441
  root: Fr;
2442
- nextAvailableLeafIndex: number;
2442
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2443
2443
  }>>;
2444
2444
  treeId: z.ZodNumber;
2445
2445
  index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
@@ -2453,17 +2453,17 @@ export declare class AvmCircuitInputs {
2453
2453
  sequentialInsertHintsPublicDataTree: z.ZodArray<z.ZodPipe<z.ZodObject<{
2454
2454
  hintKey: z.ZodPipe<z.ZodObject<{
2455
2455
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2456
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2456
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2457
2457
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2458
2458
  root: Fr;
2459
- nextAvailableLeafIndex: number;
2459
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2460
2460
  }>>;
2461
2461
  stateAfter: z.ZodPipe<z.ZodObject<{
2462
2462
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2463
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2463
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2464
2464
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2465
2465
  root: Fr;
2466
- nextAvailableLeafIndex: number;
2466
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2467
2467
  }>>;
2468
2468
  treeId: z.ZodNumber;
2469
2469
  leaf: z.ZodPipe<z.ZodObject<{
@@ -2573,17 +2573,17 @@ export declare class AvmCircuitInputs {
2573
2573
  sequentialInsertHintsNullifierTree: z.ZodArray<z.ZodPipe<z.ZodObject<{
2574
2574
  hintKey: z.ZodPipe<z.ZodObject<{
2575
2575
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2576
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2576
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2577
2577
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2578
2578
  root: Fr;
2579
- nextAvailableLeafIndex: number;
2579
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2580
2580
  }>>;
2581
2581
  stateAfter: z.ZodPipe<z.ZodObject<{
2582
2582
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2583
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2583
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2584
2584
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2585
2585
  root: Fr;
2586
- nextAvailableLeafIndex: number;
2586
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2587
2587
  }>>;
2588
2588
  treeId: z.ZodNumber;
2589
2589
  leaf: z.ZodPipe<z.ZodObject<{
@@ -2693,17 +2693,17 @@ export declare class AvmCircuitInputs {
2693
2693
  appendLeavesHints: z.ZodArray<z.ZodPipe<z.ZodObject<{
2694
2694
  hintKey: z.ZodPipe<z.ZodObject<{
2695
2695
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2696
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2696
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2697
2697
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2698
2698
  root: Fr;
2699
- nextAvailableLeafIndex: number;
2699
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2700
2700
  }>>;
2701
2701
  stateAfter: z.ZodPipe<z.ZodObject<{
2702
2702
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2703
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2703
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2704
2704
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2705
2705
  root: Fr;
2706
- nextAvailableLeafIndex: number;
2706
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2707
2707
  }>>;
2708
2708
  treeId: z.ZodNumber;
2709
2709
  leaves: z.ZodArray<ZodFor<Fr>>;
@@ -2738,31 +2738,31 @@ export declare class AvmCircuitInputs {
2738
2738
  stateBefore: z.ZodPipe<z.ZodObject<{
2739
2739
  l1ToL2MessageTree: z.ZodPipe<z.ZodObject<{
2740
2740
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2741
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2741
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2742
2742
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2743
2743
  root: Fr;
2744
- nextAvailableLeafIndex: number;
2744
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2745
2745
  }>>;
2746
2746
  noteHashTree: z.ZodPipe<z.ZodObject<{
2747
2747
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2748
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2748
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2749
2749
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2750
2750
  root: Fr;
2751
- nextAvailableLeafIndex: number;
2751
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2752
2752
  }>>;
2753
2753
  nullifierTree: z.ZodPipe<z.ZodObject<{
2754
2754
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2755
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2755
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2756
2756
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2757
2757
  root: Fr;
2758
- nextAvailableLeafIndex: number;
2758
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2759
2759
  }>>;
2760
2760
  publicDataTree: z.ZodPipe<z.ZodObject<{
2761
2761
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2762
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2762
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2763
2763
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2764
2764
  root: Fr;
2765
- nextAvailableLeafIndex: number;
2765
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2766
2766
  }>>;
2767
2767
  }, z.core.$strip>, z.ZodTransform<TreeSnapshots, {
2768
2768
  l1ToL2MessageTree: AppendOnlyTreeSnapshot;
@@ -2773,31 +2773,31 @@ export declare class AvmCircuitInputs {
2773
2773
  stateAfter: z.ZodPipe<z.ZodObject<{
2774
2774
  l1ToL2MessageTree: z.ZodPipe<z.ZodObject<{
2775
2775
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2776
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2776
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2777
2777
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2778
2778
  root: Fr;
2779
- nextAvailableLeafIndex: number;
2779
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2780
2780
  }>>;
2781
2781
  noteHashTree: z.ZodPipe<z.ZodObject<{
2782
2782
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2783
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2783
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2784
2784
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2785
2785
  root: Fr;
2786
- nextAvailableLeafIndex: number;
2786
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2787
2787
  }>>;
2788
2788
  nullifierTree: z.ZodPipe<z.ZodObject<{
2789
2789
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2790
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2790
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2791
2791
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2792
2792
  root: Fr;
2793
- nextAvailableLeafIndex: number;
2793
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2794
2794
  }>>;
2795
2795
  publicDataTree: z.ZodPipe<z.ZodObject<{
2796
2796
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2797
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2797
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2798
2798
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2799
2799
  root: Fr;
2800
- nextAvailableLeafIndex: number;
2800
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2801
2801
  }>>;
2802
2802
  }, z.core.$strip>, z.ZodTransform<TreeSnapshots, {
2803
2803
  l1ToL2MessageTree: AppendOnlyTreeSnapshot;
@@ -2908,31 +2908,31 @@ export declare class AvmCircuitInputs {
2908
2908
  startTreeSnapshots: z.ZodPipe<z.ZodObject<{
2909
2909
  l1ToL2MessageTree: z.ZodPipe<z.ZodObject<{
2910
2910
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2911
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2911
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2912
2912
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2913
2913
  root: Fr;
2914
- nextAvailableLeafIndex: number;
2914
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2915
2915
  }>>;
2916
2916
  noteHashTree: z.ZodPipe<z.ZodObject<{
2917
2917
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2918
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2918
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2919
2919
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2920
2920
  root: Fr;
2921
- nextAvailableLeafIndex: number;
2921
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2922
2922
  }>>;
2923
2923
  nullifierTree: z.ZodPipe<z.ZodObject<{
2924
2924
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2925
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2925
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2926
2926
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2927
2927
  root: Fr;
2928
- nextAvailableLeafIndex: number;
2928
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2929
2929
  }>>;
2930
2930
  publicDataTree: z.ZodPipe<z.ZodObject<{
2931
2931
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
2932
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
2932
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
2933
2933
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
2934
2934
  root: Fr;
2935
- nextAvailableLeafIndex: number;
2935
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
2936
2936
  }>>;
2937
2937
  }, z.core.$strip>, z.ZodTransform<TreeSnapshots, {
2938
2938
  l1ToL2MessageTree: AppendOnlyTreeSnapshot;
@@ -3096,31 +3096,31 @@ export declare class AvmCircuitInputs {
3096
3096
  endTreeSnapshots: z.ZodPipe<z.ZodObject<{
3097
3097
  l1ToL2MessageTree: z.ZodPipe<z.ZodObject<{
3098
3098
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
3099
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
3099
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
3100
3100
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
3101
3101
  root: Fr;
3102
- nextAvailableLeafIndex: number;
3102
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
3103
3103
  }>>;
3104
3104
  noteHashTree: z.ZodPipe<z.ZodObject<{
3105
3105
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
3106
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
3106
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
3107
3107
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
3108
3108
  root: Fr;
3109
- nextAvailableLeafIndex: number;
3109
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
3110
3110
  }>>;
3111
3111
  nullifierTree: z.ZodPipe<z.ZodObject<{
3112
3112
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
3113
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
3113
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
3114
3114
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
3115
3115
  root: Fr;
3116
- nextAvailableLeafIndex: number;
3116
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
3117
3117
  }>>;
3118
3118
  publicDataTree: z.ZodPipe<z.ZodObject<{
3119
3119
  root: z.ZodType<Fr, string, z.core.$ZodTypeInternals<Fr, string>>;
3120
- nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
3120
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodBigInt, z.ZodPipe<z.ZodString, z.ZodTransform<bigint, string>>]>, z.ZodTransform<import("@aztec-labs/foundation/branded-types").TreeLeafIndex, number | bigint>>;
3121
3121
  }, z.core.$strip>, z.ZodTransform<AppendOnlyTreeSnapshot, {
3122
3122
  root: Fr;
3123
- nextAvailableLeafIndex: number;
3123
+ nextAvailableLeafIndex: import("@aztec-labs/foundation/branded-types").TreeLeafIndex;
3124
3124
  }>>;
3125
3125
  }, z.core.$strip>, z.ZodTransform<TreeSnapshots, {
3126
3126
  l1ToL2MessageTree: AppendOnlyTreeSnapshot;