circuit-json 0.0.338 → 0.0.340

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.
package/dist/index.d.mts CHANGED
@@ -3655,6 +3655,8 @@ declare const pcb_board: z.ZodObject<{
3655
3655
  x: string | number;
3656
3656
  y: string | number;
3657
3657
  }>;
3658
+ display_offset_x: z.ZodOptional<z.ZodString>;
3659
+ display_offset_y: z.ZodOptional<z.ZodString>;
3658
3660
  thickness: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
3659
3661
  num_layers: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3660
3662
  outline: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3669,6 +3671,18 @@ declare const pcb_board: z.ZodObject<{
3669
3671
  }>, "many">>;
3670
3672
  shape: z.ZodOptional<z.ZodEnum<["rect", "polygon"]>>;
3671
3673
  material: z.ZodDefault<z.ZodEnum<["fr4", "fr1"]>>;
3674
+ anchor_position: z.ZodOptional<z.ZodObject<{
3675
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3676
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3677
+ }, "strip", z.ZodTypeAny, {
3678
+ x: number;
3679
+ y: number;
3680
+ }, {
3681
+ x: string | number;
3682
+ y: string | number;
3683
+ }>>;
3684
+ anchor_alignment: z.ZodDefault<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
3685
+ position_mode: z.ZodOptional<z.ZodEnum<["relative_to_panel_anchor", "none"]>>;
3672
3686
  }, "strip", z.ZodTypeAny, {
3673
3687
  type: "pcb_board";
3674
3688
  center: {
@@ -3679,9 +3693,13 @@ declare const pcb_board: z.ZodObject<{
3679
3693
  thickness: number;
3680
3694
  num_layers: number;
3681
3695
  material: "fr4" | "fr1";
3696
+ anchor_alignment: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
3682
3697
  width?: number | undefined;
3683
3698
  height?: number | undefined;
3699
+ display_offset_x?: string | undefined;
3700
+ display_offset_y?: string | undefined;
3684
3701
  subcircuit_id?: string | undefined;
3702
+ position_mode?: "none" | "relative_to_panel_anchor" | undefined;
3685
3703
  shape?: "rect" | "polygon" | undefined;
3686
3704
  pcb_panel_id?: string | undefined;
3687
3705
  is_subcircuit?: boolean | undefined;
@@ -3689,6 +3707,10 @@ declare const pcb_board: z.ZodObject<{
3689
3707
  x: number;
3690
3708
  y: number;
3691
3709
  }[] | undefined;
3710
+ anchor_position?: {
3711
+ x: number;
3712
+ y: number;
3713
+ } | undefined;
3692
3714
  }, {
3693
3715
  type: "pcb_board";
3694
3716
  center: {
@@ -3697,7 +3719,10 @@ declare const pcb_board: z.ZodObject<{
3697
3719
  };
3698
3720
  width?: string | number | undefined;
3699
3721
  height?: string | number | undefined;
3722
+ display_offset_x?: string | undefined;
3723
+ display_offset_y?: string | undefined;
3700
3724
  subcircuit_id?: string | undefined;
3725
+ position_mode?: "none" | "relative_to_panel_anchor" | undefined;
3701
3726
  shape?: "rect" | "polygon" | undefined;
3702
3727
  pcb_board_id?: string | undefined;
3703
3728
  pcb_panel_id?: string | undefined;
@@ -3709,6 +3734,11 @@ declare const pcb_board: z.ZodObject<{
3709
3734
  y: string | number;
3710
3735
  }[] | undefined;
3711
3736
  material?: "fr4" | "fr1" | undefined;
3737
+ anchor_position?: {
3738
+ x: string | number;
3739
+ y: string | number;
3740
+ } | undefined;
3741
+ anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
3712
3742
  }>;
3713
3743
  /**
3714
3744
  * Defines the board outline of the PCB
@@ -3721,12 +3751,17 @@ interface PcbBoard {
3721
3751
  subcircuit_id?: string;
3722
3752
  width?: Length;
3723
3753
  height?: Length;
3754
+ display_offset_x?: string;
3755
+ display_offset_y?: string;
3724
3756
  thickness: Length;
3725
3757
  num_layers: number;
3726
3758
  center: Point;
3727
3759
  outline?: Point[];
3728
3760
  shape?: "rect" | "polygon";
3729
3761
  material: "fr4" | "fr1";
3762
+ anchor_position?: Point;
3763
+ anchor_alignment: NinePointAnchor;
3764
+ position_mode?: "relative_to_panel_anchor" | "none";
3730
3765
  }
3731
3766
  type PcbBoardInput = z.input<typeof pcb_board>;
3732
3767
  /**
@@ -4081,14 +4116,14 @@ declare const pcb_silkscreen_text: z.ZodObject<{
4081
4116
  pcb_component_id: string;
4082
4117
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4083
4118
  text: string;
4084
- pcb_silkscreen_text_id: string;
4085
- font: "tscircuit2024";
4086
- font_size: number;
4087
4119
  anchor_position: {
4088
4120
  x: number;
4089
4121
  y: number;
4090
4122
  };
4091
4123
  anchor_alignment: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
4124
+ pcb_silkscreen_text_id: string;
4125
+ font: "tscircuit2024";
4126
+ font_size: number;
4092
4127
  subcircuit_id?: string | undefined;
4093
4128
  pcb_group_id?: string | undefined;
4094
4129
  ccw_rotation?: number | undefined;
@@ -4110,6 +4145,11 @@ declare const pcb_silkscreen_text: z.ZodObject<{
4110
4145
  subcircuit_id?: string | undefined;
4111
4146
  pcb_group_id?: string | undefined;
4112
4147
  ccw_rotation?: number | undefined;
4148
+ anchor_position?: {
4149
+ x: string | number;
4150
+ y: string | number;
4151
+ } | undefined;
4152
+ anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
4113
4153
  pcb_silkscreen_text_id?: string | undefined;
4114
4154
  font?: "tscircuit2024" | undefined;
4115
4155
  font_size?: string | number | undefined;
@@ -4121,11 +4161,6 @@ declare const pcb_silkscreen_text: z.ZodObject<{
4121
4161
  right: string | number;
4122
4162
  } | undefined;
4123
4163
  is_mirrored?: boolean | undefined;
4124
- anchor_position?: {
4125
- x: string | number;
4126
- y: string | number;
4127
- } | undefined;
4128
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
4129
4164
  }>;
4130
4165
  type PcbSilkscreenTextInput = z.input<typeof pcb_silkscreen_text>;
4131
4166
  /**
@@ -4211,13 +4246,13 @@ declare const pcb_copper_text: z.ZodObject<{
4211
4246
  pcb_component_id: string;
4212
4247
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4213
4248
  text: string;
4214
- font: "tscircuit2024";
4215
- font_size: number;
4216
4249
  anchor_position: {
4217
4250
  x: number;
4218
4251
  y: number;
4219
4252
  };
4220
4253
  anchor_alignment: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
4254
+ font: "tscircuit2024";
4255
+ font_size: number;
4221
4256
  pcb_copper_text_id: string;
4222
4257
  subcircuit_id?: string | undefined;
4223
4258
  pcb_group_id?: string | undefined;
@@ -4240,6 +4275,11 @@ declare const pcb_copper_text: z.ZodObject<{
4240
4275
  subcircuit_id?: string | undefined;
4241
4276
  pcb_group_id?: string | undefined;
4242
4277
  ccw_rotation?: number | undefined;
4278
+ anchor_position?: {
4279
+ x: string | number;
4280
+ y: string | number;
4281
+ } | undefined;
4282
+ anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
4243
4283
  font?: "tscircuit2024" | undefined;
4244
4284
  font_size?: string | number | undefined;
4245
4285
  is_knockout?: boolean | undefined;
@@ -4250,11 +4290,6 @@ declare const pcb_copper_text: z.ZodObject<{
4250
4290
  right: string | number;
4251
4291
  } | undefined;
4252
4292
  is_mirrored?: boolean | undefined;
4253
- anchor_position?: {
4254
- x: string | number;
4255
- y: string | number;
4256
- } | undefined;
4257
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
4258
4293
  pcb_copper_text_id?: string | undefined;
4259
4294
  }>;
4260
4295
  type PcbCopperTextInput = z.input<typeof pcb_copper_text>;
@@ -4615,13 +4650,13 @@ declare const pcb_fabrication_note_text: z.ZodObject<{
4615
4650
  pcb_component_id: string;
4616
4651
  layer: "top" | "bottom";
4617
4652
  text: string;
4618
- font: "tscircuit2024";
4619
- font_size: number;
4620
4653
  anchor_position: {
4621
4654
  x: number;
4622
4655
  y: number;
4623
4656
  };
4624
4657
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
4658
+ font: "tscircuit2024";
4659
+ font_size: number;
4625
4660
  pcb_fabrication_note_text_id: string;
4626
4661
  subcircuit_id?: string | undefined;
4627
4662
  pcb_group_id?: string | undefined;
@@ -4633,13 +4668,13 @@ declare const pcb_fabrication_note_text: z.ZodObject<{
4633
4668
  text: string;
4634
4669
  subcircuit_id?: string | undefined;
4635
4670
  pcb_group_id?: string | undefined;
4636
- font?: "tscircuit2024" | undefined;
4637
- font_size?: string | number | undefined;
4638
4671
  anchor_position?: {
4639
4672
  x: string | number;
4640
4673
  y: string | number;
4641
4674
  } | undefined;
4642
4675
  anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
4676
+ font?: "tscircuit2024" | undefined;
4677
+ font_size?: string | number | undefined;
4643
4678
  pcb_fabrication_note_text_id?: string | undefined;
4644
4679
  color?: string | undefined;
4645
4680
  }>;
@@ -4983,13 +5018,13 @@ declare const pcb_note_text: z.ZodObject<{
4983
5018
  color: z.ZodOptional<z.ZodString>;
4984
5019
  }, "strip", z.ZodTypeAny, {
4985
5020
  type: "pcb_note_text";
4986
- font: "tscircuit2024";
4987
- font_size: number;
4988
5021
  anchor_position: {
4989
5022
  x: number;
4990
5023
  y: number;
4991
5024
  };
4992
5025
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
5026
+ font: "tscircuit2024";
5027
+ font_size: number;
4993
5028
  pcb_note_text_id: string;
4994
5029
  name?: string | undefined;
4995
5030
  pcb_component_id?: string | undefined;
@@ -5004,13 +5039,13 @@ declare const pcb_note_text: z.ZodObject<{
5004
5039
  subcircuit_id?: string | undefined;
5005
5040
  pcb_group_id?: string | undefined;
5006
5041
  text?: string | undefined;
5007
- font?: "tscircuit2024" | undefined;
5008
- font_size?: string | number | undefined;
5009
5042
  anchor_position?: {
5010
5043
  x: string | number;
5011
5044
  y: string | number;
5012
5045
  } | undefined;
5013
5046
  anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
5047
+ font?: "tscircuit2024" | undefined;
5048
+ font_size?: string | number | undefined;
5014
5049
  color?: string | undefined;
5015
5050
  pcb_note_text_id?: string | undefined;
5016
5051
  }>;
@@ -9754,6 +9789,183 @@ interface SimulationAcVoltageSource {
9754
9789
  }
9755
9790
  type SimulationVoltageSource = SimulationDcVoltageSource | SimulationAcVoltageSource;
9756
9791
 
9792
+ declare const simulation_dc_current_source: z.ZodObject<{
9793
+ type: z.ZodLiteral<"simulation_current_source">;
9794
+ simulation_current_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9795
+ is_dc_source: z.ZodDefault<z.ZodOptional<z.ZodLiteral<true>>>;
9796
+ positive_source_port_id: z.ZodOptional<z.ZodString>;
9797
+ negative_source_port_id: z.ZodOptional<z.ZodString>;
9798
+ positive_source_net_id: z.ZodOptional<z.ZodString>;
9799
+ negative_source_net_id: z.ZodOptional<z.ZodString>;
9800
+ current: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9801
+ }, "strip", z.ZodTypeAny, {
9802
+ type: "simulation_current_source";
9803
+ is_dc_source: true;
9804
+ simulation_current_source_id: string;
9805
+ current: number;
9806
+ positive_source_port_id?: string | undefined;
9807
+ negative_source_port_id?: string | undefined;
9808
+ positive_source_net_id?: string | undefined;
9809
+ negative_source_net_id?: string | undefined;
9810
+ }, {
9811
+ type: "simulation_current_source";
9812
+ current: string | number;
9813
+ is_dc_source?: true | undefined;
9814
+ positive_source_port_id?: string | undefined;
9815
+ negative_source_port_id?: string | undefined;
9816
+ positive_source_net_id?: string | undefined;
9817
+ negative_source_net_id?: string | undefined;
9818
+ simulation_current_source_id?: string | undefined;
9819
+ }>;
9820
+ declare const simulation_ac_current_source: z.ZodObject<{
9821
+ type: z.ZodLiteral<"simulation_current_source">;
9822
+ simulation_current_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9823
+ is_dc_source: z.ZodLiteral<false>;
9824
+ terminal1_source_port_id: z.ZodOptional<z.ZodString>;
9825
+ terminal2_source_port_id: z.ZodOptional<z.ZodString>;
9826
+ terminal1_source_net_id: z.ZodOptional<z.ZodString>;
9827
+ terminal2_source_net_id: z.ZodOptional<z.ZodString>;
9828
+ current: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
9829
+ frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
9830
+ peak_to_peak_current: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
9831
+ wave_shape: z.ZodOptional<z.ZodEnum<["sinewave", "square", "triangle", "sawtooth"]>>;
9832
+ phase: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
9833
+ duty_cycle: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>;
9834
+ }, "strip", z.ZodTypeAny, {
9835
+ type: "simulation_current_source";
9836
+ is_dc_source: false;
9837
+ simulation_current_source_id: string;
9838
+ terminal1_source_port_id?: string | undefined;
9839
+ terminal2_source_port_id?: string | undefined;
9840
+ terminal1_source_net_id?: string | undefined;
9841
+ terminal2_source_net_id?: string | undefined;
9842
+ frequency?: number | undefined;
9843
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
9844
+ phase?: number | undefined;
9845
+ duty_cycle?: number | undefined;
9846
+ current?: number | undefined;
9847
+ peak_to_peak_current?: number | undefined;
9848
+ }, {
9849
+ type: "simulation_current_source";
9850
+ is_dc_source: false;
9851
+ terminal1_source_port_id?: string | undefined;
9852
+ terminal2_source_port_id?: string | undefined;
9853
+ terminal1_source_net_id?: string | undefined;
9854
+ terminal2_source_net_id?: string | undefined;
9855
+ frequency?: string | number | undefined;
9856
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
9857
+ phase?: string | number | undefined;
9858
+ duty_cycle?: string | number | undefined;
9859
+ simulation_current_source_id?: string | undefined;
9860
+ current?: string | number | undefined;
9861
+ peak_to_peak_current?: string | number | undefined;
9862
+ }>;
9863
+ type SimulationAcCurrentSourceInput = z.input<typeof simulation_ac_current_source>;
9864
+ declare const simulation_current_source: z.ZodUnion<[z.ZodObject<{
9865
+ type: z.ZodLiteral<"simulation_current_source">;
9866
+ simulation_current_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9867
+ is_dc_source: z.ZodDefault<z.ZodOptional<z.ZodLiteral<true>>>;
9868
+ positive_source_port_id: z.ZodOptional<z.ZodString>;
9869
+ negative_source_port_id: z.ZodOptional<z.ZodString>;
9870
+ positive_source_net_id: z.ZodOptional<z.ZodString>;
9871
+ negative_source_net_id: z.ZodOptional<z.ZodString>;
9872
+ current: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9873
+ }, "strip", z.ZodTypeAny, {
9874
+ type: "simulation_current_source";
9875
+ is_dc_source: true;
9876
+ simulation_current_source_id: string;
9877
+ current: number;
9878
+ positive_source_port_id?: string | undefined;
9879
+ negative_source_port_id?: string | undefined;
9880
+ positive_source_net_id?: string | undefined;
9881
+ negative_source_net_id?: string | undefined;
9882
+ }, {
9883
+ type: "simulation_current_source";
9884
+ current: string | number;
9885
+ is_dc_source?: true | undefined;
9886
+ positive_source_port_id?: string | undefined;
9887
+ negative_source_port_id?: string | undefined;
9888
+ positive_source_net_id?: string | undefined;
9889
+ negative_source_net_id?: string | undefined;
9890
+ simulation_current_source_id?: string | undefined;
9891
+ }>, z.ZodObject<{
9892
+ type: z.ZodLiteral<"simulation_current_source">;
9893
+ simulation_current_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9894
+ is_dc_source: z.ZodLiteral<false>;
9895
+ terminal1_source_port_id: z.ZodOptional<z.ZodString>;
9896
+ terminal2_source_port_id: z.ZodOptional<z.ZodString>;
9897
+ terminal1_source_net_id: z.ZodOptional<z.ZodString>;
9898
+ terminal2_source_net_id: z.ZodOptional<z.ZodString>;
9899
+ current: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
9900
+ frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
9901
+ peak_to_peak_current: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
9902
+ wave_shape: z.ZodOptional<z.ZodEnum<["sinewave", "square", "triangle", "sawtooth"]>>;
9903
+ phase: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
9904
+ duty_cycle: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>;
9905
+ }, "strip", z.ZodTypeAny, {
9906
+ type: "simulation_current_source";
9907
+ is_dc_source: false;
9908
+ simulation_current_source_id: string;
9909
+ terminal1_source_port_id?: string | undefined;
9910
+ terminal2_source_port_id?: string | undefined;
9911
+ terminal1_source_net_id?: string | undefined;
9912
+ terminal2_source_net_id?: string | undefined;
9913
+ frequency?: number | undefined;
9914
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
9915
+ phase?: number | undefined;
9916
+ duty_cycle?: number | undefined;
9917
+ current?: number | undefined;
9918
+ peak_to_peak_current?: number | undefined;
9919
+ }, {
9920
+ type: "simulation_current_source";
9921
+ is_dc_source: false;
9922
+ terminal1_source_port_id?: string | undefined;
9923
+ terminal2_source_port_id?: string | undefined;
9924
+ terminal1_source_net_id?: string | undefined;
9925
+ terminal2_source_net_id?: string | undefined;
9926
+ frequency?: string | number | undefined;
9927
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
9928
+ phase?: string | number | undefined;
9929
+ duty_cycle?: string | number | undefined;
9930
+ simulation_current_source_id?: string | undefined;
9931
+ current?: string | number | undefined;
9932
+ peak_to_peak_current?: string | number | undefined;
9933
+ }>]>;
9934
+ type SimulationCurrentSourceInput = z.input<typeof simulation_current_source>;
9935
+ /**
9936
+ * Defines a DC current source for simulation purposes. It forces a current
9937
+ * between two source ports.
9938
+ */
9939
+ interface SimulationDcCurrentSource {
9940
+ type: "simulation_current_source";
9941
+ simulation_current_source_id: string;
9942
+ is_dc_source: true;
9943
+ positive_source_port_id?: string;
9944
+ positive_source_net_id?: string;
9945
+ negative_source_port_id?: string;
9946
+ negative_source_net_id?: string;
9947
+ current: number;
9948
+ }
9949
+ /**
9950
+ * Defines an AC current source for simulation purposes.
9951
+ */
9952
+ interface SimulationAcCurrentSource {
9953
+ type: "simulation_current_source";
9954
+ simulation_current_source_id: string;
9955
+ is_dc_source: false;
9956
+ terminal1_source_port_id?: string;
9957
+ terminal2_source_port_id?: string;
9958
+ terminal1_source_net_id?: string;
9959
+ terminal2_source_net_id?: string;
9960
+ current?: number;
9961
+ frequency?: number;
9962
+ peak_to_peak_current?: number;
9963
+ wave_shape?: WaveShape;
9964
+ phase?: number;
9965
+ duty_cycle?: number;
9966
+ }
9967
+ type SimulationCurrentSource = SimulationDcCurrentSource | SimulationAcCurrentSource;
9968
+
9757
9969
  declare const experiment_type: z.ZodUnion<[z.ZodLiteral<"spice_dc_sweep">, z.ZodLiteral<"spice_dc_operating_point">, z.ZodLiteral<"spice_transient_analysis">, z.ZodLiteral<"spice_ac_analysis">]>;
9758
9970
  type ExperimentType = z.infer<typeof experiment_type>;
9759
9971
  interface SimulationExperiment {
@@ -17230,6 +17442,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17230
17442
  x: string | number;
17231
17443
  y: string | number;
17232
17444
  }>;
17445
+ display_offset_x: z.ZodOptional<z.ZodString>;
17446
+ display_offset_y: z.ZodOptional<z.ZodString>;
17233
17447
  thickness: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
17234
17448
  num_layers: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
17235
17449
  outline: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -17244,6 +17458,18 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17244
17458
  }>, "many">>;
17245
17459
  shape: z.ZodOptional<z.ZodEnum<["rect", "polygon"]>>;
17246
17460
  material: z.ZodDefault<z.ZodEnum<["fr4", "fr1"]>>;
17461
+ anchor_position: z.ZodOptional<z.ZodObject<{
17462
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
17463
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
17464
+ }, "strip", z.ZodTypeAny, {
17465
+ x: number;
17466
+ y: number;
17467
+ }, {
17468
+ x: string | number;
17469
+ y: string | number;
17470
+ }>>;
17471
+ anchor_alignment: z.ZodDefault<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
17472
+ position_mode: z.ZodOptional<z.ZodEnum<["relative_to_panel_anchor", "none"]>>;
17247
17473
  }, "strip", z.ZodTypeAny, {
17248
17474
  type: "pcb_board";
17249
17475
  center: {
@@ -17254,9 +17480,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17254
17480
  thickness: number;
17255
17481
  num_layers: number;
17256
17482
  material: "fr4" | "fr1";
17483
+ anchor_alignment: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
17257
17484
  width?: number | undefined;
17258
17485
  height?: number | undefined;
17486
+ display_offset_x?: string | undefined;
17487
+ display_offset_y?: string | undefined;
17259
17488
  subcircuit_id?: string | undefined;
17489
+ position_mode?: "none" | "relative_to_panel_anchor" | undefined;
17260
17490
  shape?: "rect" | "polygon" | undefined;
17261
17491
  pcb_panel_id?: string | undefined;
17262
17492
  is_subcircuit?: boolean | undefined;
@@ -17264,6 +17494,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17264
17494
  x: number;
17265
17495
  y: number;
17266
17496
  }[] | undefined;
17497
+ anchor_position?: {
17498
+ x: number;
17499
+ y: number;
17500
+ } | undefined;
17267
17501
  }, {
17268
17502
  type: "pcb_board";
17269
17503
  center: {
@@ -17272,7 +17506,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17272
17506
  };
17273
17507
  width?: string | number | undefined;
17274
17508
  height?: string | number | undefined;
17509
+ display_offset_x?: string | undefined;
17510
+ display_offset_y?: string | undefined;
17275
17511
  subcircuit_id?: string | undefined;
17512
+ position_mode?: "none" | "relative_to_panel_anchor" | undefined;
17276
17513
  shape?: "rect" | "polygon" | undefined;
17277
17514
  pcb_board_id?: string | undefined;
17278
17515
  pcb_panel_id?: string | undefined;
@@ -17284,6 +17521,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17284
17521
  y: string | number;
17285
17522
  }[] | undefined;
17286
17523
  material?: "fr4" | "fr1" | undefined;
17524
+ anchor_position?: {
17525
+ x: string | number;
17526
+ y: string | number;
17527
+ } | undefined;
17528
+ anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
17287
17529
  }>, z.ZodObject<{
17288
17530
  type: z.ZodLiteral<"pcb_panel">;
17289
17531
  pcb_panel_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -17641,14 +17883,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17641
17883
  pcb_component_id: string;
17642
17884
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
17643
17885
  text: string;
17644
- pcb_silkscreen_text_id: string;
17645
- font: "tscircuit2024";
17646
- font_size: number;
17647
17886
  anchor_position: {
17648
17887
  x: number;
17649
17888
  y: number;
17650
17889
  };
17651
17890
  anchor_alignment: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
17891
+ pcb_silkscreen_text_id: string;
17892
+ font: "tscircuit2024";
17893
+ font_size: number;
17652
17894
  subcircuit_id?: string | undefined;
17653
17895
  pcb_group_id?: string | undefined;
17654
17896
  ccw_rotation?: number | undefined;
@@ -17670,6 +17912,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17670
17912
  subcircuit_id?: string | undefined;
17671
17913
  pcb_group_id?: string | undefined;
17672
17914
  ccw_rotation?: number | undefined;
17915
+ anchor_position?: {
17916
+ x: string | number;
17917
+ y: string | number;
17918
+ } | undefined;
17919
+ anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
17673
17920
  pcb_silkscreen_text_id?: string | undefined;
17674
17921
  font?: "tscircuit2024" | undefined;
17675
17922
  font_size?: string | number | undefined;
@@ -17681,11 +17928,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17681
17928
  right: string | number;
17682
17929
  } | undefined;
