circuit-json 0.0.178 → 0.0.180

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
@@ -3003,6 +3003,300 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
3003
3003
  type PCBKeepoutInput = z.input<typeof pcb_keepout>;
3004
3004
  type PCBKeepout = z.infer<typeof pcb_keepout>;
3005
3005
 
3006
+ declare const pcb_cutout_rect: z.ZodObject<z.objectUtil.extendShape<{
3007
+ type: z.ZodLiteral<"pcb_cutout">;
3008
+ pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3009
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3010
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3011
+ }, {
3012
+ shape: z.ZodLiteral<"rect">;
3013
+ center: z.ZodObject<{
3014
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3015
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3016
+ }, "strip", z.ZodTypeAny, {
3017
+ x: number;
3018
+ y: number;
3019
+ }, {
3020
+ x: string | number;
3021
+ y: string | number;
3022
+ }>;
3023
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3024
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3025
+ rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
3026
+ }>, "strip", z.ZodTypeAny, {
3027
+ type: "pcb_cutout";
3028
+ width: number;
3029
+ height: number;
3030
+ center: {
3031
+ x: number;
3032
+ y: number;
3033
+ };
3034
+ shape: "rect";
3035
+ pcb_cutout_id: string;
3036
+ rotation?: number | undefined;
3037
+ subcircuit_id?: string | undefined;
3038
+ pcb_group_id?: string | undefined;
3039
+ }, {
3040
+ type: "pcb_cutout";
3041
+ width: string | number;
3042
+ height: string | number;
3043
+ center: {
3044
+ x: string | number;
3045
+ y: string | number;
3046
+ };
3047
+ shape: "rect";
3048
+ rotation?: string | number | undefined;
3049
+ subcircuit_id?: string | undefined;
3050
+ pcb_group_id?: string | undefined;
3051
+ pcb_cutout_id?: string | undefined;
3052
+ }>;
3053
+ type PcbCutoutRectInput = z.input<typeof pcb_cutout_rect>;
3054
+ /**
3055
+ * Defines a rectangular cutout on the PCB.
3056
+ */
3057
+ interface PcbCutoutRect {
3058
+ type: "pcb_cutout";
3059
+ pcb_cutout_id: string;
3060
+ pcb_group_id?: string;
3061
+ subcircuit_id?: string;
3062
+ shape: "rect";
3063
+ center: Point;
3064
+ width: Length;
3065
+ height: Length;
3066
+ rotation?: Rotation;
3067
+ }
3068
+ declare const pcb_cutout_circle: z.ZodObject<z.objectUtil.extendShape<{
3069
+ type: z.ZodLiteral<"pcb_cutout">;
3070
+ pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3071
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3072
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3073
+ }, {
3074
+ shape: z.ZodLiteral<"circle">;
3075
+ center: z.ZodObject<{
3076
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3077
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3078
+ }, "strip", z.ZodTypeAny, {
3079
+ x: number;
3080
+ y: number;
3081
+ }, {
3082
+ x: string | number;
3083
+ y: string | number;
3084
+ }>;
3085
+ radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3086
+ }>, "strip", z.ZodTypeAny, {
3087
+ type: "pcb_cutout";
3088
+ center: {
3089
+ x: number;
3090
+ y: number;
3091
+ };
3092
+ shape: "circle";
3093
+ radius: number;
3094
+ pcb_cutout_id: string;
3095
+ subcircuit_id?: string | undefined;
3096
+ pcb_group_id?: string | undefined;
3097
+ }, {
3098
+ type: "pcb_cutout";
3099
+ center: {
3100
+ x: string | number;
3101
+ y: string | number;
3102
+ };
3103
+ shape: "circle";
3104
+ radius: string | number;
3105
+ subcircuit_id?: string | undefined;
3106
+ pcb_group_id?: string | undefined;
3107
+ pcb_cutout_id?: string | undefined;
3108
+ }>;
3109
+ type PcbCutoutCircleInput = z.input<typeof pcb_cutout_circle>;
3110
+ /**
3111
+ * Defines a circular cutout on the PCB.
3112
+ */
3113
+ interface PcbCutoutCircle {
3114
+ type: "pcb_cutout";
3115
+ pcb_cutout_id: string;
3116
+ pcb_group_id?: string;
3117
+ subcircuit_id?: string;
3118
+ shape: "circle";
3119
+ center: Point;
3120
+ radius: Length;
3121
+ }
3122
+ declare const pcb_cutout_polygon: z.ZodObject<z.objectUtil.extendShape<{
3123
+ type: z.ZodLiteral<"pcb_cutout">;
3124
+ pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3125
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3126
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3127
+ }, {
3128
+ shape: z.ZodLiteral<"polygon">;
3129
+ points: z.ZodArray<z.ZodObject<{
3130
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3131
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3132
+ }, "strip", z.ZodTypeAny, {
3133
+ x: number;
3134
+ y: number;
3135
+ }, {
3136
+ x: string | number;
3137
+ y: string | number;
3138
+ }>, "many">;
3139
+ }>, "strip", z.ZodTypeAny, {
3140
+ type: "pcb_cutout";
3141
+ shape: "polygon";
3142
+ pcb_cutout_id: string;
3143
+ points: {
3144
+ x: number;
3145
+ y: number;
3146
+ }[];
3147
+ subcircuit_id?: string | undefined;
3148
+ pcb_group_id?: string | undefined;
3149
+ }, {
3150
+ type: "pcb_cutout";
3151
+ shape: "polygon";
3152
+ points: {
3153
+ x: string | number;
3154
+ y: string | number;
3155
+ }[];
3156
+ subcircuit_id?: string | undefined;
3157
+ pcb_group_id?: string | undefined;
3158
+ pcb_cutout_id?: string | undefined;
3159
+ }>;
3160
+ type PcbCutoutPolygonInput = z.input<typeof pcb_cutout_polygon>;
3161
+ /**
3162
+ * Defines a polygonal cutout on the PCB, specified by a list of points.
3163
+ * The polygon should be closed (the last point implicitly connects to the first).
3164
+ */
3165
+ interface PcbCutoutPolygon {
3166
+ type: "pcb_cutout";
3167
+ pcb_cutout_id: string;
3168
+ pcb_group_id?: string;
3169
+ subcircuit_id?: string;
3170
+ shape: "polygon";
3171
+ points: Point[];
3172
+ }
3173
+ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
3174
+ type: z.ZodLiteral<"pcb_cutout">;
3175
+ pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3176
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3177
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3178
+ }, {
3179
+ shape: z.ZodLiteral<"rect">;
3180
+ center: z.ZodObject<{
3181
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3182
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3183
+ }, "strip", z.ZodTypeAny, {
3184
+ x: number;
3185
+ y: number;
3186
+ }, {
3187
+ x: string | number;
3188
+ y: string | number;
3189
+ }>;
3190
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3191
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3192
+ rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
3193
+ }>, "strip", z.ZodTypeAny, {
3194
+ type: "pcb_cutout";
3195
+ width: number;
3196
+ height: number;
3197
+ center: {
3198
+ x: number;
3199
+ y: number;
3200
+ };
3201
+ shape: "rect";
3202
+ pcb_cutout_id: string;
3203
+ rotation?: number | undefined;
3204
+ subcircuit_id?: string | undefined;
3205
+ pcb_group_id?: string | undefined;
3206
+ }, {
3207
+ type: "pcb_cutout";
3208
+ width: string | number;
3209
+ height: string | number;
3210
+ center: {
3211
+ x: string | number;
3212
+ y: string | number;
3213
+ };
3214
+ shape: "rect";
3215
+ rotation?: string | number | undefined;
3216
+ subcircuit_id?: string | undefined;
3217
+ pcb_group_id?: string | undefined;
3218
+ pcb_cutout_id?: string | undefined;
3219
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3220
+ type: z.ZodLiteral<"pcb_cutout">;
3221
+ pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3222
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3223
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3224
+ }, {
3225
+ shape: z.ZodLiteral<"circle">;
3226
+ center: z.ZodObject<{
3227
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3228
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3229
+ }, "strip", z.ZodTypeAny, {
3230
+ x: number;
3231
+ y: number;
3232
+ }, {
3233
+ x: string | number;
3234
+ y: string | number;
3235
+ }>;
3236
+ radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3237
+ }>, "strip", z.ZodTypeAny, {
3238
+ type: "pcb_cutout";
3239
+ center: {
3240
+ x: number;
3241
+ y: number;
3242
+ };
3243
+ shape: "circle";
3244
+ radius: number;
3245
+ pcb_cutout_id: string;
3246
+ subcircuit_id?: string | undefined;
3247
+ pcb_group_id?: string | undefined;
3248
+ }, {
3249
+ type: "pcb_cutout";
3250
+ center: {
3251
+ x: string | number;
3252
+ y: string | number;
3253
+ };
3254
+ shape: "circle";
3255
+ radius: string | number;
3256
+ subcircuit_id?: string | undefined;
3257
+ pcb_group_id?: string | undefined;
3258
+ pcb_cutout_id?: string | undefined;
3259
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3260
+ type: z.ZodLiteral<"pcb_cutout">;
3261
+ pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3262
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3263
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3264
+ }, {
3265
+ shape: z.ZodLiteral<"polygon">;
3266
+ points: z.ZodArray<z.ZodObject<{
3267
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3268
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3269
+ }, "strip", z.ZodTypeAny, {
3270
+ x: number;
3271
+ y: number;
3272
+ }, {
3273
+ x: string | number;
3274
+ y: string | number;
3275
+ }>, "many">;
3276
+ }>, "strip", z.ZodTypeAny, {
3277
+ type: "pcb_cutout";
3278
+ shape: "polygon";
3279
+ pcb_cutout_id: string;
3280
+ points: {
3281
+ x: number;
3282
+ y: number;
3283
+ }[];
3284
+ subcircuit_id?: string | undefined;
3285
+ pcb_group_id?: string | undefined;
3286
+ }, {
3287
+ type: "pcb_cutout";
3288
+ shape: "polygon";
3289
+ points: {
3290
+ x: string | number;
3291
+ y: string | number;
3292
+ }[];
3293
+ subcircuit_id?: string | undefined;
3294
+ pcb_group_id?: string | undefined;
3295
+ pcb_cutout_id?: string | undefined;
3296
+ }>]>;
3297
+ type PcbCutoutInput = z.input<typeof pcb_cutout>;
3298
+ type PcbCutout = PcbCutoutRect | PcbCutoutCircle | PcbCutoutPolygon;
3299
+
3006
3300
  declare const pcb_missing_footprint_error: z.ZodObject<{
3007
3301
  type: z.ZodLiteral<"pcb_missing_footprint_error">;
3008
3302
  pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -3176,7 +3470,7 @@ interface PcbManualEditConflictWarning {
3176
3470
  source_component_id: string;
3177
3471
  }
3178
3472
 
3179
- type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceError | PcbMissingFootprintError | PcbManualEditConflictWarning | PcbPortNotMatchedError | PcbVia | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbAutoroutingError;
3473
+ type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceError | PcbMissingFootprintError | PcbManualEditConflictWarning | PcbPortNotMatchedError | PcbVia | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbAutoroutingError | PcbCutout;
3180
3474
 
3181
3475
  interface SchematicBox {
3182
3476
  type: "schematic_box";
@@ -3234,20 +3528,20 @@ declare const schematic_path: z.ZodObject<{
3234
3528
  }>, "many">;
3235
3529
  }, "strip", z.ZodTypeAny, {
3236
3530
  type: "schematic_path";
3237
- schematic_component_id: string;
3238
3531
  points: {
3239
3532
  x: number;
3240
3533
  y: number;
3241
3534
  }[];
3535
+ schematic_component_id: string;
3242
3536
  fill_color?: "red" | "blue" | undefined;
3243
3537
  is_filled?: boolean | undefined;
3244
3538
  }, {
3245
3539
  type: "schematic_path";
3246
- schematic_component_id: string;
3247
3540
  points: {
3248
3541
  x: string | number;
3249
3542
  y: string | number;
3250
3543
  }[];
3544
+ schematic_component_id: string;
3251
3545
  fill_color?: "red" | "blue" | undefined;
3252
3546
  is_filled?: boolean | undefined;
3253
3547
  }>;
@@ -4487,6 +4781,76 @@ interface SchematicManualEditConflictWarning {
4487
4781
  source_component_id: string;
4488
4782
  }
4489
4783
 
4784
+ declare const schematic_group: z.ZodObject<{
4785
+ type: z.ZodLiteral<"schematic_group">;
4786
+ schematic_group_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4787
+ source_group_id: z.ZodString;
4788
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
4789
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4790
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4791
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4792
+ center: z.ZodObject<{
4793
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4794
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4795
+ }, "strip", z.ZodTypeAny, {
4796
+ x: number;
4797
+ y: number;
4798
+ }, {
4799
+ x: string | number;
4800
+ y: string | number;
4801
+ }>;
4802
+ schematic_component_ids: z.ZodArray<z.ZodString, "many">;
4803
+ name: z.ZodOptional<z.ZodString>;
4804
+ description: z.ZodOptional<z.ZodString>;
4805
+ }, "strip", z.ZodTypeAny, {
4806
+ type: "schematic_group";
4807
+ width: number;
4808
+ height: number;
4809
+ center: {
4810
+ x: number;
4811
+ y: number;
4812
+ };
4813
+ source_group_id: string;
4814
+ schematic_group_id: string;
4815
+ schematic_component_ids: string[];
4816
+ name?: string | undefined;
4817
+ description?: string | undefined;
4818
+ subcircuit_id?: string | undefined;
4819
+ is_subcircuit?: boolean | undefined;
4820
+ }, {
4821
+ type: "schematic_group";
4822
+ width: string | number;
4823
+ height: string | number;
4824
+ center: {
4825
+ x: string | number;
4826
+ y: string | number;
4827
+ };
4828
+ source_group_id: string;
4829
+ schematic_component_ids: string[];
4830
+ name?: string | undefined;
4831
+ description?: string | undefined;
4832
+ subcircuit_id?: string | undefined;
4833
+ is_subcircuit?: boolean | undefined;
4834
+ schematic_group_id?: string | undefined;
4835
+ }>;
4836
+ type SchematicGroupInput = z.input<typeof schematic_group>;
4837
+ /**
4838
+ * Defines a group of components on the schematic
4839
+ */
4840
+ interface SchematicGroup {
4841
+ type: "schematic_group";
4842
+ schematic_group_id: string;
4843
+ source_group_id: string;
4844
+ is_subcircuit?: boolean;
4845
+ subcircuit_id?: string;
4846
+ width: Length;
4847
+ height: Length;
4848
+ center: Point;
4849
+ schematic_component_ids: string[];
4850
+ name?: string;
4851
+ description?: string;
4852
+ }
4853
+
4490
4854
  type CircuitJsonError = PcbTraceError | PcbPlacementError | PcbPortNotMatchedError | PcbAutoroutingError | PcbMissingFootprintError | SchematicError;
4491
4855
 
4492
4856
  interface SourceComponentBase {
@@ -9744,12 +10108,161 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
9744
10108
  pcb_fabrication_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9745
10109
  subcircuit_id: z.ZodOptional<z.ZodString>;
9746
10110
  pcb_group_id: z.ZodOptional<z.ZodString>;
9747
- font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
9748
- font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
9749
- pcb_component_id: z.ZodString;
9750
- text: z.ZodString;
9751
- layer: z.ZodEnum<["top", "bottom"]>;
9752
- anchor_position: z.ZodDefault<z.ZodObject<{
10111
+ font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
10112
+ font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
10113
+ pcb_component_id: z.ZodString;
10114
+ text: z.ZodString;
10115
+ layer: z.ZodEnum<["top", "bottom"]>;
10116
+ anchor_position: z.ZodDefault<z.ZodObject<{
10117
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10118
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10119
+ }, "strip", z.ZodTypeAny, {
10120
+ x: number;
10121
+ y: number;
10122
+ }, {
10123
+ x: string | number;
10124
+ y: string | number;
10125
+ }>>;
10126
+ anchor_alignment: z.ZodDefault<z.ZodEnum<["center", "top_left", "top_right", "bottom_left", "bottom_right"]>>;
10127
+ color: z.ZodOptional<z.ZodString>;
10128
+ }, "strip", z.ZodTypeAny, {
10129
+ type: "pcb_fabrication_note_text";
10130
+ pcb_component_id: string;
10131
+ layer: "top" | "bottom";
10132
+ text: string;
10133
+ font: "tscircuit2024";
10134
+ font_size: number;
10135
+ anchor_position: {
10136
+ x: number;
10137
+ y: number;
10138
+ };
10139
+ anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
10140
+ pcb_fabrication_note_text_id: string;
10141
+ subcircuit_id?: string | undefined;
10142
+ pcb_group_id?: string | undefined;
10143
+ color?: string | undefined;
10144
+ }, {
10145
+ type: "pcb_fabrication_note_text";
10146
+ pcb_component_id: string;
10147
+ layer: "top" | "bottom";
10148
+ text: string;
10149
+ subcircuit_id?: string | undefined;
10150
+ pcb_group_id?: string | undefined;
10151
+ font?: "tscircuit2024" | undefined;
10152
+ font_size?: string | number | undefined;
10153
+ anchor_position?: {
10154
+ x: string | number;
10155
+ y: string | number;
10156
+ } | undefined;
10157
+ anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
10158
+ pcb_fabrication_note_text_id?: string | undefined;
10159
+ color?: string | undefined;
10160
+ }>, z.ZodObject<{
10161
+ type: z.ZodLiteral<"pcb_autorouting_error">;
10162
+ pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10163
+ message: z.ZodString;
10164
+ }, "strip", z.ZodTypeAny, {
10165
+ message: string;
10166
+ type: "pcb_autorouting_error";
10167
+ pcb_error_id: string;
10168
+ }, {
10169
+ message: string;
10170
+ type: "pcb_autorouting_error";
10171
+ pcb_error_id?: string | undefined;
10172
+ }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
10173
+ type: z.ZodLiteral<"pcb_cutout">;
10174
+ pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10175
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10176
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10177
+ }, {
10178
+ shape: z.ZodLiteral<"rect">;
10179
+ center: z.ZodObject<{
10180
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10181
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10182
+ }, "strip", z.ZodTypeAny, {
10183
+ x: number;
10184
+ y: number;
10185
+ }, {
10186
+ x: string | number;
10187
+ y: string | number;
10188
+ }>;
10189
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10190
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10191
+ rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
10192
+ }>, "strip", z.ZodTypeAny, {
10193
+ type: "pcb_cutout";
10194
+ width: number;
10195
+ height: number;
10196
+ center: {
10197
+ x: number;
10198
+ y: number;
10199
+ };
10200
+ shape: "rect";
10201
+ pcb_cutout_id: string;
10202
+ rotation?: number | undefined;
10203
+ subcircuit_id?: string | undefined;
10204
+ pcb_group_id?: string | undefined;
10205
+ }, {
10206
+ type: "pcb_cutout";
10207
+ width: string | number;
10208
+ height: string | number;
10209
+ center: {
10210
+ x: string | number;
10211
+ y: string | number;
10212
+ };
10213
+ shape: "rect";
10214
+ rotation?: string | number | undefined;
10215
+ subcircuit_id?: string | undefined;
10216
+ pcb_group_id?: string | undefined;
10217
+ pcb_cutout_id?: string | undefined;
10218
+ }>, z.ZodObject<z.objectUtil.extendShape<{
10219
+ type: z.ZodLiteral<"pcb_cutout">;
10220
+ pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10221
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10222
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10223
+ }, {
10224
+ shape: z.ZodLiteral<"circle">;
10225
+ center: z.ZodObject<{
10226
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10227
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10228
+ }, "strip", z.ZodTypeAny, {
10229
+ x: number;
10230
+ y: number;
10231
+ }, {
10232
+ x: string | number;
10233
+ y: string | number;
10234
+ }>;
10235
+ radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10236
+ }>, "strip", z.ZodTypeAny, {
10237
+ type: "pcb_cutout";
10238
+ center: {
10239
+ x: number;
10240
+ y: number;
10241
+ };
10242
+ shape: "circle";
10243
+ radius: number;
10244
+ pcb_cutout_id: string;
10245
+ subcircuit_id?: string | undefined;
10246
+ pcb_group_id?: string | undefined;
10247
+ }, {
10248
+ type: "pcb_cutout";
10249
+ center: {
10250
+ x: string | number;
10251
+ y: string | number;
10252
+ };
10253
+ shape: "circle";
10254
+ radius: string | number;
10255
+ subcircuit_id?: string | undefined;
10256
+ pcb_group_id?: string | undefined;
10257
+ pcb_cutout_id?: string | undefined;
10258
+ }>, z.ZodObject<z.objectUtil.extendShape<{
10259
+ type: z.ZodLiteral<"pcb_cutout">;
10260
+ pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10261
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10262
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10263
+ }, {
10264
+ shape: z.ZodLiteral<"polygon">;
10265
+ points: z.ZodArray<z.ZodObject<{
9753
10266
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9754
10267
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9755
10268
  }, "strip", z.ZodTypeAny, {
@@ -9758,54 +10271,28 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
9758
10271
  }, {
9759
10272
  x: string | number;
9760
10273
  y: string | number;
9761
- }>>;
9762
- anchor_alignment: z.ZodDefault<z.ZodEnum<["center", "top_left", "top_right", "bottom_left", "bottom_right"]>>;
9763
- color: z.ZodOptional<z.ZodString>;
9764
- }, "strip", z.ZodTypeAny, {
9765
- type: "pcb_fabrication_note_text";
9766
- pcb_component_id: string;
9767
- layer: "top" | "bottom";
9768
- text: string;
9769
- font: "tscircuit2024";
9770
- font_size: number;
9771
- anchor_position: {
10274
+ }>, "many">;
10275
+ }>, "strip", z.ZodTypeAny, {
10276
+ type: "pcb_cutout";
10277
+ shape: "polygon";
10278
+ pcb_cutout_id: string;
10279
+ points: {
9772
10280
  x: number;
9773
10281
  y: number;
9774
- };
9775
- anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
9776
- pcb_fabrication_note_text_id: string;
10282
+ }[];
9777
10283
  subcircuit_id?: string | undefined;
9778
10284
  pcb_group_id?: string | undefined;
9779
- color?: string | undefined;
9780
10285
  }, {
9781
- type: "pcb_fabrication_note_text";
9782
- pcb_component_id: string;
9783
- layer: "top" | "bottom";
9784
- text: string;
9785
- subcircuit_id?: string | undefined;
9786
- pcb_group_id?: string | undefined;
9787
- font?: "tscircuit2024" | undefined;
9788
- font_size?: string | number | undefined;
9789
- anchor_position?: {
10286
+ type: "pcb_cutout";
10287
+ shape: "polygon";
10288
+ points: {
9790
10289
  x: string | number;
9791
10290
  y: string | number;
9792
- } | undefined;
9793
- anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
9794
- pcb_fabrication_note_text_id?: string | undefined;
9795
- color?: string | undefined;
9796
- }>, z.ZodObject<{
9797
- type: z.ZodLiteral<"pcb_autorouting_error">;
9798
- pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9799
- message: z.ZodString;
9800
- }, "strip", z.ZodTypeAny, {
9801
- message: string;
9802
- type: "pcb_autorouting_error";
9803
- pcb_error_id: string;
9804
- }, {
9805
- message: string;
9806
- type: "pcb_autorouting_error";
9807
- pcb_error_id?: string | undefined;
9808
- }>, z.ZodObject<{
10291
+ }[];
10292
+ subcircuit_id?: string | undefined;
10293
+ pcb_group_id?: string | undefined;
10294
+ pcb_cutout_id?: string | undefined;
10295
+ }>]>, z.ZodObject<{
9809
10296
  type: z.ZodLiteral<"schematic_box">;
9810
10297
  schematic_component_id: z.ZodString;
9811
10298
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10293,20 +10780,20 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10293
10780
  }>, "many">;