17683
17930
  is_mirrored?: boolean | undefined;
17684
- anchor_position?: {
17685
- x: string | number;
17686
- y: string | number;
17687
- } | undefined;
17688
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
17689
17931
  }>, z.ZodObject<{
17690
17932
  type: z.ZodLiteral<"pcb_silkscreen_pill">;
17691
17933
  pcb_silkscreen_pill_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -17794,13 +18036,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17794
18036
  pcb_component_id: string;
17795
18037
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
17796
18038
  text: string;
17797
- font: "tscircuit2024";
17798
- font_size: number;
17799
18039
  anchor_position: {
17800
18040
  x: number;
17801
18041
  y: number;
17802
18042
  };
17803
18043
  anchor_alignment: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
18044
+ font: "tscircuit2024";
18045
+ font_size: number;
17804
18046
  pcb_copper_text_id: string;
17805
18047
  subcircuit_id?: string | undefined;
17806
18048
  pcb_group_id?: string | undefined;
@@ -17823,6 +18065,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17823
18065
  subcircuit_id?: string | undefined;
17824
18066
  pcb_group_id?: string | undefined;
17825
18067
  ccw_rotation?: number | undefined;
18068
+ anchor_position?: {
18069
+ x: string | number;
18070
+ y: string | number;
18071
+ } | undefined;
18072
+ anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
17826
18073
  font?: "tscircuit2024" | undefined;
17827
18074
  font_size?: string | number | undefined;
17828
18075
  is_knockout?: boolean | undefined;
@@ -17833,11 +18080,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17833
18080
  right: string | number;
17834
18081
  } | undefined;
17835
18082
  is_mirrored?: boolean | undefined;
17836
- anchor_position?: {
17837
- x: string | number;
17838
- y: string | number;
17839
- } | undefined;
17840
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
17841
18083
  pcb_copper_text_id?: string | undefined;
17842
18084
  }>, z.ZodObject<{
17843
18085
  type: z.ZodLiteral<"pcb_silkscreen_rect">;
@@ -18279,13 +18521,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
18279
18521
  pcb_component_id: string;
18280
18522
  layer: "top" | "bottom";
18281
18523
  text: string;
18282
- font: "tscircuit2024";
18283
- font_size: number;
18284
18524
  anchor_position: {
18285
18525
  x: number;
18286
18526
  y: number;
18287
18527
  };
18288
18528
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
18529
+ font: "tscircuit2024";
18530
+ font_size: number;
18289
18531
  pcb_fabrication_note_text_id: string;
18290
18532
  subcircuit_id?: string | undefined;
18291
18533
  pcb_group_id?: string | undefined;
@@ -18297,13 +18539,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
18297
18539
  text: string;
18298
18540
  subcircuit_id?: string | undefined;
18299
18541
  pcb_group_id?: string | undefined;
18300
- font?: "tscircuit2024" | undefined;
18301
- font_size?: string | number | undefined;
18302
18542
  anchor_position?: {
18303
18543
  x: string | number;
18304
18544
  y: string | number;
18305
18545
  } | undefined;
18306
18546
  anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
18547
+ font?: "tscircuit2024" | undefined;
18548
+ font_size?: string | number | undefined;
18307
18549
  pcb_fabrication_note_text_id?: string | undefined;
18308
18550
  color?: string | undefined;
18309
18551
  }>, z.ZodObject<{
@@ -18492,13 +18734,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
18492
18734
  color: z.ZodOptional<z.ZodString>;
18493
18735
  }, "strip", z.ZodTypeAny, {
18494
18736
  type: "pcb_note_text";
18495
- font: "tscircuit2024";
18496
- font_size: number;
18497
18737
  anchor_position: {
18498
18738
  x: number;
18499
18739
  y: number;
18500
18740
  };
18501
18741
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
18742
+ font: "tscircuit2024";
18743
+ font_size: number;
18502
18744
  pcb_note_text_id: string;
18503
18745
  name?: string | undefined;
18504
18746
  pcb_component_id?: string | undefined;
@@ -18513,13 +18755,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
18513
18755
  subcircuit_id?: string | undefined;
18514
18756
  pcb_group_id?: string | undefined;
18515
18757
  text?: string | undefined;
18516
- font?: "tscircuit2024" | undefined;
18517
- font_size?: string | number | undefined;
18518
18758
  anchor_position?: {
18519
18759
  x: string | number;
18520
18760
  y: string | number;
18521
18761
  } | undefined;
18522
18762
  anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
18763
+ font?: "tscircuit2024" | undefined;
18764
+ font_size?: string | number | undefined;
18523
18765
  color?: string | undefined;
18524
18766
  pcb_note_text_id?: string | undefined;
18525
18767
  }>, z.ZodObject<{
@@ -21114,6 +21356,75 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
21114
21356
  wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
21115
21357
  phase?: string | number | undefined;
21116
21358
  duty_cycle?: string | number | undefined;
21359
+ }>]>, z.ZodUnion<[z.ZodObject<{
21360
+ type: z.ZodLiteral<"simulation_current_source">;
21361
+ simulation_current_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
21362
+ is_dc_source: z.ZodDefault<z.ZodOptional<z.ZodLiteral<true>>>;
21363
+ positive_source_port_id: z.ZodOptional<z.ZodString>;
21364
+ negative_source_port_id: z.ZodOptional<z.ZodString>;
21365
+ positive_source_net_id: z.ZodOptional<z.ZodString>;
21366
+ negative_source_net_id: z.ZodOptional<z.ZodString>;
21367
+ current: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
21368
+ }, "strip", z.ZodTypeAny, {
21369
+ type: "simulation_current_source";
21370
+ is_dc_source: true;
21371
+ simulation_current_source_id: string;
21372
+ current: number;
21373
+ positive_source_port_id?: string | undefined;
21374
+ negative_source_port_id?: string | undefined;
21375
+ positive_source_net_id?: string | undefined;
21376
+ negative_source_net_id?: string | undefined;
21377
+ }, {
21378
+ type: "simulation_current_source";
21379
+ current: string | number;
21380
+ is_dc_source?: true | undefined;
21381
+ positive_source_port_id?: string | undefined;
21382
+ negative_source_port_id?: string | undefined;
21383
+ positive_source_net_id?: string | undefined;
21384
+ negative_source_net_id?: string | undefined;
21385
+ simulation_current_source_id?: string | undefined;
21386
+ }>, z.ZodObject<{
21387
+ type: z.ZodLiteral<"simulation_current_source">;
21388
+ simulation_current_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
21389
+ is_dc_source: z.ZodLiteral<false>;
21390
+ terminal1_source_port_id: z.ZodOptional<z.ZodString>;
21391
+ terminal2_source_port_id: z.ZodOptional<z.ZodString>;
21392
+ terminal1_source_net_id: z.ZodOptional<z.ZodString>;
21393
+ terminal2_source_net_id: z.ZodOptional<z.ZodString>;
21394
+ current: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
21395
+ frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
21396
+ peak_to_peak_current: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
21397
+ wave_shape: z.ZodOptional<z.ZodEnum<["sinewave", "square", "triangle", "sawtooth"]>>;
21398
+ phase: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
21399
+ duty_cycle: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>;
21400
+ }, "strip", z.ZodTypeAny, {
21401
+ type: "simulation_current_source";
21402
+ is_dc_source: false;
21403
+ simulation_current_source_id: string;
21404
+ terminal1_source_port_id?: string | undefined;
21405
+ terminal2_source_port_id?: string | undefined;
21406
+ terminal1_source_net_id?: string | undefined;
21407
+ terminal2_source_net_id?: string | undefined;
21408
+ frequency?: number | undefined;
21409
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
21410
+ phase?: number | undefined;
21411
+ duty_cycle?: number | undefined;
21412
+ current?: number | undefined;
21413
+ peak_to_peak_current?: number | undefined;
21414
+ }, {
21415
+ type: "simulation_current_source";
21416
+ is_dc_source: false;
21417
+ terminal1_source_port_id?: string | undefined;
21418
+ terminal2_source_port_id?: string | undefined;
21419
+ terminal1_source_net_id?: string | undefined;
21420
+ terminal2_source_net_id?: string | undefined;
21421
+ frequency?: string | number | undefined;
21422
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
21423
+ phase?: string | number | undefined;
21424
+ duty_cycle?: string | number | undefined;
21425
+ simulation_current_source_id?: string | undefined;
21426
+ current?: string | number | undefined;
21427
+ peak_to_peak_current?: string | number | undefined;
21117
21428
  }>]>, z.ZodObject<{
21118
21429
  type: z.ZodLiteral<"simulation_experiment">;
21119
21430
  simulation_experiment_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -25375,6 +25686,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25375
25686
  x: string | number;
25376
25687
  y: string | number;
25377
25688
  }>;