10294
10781
  }, "strip", z.ZodTypeAny, {
10295
10782
  type: "schematic_path";
10296
- schematic_component_id: string;
10297
10783
  points: {
10298
10784
  x: number;
10299
10785
  y: number;
10300
10786
  }[];
10787
+ schematic_component_id: string;
10301
10788
  fill_color?: "red" | "blue" | undefined;
10302
10789
  is_filled?: boolean | undefined;
10303
10790
  }, {
10304
10791
  type: "schematic_path";
10305
- schematic_component_id: string;
10306
10792
  points: {
10307
10793
  x: string | number;
10308
10794
  y: string | number;
10309
10795
  }[];
10796
+ schematic_component_id: string;
10310
10797
  fill_color?: "red" | "blue" | undefined;
10311
10798
  is_filled?: boolean | undefined;
10312
10799
  }>, z.ZodObject<{
@@ -10564,6 +11051,57 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10564
11051
  subcircuit_id?: string | undefined;
10565
11052
  schematic_manual_edit_conflict_warning_id?: string | undefined;
10566
11053
  schematic_group_id?: string | undefined;
11054
+ }>, z.ZodObject<{
11055
+ type: z.ZodLiteral<"schematic_group">;
11056
+ schematic_group_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11057
+ source_group_id: z.ZodString;
11058
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
11059
+ subcircuit_id: z.ZodOptional<z.ZodString>;
11060
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11061
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11062
+ center: z.ZodObject<{
11063
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11064
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11065
+ }, "strip", z.ZodTypeAny, {
11066
+ x: number;
11067
+ y: number;
11068
+ }, {
11069
+ x: string | number;
11070
+ y: string | number;
11071
+ }>;
11072
+ schematic_component_ids: z.ZodArray<z.ZodString, "many">;
11073
+ name: z.ZodOptional<z.ZodString>;
11074
+ description: z.ZodOptional<z.ZodString>;
11075
+ }, "strip", z.ZodTypeAny, {
11076
+ type: "schematic_group";
11077
+ width: number;
11078
+ height: number;
11079
+ center: {
11080
+ x: number;
11081
+ y: number;
11082
+ };
11083
+ source_group_id: string;
11084
+ schematic_group_id: string;
11085
+ schematic_component_ids: string[];
11086
+ name?: string | undefined;
11087
+ description?: string | undefined;
11088
+ subcircuit_id?: string | undefined;
11089
+ is_subcircuit?: boolean | undefined;
11090
+ }, {
11091
+ type: "schematic_group";
11092
+ width: string | number;
11093
+ height: string | number;
11094
+ center: {
11095
+ x: string | number;
11096
+ y: string | number;
11097
+ };
11098
+ source_group_id: string;
11099
+ schematic_component_ids: string[];
11100
+ name?: string | undefined;
11101
+ description?: string | undefined;
11102
+ subcircuit_id?: string | undefined;
11103
+ is_subcircuit?: boolean | undefined;
11104
+ schematic_group_id?: string | undefined;
10567
11105
  }>, z.ZodObject<{
10568
11106
  type: z.ZodLiteral<"cad_component">;
10569
11107
  cad_component_id: z.ZodString;
@@ -14007,7 +14545,130 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
14007
14545
  message: string;
14008
14546
  type: "pcb_autorouting_error";
14009
14547
  pcb_error_id?: string | undefined;
14010
- }>, z.ZodObject<{
14548
+ }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
14549
+ type: z.ZodLiteral<"pcb_cutout">;
14550
+ pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
14551
+ pcb_group_id: z.ZodOptional<z.ZodString>;
14552
+ subcircuit_id: z.ZodOptional<z.ZodString>;
14553
+ }, {
14554
+ shape: z.ZodLiteral<"rect">;
14555
+ center: z.ZodObject<{
14556
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
14557
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
14558
+ }, "strip", z.ZodTypeAny, {
14559
+ x: number;
14560
+ y: number;
14561
+ }, {
14562
+ x: string | number;
14563
+ y: string | number;
14564
+ }>;
14565
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
14566
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
14567
+ rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
14568
+ }>, "strip", z.ZodTypeAny, {
14569
+ type: "pcb_cutout";
14570
+ width: number;
14571
+ height: number;
14572
+ center: {
14573
+ x: number;
14574
+ y: number;
14575
+ };
14576
+ shape: "rect";
14577
+ pcb_cutout_id: string;
14578
+ rotation?: number | undefined;
14579
+ subcircuit_id?: string | undefined;
14580
+ pcb_group_id?: string | undefined;
14581
+ }, {
14582
+ type: "pcb_cutout";
14583
+ width: string | number;
14584
+ height: string | number;
14585
+ center: {
14586
+ x: string | number;
14587
+ y: string | number;
14588
+ };
14589
+ shape: "rect";
14590
+ rotation?: string | number | undefined;
14591
+ subcircuit_id?: string | undefined;
14592
+ pcb_group_id?: string | undefined;
14593
+ pcb_cutout_id?: string | undefined;
14594
+ }>, z.ZodObject<z.objectUtil.extendShape<{
14595
+ type: z.ZodLiteral<"pcb_cutout">;
14596
+ pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
14597
+ pcb_group_id: z.ZodOptional<z.ZodString>;
14598
+ subcircuit_id: z.ZodOptional<z.ZodString>;
14599
+ }, {
14600
+ shape: z.ZodLiteral<"circle">;
14601
+ center: z.ZodObject<{
14602
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
14603
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
14604
+ }, "strip", z.ZodTypeAny, {
14605
+ x: number;
14606
+ y: number;
14607
+ }, {
14608
+ x: string | number;
14609
+ y: string | number;
14610
+ }>;
14611
+ radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
14612
+ }>, "strip", z.ZodTypeAny, {
14613
+ type: "pcb_cutout";
14614
+ center: {
14615
+ x: number;
14616
+ y: number;
14617
+ };
14618
+ shape: "circle";
14619
+ radius: number;
14620
+ pcb_cutout_id: string;
14621
+ subcircuit_id?: string | undefined;
14622
+ pcb_group_id?: string | undefined;
14623
+ }, {
14624
+ type: "pcb_cutout";
14625
+ center: {
14626
+ x: string | number;
14627
+ y: string | number;
14628
+ };
14629
+ shape: "circle";
14630
+ radius: string | number;
14631
+ subcircuit_id?: string | undefined;
14632
+ pcb_group_id?: string | undefined;
14633
+ pcb_cutout_id?: string | undefined;
14634
+ }>, z.ZodObject<z.objectUtil.extendShape<{
14635
+ type: z.ZodLiteral<"pcb_cutout">;
14636
+ pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
14637
+ pcb_group_id: z.ZodOptional<z.ZodString>;
14638
+ subcircuit_id: z.ZodOptional<z.ZodString>;
14639
+ }, {
14640
+ shape: z.ZodLiteral<"polygon">;
14641
+ points: z.ZodArray<z.ZodObject<{
14642
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
14643
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
14644
+ }, "strip", z.ZodTypeAny, {
14645
+ x: number;
14646
+ y: number;
14647
+ }, {
14648
+ x: string | number;
14649
+ y: string | number;
14650
+ }>, "many">;
14651
+ }>, "strip", z.ZodTypeAny, {
14652
+ type: "pcb_cutout";
14653
+ shape: "polygon";
14654
+ pcb_cutout_id: string;
14655
+ points: {
14656
+ x: number;
14657
+ y: number;
14658
+ }[];
14659
+ subcircuit_id?: string | undefined;
14660
+ pcb_group_id?: string | undefined;
14661
+ }, {
14662
+ type: "pcb_cutout";
14663
+ shape: "polygon";
14664
+ points: {
14665
+ x: string | number;
14666
+ y: string | number;
14667
+ }[];
14668
+ subcircuit_id?: string | undefined;
14669
+ pcb_group_id?: string | undefined;
14670
+ pcb_cutout_id?: string | undefined;
14671
+ }>]>, z.ZodObject<{
14011
14672
  type: z.ZodLiteral<"schematic_box">;
14012
14673
  schematic_component_id: z.ZodString;
14013
14674
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -14495,20 +15156,20 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
14495
15156
  }>, "many">;