25689
+ display_offset_x: z.ZodOptional<z.ZodString>;
25690
+ display_offset_y: z.ZodOptional<z.ZodString>;
25378
25691
  thickness: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
25379
25692
  num_layers: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
25380
25693
  outline: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -25389,6 +25702,18 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25389
25702
  }>, "many">>;
25390
25703
  shape: z.ZodOptional<z.ZodEnum<["rect", "polygon"]>>;
25391
25704
  material: z.ZodDefault<z.ZodEnum<["fr4", "fr1"]>>;
25705
+ anchor_position: z.ZodOptional<z.ZodObject<{
25706
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
25707
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
25708
+ }, "strip", z.ZodTypeAny, {
25709
+ x: number;
25710
+ y: number;
25711
+ }, {
25712
+ x: string | number;
25713
+ y: string | number;
25714
+ }>>;
25715
+ anchor_alignment: z.ZodDefault<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
25716
+ position_mode: z.ZodOptional<z.ZodEnum<["relative_to_panel_anchor", "none"]>>;
25392
25717
  }, "strip", z.ZodTypeAny, {
25393
25718
  type: "pcb_board";
25394
25719
  center: {
@@ -25399,9 +25724,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25399
25724
  thickness: number;
25400
25725
  num_layers: number;
25401
25726
  material: "fr4" | "fr1";
25727
+ anchor_alignment: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
25402
25728
  width?: number | undefined;
25403
25729
  height?: number | undefined;
25730
+ display_offset_x?: string | undefined;
25731
+ display_offset_y?: string | undefined;
25404
25732
  subcircuit_id?: string | undefined;
25733
+ position_mode?: "none" | "relative_to_panel_anchor" | undefined;
25405
25734
  shape?: "rect" | "polygon" | undefined;
25406
25735
  pcb_panel_id?: string | undefined;
25407
25736
  is_subcircuit?: boolean | undefined;
@@ -25409,6 +25738,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25409
25738
  x: number;
25410
25739
  y: number;
25411
25740
  }[] | undefined;
25741
+ anchor_position?: {
25742
+ x: number;
25743
+ y: number;
25744
+ } | undefined;
25412
25745
  }, {
25413
25746
  type: "pcb_board";
25414
25747
  center: {
@@ -25417,7 +25750,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25417
25750
  };
25418
25751
  width?: string | number | undefined;
25419
25752
  height?: string | number | undefined;
25753
+ display_offset_x?: string | undefined;
25754
+ display_offset_y?: string | undefined;
25420
25755
  subcircuit_id?: string | undefined;
25756
+ position_mode?: "none" | "relative_to_panel_anchor" | undefined;
25421
25757
  shape?: "rect" | "polygon" | undefined;
25422
25758
  pcb_board_id?: string | undefined;
25423
25759
  pcb_panel_id?: string | undefined;
@@ -25429,6 +25765,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25429
25765
  y: string | number;
25430
25766
  }[] | undefined;
25431
25767
  material?: "fr4" | "fr1" | undefined;
25768
+ anchor_position?: {
25769
+ x: string | number;
25770
+ y: string | number;
25771
+ } | undefined;
25772
+ anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
25432
25773
  }>, z.ZodObject<{
25433
25774
  type: z.ZodLiteral<"pcb_panel">;
25434
25775
  pcb_panel_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -25786,14 +26127,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25786
26127
  pcb_component_id: string;
25787
26128
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
25788
26129
  text: string;
25789
- pcb_silkscreen_text_id: string;
25790
- font: "tscircuit2024";
25791
- font_size: number;
25792
26130
  anchor_position: {
25793
26131
  x: number;
25794
26132
  y: number;
25795
26133
  };
25796
26134
  anchor_alignment: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
26135
+ pcb_silkscreen_text_id: string;
26136
+ font: "tscircuit2024";
26137
+ font_size: number;
25797
26138
  subcircuit_id?: string | undefined;
25798
26139
  pcb_group_id?: string | undefined;
25799
26140
  ccw_rotation?: number | undefined;
@@ -25815,6 +26156,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25815
26156
  subcircuit_id?: string | undefined;
25816
26157
  pcb_group_id?: string | undefined;
25817
26158
  ccw_rotation?: number | undefined;
26159
+ anchor_position?: {
26160
+ x: string | number;
26161
+ y: string | number;
26162
+ } | undefined;
26163
+ anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
25818
26164
  pcb_silkscreen_text_id?: string | undefined;
25819
26165
  font?: "tscircuit2024" | undefined;
25820
26166
  font_size?: string | number | undefined;
@@ -25826,11 +26172,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25826
26172
  right: string | number;
25827
26173
  } | undefined;