14496
15157
  }, "strip", z.ZodTypeAny, {
14497
15158
  type: "schematic_path";
14498
- schematic_component_id: string;
14499
15159
  points: {
14500
15160
  x: number;
14501
15161
  y: number;
14502
15162
  }[];
15163
+ schematic_component_id: string;
14503
15164
  fill_color?: "red" | "blue" | undefined;
14504
15165
  is_filled?: boolean | undefined;
14505
15166
  }, {
14506
15167
  type: "schematic_path";
14507
- schematic_component_id: string;
14508
15168
  points: {
14509
15169
  x: string | number;
14510
15170
  y: string | number;
14511
15171
  }[];
15172
+ schematic_component_id: string;
14512
15173
  fill_color?: "red" | "blue" | undefined;
14513
15174
  is_filled?: boolean | undefined;
14514
15175
  }>, z.ZodObject<{
@@ -14766,6 +15427,57 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
14766
15427
  subcircuit_id?: string | undefined;
14767
15428
  schematic_manual_edit_conflict_warning_id?: string | undefined;
14768
15429
  schematic_group_id?: string | undefined;
15430
+ }>, z.ZodObject<{
15431
+ type: z.ZodLiteral<"schematic_group">;
15432
+ schematic_group_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
15433
+ source_group_id: z.ZodString;
15434
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
15435
+ subcircuit_id: z.ZodOptional<z.ZodString>;
15436
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15437
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15438
+ center: z.ZodObject<{
15439
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15440
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15441
+ }, "strip", z.ZodTypeAny, {
15442
+ x: number;
15443
+ y: number;
15444
+ }, {
15445
+ x: string | number;
15446
+ y: string | number;
15447
+ }>;
15448
+ schematic_component_ids: z.ZodArray<z.ZodString, "many">;
15449
+ name: z.ZodOptional<z.ZodString>;
15450
+ description: z.ZodOptional<z.ZodString>;
15451
+ }, "strip", z.ZodTypeAny, {
15452
+ type: "schematic_group";
15453
+ width: number;
15454
+ height: number;
15455
+ center: {
15456
+ x: number;
15457
+ y: number;
15458
+ };
15459
+ source_group_id: string;
15460
+ schematic_group_id: string;
15461
+ schematic_component_ids: string[];
15462
+ name?: string | undefined;
15463
+ description?: string | undefined;
15464
+ subcircuit_id?: string | undefined;
15465
+ is_subcircuit?: boolean | undefined;
15466
+ }, {
15467
+ type: "schematic_group";
15468
+ width: string | number;
15469
+ height: string | number;
15470
+ center: {
15471
+ x: string | number;
15472
+ y: string | number;
15473
+ };
15474
+ source_group_id: string;
15475
+ schematic_component_ids: string[];
15476
+ name?: string | undefined;
15477
+ description?: string | undefined;
15478
+ subcircuit_id?: string | undefined;
15479
+ is_subcircuit?: boolean | undefined;
15480
+ schematic_group_id?: string | undefined;
14769
15481
  }>, z.ZodObject<{
14770
15482
  type: z.ZodLiteral<"cad_component">;
14771
15483
  cad_component_id: z.ZodString;
@@ -14895,4 +15607,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
14895
15607
  */
14896
15608
  type CircuitJson = AnyCircuitElement[];
14897
15609
 
14898
- export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutInput, type PCBMissingFootprintError, 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 PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, 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 PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, 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 SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type Size, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleBugInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, 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 SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, pcb_autorouting_error, pcb_board, pcb_component, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, 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_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, 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_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_failed_to_create_component_error, source_group, source_led, source_missing_property_error, source_net, source_port, source_project_metadata, source_simple_battery, source_simple_bug, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_transistor, source_trace, supplier_name, time, visible_layer, voltage };
15610
+ export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutInput, type PCBMissingFootprintError, 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 PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, 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 PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, 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 SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type Size, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleBugInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, 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 SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, pcb_autorouting_error, pcb_board, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, 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_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, 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_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_failed_to_create_component_error, source_group, source_led, source_missing_property_error, source_net, source_port, source_project_metadata, source_simple_battery, source_simple_bug, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_transistor, source_trace, supplier_name, time, visible_layer, voltage };