25828
26174
  is_mirrored?: boolean | undefined;
25829
- anchor_position?: {
25830
- x: string | number;
25831
- y: string | number;
25832
- } | undefined;
25833
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
25834
26175
  }>, z.ZodObject<{
25835
26176
  type: z.ZodLiteral<"pcb_silkscreen_pill">;
25836
26177
  pcb_silkscreen_pill_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -25939,13 +26280,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25939
26280
  pcb_component_id: string;
25940
26281
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
25941
26282
  text: string;
25942
- font: "tscircuit2024";
25943
- font_size: number;
25944
26283
  anchor_position: {
25945
26284
  x: number;
25946
26285
  y: number;
25947
26286
  };
25948
26287
  anchor_alignment: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
26288
+ font: "tscircuit2024";
26289
+ font_size: number;
25949
26290
  pcb_copper_text_id: string;
25950
26291
  subcircuit_id?: string | undefined;
25951
26292
  pcb_group_id?: string | undefined;
@@ -25968,6 +26309,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25968
26309
  subcircuit_id?: string | undefined;
25969
26310
  pcb_group_id?: string | undefined;
25970
26311
  ccw_rotation?: number | undefined;
26312
+ anchor_position?: {
26313
+ x: string | number;
26314
+ y: string | number;
26315
+ } | undefined;
26316
+ anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
25971
26317
  font?: "tscircuit2024" | undefined;
25972
26318
  font_size?: string | number | undefined;
25973
26319
  is_knockout?: boolean | undefined;
@@ -25978,11 +26324,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25978
26324
  right: string | number;
25979
26325
  } | undefined;
25980
26326
  is_mirrored?: boolean | undefined;
25981
- anchor_position?: {
25982
- x: string | number;
25983
- y: string | number;
25984
- } | undefined;
25985
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
25986
26327
  pcb_copper_text_id?: string | undefined;
25987
26328
  }>, z.ZodObject<{
25988
26329
  type: z.ZodLiteral<"pcb_silkscreen_rect">;
@@ -26424,13 +26765,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
26424
26765
  pcb_component_id: string;
26425
26766
  layer: "top" | "bottom";
26426
26767
  text: string;
26427
- font: "tscircuit2024";
26428
- font_size: number;
26429
26768
  anchor_position: {
26430
26769
  x: number;
26431
26770
  y: number;
26432
26771
  };
26433
26772
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
26773
+ font: "tscircuit2024";
26774
+ font_size: number;
26434
26775
  pcb_fabrication_note_text_id: string;
26435
26776
  subcircuit_id?: string | undefined;
26436
26777
  pcb_group_id?: string | undefined;
@@ -26442,13 +26783,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
26442
26783
  text: string;
26443
26784
  subcircuit_id?: string | undefined;
26444
26785
  pcb_group_id?: string | undefined;
26445
- font?: "tscircuit2024" | undefined;
26446
- font_size?: string | number | undefined;
26447
26786
  anchor_position?: {
26448
26787
  x: string | number;
26449
26788
  y: string | number;
26450
26789
  } | undefined;
26451
26790
  anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
26791
+ font?: "tscircuit2024" | undefined;
26792
+ font_size?: string | number | undefined;
26452
26793
  pcb_fabrication_note_text_id?: string | undefined;
26453
26794
  color?: string | undefined;
26454
26795
  }>, z.ZodObject<{
@@ -26637,13 +26978,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
26637
26978
  color: z.ZodOptional<z.ZodString>;
26638
26979
  }, "strip", z.ZodTypeAny, {
26639
26980
  type: "pcb_note_text";
26640
- font: "tscircuit2024";
26641
- font_size: number;
26642
26981
  anchor_position: {
26643
26982
  x: number;
26644
26983
  y: number;
26645
26984
  };
26646
26985
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
26986
+ font: "tscircuit2024";
26987
+ font_size: number;
26647
26988
  pcb_note_text_id: string;
26648
26989
  name?: string | undefined;
26649
26990
  pcb_component_id?: string | undefined;
@@ -26658,13 +26999,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
26658
26999
  subcircuit_id?: string | undefined;
26659
27000
  pcb_group_id?: string | undefined;
26660
27001
  text?: string | undefined;
26661
- font?: "tscircuit2024" | undefined;
26662
- font_size?: string | number | undefined;
26663
27002
  anchor_position?: {
26664
27003
  x: string | number;
26665
27004
  y: string | number;
26666
27005
  } | undefined;
26667
27006
  anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
27007
+ font?: "tscircuit2024" | undefined;
27008
+ font_size?: string | number | undefined;
26668
27009
  color?: string | undefined;
26669
27010
  pcb_note_text_id?: string | undefined;
26670
27011
  }>, z.ZodObject<{
@@ -29259,6 +29600,75 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
29259
29600
  wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
29260
29601
  phase?: string | number | undefined;
29261
29602
  duty_cycle?: string | number | undefined;
29603
+ }>]>, z.ZodUnion<[z.ZodObject<{
29604
+ type: z.ZodLiteral<"simulation_current_source">;
29605
+ simulation_current_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
29606
+ is_dc_source: z.ZodDefault<z.ZodOptional<z.ZodLiteral<true>>>;
29607
+ positive_source_port_id: z.ZodOptional<z.ZodString>;
29608
+ negative_source_port_id: z.ZodOptional<z.ZodString>;
29609
+ positive_source_net_id: z.ZodOptional<z.ZodString>;
29610
+ negative_source_net_id: z.ZodOptional<z.ZodString>;
29611
+ current: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
29612
+ }, "strip", z.ZodTypeAny, {
29613
+ type: "simulation_current_source";
29614
+ is_dc_source: true;
29615
+ simulation_current_source_id: string;
29616
+ current: number;
29617
+ positive_source_port_id?: string | undefined;
29618
+ negative_source_port_id?: string | undefined;
29619
+ positive_source_net_id?: string | undefined;
29620
+ negative_source_net_id?: string | undefined;
29621
+ }, {
29622
+ type: "simulation_current_source";
29623
+ current: string | number;
29624
+ is_dc_source?: true | undefined;
29625
+ positive_source_port_id?: string | undefined;
29626
+ negative_source_port_id?: string | undefined;
29627
+ positive_source_net_id?: string | undefined;
29628
+ negative_source_net_id?: string | undefined;
29629
+ simulation_current_source_id?: string | undefined;
29630
+ }>, z.ZodObject<{
29631
+ type: z.ZodLiteral<"simulation_current_source">;
29632
+ simulation_current_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
29633
+ is_dc_source: z.ZodLiteral<false>;
29634
+ terminal1_source_port_id: z.ZodOptional<z.ZodString>;
29635
+ terminal2_source_port_id: z.ZodOptional<z.ZodString>;
29636
+ terminal1_source_net_id: z.ZodOptional<z.ZodString>;
29637
+ terminal2_source_net_id: z.ZodOptional<z.ZodString>;
29638
+ current: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
29639
+ frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
29640
+ peak_to_peak_current: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
29641
+ wave_shape: z.ZodOptional<z.ZodEnum<["sinewave", "square", "triangle", "sawtooth"]>>;
29642
+ phase: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
29643
+ duty_cycle: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>;
29644
+ }, "strip", z.ZodTypeAny, {
29645
+ type: "simulation_current_source";
29646
+ is_dc_source: false;
29647
+ simulation_current_source_id: string;
29648
+ terminal1_source_port_id?: string | undefined;
29649
+ terminal2_source_port_id?: string | undefined;
29650
+ terminal1_source_net_id?: string | undefined;
29651
+ terminal2_source_net_id?: string | undefined;
29652
+ frequency?: number | undefined;
29653
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
29654
+ phase?: number | undefined;
29655
+ duty_cycle?: number | undefined;
29656
+ current?: number | undefined;
29657
+ peak_to_peak_current?: number | undefined;
29658
+ }, {
29659
+ type: "simulation_current_source";
29660
+ is_dc_source: false;
29661
+ terminal1_source_port_id?: string | undefined;
29662
+ terminal2_source_port_id?: string | undefined;
29663
+ terminal1_source_net_id?: string | undefined;
29664
+ terminal2_source_net_id?: string | undefined;
29665
+ frequency?: string | number | undefined;
29666
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
29667
+ phase?: string | number | undefined;
29668
+ duty_cycle?: string | number | undefined;
29669
+ simulation_current_source_id?: string | undefined;
29670
+ current?: string | number | undefined;
29671
+ peak_to_peak_current?: string | number | undefined;
29262
29672
  }>]>, z.ZodObject<{
29263
29673
  type: z.ZodLiteral<"simulation_experiment">;
29264
29674
  simulation_experiment_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -29439,4 +29849,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
29439
29849
  */
29440
29850
  type CircuitJson = AnyCircuitElement[];
29441
29851
 
29442
- export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPanel, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPath, type PcbCutoutPathInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircle, type PcbHoleCircleInput, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRect, type PcbHoleRectInput, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbHoleWithPolygonPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPanel, type PcbPanelInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenPill, type PcbSilkscreenPillDeprecated, type PcbSilkscreenPillInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicRect, type SchematicRectInput, type SchematicSheet, type SchematicSheetInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceComponentInternalConnection, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceInterconnect, type SourceInterconnectInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePinMustBeConnectedError, type SourcePinMustBeConnectedErrorInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleFiducial, type SourceSimpleFiducialInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceSimpleVoltageProbe, type SourceSimpleVoltageProbeInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_invalid_layer_error, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_outline, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_path, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_circle_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rect_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_panel, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_pill, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, pcb_via_clearance_error, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_sheet, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_experiment, simulation_switch, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_board, source_component_base, source_component_internal_connection, source_failed_to_create_component_error, source_group, source_interconnect, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_pin_must_be_connected_error, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_fiducial, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_simple_voltage_probe, source_trace, source_trace_not_connected_error, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };
29852
+ export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPanel, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPath, type PcbCutoutPathInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircle, type PcbHoleCircleInput, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRect, type PcbHoleRectInput, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbHoleWithPolygonPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPanel, type PcbPanelInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenPill, type PcbSilkscreenPillDeprecated, type PcbSilkscreenPillInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicRect, type SchematicRectInput, type SchematicSheet, type SchematicSheetInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcCurrentSource, type SimulationAcCurrentSourceInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationCurrentSource, type SimulationCurrentSourceInput, type SimulationDcCurrentSource, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceComponentInternalConnection, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceInterconnect, type SourceInterconnectInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePinMustBeConnectedError, type SourcePinMustBeConnectedErrorInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleFiducial, type SourceSimpleFiducialInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceSimpleVoltageProbe, type SourceSimpleVoltageProbeInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_invalid_layer_error, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_outline, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_path, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_circle_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rect_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_panel, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_pill, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, pcb_via_clearance_error, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_sheet, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_current_source, simulation_ac_voltage_source, simulation_current_source, simulation_dc_current_source, simulation_dc_voltage_source, simulation_experiment, simulation_switch, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_board, source_component_base, source_component_internal_connection, source_failed_to_create_component_error, source_group, source_interconnect, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_pin_must_be_connected_error, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_fiducial, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_simple_voltage_probe, source_trace, source_trace_not_connected_error, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };