circuit-json 0.0.130 → 0.0.132

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
@@ -1011,15 +1011,21 @@ declare const source_trace: z.ZodObject<{
1011
1011
  declare const source_group: z.ZodObject<{
1012
1012
  type: z.ZodLiteral<"source_group">;
1013
1013
  source_group_id: z.ZodString;
1014
+ subcircuit_id: z.ZodOptional<z.ZodString>;
1015
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
1014
1016
  name: z.ZodOptional<z.ZodString>;
1015
1017
  }, "strip", z.ZodTypeAny, {
1016
1018
  type: "source_group";
1017
1019
  source_group_id: string;
1018
1020
  name?: string | undefined;
1021
+ subcircuit_id?: string | undefined;
1022
+ is_subcircuit?: boolean | undefined;
1019
1023
  }, {
1020
1024
  type: "source_group";
1021
1025
  source_group_id: string;
1022
1026
  name?: string | undefined;
1027
+ subcircuit_id?: string | undefined;
1028
+ is_subcircuit?: boolean | undefined;
1023
1029
  }>;
1024
1030
  type SourceGroup = z.infer<typeof source_group>;
1025
1031
  type SourceGroupInput = z.input<typeof source_group>;
@@ -2814,6 +2820,7 @@ declare const pcb_component: z.ZodObject<{
2814
2820
  rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
2815
2821
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
2816
2822
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
2823
+ subcircuit_id: z.ZodOptional<z.ZodString>;
2817
2824
  }, "strip", z.ZodTypeAny, {
2818
2825
  type: "pcb_component";
2819
2826
  width: number;
@@ -2826,6 +2833,7 @@ declare const pcb_component: z.ZodObject<{
2826
2833
  };
2827
2834
  pcb_component_id: string;
2828
2835
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
2836
+ subcircuit_id?: string | undefined;
2829
2837
  }, {
2830
2838
  type: "pcb_component";
2831
2839
  width: string | number;
@@ -2839,6 +2847,7 @@ declare const pcb_component: z.ZodObject<{
2839
2847
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
2840
2848
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
2841
2849
  };
2850
+ subcircuit_id?: string | undefined;
2842
2851
  pcb_component_id?: string | undefined;
2843
2852
  }>;
2844
2853
  type PcbComponentInput = z.input<typeof pcb_component>;
@@ -2849,6 +2858,7 @@ interface PcbComponent {
2849
2858
  type: "pcb_component";
2850
2859
  pcb_component_id: string;
2851
2860
  source_component_id: string;
2861
+ subcircuit_id?: string;
2852
2862
  center: Point;
2853
2863
  layer: LayerRef;
2854
2864
  rotation: Rotation;
@@ -2863,6 +2873,8 @@ type PCBComponent = PcbComponent;
2863
2873
  declare const pcb_hole_circle_or_square: z.ZodObject<{
2864
2874
  type: z.ZodLiteral<"pcb_hole">;
2865
2875
  pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2876
+ pcb_group_id: z.ZodOptional<z.ZodString>;
2877
+ subcircuit_id: z.ZodOptional<z.ZodString>;
2866
2878
  hole_shape: z.ZodEnum<["circle", "square"]>;
2867
2879
  hole_diameter: z.ZodNumber;
2868
2880
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -2874,17 +2886,23 @@ declare const pcb_hole_circle_or_square: z.ZodObject<{
2874
2886
  pcb_hole_id: string;
2875
2887
  hole_shape: "circle" | "square";
2876
2888
  hole_diameter: number;
2889
+ subcircuit_id?: string | undefined;
2890
+ pcb_group_id?: string | undefined;
2877
2891
  }, {
2878
2892
  x: string | number;
2879
2893
  y: string | number;
2880
2894
  type: "pcb_hole";
2881
2895
  hole_shape: "circle" | "square";
2882
2896
  hole_diameter: number;
2897
+ subcircuit_id?: string | undefined;
2883
2898
  pcb_hole_id?: string | undefined;
2899
+ pcb_group_id?: string | undefined;
2884
2900
  }>;
2885
2901
  declare const pcb_hole_circle_or_square_shape: z.ZodObject<{
2886
2902
  type: z.ZodLiteral<"pcb_hole">;
2887
2903
  pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2904
+ pcb_group_id: z.ZodOptional<z.ZodString>;
2905
+ subcircuit_id: z.ZodOptional<z.ZodString>;
2888
2906
  hole_shape: z.ZodEnum<["circle", "square"]>;
2889
2907
  hole_diameter: z.ZodNumber;
2890
2908
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -2896,13 +2914,17 @@ declare const pcb_hole_circle_or_square_shape: z.ZodObject<{
2896
2914
  pcb_hole_id: string;
2897
2915
  hole_shape: "circle" | "square";
2898
2916
  hole_diameter: number;
2917
+ subcircuit_id?: string | undefined;
2918
+ pcb_group_id?: string | undefined;
2899
2919
  }, {
2900
2920
  x: string | number;
2901
2921
  y: string | number;
2902
2922
  type: "pcb_hole";
2903
2923
  hole_shape: "circle" | "square";
2904
2924
  hole_diameter: number;
2925
+ subcircuit_id?: string | undefined;
2905
2926
  pcb_hole_id?: string | undefined;
2927
+ pcb_group_id?: string | undefined;
2906
2928
  }>;
2907
2929
  type PcbHoleCircleOrSquareInput = z.input<typeof pcb_hole_circle_or_square>;
2908
2930
  /**
@@ -2911,6 +2933,8 @@ type PcbHoleCircleOrSquareInput = z.input<typeof pcb_hole_circle_or_square>;
2911
2933
  interface PcbHoleCircleOrSquare {
2912
2934
  type: "pcb_hole";
2913
2935
  pcb_hole_id: string;
2936
+ pcb_group_id?: string;
2937
+ subcircuit_id?: string;
2914
2938
  hole_shape: "circle" | "square";
2915
2939
  hole_diameter: number;
2916
2940
  x: Distance;
@@ -2919,6 +2943,8 @@ interface PcbHoleCircleOrSquare {
2919
2943
  declare const pcb_hole_oval: z.ZodObject<{
2920
2944
  type: z.ZodLiteral<"pcb_hole">;
2921
2945
  pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2946
+ pcb_group_id: z.ZodOptional<z.ZodString>;
2947
+ subcircuit_id: z.ZodOptional<z.ZodString>;
2922
2948
  hole_shape: z.ZodLiteral<"oval">;
2923
2949
  hole_width: z.ZodNumber;
2924
2950
  hole_height: z.ZodNumber;
@@ -2932,6 +2958,8 @@ declare const pcb_hole_oval: z.ZodObject<{
2932
2958
  hole_shape: "oval";
2933
2959
  hole_width: number;
2934
2960
  hole_height: number;
2961
+ subcircuit_id?: string | undefined;
2962
+ pcb_group_id?: string | undefined;
2935
2963
  }, {
2936
2964
  x: string | number;
2937
2965
  y: string | number;
@@ -2939,11 +2967,15 @@ declare const pcb_hole_oval: z.ZodObject<{
2939
2967
  hole_shape: "oval";
2940
2968
  hole_width: number;
2941
2969
  hole_height: number;
2970
+ subcircuit_id?: string | undefined;
2942
2971
  pcb_hole_id?: string | undefined;
2972
+ pcb_group_id?: string | undefined;
2943
2973
  }>;
2944
2974
  declare const pcb_hole_oval_shape: z.ZodObject<{
2945
2975
  type: z.ZodLiteral<"pcb_hole">;
2946
2976
  pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2977
+ pcb_group_id: z.ZodOptional<z.ZodString>;
2978
+ subcircuit_id: z.ZodOptional<z.ZodString>;
2947
2979
  hole_shape: z.ZodLiteral<"oval">;
2948
2980
  hole_width: z.ZodNumber;
2949
2981
  hole_height: z.ZodNumber;
@@ -2957,6 +2989,8 @@ declare const pcb_hole_oval_shape: z.ZodObject<{
2957
2989
  hole_shape: "oval";
2958
2990
  hole_width: number;
2959
2991
  hole_height: number;
2992
+ subcircuit_id?: string | undefined;
2993
+ pcb_group_id?: string | undefined;
2960
2994
  }, {
2961
2995
  x: string | number;
2962
2996
  y: string | number;
@@ -2964,7 +2998,9 @@ declare const pcb_hole_oval_shape: z.ZodObject<{
2964
2998
  hole_shape: "oval";
2965
2999
  hole_width: number;
2966
3000
  hole_height: number;
3001
+ subcircuit_id?: string | undefined;
2967
3002
  pcb_hole_id?: string | undefined;
3003
+ pcb_group_id?: string | undefined;
2968
3004
  }>;
2969
3005
  type PcbHoleOvalInput = z.input<typeof pcb_hole_oval>;
2970
3006
  /**
@@ -2973,6 +3009,8 @@ type PcbHoleOvalInput = z.input<typeof pcb_hole_oval>;
2973
3009
  interface PcbHoleOval {
2974
3010
  type: "pcb_hole";
2975
3011
  pcb_hole_id: string;
3012
+ pcb_group_id?: string;
3013
+ subcircuit_id?: string;
2976
3014
  hole_shape: "oval";
2977
3015
  hole_width: number;
2978
3016
  hole_height: number;
@@ -2982,6 +3020,8 @@ interface PcbHoleOval {
2982
3020
  declare const pcb_hole: z.ZodUnion<[z.ZodObject<{
2983
3021
  type: z.ZodLiteral<"pcb_hole">;
2984
3022
  pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3023
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3024
+ subcircuit_id: z.ZodOptional<z.ZodString>;
2985
3025
  hole_shape: z.ZodEnum<["circle", "square"]>;
2986
3026
  hole_diameter: z.ZodNumber;
2987
3027
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -2993,16 +3033,22 @@ declare const pcb_hole: z.ZodUnion<[z.ZodObject<{
2993
3033
  pcb_hole_id: string;
2994
3034
  hole_shape: "circle" | "square";
2995
3035
  hole_diameter: number;
3036
+ subcircuit_id?: string | undefined;
3037
+ pcb_group_id?: string | undefined;
2996
3038
  }, {
2997
3039
  x: string | number;
2998
3040
  y: string | number;
2999
3041
  type: "pcb_hole";
3000
3042
  hole_shape: "circle" | "square";
3001
3043
  hole_diameter: number;
3044
+ subcircuit_id?: string | undefined;
3002
3045
  pcb_hole_id?: string | undefined;
3046
+ pcb_group_id?: string | undefined;
3003
3047
  }>, z.ZodObject<{
3004
3048
  type: z.ZodLiteral<"pcb_hole">;
3005
3049
  pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3050
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3051
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3006
3052
  hole_shape: z.ZodLiteral<"oval">;
3007
3053
  hole_width: z.ZodNumber;
3008
3054
  hole_height: z.ZodNumber;
@@ -3016,6 +3062,8 @@ declare const pcb_hole: z.ZodUnion<[z.ZodObject<{
3016
3062
  hole_shape: "oval";
3017
3063
  hole_width: number;
3018
3064
  hole_height: number;
3065
+ subcircuit_id?: string | undefined;
3066
+ pcb_group_id?: string | undefined;
3019
3067
  }, {
3020
3068
  x: string | number;
3021
3069
  y: string | number;
@@ -3023,7 +3071,9 @@ declare const pcb_hole: z.ZodUnion<[z.ZodObject<{
3023
3071
  hole_shape: "oval";
3024
3072
  hole_width: number;
3025
3073
  hole_height: number;
3074
+ subcircuit_id?: string | undefined;
3026
3075
  pcb_hole_id?: string | undefined;
3076
+ pcb_group_id?: string | undefined;
3027
3077
  }>]>;
3028
3078
  /**
3029
3079
  * @deprecated Use PcbHoleCircleOrSquare or PcbHoleOval
@@ -3041,6 +3091,8 @@ type PcbHole = PcbHoleCircleOrSquare | PcbHoleOval;
3041
3091
  interface PcbPlatedHoleCircle {
3042
3092
  type: "pcb_plated_hole";
3043
3093
  shape: "circle";
3094
+ pcb_group_id?: string;
3095
+ subcircuit_id?: string;
3044
3096
  outer_diameter: number;
3045
3097
  hole_diameter: number;
3046
3098
  x: Distance;
@@ -3057,6 +3109,8 @@ interface PcbPlatedHoleCircle {
3057
3109
  interface PcbPlatedHoleOval {
3058
3110
  type: "pcb_plated_hole";
3059
3111
  shape: "oval" | "pill";
3112
+ pcb_group_id?: string;
3113
+ subcircuit_id?: string;
3060
3114
  outer_width: number;
3061
3115
  outer_height: number;
3062
3116
  hole_width: number;
@@ -3072,6 +3126,8 @@ interface PcbPlatedHoleOval {
3072
3126
  interface PcbHoleCircularWithRectPad {
3073
3127
  type: "pcb_plated_hole";
3074
3128
  shape: "circular_hole_with_rect_pad";
3129
+ pcb_group_id?: string;
3130
+ subcircuit_id?: string;
3075
3131
  hole_shape: "circle";
3076
3132
  pad_shape: "rect";
3077
3133
  hole_diameter: number;
@@ -3088,6 +3144,8 @@ interface PcbHoleCircularWithRectPad {
3088
3144
  declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
3089
3145
  type: z.ZodLiteral<"pcb_plated_hole">;
3090
3146
  shape: z.ZodLiteral<"circle">;
3147
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3148
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3091
3149
  outer_diameter: z.ZodNumber;
3092
3150
  hole_diameter: z.ZodNumber;
3093
3151
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -3115,7 +3173,9 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
3115
3173
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
3116
3174
  pcb_plated_hole_id: string;
3117
3175
  port_hints?: string[] | undefined;
3176
+ subcircuit_id?: string | undefined;
3118
3177
  pcb_component_id?: string | undefined;
3178
+ pcb_group_id?: string | undefined;
3119
3179
  pcb_port_id?: string | undefined;
3120
3180
  }, {
3121
3181
  x: string | number;
@@ -3128,12 +3188,16 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
3128
3188
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
3129
3189
  })[];
3130
3190
  port_hints?: string[] | undefined;
3191
+ subcircuit_id?: string | undefined;
3131
3192
  pcb_component_id?: string | undefined;
3193
+ pcb_group_id?: string | undefined;
3132
3194
  pcb_port_id?: string | undefined;
3133
3195
  pcb_plated_hole_id?: string | undefined;
3134
3196
  }>, z.ZodObject<{
3135
3197
  type: z.ZodLiteral<"pcb_plated_hole">;
3136
3198
  shape: z.ZodEnum<["oval", "pill"]>;
3199
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3200
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3137
3201
  outer_width: z.ZodNumber;
3138
3202
  outer_height: z.ZodNumber;
3139
3203
  hole_width: z.ZodNumber;
@@ -3165,7 +3229,9 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
3165
3229
  outer_width: number;
3166
3230
  outer_height: number;
3167
3231
  port_hints?: string[] | undefined;
3232
+ subcircuit_id?: string | undefined;
3168
3233
  pcb_component_id?: string | undefined;
3234
+ pcb_group_id?: string | undefined;
3169
3235
  pcb_port_id?: string | undefined;
3170
3236
  }, {
3171
3237
  x: string | number;
@@ -3180,12 +3246,16 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
3180
3246
  outer_width: number;
3181
3247
  outer_height: number;
3182
3248
  port_hints?: string[] | undefined;
3249
+ subcircuit_id?: string | undefined;
3183
3250
  pcb_component_id?: string | undefined;
3251
+ pcb_group_id?: string | undefined;
3184
3252
  pcb_port_id?: string | undefined;
3185
3253
  pcb_plated_hole_id?: string | undefined;
3186
3254
  }>, z.ZodObject<{
3187
3255
  type: z.ZodLiteral<"pcb_plated_hole">;
3188
3256
  shape: z.ZodLiteral<"circular_hole_with_rect_pad">;
3257
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3258
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3189
3259
  hole_shape: z.ZodLiteral<"circle">;
3190
3260
  pad_shape: z.ZodLiteral<"rect">;
3191
3261
  hole_diameter: z.ZodNumber;
@@ -3219,7 +3289,9 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
3219
3289
  rect_pad_width: number;
3220
3290
  rect_pad_height: number;
3221
3291
  port_hints?: string[] | undefined;
3292
+ subcircuit_id?: string | undefined;
3222
3293
  pcb_component_id?: string | undefined;
3294
+ pcb_group_id?: string | undefined;
3223
3295
  pcb_port_id?: string | undefined;
3224
3296
  }, {
3225
3297
  x: string | number;
@@ -3235,7 +3307,9 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
3235
3307
  rect_pad_width: number;
3236
3308
  rect_pad_height: number;
3237
3309
  port_hints?: string[] | undefined;
3310
+ subcircuit_id?: string | undefined;
3238
3311
  pcb_component_id?: string | undefined;
3312
+ pcb_group_id?: string | undefined;
3239
3313
  pcb_port_id?: string | undefined;
3240
3314
  pcb_plated_hole_id?: string | undefined;
3241
3315
  }>]>;
@@ -3253,6 +3327,8 @@ type PcbPlatedHoleInput = z.input<typeof pcb_plated_hole>;
3253
3327
  declare const pcb_port: z.ZodObject<{
3254
3328
  type: z.ZodLiteral<"pcb_port">;
3255
3329
  pcb_port_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3330
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3331
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3256
3332
  source_port_id: z.ZodString;
3257
3333
  pcb_component_id: z.ZodString;
3258
3334
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -3274,6 +3350,8 @@ declare const pcb_port: z.ZodObject<{
3274
3350
  pcb_component_id: string;
3275
3351
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
3276
3352
  pcb_port_id: string;
3353
+ subcircuit_id?: string | undefined;
3354
+ pcb_group_id?: string | undefined;
3277
3355
  }, {
3278
3356
  x: string | number;
3279
3357
  y: string | number;
@@ -3283,6 +3361,8 @@ declare const pcb_port: z.ZodObject<{
3283
3361
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
3284
3362
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
3285
3363
  })[];
3364
+ subcircuit_id?: string | undefined;
3365
+ pcb_group_id?: string | undefined;
3286
3366
  pcb_port_id?: string | undefined;
3287
3367
  }>;
3288
3368
  type PcbPortInput = z.input<typeof pcb_port>;
@@ -3292,6 +3372,8 @@ type PcbPortInput = z.input<typeof pcb_port>;
3292
3372
  interface PcbPort {
3293
3373
  type: "pcb_port";
3294
3374
  pcb_port_id: string;
3375
+ pcb_group_id?: string;
3376
+ subcircuit_id?: string;
3295
3377
  source_port_id: string;
3296
3378
  pcb_component_id: string;
3297
3379
  x: Distance;
@@ -3361,6 +3443,8 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
3361
3443
  type: z.ZodLiteral<"pcb_smtpad">;
3362
3444
  shape: z.ZodLiteral<"circle">;
3363
3445
  pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3446
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3447
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3364
3448
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3365
3449
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3366
3450
  radius: z.ZodNumber;
@@ -3385,7 +3469,9 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
3385
3469
  pcb_smtpad_id: string;
3386
3470
  radius: number;
3387
3471
  port_hints?: string[] | undefined;
3472
+ subcircuit_id?: string | undefined;
3388
3473
  pcb_component_id?: string | undefined;
3474
+ pcb_group_id?: string | undefined;
3389
3475
  pcb_port_id?: string | undefined;
3390
3476
  }, {
3391
3477
  x: string | number;
@@ -3397,13 +3483,17 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
3397
3483
  };
3398
3484
  radius: number;
3399
3485
  port_hints?: string[] | undefined;
3486
+ subcircuit_id?: string | undefined;
3400
3487
  pcb_component_id?: string | undefined;
3488
+ pcb_group_id?: string | undefined;
3401
3489
  pcb_port_id?: string | undefined;
3402
3490
  pcb_smtpad_id?: string | undefined;
3403
3491
  }>, z.ZodObject<{
3404
3492
  type: z.ZodLiteral<"pcb_smtpad">;
3405
3493
  shape: z.ZodLiteral<"rect">;
3406
3494
  pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3495
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3496
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3407
3497
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3408
3498
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3409
3499
  width: z.ZodNumber;
@@ -3430,7 +3520,9 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
3430
3520
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
3431
3521
  pcb_smtpad_id: string;
3432
3522
  port_hints?: string[] | undefined;
3523
+ subcircuit_id?: string | undefined;
3433
3524
  pcb_component_id?: string | undefined;
3525
+ pcb_group_id?: string | undefined;
3434
3526
  pcb_port_id?: string | undefined;
3435
3527
  }, {
3436
3528
  x: string | number;
@@ -3443,13 +3535,17 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
3443
3535
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
3444
3536
  };
3445
3537
  port_hints?: string[] | undefined;
3538
+ subcircuit_id?: string | undefined;
3446
3539
  pcb_component_id?: string | undefined;
3540
+ pcb_group_id?: string | undefined;
3447
3541
  pcb_port_id?: string | undefined;
3448
3542
  pcb_smtpad_id?: string | undefined;
3449
3543
  }>, z.ZodObject<{
3450
3544
  type: z.ZodLiteral<"pcb_smtpad">;
3451
3545
  shape: z.ZodLiteral<"rotated_rect">;
3452
3546
  pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3547
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3548
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3453
3549
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3454
3550
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3455
3551
  width: z.ZodNumber;
@@ -3478,7 +3574,9 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
3478
3574
  pcb_smtpad_id: string;
3479
3575
  ccw_rotation: number;
3480
3576
  port_hints?: string[] | undefined;
3577
+ subcircuit_id?: string | undefined;
3481
3578
  pcb_component_id?: string | undefined;
3579
+ pcb_group_id?: string | undefined;
3482
3580
  pcb_port_id?: string | undefined;
3483
3581
  }, {
3484
3582
  x: string | number;
@@ -3492,7 +3590,9 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
3492
3590
  };
3493
3591
  ccw_rotation: string | number;
3494
3592
  port_hints?: string[] | undefined;
3593
+ subcircuit_id?: string | undefined;
3495
3594
  pcb_component_id?: string | undefined;
3595
+ pcb_group_id?: string | undefined;
3496
3596
  pcb_port_id?: string | undefined;
3497
3597
  pcb_smtpad_id?: string | undefined;
3498
3598
  }>, z.ZodObject<{
@@ -3553,6 +3653,8 @@ interface PcbSmtPadCircle {
3553
3653
  type: "pcb_smtpad";
3554
3654
  shape: "circle";
3555
3655
  pcb_smtpad_id: string;
3656
+ pcb_group_id?: string;
3657
+ subcircuit_id?: string;
3556
3658
  x: Distance;
3557
3659
  y: Distance;
3558
3660
  radius: number;
@@ -3568,6 +3670,8 @@ interface PcbSmtPadRect {
3568
3670
  type: "pcb_smtpad";
3569
3671
  shape: "rect";
3570
3672
  pcb_smtpad_id: string;
3673
+ pcb_group_id?: string;
3674
+ subcircuit_id?: string;
3571
3675
  x: Distance;
3572
3676
  y: Distance;
3573
3677
  width: number;
@@ -3584,6 +3688,8 @@ interface PcbSmtPadRotatedRect {
3584
3688
  type: "pcb_smtpad";
3585
3689
  shape: "rotated_rect";
3586
3690
  pcb_smtpad_id: string;
3691
+ pcb_group_id?: string;
3692
+ subcircuit_id?: string;
3587
3693
  x: Distance;
3588
3694
  y: Distance;
3589
3695
  width: number;
@@ -3621,6 +3727,8 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
3621
3727
  type: z.ZodLiteral<"pcb_solder_paste">;
3622
3728
  shape: z.ZodLiteral<"circle">;
3623
3729
  pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3730
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3731
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3624
3732
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3625
3733
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3626
3734
  radius: z.ZodNumber;
@@ -3643,7 +3751,9 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
3643
3751
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
3644
3752
  radius: number;
3645
3753
  pcb_solder_paste_id: string;
3754
+ subcircuit_id?: string | undefined;
3646
3755
  pcb_component_id?: string | undefined;
3756
+ pcb_group_id?: string | undefined;
3647
3757
  pcb_smtpad_id?: string | undefined;
3648
3758
  }, {
3649
3759
  x: string | number;
@@ -3654,13 +3764,17 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
3654
3764
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
3655
3765
  };
3656
3766
  radius: number;
3767
+ subcircuit_id?: string | undefined;
3657
3768
  pcb_component_id?: string | undefined;
3769
+ pcb_group_id?: string | undefined;
3658
3770
  pcb_smtpad_id?: string | undefined;
3659
3771
  pcb_solder_paste_id?: string | undefined;
3660
3772
  }>, z.ZodObject<{
3661
3773
  type: z.ZodLiteral<"pcb_solder_paste">;
3662
3774
  shape: z.ZodLiteral<"rect">;
3663
3775
  pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3776
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3777
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3664
3778
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3665
3779
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3666
3780
  width: z.ZodNumber;
@@ -3685,7 +3799,9 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
3685
3799
  shape: "rect";
3686
3800
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
3687
3801
  pcb_solder_paste_id: string;
3802
+ subcircuit_id?: string | undefined;
3688
3803
  pcb_component_id?: string | undefined;
3804
+ pcb_group_id?: string | undefined;
3689
3805
  pcb_smtpad_id?: string | undefined;
3690
3806
  }, {
3691
3807
  x: string | number;
@@ -3697,7 +3813,9 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
3697
3813
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
3698
3814
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
3699
3815
  };
3816
+ subcircuit_id?: string | undefined;
3700
3817
  pcb_component_id?: string | undefined;
3818
+ pcb_group_id?: string | undefined;
3701
3819
  pcb_smtpad_id?: string | undefined;
3702
3820
  pcb_solder_paste_id?: string | undefined;
3703
3821
  }>]>;
@@ -3709,6 +3827,8 @@ interface PcbSolderPasteCircle {
3709
3827
  type: "pcb_solder_paste";
3710
3828
  shape: "circle";
3711
3829
  pcb_solder_paste_id: string;
3830
+ pcb_group_id?: string;
3831
+ subcircuit_id?: string;
3712
3832
  x: Distance;
3713
3833
  y: Distance;
3714
3834
  radius: number;
@@ -3723,6 +3843,8 @@ interface PcbSolderPasteRect {
3723
3843
  type: "pcb_solder_paste";
3724
3844
  shape: "rect";
3725
3845
  pcb_solder_paste_id: string;
3846
+ pcb_group_id?: string;
3847
+ subcircuit_id?: string;
3726
3848
  x: Distance;
3727
3849
  y: Distance;
3728
3850
  width: number;
@@ -3736,6 +3858,8 @@ type PcbSolderPaste = PcbSolderPasteCircle | PcbSolderPasteRect;
3736
3858
  declare const pcb_text: z.ZodObject<{
3737
3859
  type: z.ZodLiteral<"pcb_text">;
3738
3860
  pcb_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3861
+ pcb_group_id: z.ZodOptional<z.ZodString>;
3862
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3739
3863
  text: z.ZodString;
3740
3864
  center: z.ZodObject<{
3741
3865
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -3773,6 +3897,8 @@ declare const pcb_text: z.ZodObject<{
3773
3897
  pcb_text_id: string;
3774
3898
  lines: number;
3775
3899
  align: "bottom-left";
3900
+ subcircuit_id?: string | undefined;
3901
+ pcb_group_id?: string | undefined;
3776
3902
  }, {
3777
3903
  type: "pcb_text";
3778
3904
  width: string | number;
@@ -3787,6 +3913,8 @@ declare const pcb_text: z.ZodObject<{
3787
3913
  };
3788
3914
  lines: number;
3789
3915
  align: "bottom-left";
3916
+ subcircuit_id?: string | undefined;
3917
+ pcb_group_id?: string | undefined;
3790
3918
  pcb_text_id?: string | undefined;
3791
3919
  }>;
3792
3920
  type PcbTextInput = z.input<typeof pcb_text>;
@@ -3796,6 +3924,8 @@ type PcbTextInput = z.input<typeof pcb_text>;
3796
3924
  interface PcbText {
3797
3925
  type: "pcb_text";
3798
3926
  pcb_text_id: string;
3927
+ pcb_group_id?: string;
3928
+ subcircuit_id?: string;
3799
3929
  text: string;
3800
3930
  center: Point;
3801
3931
  layer: LayerRef;
@@ -3921,6 +4051,8 @@ declare const pcb_trace: z.ZodObject<{
3921
4051
  source_trace_id: z.ZodOptional<z.ZodString>;
3922
4052
  pcb_component_id: z.ZodOptional<z.ZodString>;
3923
4053
  pcb_trace_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4054
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4055
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3924
4056
  route_thickness_mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<["constant", "interpolated"]>>>;
3925
4057
  route_order_index: z.ZodOptional<z.ZodNumber>;
3926
4058
  should_round_corners: z.ZodOptional<z.ZodBoolean>;
@@ -3997,7 +4129,9 @@ declare const pcb_trace: z.ZodObject<{
3997
4129
  from_layer: string;
3998
4130
  })[];
3999
4131
  source_trace_id?: string | undefined;
4132
+ subcircuit_id?: string | undefined;
4000
4133
  pcb_component_id?: string | undefined;
4134
+ pcb_group_id?: string | undefined;
4001
4135
  route_thickness_mode?: "constant" | "interpolated" | undefined;
4002
4136
  route_order_index?: number | undefined;
4003
4137
  should_round_corners?: boolean | undefined;
@@ -4022,7 +4156,9 @@ declare const pcb_trace: z.ZodObject<{
4022
4156
  from_layer: string;
4023
4157
  })[];
4024
4158
  source_trace_id?: string | undefined;
4159
+ subcircuit_id?: string | undefined;
4025
4160
  pcb_component_id?: string | undefined;
4161
+ pcb_group_id?: string | undefined;
4026
4162
  pcb_trace_id?: string | undefined;
4027
4163
  route_thickness_mode?: "constant" | "interpolated" | undefined;
4028
4164
  route_order_index?: number | undefined;
@@ -4054,6 +4190,8 @@ interface PcbTrace {
4054
4190
  type: "pcb_trace";
4055
4191
  source_trace_id?: string;
4056
4192
  pcb_component_id?: string;
4193
+ pcb_group_id?: string;
4194
+ subcircuit_id?: string;
4057
4195
  pcb_trace_id: string;
4058
4196
  /**
4059
4197
  * The order that this trace was routed in. This can be used to debug the
@@ -4176,6 +4314,8 @@ type PCBPortNotMatchedError = PcbPortNotMatchedError;
4176
4314
  declare const pcb_via: z.ZodObject<{
4177
4315
  type: z.ZodLiteral<"pcb_via">;
4178
4316
  pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4317
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4318
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4179
4319
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4180
4320
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4181
4321
  outer_diameter: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -4218,7 +4358,9 @@ declare const pcb_via: z.ZodObject<{
4218
4358
  outer_diameter: number;
4219
4359
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
4220
4360
  pcb_via_id: string;
4361
+ subcircuit_id?: string | undefined;
4221
4362
  to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
4363
+ pcb_group_id?: string | undefined;
4222
4364
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
4223
4365
  pcb_trace_id?: string | undefined;
4224
4366
  }, {
@@ -4228,9 +4370,11 @@ declare const pcb_via: z.ZodObject<{
4228
4370
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4229
4371
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4230
4372
  })[];
4373
+ subcircuit_id?: string | undefined;
4231
4374
  to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4232
4375
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4233
4376
  } | undefined;
4377
+ pcb_group_id?: string | undefined;
4234
4378
  hole_diameter?: string | number | undefined;
4235
4379
  outer_diameter?: string | number | undefined;
4236
4380
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
@@ -4246,6 +4390,8 @@ type PcbViaInput = z.input<typeof pcb_via>;
4246
4390
  interface PcbVia {
4247
4391
  type: "pcb_via";
4248
4392
  pcb_via_id: string;
4393
+ pcb_group_id?: string;
4394
+ subcircuit_id?: string;
4249
4395
  x: Distance;
4250
4396
  y: Distance;
4251
4397
  outer_diameter: Distance;
@@ -4265,6 +4411,8 @@ type PCBVia = PcbVia;
4265
4411
  declare const pcb_board: z.ZodObject<{
4266
4412
  type: z.ZodLiteral<"pcb_board">;
4267
4413
  pcb_board_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4414
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
4415
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4268
4416
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4269
4417
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4270
4418
  center: z.ZodObject<{
@@ -4300,6 +4448,8 @@ declare const pcb_board: z.ZodObject<{
4300
4448
  pcb_board_id: string;
4301
4449
  thickness: number;
4302
4450
  num_layers: number;
4451
+ subcircuit_id?: string | undefined;
4452
+ is_subcircuit?: boolean | undefined;
4303
4453
  outline?: {
4304
4454
  x: number;
4305
4455
  y: number;
@@ -4312,6 +4462,8 @@ declare const pcb_board: z.ZodObject<{
4312
4462
  x: string | number;
4313
4463
  y: string | number;
4314
4464
  };
4465
+ subcircuit_id?: string | undefined;
4466
+ is_subcircuit?: boolean | undefined;
4315
4467
  pcb_board_id?: string | undefined;
4316
4468
  thickness?: string | number | undefined;
4317
4469
  num_layers?: number | undefined;
@@ -4326,6 +4478,8 @@ declare const pcb_board: z.ZodObject<{
4326
4478
  interface PcbBoard {
4327
4479
  type: "pcb_board";
4328
4480
  pcb_board_id: string;
4481
+ is_subcircuit?: boolean;
4482
+ subcircuit_id?: string;
4329
4483
  width: Length;
4330
4484
  height: Length;
4331
4485
  thickness: Length;
@@ -4447,6 +4601,8 @@ declare const pcb_silkscreen_line: z.ZodObject<{
4447
4601
  type: z.ZodLiteral<"pcb_silkscreen_line">;
4448
4602
  pcb_silkscreen_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4449
4603
  pcb_component_id: z.ZodString;
4604
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4605
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4450
4606
  stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4451
4607
  x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4452
4608
  y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -4463,6 +4619,8 @@ declare const pcb_silkscreen_line: z.ZodObject<{
4463
4619
  layer: "top" | "bottom";
4464
4620
  pcb_silkscreen_line_id: string;
4465
4621
  stroke_width: number;
4622
+ subcircuit_id?: string | undefined;
4623
+ pcb_group_id?: string | undefined;
4466
4624
  }, {
4467
4625
  type: "pcb_silkscreen_line";
4468
4626
  x1: string | number;
@@ -4471,6 +4629,8 @@ declare const pcb_silkscreen_line: z.ZodObject<{
4471
4629
  y2: string | number;
4472
4630
  pcb_component_id: string;
4473
4631
  layer: "top" | "bottom";
4632
+ subcircuit_id?: string | undefined;
4633
+ pcb_group_id?: string | undefined;
4474
4634
  pcb_silkscreen_line_id?: string | undefined;
4475
4635
  stroke_width?: string | number | undefined;
4476
4636
  }>;
@@ -4482,6 +4642,8 @@ interface PcbSilkscreenLine {
4482
4642
  type: "pcb_silkscreen_line";
4483
4643
  pcb_silkscreen_line_id: string;
4484
4644
  pcb_component_id: string;
4645
+ pcb_group_id?: string;
4646
+ subcircuit_id?: string;
4485
4647
  stroke_width: Distance;
4486
4648
  x1: Distance;
4487
4649
  y1: Distance;
@@ -4498,6 +4660,8 @@ declare const pcb_silkscreen_path: z.ZodObject<{
4498
4660
  type: z.ZodLiteral<"pcb_silkscreen_path">;
4499
4661
  pcb_silkscreen_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4500
4662
  pcb_component_id: z.ZodString;
4663
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4664
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4501
4665
  layer: z.ZodEnum<["top", "bottom"]>;
4502
4666
  route: z.ZodArray<z.ZodObject<{
4503
4667
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -4520,6 +4684,8 @@ declare const pcb_silkscreen_path: z.ZodObject<{
4520
4684
  }[];
4521
4685
  stroke_width: number;
4522
4686
  pcb_silkscreen_path_id: string;
4687
+ subcircuit_id?: string | undefined;
4688
+ pcb_group_id?: string | undefined;
4523
4689
  }, {
4524
4690
  type: "pcb_silkscreen_path";
4525
4691
  pcb_component_id: string;
@@ -4529,6 +4695,8 @@ declare const pcb_silkscreen_path: z.ZodObject<{
4529
4695
  y: string | number;
4530
4696
  }[];
4531
4697
  stroke_width: string | number;
4698
+ subcircuit_id?: string | undefined;
4699
+ pcb_group_id?: string | undefined;
4532
4700
  pcb_silkscreen_path_id?: string | undefined;
4533
4701
  }>;
4534
4702
  type PcbSilkscreenPathInput = z.input<typeof pcb_silkscreen_path>;
@@ -4539,6 +4707,8 @@ interface PcbSilkscreenPath {
4539
4707
  type: "pcb_silkscreen_path";
4540
4708
  pcb_silkscreen_path_id: string;
4541
4709
  pcb_component_id: string;
4710
+ pcb_group_id?: string;
4711
+ subcircuit_id?: string;
4542
4712
  layer: VisibleLayerRef;
4543
4713
  route: Point[];
4544
4714
  stroke_width: Length;
@@ -4551,6 +4721,8 @@ type PcbSilkscreenPathDeprecated = PcbSilkscreenPath;
4551
4721
  declare const pcb_silkscreen_text: z.ZodObject<{
4552
4722
  type: z.ZodLiteral<"pcb_silkscreen_text">;
4553
4723
  pcb_silkscreen_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4724
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4725
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4554
4726
  font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
4555
4727
  font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4556
4728
  pcb_component_id: z.ZodString;
@@ -4590,6 +4762,8 @@ declare const pcb_silkscreen_text: z.ZodObject<{
4590
4762
  font: "tscircuit2024";
4591
4763
  font_size: number;
4592
4764
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
4765
+ subcircuit_id?: string | undefined;
4766
+ pcb_group_id?: string | undefined;
4593
4767
  ccw_rotation?: number | undefined;
4594
4768
  is_mirrored?: boolean | undefined;
4595
4769
  }, {
@@ -4599,10 +4773,12 @@ declare const pcb_silkscreen_text: z.ZodObject<{
4599
4773
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4600
4774
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4601
4775
  };
4776
+ subcircuit_id?: string | undefined;
4602
4777
  anchor_position?: {
4603
4778
  x: string | number;
4604
4779
  y: string | number;
4605
4780
  } | undefined;
4781
+ pcb_group_id?: string | undefined;
4606
4782
  ccw_rotation?: number | undefined;
4607
4783
  pcb_silkscreen_text_id?: string | undefined;
4608
4784
  font?: "tscircuit2024" | undefined;
@@ -4617,6 +4793,8 @@ type PcbSilkscreenTextInput = z.input<typeof pcb_silkscreen_text>;
4617
4793
  interface PcbSilkscreenText {
4618
4794
  type: "pcb_silkscreen_text";
4619
4795
  pcb_silkscreen_text_id: string;
4796
+ pcb_group_id?: string;
4797
+ subcircuit_id?: string;
4620
4798
  font: "tscircuit2024";
4621
4799
  font_size: Length;
4622
4800
  pcb_component_id: string;
@@ -4636,6 +4814,8 @@ declare const pcb_silkscreen_rect: z.ZodObject<{
4636
4814
  type: z.ZodLiteral<"pcb_silkscreen_rect">;
4637
4815
  pcb_silkscreen_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4638
4816
  pcb_component_id: z.ZodString;
4817
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4818
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4639
4819
  center: z.ZodObject<{
4640
4820
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4641
4821
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -4668,6 +4848,8 @@ declare const pcb_silkscreen_rect: z.ZodObject<{
4668
4848
  pcb_component_id: string;
4669
4849
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4670
4850
  pcb_silkscreen_rect_id: string;
4851
+ subcircuit_id?: string | undefined;
4852
+ pcb_group_id?: string | undefined;
4671
4853
  }, {
4672
4854
  type: "pcb_silkscreen_rect";
4673
4855
  width: string | number;
@@ -4680,6 +4862,8 @@ declare const pcb_silkscreen_rect: z.ZodObject<{
4680
4862
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4681
4863
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4682
4864
  };
4865
+ subcircuit_id?: string | undefined;
4866
+ pcb_group_id?: string | undefined;
4683
4867
  pcb_silkscreen_rect_id?: string | undefined;
4684
4868
  }>;
4685
4869
  type PcbSilkscreenRectInput = z.input<typeof pcb_silkscreen_rect>;
@@ -4690,6 +4874,8 @@ interface PcbSilkscreenRect {
4690
4874
  type: "pcb_silkscreen_rect";
4691
4875
  pcb_silkscreen_rect_id: string;
4692
4876
  pcb_component_id: string;
4877
+ pcb_group_id?: string;
4878
+ subcircuit_id?: string;
4693
4879
  center: Point;
4694
4880
  width: Length;
4695
4881
  height: Length;
@@ -4704,6 +4890,8 @@ declare const pcb_silkscreen_circle: z.ZodObject<{
4704
4890
  type: z.ZodLiteral<"pcb_silkscreen_circle">;
4705
4891
  pcb_silkscreen_circle_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4706
4892
  pcb_component_id: z.ZodString;
4893
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4894
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4707
4895
  center: z.ZodObject<{
4708
4896
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4709
4897
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -4726,6 +4914,8 @@ declare const pcb_silkscreen_circle: z.ZodObject<{
4726
4914
  layer: "top" | "bottom";
4727
4915
  radius: number;
4728
4916
  pcb_silkscreen_circle_id: string;
4917
+ subcircuit_id?: string | undefined;
4918
+ pcb_group_id?: string | undefined;
4729
4919
  }, {
4730
4920
  type: "pcb_silkscreen_circle";
4731
4921
  center: {
@@ -4735,6 +4925,8 @@ declare const pcb_silkscreen_circle: z.ZodObject<{
4735
4925
  pcb_component_id: string;
4736
4926
  layer: "top" | "bottom";
4737
4927
  radius: string | number;
4928
+ subcircuit_id?: string | undefined;
4929
+ pcb_group_id?: string | undefined;
4738
4930
  pcb_silkscreen_circle_id?: string | undefined;
4739
4931
  }>;
4740
4932
  type PcbSilkscreenCircleInput = z.input<typeof pcb_silkscreen_circle>;
@@ -4745,6 +4937,8 @@ interface PcbSilkscreenCircle {
4745
4937
  type: "pcb_silkscreen_circle";
4746
4938
  pcb_silkscreen_circle_id: string;
4747
4939
  pcb_component_id: string;
4940
+ pcb_group_id?: string;
4941
+ subcircuit_id?: string;
4748
4942
  center: Point;
4749
4943
  radius: Length;
4750
4944
  layer: VisibleLayer;
@@ -4754,6 +4948,8 @@ declare const pcb_silkscreen_oval: z.ZodObject<{
4754
4948
  type: z.ZodLiteral<"pcb_silkscreen_oval">;
4755
4949
  pcb_silkscreen_oval_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4756
4950
  pcb_component_id: z.ZodString;
4951
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4952
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4757
4953
  center: z.ZodObject<{
4758
4954
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4759
4955
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -4778,6 +4974,8 @@ declare const pcb_silkscreen_oval: z.ZodObject<{
4778
4974
  pcb_silkscreen_oval_id: string;
4779
4975
  radius_x: number;
4780
4976
  radius_y: number;
4977
+ subcircuit_id?: string | undefined;
4978
+ pcb_group_id?: string | undefined;
4781
4979
  }, {
4782
4980
  type: "pcb_silkscreen_oval";
4783
4981
  center: {
@@ -4788,6 +4986,8 @@ declare const pcb_silkscreen_oval: z.ZodObject<{
4788
4986
  layer: "top" | "bottom";
4789
4987
  radius_x: string | number;
4790
4988
  radius_y: string | number;
4989
+ subcircuit_id?: string | undefined;
4990
+ pcb_group_id?: string | undefined;
4791
4991
  pcb_silkscreen_oval_id?: string | undefined;
4792
4992
  }>;
4793
4993
  type PcbSilkscreenOvalInput = z.input<typeof pcb_silkscreen_oval>;
@@ -4798,6 +4998,8 @@ interface PcbSilkscreenOval {
4798
4998
  type: "pcb_silkscreen_oval";
4799
4999
  pcb_silkscreen_oval_id: string;
4800
5000
  pcb_component_id: string;
5001
+ pcb_group_id?: string;
5002
+ subcircuit_id?: string;
4801
5003
  center: Point;
4802
5004
  radius_x: Distance;
4803
5005
  radius_y: Distance;
@@ -4811,6 +5013,8 @@ type PcbSilkscreenOvalDeprecated = PcbSilkscreenOval;
4811
5013
  declare const pcb_fabrication_note_text: z.ZodObject<{
4812
5014
  type: z.ZodLiteral<"pcb_fabrication_note_text">;
4813
5015
  pcb_fabrication_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
5016
+ subcircuit_id: z.ZodOptional<z.ZodString>;
5017
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4814
5018
  font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
4815
5019
  font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4816
5020
  pcb_component_id: z.ZodString;
@@ -4841,17 +5045,21 @@ declare const pcb_fabrication_note_text: z.ZodObject<{
4841
5045
  font_size: number;
4842
5046
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
4843
5047
  pcb_fabrication_note_text_id: string;
5048
+ subcircuit_id?: string | undefined;
4844
5049
  color?: string | undefined;
5050
+ pcb_group_id?: string | undefined;
4845
5051
  }, {
4846
5052
  type: "pcb_fabrication_note_text";
4847
5053
  text: string;
4848
5054
  pcb_component_id: string;
4849
5055
  layer: "top" | "bottom";
5056
+ subcircuit_id?: string | undefined;
4850
5057
  color?: string | undefined;
4851
5058
  anchor_position?: {
4852
5059
  x: string | number;
4853
5060
  y: string | number;
4854
5061
  } | undefined;
5062
+ pcb_group_id?: string | undefined;
4855
5063
  font?: "tscircuit2024" | undefined;
4856
5064
  font_size?: string | number | undefined;
4857
5065
  anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
@@ -4864,6 +5072,8 @@ type PcbFabricationNoteTextInput = z.input<typeof pcb_fabrication_note_text>;
4864
5072
  interface PcbFabricationNoteText {
4865
5073
  type: "pcb_fabrication_note_text";
4866
5074
  pcb_fabrication_note_text_id: string;
5075
+ subcircuit_id?: string;
5076
+ pcb_group_id?: string;
4867
5077
  font: "tscircuit2024";
4868
5078
  font_size: Length;
4869
5079
  pcb_component_id: string;
@@ -4882,6 +5092,7 @@ declare const pcb_fabrication_note_path: z.ZodObject<{
4882
5092
  type: z.ZodLiteral<"pcb_fabrication_note_path">;
4883
5093
  pcb_fabrication_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4884
5094
  pcb_component_id: z.ZodString;
5095
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4885
5096
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
4886
5097
  name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
4887
5098
  }, "strip", z.ZodTypeAny, {
@@ -4913,6 +5124,7 @@ declare const pcb_fabrication_note_path: z.ZodObject<{
4913
5124
  }[];
4914
5125
  stroke_width: number;
4915
5126
  pcb_fabrication_note_path_id: string;
5127
+ subcircuit_id?: string | undefined;
4916
5128
  color?: string | undefined;
4917
5129
  }, {
4918
5130
  type: "pcb_fabrication_note_path";
@@ -4925,6 +5137,7 @@ declare const pcb_fabrication_note_path: z.ZodObject<{
4925
5137
  y: string | number;
4926
5138
  }[];
4927
5139
  stroke_width: string | number;
5140
+ subcircuit_id?: string | undefined;
4928
5141
  color?: string | undefined;
4929
5142
  pcb_fabrication_note_path_id?: string | undefined;
4930
5143
  }>;
@@ -4936,6 +5149,7 @@ interface PcbFabricationNotePath {
4936
5149
  type: "pcb_fabrication_note_path";
4937
5150
  pcb_fabrication_note_path_id: string;
4938
5151
  pcb_component_id: string;
5152
+ subcircuit_id?: string;
4939
5153
  layer: LayerRef;
4940
5154
  route: Point[];
4941
5155
  stroke_width: Length;
@@ -4949,6 +5163,8 @@ type PCBFabricationNotePath = PcbFabricationNotePath;
4949
5163
  declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
4950
5164
  type: z.ZodLiteral<"pcb_keepout">;
4951
5165
  shape: z.ZodLiteral<"rect">;
5166
+ pcb_group_id: z.ZodOptional<z.ZodString>;
5167
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4952
5168
  center: z.ZodObject<{
4953
5169
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4954
5170
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -4976,6 +5192,8 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
4976
5192
  layers: string[];
4977
5193
  pcb_keepout_id: string;
4978
5194
  description?: string | undefined;
5195
+ subcircuit_id?: string | undefined;
5196
+ pcb_group_id?: string | undefined;
4979
5197
  }, {
4980
5198
  type: "pcb_keepout";
4981
5199
  width: string | number;
@@ -4988,9 +5206,13 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
4988
5206
  layers: string[];
4989
5207
  pcb_keepout_id: string;
4990
5208
  description?: string | undefined;
5209
+ subcircuit_id?: string | undefined;
5210
+ pcb_group_id?: string | undefined;
4991
5211
  }>, z.ZodObject<{
4992
5212
  type: z.ZodLiteral<"pcb_keepout">;
4993
5213
  shape: z.ZodLiteral<"circle">;
5214
+ pcb_group_id: z.ZodOptional<z.ZodString>;
5215
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4994
5216
  center: z.ZodObject<{
4995
5217
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4996
5218
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -5016,6 +5238,8 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
5016
5238
  radius: number;
5017
5239
  pcb_keepout_id: string;
5018
5240
  description?: string | undefined;
5241
+ subcircuit_id?: string | undefined;
5242
+ pcb_group_id?: string | undefined;
5019
5243
  }, {
5020
5244
  type: "pcb_keepout";
5021
5245
  center: {
@@ -5027,6 +5251,8 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
5027
5251
  radius: string | number;
5028
5252
  pcb_keepout_id: string;
5029
5253
  description?: string | undefined;
5254
+ subcircuit_id?: string | undefined;
5255
+ pcb_group_id?: string | undefined;
5030
5256
  }>]>;
5031
5257
  type PCBKeepoutInput = z.input<typeof pcb_keepout>;
5032
5258
  type PCBKeepout = z.infer<typeof pcb_keepout>;
@@ -5034,6 +5260,8 @@ type PCBKeepout = z.infer<typeof pcb_keepout>;
5034
5260
  declare const pcb_missing_footprint_error: z.ZodObject<{
5035
5261
  type: z.ZodLiteral<"pcb_missing_footprint_error">;
5036
5262
  pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
5263
+ pcb_group_id: z.ZodOptional<z.ZodString>;
5264
+ subcircuit_id: z.ZodOptional<z.ZodString>;
5037
5265
  error_type: z.ZodLiteral<"pcb_missing_footprint_error">;
5038
5266
  source_component_id: z.ZodString;
5039
5267
  message: z.ZodString;
@@ -5043,11 +5271,15 @@ declare const pcb_missing_footprint_error: z.ZodObject<{
5043
5271
  source_component_id: string;
5044
5272
  error_type: "pcb_missing_footprint_error";
5045
5273
  pcb_missing_footprint_error_id: string;
5274
+ subcircuit_id?: string | undefined;
5275
+ pcb_group_id?: string | undefined;
5046
5276
  }, {
5047
5277
  message: string;
5048
5278
  type: "pcb_missing_footprint_error";
5049
5279
  source_component_id: string;
5050
5280
  error_type: "pcb_missing_footprint_error";
5281
+ subcircuit_id?: string | undefined;
5282
+ pcb_group_id?: string | undefined;
5051
5283
  pcb_missing_footprint_error_id?: string | undefined;
5052
5284
  }>;
5053
5285
  type PcbMissingFootprintErrorInput = z.input<typeof pcb_missing_footprint_error>;
@@ -5057,6 +5289,8 @@ type PcbMissingFootprintErrorInput = z.input<typeof pcb_missing_footprint_error>
5057
5289
  interface PcbMissingFootprintError {
5058
5290
  type: "pcb_missing_footprint_error";
5059
5291
  pcb_missing_footprint_error_id: string;
5292
+ pcb_group_id?: string;
5293
+ subcircuit_id?: string;
5060
5294
  error_type: "pcb_missing_footprint_error";
5061
5295
  source_component_id: string;
5062
5296
  message: string;
@@ -5071,6 +5305,8 @@ declare const pcb_manual_edit_conflict_error: z.ZodObject<{
5071
5305
  pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
5072
5306
  message: z.ZodString;
5073
5307
  pcb_component_id: z.ZodString;
5308
+ pcb_group_id: z.ZodOptional<z.ZodString>;
5309
+ subcircuit_id: z.ZodOptional<z.ZodString>;
5074
5310
  source_component_id: z.ZodString;
5075
5311
  }, "strip", z.ZodTypeAny, {
5076
5312
  message: string;
@@ -5078,11 +5314,15 @@ declare const pcb_manual_edit_conflict_error: z.ZodObject<{
5078
5314
  source_component_id: string;
5079
5315
  pcb_component_id: string;
5080
5316
  pcb_error_id: string;
5317
+ subcircuit_id?: string | undefined;
5318
+ pcb_group_id?: string | undefined;
5081
5319
  }, {
5082
5320
  message: string;
5083
5321
  type: "pcb_manual_edit_conflict_error";
5084
5322
  source_component_id: string;
5085
5323
  pcb_component_id: string;
5324
+ subcircuit_id?: string | undefined;
5325
+ pcb_group_id?: string | undefined;
5086
5326
  pcb_error_id?: string | undefined;
5087
5327
  }>;
5088
5328
  type PcbManualEditConflictErrorInput = z.input<typeof pcb_manual_edit_conflict_error>;
@@ -5094,6 +5334,8 @@ interface PcbManualEditConflictError {
5094
5334
  pcb_error_id: string;
5095
5335
  message: string;
5096
5336
  pcb_component_id: string;
5337
+ pcb_group_id?: string;
5338
+ subcircuit_id?: string;
5097
5339
  source_component_id: string;
5098
5340
  }
5099
5341
  /**
@@ -5104,6 +5346,9 @@ type PCBManualEditConflictError = PcbManualEditConflictError;
5104
5346
  declare const pcb_group: z.ZodObject<{
5105
5347
  type: z.ZodLiteral<"pcb_group">;
5106
5348
  pcb_group_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
5349
+ source_group_id: z.ZodString;
5350
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
5351
+ subcircuit_id: z.ZodOptional<z.ZodString>;
5107
5352
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5108
5353
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5109
5354
  center: z.ZodObject<{
@@ -5123,18 +5368,22 @@ declare const pcb_group: z.ZodObject<{
5123
5368
  type: "pcb_group";
5124
5369
  width: number;
5125
5370
  height: number;
5371
+ source_group_id: string;
5126
5372
  center: {
5127
5373
  x: number;
5128
5374
  y: number;
5129
5375
  };
5130
- pcb_component_ids: string[];
5131
5376
  pcb_group_id: string;
5377
+ pcb_component_ids: string[];
5132
5378
  description?: string | undefined;
5133
5379
  name?: string | undefined;
5380
+ subcircuit_id?: string | undefined;
5381
+ is_subcircuit?: boolean | undefined;
5134
5382
  }, {
5135
5383
  type: "pcb_group";
5136
5384
  width: string | number;
5137
5385
  height: string | number;
5386
+ source_group_id: string;
5138
5387
  center: {
5139
5388
  x: string | number;
5140
5389
  y: string | number;
@@ -5142,6 +5391,8 @@ declare const pcb_group: z.ZodObject<{
5142
5391
  pcb_component_ids: string[];
5143
5392
  description?: string | undefined;
5144
5393
  name?: string | undefined;
5394
+ subcircuit_id?: string | undefined;
5395
+ is_subcircuit?: boolean | undefined;
5145
5396
  pcb_group_id?: string | undefined;
5146
5397
  }>;
5147
5398
  type PcbGroupInput = z.input<typeof pcb_group>;
@@ -5151,6 +5402,9 @@ type PcbGroupInput = z.input<typeof pcb_group>;
5151
5402
  interface PcbGroup {
5152
5403
  type: "pcb_group";
5153
5404
  pcb_group_id: string;
5405
+ source_group_id: string;
5406
+ is_subcircuit?: boolean;
5407
+ subcircuit_id?: string;
5154
5408
  width: Length;
5155
5409
  height: Length;
5156
5410
  center: Point;
@@ -5884,15 +6138,21 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5884
6138
  }>, z.ZodObject<{
5885
6139
  type: z.ZodLiteral<"source_group">;
5886
6140
  source_group_id: z.ZodString;
6141
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6142
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
5887
6143
  name: z.ZodOptional<z.ZodString>;
5888
6144
  }, "strip", z.ZodTypeAny, {
5889
6145
  type: "source_group";
5890
6146
  source_group_id: string;
5891
6147
  name?: string | undefined;
6148
+ subcircuit_id?: string | undefined;
6149
+ is_subcircuit?: boolean | undefined;
5892
6150
  }, {
5893
6151
  type: "source_group";
5894
6152
  source_group_id: string;
5895
6153
  name?: string | undefined;
6154
+ subcircuit_id?: string | undefined;
6155
+ is_subcircuit?: boolean | undefined;
5896
6156
  }>, z.ZodObject<z.objectUtil.extendShape<{
5897
6157
  type: z.ZodLiteral<"source_component">;
5898
6158
  ftype: z.ZodOptional<z.ZodString>;
@@ -6334,6 +6594,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6334
6594
  rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6335
6595
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6336
6596
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6597
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6337
6598
  }, "strip", z.ZodTypeAny, {
6338
6599
  type: "pcb_component";
6339
6600
  width: number;
@@ -6346,6 +6607,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6346
6607
  };
6347
6608
  pcb_component_id: string;
6348
6609
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6610
+ subcircuit_id?: string | undefined;
6349
6611
  }, {
6350
6612
  type: "pcb_component";
6351
6613
  width: string | number;
@@ -6359,10 +6621,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6359
6621
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
6360
6622
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6361
6623
  };
6624
+ subcircuit_id?: string | undefined;
6362
6625
  pcb_component_id?: string | undefined;
6363
6626
  }>, z.ZodUnion<[z.ZodObject<{
6364
6627
  type: z.ZodLiteral<"pcb_hole">;
6365
6628
  pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6629
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6630
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6366
6631
  hole_shape: z.ZodEnum<["circle", "square"]>;
6367
6632
  hole_diameter: z.ZodNumber;
6368
6633
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -6374,16 +6639,22 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6374
6639
  pcb_hole_id: string;
6375
6640
  hole_shape: "circle" | "square";
6376
6641
  hole_diameter: number;
6642
+ subcircuit_id?: string | undefined;
6643
+ pcb_group_id?: string | undefined;
6377
6644
  }, {
6378
6645
  x: string | number;
6379
6646
  y: string | number;
6380
6647
  type: "pcb_hole";
6381
6648
  hole_shape: "circle" | "square";
6382
6649
  hole_diameter: number;
6650
+ subcircuit_id?: string | undefined;
6383
6651
  pcb_hole_id?: string | undefined;
6652
+ pcb_group_id?: string | undefined;
6384
6653
  }>, z.ZodObject<{
6385
6654
  type: z.ZodLiteral<"pcb_hole">;
6386
6655
  pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6656
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6657
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6387
6658
  hole_shape: z.ZodLiteral<"oval">;
6388
6659
  hole_width: z.ZodNumber;
6389
6660
  hole_height: z.ZodNumber;
@@ -6397,6 +6668,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6397
6668
  hole_shape: "oval";
6398
6669
  hole_width: number;
6399
6670
  hole_height: number;
6671
+ subcircuit_id?: string | undefined;
6672
+ pcb_group_id?: string | undefined;
6400
6673
  }, {
6401
6674
  x: string | number;
6402
6675
  y: string | number;
@@ -6404,10 +6677,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6404
6677
  hole_shape: "oval";
6405
6678
  hole_width: number;
6406
6679
  hole_height: number;
6680
+ subcircuit_id?: string | undefined;
6407
6681
  pcb_hole_id?: string | undefined;
6682
+ pcb_group_id?: string | undefined;
6408
6683
  }>]>, z.ZodObject<{
6409
6684
  type: z.ZodLiteral<"pcb_missing_footprint_error">;
6410
6685
  pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6686
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6687
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6411
6688
  error_type: z.ZodLiteral<"pcb_missing_footprint_error">;
6412
6689
  source_component_id: z.ZodString;
6413
6690
  message: z.ZodString;
@@ -6417,17 +6694,23 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6417
6694
  source_component_id: string;
6418
6695
  error_type: "pcb_missing_footprint_error";
6419
6696
  pcb_missing_footprint_error_id: string;
6697
+ subcircuit_id?: string | undefined;
6698
+ pcb_group_id?: string | undefined;
6420
6699
  }, {
6421
6700
  message: string;
6422
6701
  type: "pcb_missing_footprint_error";
6423
6702
  source_component_id: string;
6424
6703
  error_type: "pcb_missing_footprint_error";
6704
+ subcircuit_id?: string | undefined;
6705
+ pcb_group_id?: string | undefined;
6425
6706
  pcb_missing_footprint_error_id?: string | undefined;
6426
6707
  }>, z.ZodObject<{
6427
6708
  type: z.ZodLiteral<"pcb_manual_edit_conflict_error">;
6428
6709
  pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6429
6710
  message: z.ZodString;
6430
6711
  pcb_component_id: z.ZodString;
6712
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6713
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6431
6714
  source_component_id: z.ZodString;
6432
6715
  }, "strip", z.ZodTypeAny, {
6433
6716
  message: string;
@@ -6435,15 +6718,21 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6435
6718
  source_component_id: string;
6436
6719
  pcb_component_id: string;
6437
6720
  pcb_error_id: string;
6721
+ subcircuit_id?: string | undefined;
6722
+ pcb_group_id?: string | undefined;
6438
6723
  }, {
6439
6724
  message: string;
6440
6725
  type: "pcb_manual_edit_conflict_error";
6441
6726
  source_component_id: string;
6442
6727
  pcb_component_id: string;
6728
+ subcircuit_id?: string | undefined;
6729
+ pcb_group_id?: string | undefined;
6443
6730
  pcb_error_id?: string | undefined;
6444
6731
  }>, z.ZodUnion<[z.ZodObject<{
6445
6732
  type: z.ZodLiteral<"pcb_plated_hole">;
6446
6733
  shape: z.ZodLiteral<"circle">;
6734
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6735
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6447
6736
  outer_diameter: z.ZodNumber;
6448
6737
  hole_diameter: z.ZodNumber;
6449
6738
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -6471,7 +6760,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6471
6760
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
6472
6761
  pcb_plated_hole_id: string;
6473
6762
  port_hints?: string[] | undefined;
6763
+ subcircuit_id?: string | undefined;
6474
6764
  pcb_component_id?: string | undefined;
6765
+ pcb_group_id?: string | undefined;
6475
6766
  pcb_port_id?: string | undefined;
6476
6767
  }, {
6477
6768
  x: string | number;
@@ -6484,12 +6775,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6484
6775
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6485
6776
  })[];
6486
6777
  port_hints?: string[] | undefined;
6778
+ subcircuit_id?: string | undefined;
6487
6779
  pcb_component_id?: string | undefined;
6780
+ pcb_group_id?: string | undefined;
6488
6781
  pcb_port_id?: string | undefined;
6489
6782
  pcb_plated_hole_id?: string | undefined;
6490
6783
  }>, z.ZodObject<{
6491
6784
  type: z.ZodLiteral<"pcb_plated_hole">;
6492
6785
  shape: z.ZodEnum<["oval", "pill"]>;
6786
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6787
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6493
6788
  outer_width: z.ZodNumber;
6494
6789
  outer_height: z.ZodNumber;
6495
6790
  hole_width: z.ZodNumber;
@@ -6521,7 +6816,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6521
6816
  outer_width: number;
6522
6817
  outer_height: number;
6523
6818
  port_hints?: string[] | undefined;
6819
+ subcircuit_id?: string | undefined;
6524
6820
  pcb_component_id?: string | undefined;
6821
+ pcb_group_id?: string | undefined;
6525
6822
  pcb_port_id?: string | undefined;
6526
6823
  }, {
6527
6824
  x: string | number;
@@ -6536,12 +6833,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6536
6833
  outer_width: number;
6537
6834
  outer_height: number;
6538
6835
  port_hints?: string[] | undefined;
6836
+ subcircuit_id?: string | undefined;
6539
6837
  pcb_component_id?: string | undefined;
6838
+ pcb_group_id?: string | undefined;
6540
6839
  pcb_port_id?: string | undefined;
6541
6840
  pcb_plated_hole_id?: string | undefined;
6542
6841
  }>, z.ZodObject<{
6543
6842
  type: z.ZodLiteral<"pcb_plated_hole">;
6544
6843
  shape: z.ZodLiteral<"circular_hole_with_rect_pad">;
6844
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6845
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6545
6846
  hole_shape: z.ZodLiteral<"circle">;
6546
6847
  pad_shape: z.ZodLiteral<"rect">;
6547
6848
  hole_diameter: z.ZodNumber;
@@ -6575,7 +6876,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6575
6876
  rect_pad_width: number;
6576
6877
  rect_pad_height: number;
6577
6878
  port_hints?: string[] | undefined;
6879
+ subcircuit_id?: string | undefined;
6578
6880
  pcb_component_id?: string | undefined;
6881
+ pcb_group_id?: string | undefined;
6579
6882
  pcb_port_id?: string | undefined;
6580
6883
  }, {
6581
6884
  x: string | number;
@@ -6591,12 +6894,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6591
6894
  rect_pad_width: number;
6592
6895
  rect_pad_height: number;
6593
6896
  port_hints?: string[] | undefined;
6897
+ subcircuit_id?: string | undefined;
6594
6898
  pcb_component_id?: string | undefined;
6899
+ pcb_group_id?: string | undefined;
6595
6900
  pcb_port_id?: string | undefined;
6596
6901
  pcb_plated_hole_id?: string | undefined;
6597
6902
  }>]>, z.ZodUnion<[z.ZodObject<{
6598
6903
  type: z.ZodLiteral<"pcb_keepout">;
6599
6904
  shape: z.ZodLiteral<"rect">;
6905
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6906
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6600
6907
  center: z.ZodObject<{
6601
6908
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6602
6909
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -6624,6 +6931,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6624
6931
  layers: string[];
6625
6932
  pcb_keepout_id: string;
6626
6933
  description?: string | undefined;
6934
+ subcircuit_id?: string | undefined;
6935
+ pcb_group_id?: string | undefined;
6627
6936
  }, {
6628
6937
  type: "pcb_keepout";
6629
6938
  width: string | number;
@@ -6636,9 +6945,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6636
6945
  layers: string[];
6637
6946
  pcb_keepout_id: string;
6638
6947
  description?: string | undefined;
6948
+ subcircuit_id?: string | undefined;
6949
+ pcb_group_id?: string | undefined;
6639
6950
  }>, z.ZodObject<{
6640
6951
  type: z.ZodLiteral<"pcb_keepout">;
6641
6952
  shape: z.ZodLiteral<"circle">;
6953
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6954
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6642
6955
  center: z.ZodObject<{
6643
6956
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6644
6957
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -6664,6 +6977,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6664
6977
  radius: number;
6665
6978
  pcb_keepout_id: string;
6666
6979
  description?: string | undefined;
6980
+ subcircuit_id?: string | undefined;
6981
+ pcb_group_id?: string | undefined;
6667
6982
  }, {
6668
6983
  type: "pcb_keepout";
6669
6984
  center: {
@@ -6675,9 +6990,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6675
6990
  radius: string | number;
6676
6991
  pcb_keepout_id: string;
6677
6992
  description?: string | undefined;
6993
+ subcircuit_id?: string | undefined;
6994
+ pcb_group_id?: string | undefined;
6678
6995
  }>]>, z.ZodObject<{
6679
6996
  type: z.ZodLiteral<"pcb_port">;
6680
6997
  pcb_port_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6998
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6999
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6681
7000
  source_port_id: z.ZodString;
6682
7001
  pcb_component_id: z.ZodString;
6683
7002
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -6699,6 +7018,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6699
7018
  pcb_component_id: string;
6700
7019
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
6701
7020
  pcb_port_id: string;
7021
+ subcircuit_id?: string | undefined;
7022
+ pcb_group_id?: string | undefined;
6702
7023
  }, {
6703
7024
  x: string | number;
6704
7025
  y: string | number;
@@ -6708,10 +7029,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6708
7029
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
6709
7030
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6710
7031
  })[];
7032
+ subcircuit_id?: string | undefined;
7033
+ pcb_group_id?: string | undefined;
6711
7034
  pcb_port_id?: string | undefined;
6712
7035
  }>, z.ZodObject<{
6713
7036
  type: z.ZodLiteral<"pcb_text">;
6714
7037
  pcb_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7038
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7039
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6715
7040
  text: z.ZodString;
6716
7041
  center: z.ZodObject<{
6717
7042
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -6749,6 +7074,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6749
7074
  pcb_text_id: string;
6750
7075
  lines: number;
6751
7076
  align: "bottom-left";
7077
+ subcircuit_id?: string | undefined;
7078
+ pcb_group_id?: string | undefined;
6752
7079
  }, {
6753
7080
  type: "pcb_text";
6754
7081
  width: string | number;
@@ -6763,12 +7090,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6763
7090
  };
6764
7091
  lines: number;
6765
7092
  align: "bottom-left";
7093
+ subcircuit_id?: string | undefined;
7094
+ pcb_group_id?: string | undefined;
6766
7095
  pcb_text_id?: string | undefined;
6767
7096
  }>, z.ZodObject<{
6768
7097
  type: z.ZodLiteral<"pcb_trace">;
6769
7098
  source_trace_id: z.ZodOptional<z.ZodString>;
6770
7099
  pcb_component_id: z.ZodOptional<z.ZodString>;
6771
7100
  pcb_trace_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7101
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7102
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6772
7103
  route_thickness_mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<["constant", "interpolated"]>>>;
6773
7104
  route_order_index: z.ZodOptional<z.ZodNumber>;
6774
7105
  should_round_corners: z.ZodOptional<z.ZodBoolean>;
@@ -6845,7 +7176,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6845
7176
  from_layer: string;
6846
7177
  })[];
6847
7178
  source_trace_id?: string | undefined;
7179
+ subcircuit_id?: string | undefined;
6848
7180
  pcb_component_id?: string | undefined;
7181
+ pcb_group_id?: string | undefined;
6849
7182
  route_thickness_mode?: "constant" | "interpolated" | undefined;
6850
7183
  route_order_index?: number | undefined;
6851
7184
  should_round_corners?: boolean | undefined;
@@ -6870,7 +7203,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6870
7203
  from_layer: string;
6871
7204
  })[];
6872
7205
  source_trace_id?: string | undefined;
7206
+ subcircuit_id?: string | undefined;
6873
7207
  pcb_component_id?: string | undefined;
7208
+ pcb_group_id?: string | undefined;
6874
7209
  pcb_trace_id?: string | undefined;
6875
7210
  route_thickness_mode?: "constant" | "interpolated" | undefined;
6876
7211
  route_order_index?: number | undefined;
@@ -6879,6 +7214,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6879
7214
  }>, z.ZodObject<{
6880
7215
  type: z.ZodLiteral<"pcb_via">;
6881
7216
  pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7217
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7218
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6882
7219
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6883
7220
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6884
7221
  outer_diameter: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -6919,7 +7256,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6919
7256
  outer_diameter: number;
6920
7257
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
6921
7258
  pcb_via_id: string;
7259
+ subcircuit_id?: string | undefined;
6922
7260
  to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
7261
+ pcb_group_id?: string | undefined;
6923
7262
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
6924
7263
  pcb_trace_id?: string | undefined;
6925
7264
  }, {
@@ -6929,9 +7268,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6929
7268
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
6930
7269
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6931
7270
  })[];
7271
+ subcircuit_id?: string | undefined;
6932
7272
  to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
6933
7273
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6934
7274
  } | undefined;
7275
+ pcb_group_id?: string | undefined;
6935
7276
  hole_diameter?: string | number | undefined;
6936
7277
  outer_diameter?: string | number | undefined;
6937
7278
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
@@ -6943,6 +7284,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6943
7284
  type: z.ZodLiteral<"pcb_smtpad">;
6944
7285
  shape: z.ZodLiteral<"circle">;
6945
7286
  pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7287
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7288
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6946
7289
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6947
7290
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6948
7291
  radius: z.ZodNumber;
@@ -6967,7 +7310,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6967
7310
  pcb_smtpad_id: string;
6968
7311
  radius: number;
6969
7312
  port_hints?: string[] | undefined;
7313
+ subcircuit_id?: string | undefined;
6970
7314
  pcb_component_id?: string | undefined;
7315
+ pcb_group_id?: string | undefined;
6971
7316
  pcb_port_id?: string | undefined;
6972
7317
  }, {
6973
7318
  x: string | number;
@@ -6979,13 +7324,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6979
7324
  };
6980
7325
  radius: number;
6981
7326
  port_hints?: string[] | undefined;
7327
+ subcircuit_id?: string | undefined;
6982
7328
  pcb_component_id?: string | undefined;
7329
+ pcb_group_id?: string | undefined;
6983
7330
  pcb_port_id?: string | undefined;
6984
7331
  pcb_smtpad_id?: string | undefined;
6985
7332
  }>, z.ZodObject<{
6986
7333
  type: z.ZodLiteral<"pcb_smtpad">;
6987
7334
  shape: z.ZodLiteral<"rect">;
6988
7335
  pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7336
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7337
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6989
7338
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6990
7339
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6991
7340
  width: z.ZodNumber;
@@ -7012,7 +7361,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7012
7361
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7013
7362
  pcb_smtpad_id: string;
7014
7363
  port_hints?: string[] | undefined;
7364
+ subcircuit_id?: string | undefined;
7015
7365
  pcb_component_id?: string | undefined;
7366
+ pcb_group_id?: string | undefined;
7016
7367
  pcb_port_id?: string | undefined;
7017
7368
  }, {
7018
7369
  x: string | number;
@@ -7025,13 +7376,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7025
7376
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7026
7377
  };
7027
7378
  port_hints?: string[] | undefined;
7379
+ subcircuit_id?: string | undefined;
7028
7380
  pcb_component_id?: string | undefined;
7381
+ pcb_group_id?: string | undefined;
7029
7382
  pcb_port_id?: string | undefined;
7030
7383
  pcb_smtpad_id?: string | undefined;
7031
7384
  }>, z.ZodObject<{
7032
7385
  type: z.ZodLiteral<"pcb_smtpad">;
7033
7386
  shape: z.ZodLiteral<"rotated_rect">;
7034
7387
  pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7388
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7389
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7035
7390
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7036
7391
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7037
7392
  width: z.ZodNumber;
@@ -7060,7 +7415,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7060
7415
  pcb_smtpad_id: string;
7061
7416
  ccw_rotation: number;
7062
7417
  port_hints?: string[] | undefined;
7418
+ subcircuit_id?: string | undefined;
7063
7419
  pcb_component_id?: string | undefined;
7420
+ pcb_group_id?: string | undefined;
7064
7421
  pcb_port_id?: string | undefined;
7065
7422
  }, {
7066
7423
  x: string | number;
@@ -7074,7 +7431,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7074
7431
  };
7075
7432
  ccw_rotation: string | number;
7076
7433
  port_hints?: string[] | undefined;
7434
+ subcircuit_id?: string | undefined;
7077
7435
  pcb_component_id?: string | undefined;
7436
+ pcb_group_id?: string | undefined;
7078
7437
  pcb_port_id?: string | undefined;
7079
7438
  pcb_smtpad_id?: string | undefined;
7080
7439
  }>, z.ZodObject<{
@@ -7130,6 +7489,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7130
7489
  type: z.ZodLiteral<"pcb_solder_paste">;
7131
7490
  shape: z.ZodLiteral<"circle">;
7132
7491
  pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7492
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7493
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7133
7494
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7134
7495
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7135
7496
  radius: z.ZodNumber;
@@ -7152,7 +7513,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7152
7513
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7153
7514
  radius: number;
7154
7515
  pcb_solder_paste_id: string;
7516
+ subcircuit_id?: string | undefined;
7155
7517
  pcb_component_id?: string | undefined;
7518
+ pcb_group_id?: string | undefined;
7156
7519
  pcb_smtpad_id?: string | undefined;
7157
7520
  }, {
7158
7521
  x: string | number;
@@ -7163,13 +7526,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7163
7526
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7164
7527
  };
7165
7528
  radius: number;
7529
+ subcircuit_id?: string | undefined;
7166
7530
  pcb_component_id?: string | undefined;
7531
+ pcb_group_id?: string | undefined;
7167
7532
  pcb_smtpad_id?: string | undefined;
7168
7533
  pcb_solder_paste_id?: string | undefined;
7169
7534
  }>, z.ZodObject<{
7170
7535
  type: z.ZodLiteral<"pcb_solder_paste">;
7171
7536
  shape: z.ZodLiteral<"rect">;
7172
7537
  pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7538
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7539
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7173
7540
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7174
7541
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7175
7542
  width: z.ZodNumber;
@@ -7194,7 +7561,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7194
7561
  shape: "rect";
7195
7562
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7196
7563
  pcb_solder_paste_id: string;
7564
+ subcircuit_id?: string | undefined;
7197
7565
  pcb_component_id?: string | undefined;
7566
+ pcb_group_id?: string | undefined;
7198
7567
  pcb_smtpad_id?: string | undefined;
7199
7568
  }, {
7200
7569
  x: string | number;
@@ -7206,12 +7575,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7206
7575
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
7207
7576
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7208
7577
  };
7578
+ subcircuit_id?: string | undefined;
7209
7579
  pcb_component_id?: string | undefined;
7580
+ pcb_group_id?: string | undefined;
7210
7581
  pcb_smtpad_id?: string | undefined;
7211
7582
  pcb_solder_paste_id?: string | undefined;
7212
7583
  }>]>, z.ZodObject<{
7213
7584
  type: z.ZodLiteral<"pcb_board">;
7214
7585
  pcb_board_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7586
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
7587
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7215
7588
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7216
7589
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7217
7590
  center: z.ZodObject<{
@@ -7247,6 +7620,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7247
7620
  pcb_board_id: string;
7248
7621
  thickness: number;
7249
7622
  num_layers: number;
7623
+ subcircuit_id?: string | undefined;
7624
+ is_subcircuit?: boolean | undefined;
7250
7625
  outline?: {
7251
7626
  x: number;
7252
7627
  y: number;
@@ -7259,6 +7634,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7259
7634
  x: string | number;
7260
7635
  y: string | number;
7261
7636
  };
7637
+ subcircuit_id?: string | undefined;
7638
+ is_subcircuit?: boolean | undefined;
7262
7639
  pcb_board_id?: string | undefined;
7263
7640
  thickness?: string | number | undefined;
7264
7641
  num_layers?: number | undefined;
@@ -7269,6 +7646,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7269
7646
  }>, z.ZodObject<{
7270
7647
  type: z.ZodLiteral<"pcb_group">;
7271
7648
  pcb_group_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7649
+ source_group_id: z.ZodString;
7650
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
7651
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7272
7652
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7273
7653
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7274
7654
  center: z.ZodObject<{
@@ -7288,18 +7668,22 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7288
7668
  type: "pcb_group";
7289
7669
  width: number;
7290
7670
  height: number;
7671
+ source_group_id: string;
7291
7672
  center: {
7292
7673
  x: number;
7293
7674
  y: number;
7294
7675
  };
7295
- pcb_component_ids: string[];
7296
7676
  pcb_group_id: string;
7677
+ pcb_component_ids: string[];
7297
7678
  description?: string | undefined;
7298
7679
  name?: string | undefined;
7680
+ subcircuit_id?: string | undefined;
7681
+ is_subcircuit?: boolean | undefined;
7299
7682
  }, {
7300
7683
  type: "pcb_group";
7301
7684
  width: string | number;
7302
7685
  height: string | number;
7686
+ source_group_id: string;
7303
7687
  center: {
7304
7688
  x: string | number;
7305
7689
  y: string | number;
@@ -7307,6 +7691,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7307
7691
  pcb_component_ids: string[];
7308
7692
  description?: string | undefined;
7309
7693
  name?: string | undefined;
7694
+ subcircuit_id?: string | undefined;
7695
+ is_subcircuit?: boolean | undefined;
7310
7696
  pcb_group_id?: string | undefined;
7311
7697
  }>, z.ZodObject<{
7312
7698
  type: z.ZodLiteral<"pcb_trace_hint">;
@@ -7372,6 +7758,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7372
7758
  type: z.ZodLiteral<"pcb_silkscreen_line">;
7373
7759
  pcb_silkscreen_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7374
7760
  pcb_component_id: z.ZodString;
7761
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7762
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7375
7763
  stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
7376
7764
  x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7377
7765
  y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -7388,6 +7776,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7388
7776
  layer: "top" | "bottom";
7389
7777
  pcb_silkscreen_line_id: string;
7390
7778
  stroke_width: number;
7779
+ subcircuit_id?: string | undefined;
7780
+ pcb_group_id?: string | undefined;
7391
7781
  }, {
7392
7782
  type: "pcb_silkscreen_line";
7393
7783
  x1: string | number;
@@ -7396,12 +7786,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7396
7786
  y2: string | number;
7397
7787
  pcb_component_id: string;
7398
7788
  layer: "top" | "bottom";
7789
+ subcircuit_id?: string | undefined;
7790
+ pcb_group_id?: string | undefined;
7399
7791
  pcb_silkscreen_line_id?: string | undefined;
7400
7792
  stroke_width?: string | number | undefined;
7401
7793
  }>, z.ZodObject<{
7402
7794
  type: z.ZodLiteral<"pcb_silkscreen_path">;
7403
7795
  pcb_silkscreen_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7404
7796
  pcb_component_id: z.ZodString;
7797
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7798
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7405
7799
  layer: z.ZodEnum<["top", "bottom"]>;
7406
7800
  route: z.ZodArray<z.ZodObject<{
7407
7801
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -7424,6 +7818,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7424
7818
  }[];
7425
7819
  stroke_width: number;
7426
7820
  pcb_silkscreen_path_id: string;
7821
+ subcircuit_id?: string | undefined;
7822
+ pcb_group_id?: string | undefined;
7427
7823
  }, {
7428
7824
  type: "pcb_silkscreen_path";
7429
7825
  pcb_component_id: string;
@@ -7433,10 +7829,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7433
7829
  y: string | number;
7434
7830
  }[];
7435
7831
  stroke_width: string | number;
7832
+ subcircuit_id?: string | undefined;
7833
+ pcb_group_id?: string | undefined;
7436
7834
  pcb_silkscreen_path_id?: string | undefined;
7437
7835
  }>, z.ZodObject<{
7438
7836
  type: z.ZodLiteral<"pcb_silkscreen_text">;
7439
7837
  pcb_silkscreen_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7838
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7839
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7440
7840
  font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
7441
7841
  font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
7442
7842
  pcb_component_id: z.ZodString;
@@ -7476,6 +7876,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7476
7876
  font: "tscircuit2024";
7477
7877
  font_size: number;
7478
7878
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
7879
+ subcircuit_id?: string | undefined;
7880
+ pcb_group_id?: string | undefined;
7479
7881
  ccw_rotation?: number | undefined;
7480
7882
  is_mirrored?: boolean | undefined;
7481
7883
  }, {
@@ -7485,10 +7887,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7485
7887
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
7486
7888
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7487
7889
  };
7890
+ subcircuit_id?: string | undefined;
7488
7891
  anchor_position?: {
7489
7892
  x: string | number;
7490
7893
  y: string | number;
7491
7894
  } | undefined;
7895
+ pcb_group_id?: string | undefined;
7492
7896
  ccw_rotation?: number | undefined;
7493
7897
  pcb_silkscreen_text_id?: string | undefined;
7494
7898
  font?: "tscircuit2024" | undefined;
@@ -7499,6 +7903,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7499
7903
  type: z.ZodLiteral<"pcb_silkscreen_rect">;
7500
7904
  pcb_silkscreen_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7501
7905
  pcb_component_id: z.ZodString;
7906
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7907
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7502
7908
  center: z.ZodObject<{
7503
7909
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7504
7910
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -7531,6 +7937,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7531
7937
  pcb_component_id: string;
7532
7938
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7533
7939
  pcb_silkscreen_rect_id: string;
7940
+ subcircuit_id?: string | undefined;
7941
+ pcb_group_id?: string | undefined;
7534
7942
  }, {
7535
7943
  type: "pcb_silkscreen_rect";
7536
7944
  width: string | number;
@@ -7543,11 +7951,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7543
7951
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
7544
7952
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7545
7953
  };
7954
+ subcircuit_id?: string | undefined;
7955
+ pcb_group_id?: string | undefined;
7546
7956
  pcb_silkscreen_rect_id?: string | undefined;
7547
7957
  }>, z.ZodObject<{
7548
7958
  type: z.ZodLiteral<"pcb_silkscreen_circle">;
7549
7959
  pcb_silkscreen_circle_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7550
7960
  pcb_component_id: z.ZodString;
7961
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7962
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7551
7963
  center: z.ZodObject<{
7552
7964
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7553
7965
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -7570,6 +7982,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7570
7982
  layer: "top" | "bottom";
7571
7983
  radius: number;
7572
7984
  pcb_silkscreen_circle_id: string;
7985
+ subcircuit_id?: string | undefined;
7986
+ pcb_group_id?: string | undefined;
7573
7987
  }, {
7574
7988
  type: "pcb_silkscreen_circle";
7575
7989
  center: {
@@ -7579,11 +7993,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7579
7993
  pcb_component_id: string;
7580
7994
  layer: "top" | "bottom";
7581
7995
  radius: string | number;
7996
+ subcircuit_id?: string | undefined;
7997
+ pcb_group_id?: string | undefined;
7582
7998
  pcb_silkscreen_circle_id?: string | undefined;
7583
7999
  }>, z.ZodObject<{
7584
8000
  type: z.ZodLiteral<"pcb_silkscreen_oval">;
7585
8001
  pcb_silkscreen_oval_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7586
8002
  pcb_component_id: z.ZodString;
8003
+ pcb_group_id: z.ZodOptional<z.ZodString>;
8004
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7587
8005
  center: z.ZodObject<{
7588
8006
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7589
8007
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -7608,6 +8026,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7608
8026
  pcb_silkscreen_oval_id: string;
7609
8027
  radius_x: number;
7610
8028
  radius_y: number;
8029
+ subcircuit_id?: string | undefined;
8030
+ pcb_group_id?: string | undefined;
7611
8031
  }, {
7612
8032
  type: "pcb_silkscreen_oval";
7613
8033
  center: {
@@ -7618,6 +8038,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7618
8038
  layer: "top" | "bottom";
7619
8039
  radius_x: string | number;
7620
8040
  radius_y: string | number;
8041
+ subcircuit_id?: string | undefined;
8042
+ pcb_group_id?: string | undefined;
7621
8043
  pcb_silkscreen_oval_id?: string | undefined;
7622
8044
  }>, z.ZodObject<{
7623
8045
  type: z.ZodLiteral<"pcb_trace_error">;
@@ -7695,6 +8117,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7695
8117
  type: z.ZodLiteral<"pcb_fabrication_note_path">;
7696
8118
  pcb_fabrication_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7697
8119
  pcb_component_id: z.ZodString;
8120
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7698
8121
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
7699
8122
  name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
7700
8123
  }, "strip", z.ZodTypeAny, {
@@ -7726,6 +8149,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7726
8149
  }[];
7727
8150
  stroke_width: number;
7728
8151
  pcb_fabrication_note_path_id: string;
8152
+ subcircuit_id?: string | undefined;
7729
8153
  color?: string | undefined;
7730
8154
  }, {
7731
8155
  type: "pcb_fabrication_note_path";
@@ -7738,11 +8162,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7738
8162
  y: string | number;
7739
8163
  }[];
7740
8164
  stroke_width: string | number;
8165
+ subcircuit_id?: string | undefined;
7741
8166
  color?: string | undefined;
7742
8167
  pcb_fabrication_note_path_id?: string | undefined;
7743
8168
  }>, z.ZodObject<{
7744
8169
  type: z.ZodLiteral<"pcb_fabrication_note_text">;
7745
8170
  pcb_fabrication_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8171
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8172
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7746
8173
  font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
7747
8174
  font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
7748
8175
  pcb_component_id: z.ZodString;
@@ -7773,17 +8200,21 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7773
8200
  font_size: number;
7774
8201
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
7775
8202
  pcb_fabrication_note_text_id: string;
8203
+ subcircuit_id?: string | undefined;
7776
8204
  color?: string | undefined;
8205
+ pcb_group_id?: string | undefined;
7777
8206
  }, {
7778
8207
  type: "pcb_fabrication_note_text";
7779
8208
  text: string;
7780
8209
  pcb_component_id: string;
7781
8210
  layer: "top" | "bottom";
8211
+ subcircuit_id?: string | undefined;
7782
8212
  color?: string | undefined;
7783
8213
  anchor_position?: {
7784
8214
  x: string | number;
7785
8215
  y: string | number;
7786
8216
  } | undefined;
8217
+ pcb_group_id?: string | undefined;
7787
8218
  font?: "tscircuit2024" | undefined;
7788
8219
  font_size?: string | number | undefined;
7789
8220
  anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
@@ -9246,15 +9677,21 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9246
9677
  }>, z.ZodObject<{
9247
9678
  type: z.ZodLiteral<"source_group">;
9248
9679
  source_group_id: z.ZodString;
9680
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9681
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
9249
9682
  name: z.ZodOptional<z.ZodString>;
9250
9683
  }, "strip", z.ZodTypeAny, {
9251
9684
  type: "source_group";
9252
9685
  source_group_id: string;
9253
9686
  name?: string | undefined;
9687
+ subcircuit_id?: string | undefined;
9688
+ is_subcircuit?: boolean | undefined;
9254
9689
  }, {
9255
9690
  type: "source_group";
9256
9691
  source_group_id: string;
9257
9692
  name?: string | undefined;
9693
+ subcircuit_id?: string | undefined;
9694
+ is_subcircuit?: boolean | undefined;
9258
9695
  }>, z.ZodObject<z.objectUtil.extendShape<{
9259
9696
  type: z.ZodLiteral<"source_component">;
9260
9697
  ftype: z.ZodOptional<z.ZodString>;
@@ -9696,6 +10133,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9696
10133
  rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9697
10134
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9698
10135
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10136
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9699
10137
  }, "strip", z.ZodTypeAny, {
9700
10138
  type: "pcb_component";
9701
10139
  width: number;
@@ -9708,6 +10146,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9708
10146
  };
9709
10147
  pcb_component_id: string;
9710
10148
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10149
+ subcircuit_id?: string | undefined;
9711
10150
  }, {
9712
10151
  type: "pcb_component";
9713
10152
  width: string | number;
@@ -9721,10 +10160,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9721
10160
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
9722
10161
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
9723
10162
  };
10163
+ subcircuit_id?: string | undefined;
9724
10164
  pcb_component_id?: string | undefined;
9725
10165
  }>, z.ZodUnion<[z.ZodObject<{
9726
10166
  type: z.ZodLiteral<"pcb_hole">;
9727
10167
  pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10168
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10169
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9728
10170
  hole_shape: z.ZodEnum<["circle", "square"]>;
9729
10171
  hole_diameter: z.ZodNumber;
9730
10172
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -9736,16 +10178,22 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9736
10178
  pcb_hole_id: string;
9737
10179
  hole_shape: "circle" | "square";
9738
10180
  hole_diameter: number;
10181
+ subcircuit_id?: string | undefined;
10182
+ pcb_group_id?: string | undefined;
9739
10183
  }, {
9740
10184
  x: string | number;
9741
10185
  y: string | number;
9742
10186
  type: "pcb_hole";
9743
10187
  hole_shape: "circle" | "square";
9744
10188
  hole_diameter: number;
10189
+ subcircuit_id?: string | undefined;
9745
10190
  pcb_hole_id?: string | undefined;
10191
+ pcb_group_id?: string | undefined;
9746
10192
  }>, z.ZodObject<{
9747
10193
  type: z.ZodLiteral<"pcb_hole">;
9748
10194
  pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10195
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10196
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9749
10197
  hole_shape: z.ZodLiteral<"oval">;
9750
10198
  hole_width: z.ZodNumber;
9751
10199
  hole_height: z.ZodNumber;
@@ -9759,6 +10207,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9759
10207
  hole_shape: "oval";
9760
10208
  hole_width: number;
9761
10209
  hole_height: number;
10210
+ subcircuit_id?: string | undefined;
10211
+ pcb_group_id?: string | undefined;
9762
10212
  }, {
9763
10213
  x: string | number;
9764
10214
  y: string | number;
@@ -9766,10 +10216,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9766
10216
  hole_shape: "oval";
9767
10217
  hole_width: number;
9768
10218
  hole_height: number;
10219
+ subcircuit_id?: string | undefined;
9769
10220
  pcb_hole_id?: string | undefined;
10221
+ pcb_group_id?: string | undefined;
9770
10222
  }>]>, z.ZodObject<{
9771
10223
  type: z.ZodLiteral<"pcb_missing_footprint_error">;
9772
10224
  pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10225
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10226
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9773
10227
  error_type: z.ZodLiteral<"pcb_missing_footprint_error">;
9774
10228
  source_component_id: z.ZodString;
9775
10229
  message: z.ZodString;
@@ -9779,17 +10233,23 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9779
10233
  source_component_id: string;
9780
10234
  error_type: "pcb_missing_footprint_error";
9781
10235
  pcb_missing_footprint_error_id: string;
10236
+ subcircuit_id?: string | undefined;
10237
+ pcb_group_id?: string | undefined;
9782
10238
  }, {
9783
10239
  message: string;
9784
10240
  type: "pcb_missing_footprint_error";
9785
10241
  source_component_id: string;
9786
10242
  error_type: "pcb_missing_footprint_error";
10243
+ subcircuit_id?: string | undefined;
10244
+ pcb_group_id?: string | undefined;
9787
10245
  pcb_missing_footprint_error_id?: string | undefined;
9788
10246
  }>, z.ZodObject<{
9789
10247
  type: z.ZodLiteral<"pcb_manual_edit_conflict_error">;
9790
10248
  pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9791
10249
  message: z.ZodString;
9792
10250
  pcb_component_id: z.ZodString;
10251
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10252
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9793
10253
  source_component_id: z.ZodString;
9794
10254
  }, "strip", z.ZodTypeAny, {
9795
10255
  message: string;
@@ -9797,15 +10257,21 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9797
10257
  source_component_id: string;
9798
10258
  pcb_component_id: string;
9799
10259
  pcb_error_id: string;
10260
+ subcircuit_id?: string | undefined;
10261
+ pcb_group_id?: string | undefined;
9800
10262
  }, {
9801
10263
  message: string;
9802
10264
  type: "pcb_manual_edit_conflict_error";
9803
10265
  source_component_id: string;
9804
10266
  pcb_component_id: string;
10267
+ subcircuit_id?: string | undefined;
10268
+ pcb_group_id?: string | undefined;
9805
10269
  pcb_error_id?: string | undefined;
9806
10270
  }>, z.ZodUnion<[z.ZodObject<{
9807
10271
  type: z.ZodLiteral<"pcb_plated_hole">;
9808
10272
  shape: z.ZodLiteral<"circle">;
10273
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10274
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9809
10275
  outer_diameter: z.ZodNumber;
9810
10276
  hole_diameter: z.ZodNumber;
9811
10277
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -9833,7 +10299,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9833
10299
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
9834
10300
  pcb_plated_hole_id: string;
9835
10301
  port_hints?: string[] | undefined;
10302
+ subcircuit_id?: string | undefined;
9836
10303
  pcb_component_id?: string | undefined;
10304
+ pcb_group_id?: string | undefined;
9837
10305
  pcb_port_id?: string | undefined;
9838
10306
  }, {
9839
10307
  x: string | number;
@@ -9846,12 +10314,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9846
10314
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
9847
10315
  })[];
9848
10316
  port_hints?: string[] | undefined;
10317
+ subcircuit_id?: string | undefined;
9849
10318
  pcb_component_id?: string | undefined;
10319
+ pcb_group_id?: string | undefined;
9850
10320
  pcb_port_id?: string | undefined;
9851
10321
  pcb_plated_hole_id?: string | undefined;
9852
10322
  }>, z.ZodObject<{
9853
10323
  type: z.ZodLiteral<"pcb_plated_hole">;
9854
10324
  shape: z.ZodEnum<["oval", "pill"]>;
10325
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10326
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9855
10327
  outer_width: z.ZodNumber;
9856
10328
  outer_height: z.ZodNumber;
9857
10329
  hole_width: z.ZodNumber;
@@ -9883,7 +10355,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9883
10355
  outer_width: number;
9884
10356
  outer_height: number;
9885
10357
  port_hints?: string[] | undefined;
10358
+ subcircuit_id?: string | undefined;
9886
10359
  pcb_component_id?: string | undefined;
10360
+ pcb_group_id?: string | undefined;
9887
10361
  pcb_port_id?: string | undefined;
9888
10362
  }, {
9889
10363
  x: string | number;
@@ -9898,12 +10372,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9898
10372
  outer_width: number;
9899
10373
  outer_height: number;
9900
10374
  port_hints?: string[] | undefined;
10375
+ subcircuit_id?: string | undefined;
9901
10376
  pcb_component_id?: string | undefined;
10377
+ pcb_group_id?: string | undefined;
9902
10378
  pcb_port_id?: string | undefined;
9903
10379
  pcb_plated_hole_id?: string | undefined;
9904
10380
  }>, z.ZodObject<{
9905
10381
  type: z.ZodLiteral<"pcb_plated_hole">;
9906
10382
  shape: z.ZodLiteral<"circular_hole_with_rect_pad">;
10383
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10384
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9907
10385
  hole_shape: z.ZodLiteral<"circle">;
9908
10386
  pad_shape: z.ZodLiteral<"rect">;
9909
10387
  hole_diameter: z.ZodNumber;
@@ -9937,7 +10415,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9937
10415
  rect_pad_width: number;
9938
10416
  rect_pad_height: number;
9939
10417
  port_hints?: string[] | undefined;
10418
+ subcircuit_id?: string | undefined;
9940
10419
  pcb_component_id?: string | undefined;
10420
+ pcb_group_id?: string | undefined;
9941
10421
  pcb_port_id?: string | undefined;
9942
10422
  }, {
9943
10423
  x: string | number;
@@ -9953,12 +10433,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9953
10433
  rect_pad_width: number;
9954
10434
  rect_pad_height: number;
9955
10435
  port_hints?: string[] | undefined;
10436
+ subcircuit_id?: string | undefined;
9956
10437
  pcb_component_id?: string | undefined;
10438
+ pcb_group_id?: string | undefined;
9957
10439
  pcb_port_id?: string | undefined;
9958
10440
  pcb_plated_hole_id?: string | undefined;
9959
10441
  }>]>, z.ZodUnion<[z.ZodObject<{
9960
10442
  type: z.ZodLiteral<"pcb_keepout">;
9961
10443
  shape: z.ZodLiteral<"rect">;
10444
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10445
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9962
10446
  center: z.ZodObject<{
9963
10447
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9964
10448
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -9986,6 +10470,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9986
10470
  layers: string[];
9987
10471
  pcb_keepout_id: string;
9988
10472
  description?: string | undefined;
10473
+ subcircuit_id?: string | undefined;
10474
+ pcb_group_id?: string | undefined;
9989
10475
  }, {
9990
10476
  type: "pcb_keepout";
9991
10477
  width: string | number;
@@ -9998,9 +10484,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9998
10484
  layers: string[];
9999
10485
  pcb_keepout_id: string;
10000
10486
  description?: string | undefined;
10487
+ subcircuit_id?: string | undefined;
10488
+ pcb_group_id?: string | undefined;
10001
10489
  }>, z.ZodObject<{
10002
10490
  type: z.ZodLiteral<"pcb_keepout">;
10003
10491
  shape: z.ZodLiteral<"circle">;
10492
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10493
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10004
10494
  center: z.ZodObject<{
10005
10495
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10006
10496
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10026,6 +10516,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10026
10516
  radius: number;
10027
10517
  pcb_keepout_id: string;
10028
10518
  description?: string | undefined;
10519
+ subcircuit_id?: string | undefined;
10520
+ pcb_group_id?: string | undefined;
10029
10521
  }, {
10030
10522
  type: "pcb_keepout";
10031
10523
  center: {
@@ -10037,9 +10529,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10037
10529
  radius: string | number;
10038
10530
  pcb_keepout_id: string;
10039
10531
  description?: string | undefined;
10532
+ subcircuit_id?: string | undefined;
10533
+ pcb_group_id?: string | undefined;
10040
10534
  }>]>, z.ZodObject<{
10041
10535
  type: z.ZodLiteral<"pcb_port">;
10042
10536
  pcb_port_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10537
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10538
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10043
10539
  source_port_id: z.ZodString;
10044
10540
  pcb_component_id: z.ZodString;
10045
10541
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10061,6 +10557,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10061
10557
  pcb_component_id: string;
10062
10558
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
10063
10559
  pcb_port_id: string;
10560
+ subcircuit_id?: string | undefined;
10561
+ pcb_group_id?: string | undefined;
10064
10562
  }, {
10065
10563
  x: string | number;
10066
10564
  y: string | number;
@@ -10070,10 +10568,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10070
10568
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
10071
10569
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10072
10570
  })[];
10571
+ subcircuit_id?: string | undefined;
10572
+ pcb_group_id?: string | undefined;
10073
10573
  pcb_port_id?: string | undefined;
10074
10574
  }>, z.ZodObject<{
10075
10575
  type: z.ZodLiteral<"pcb_text">;
10076
10576
  pcb_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10577
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10578
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10077
10579
  text: z.ZodString;
10078
10580
  center: z.ZodObject<{
10079
10581
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10111,6 +10613,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10111
10613
  pcb_text_id: string;
10112
10614
  lines: number;
10113
10615
  align: "bottom-left";
10616
+ subcircuit_id?: string | undefined;
10617
+ pcb_group_id?: string | undefined;
10114
10618
  }, {
10115
10619
  type: "pcb_text";
10116
10620
  width: string | number;
@@ -10125,12 +10629,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10125
10629
  };
10126
10630
  lines: number;
10127
10631
  align: "bottom-left";
10632
+ subcircuit_id?: string | undefined;
10633
+ pcb_group_id?: string | undefined;
10128
10634
  pcb_text_id?: string | undefined;
10129
10635
  }>, z.ZodObject<{
10130
10636
  type: z.ZodLiteral<"pcb_trace">;
10131
10637
  source_trace_id: z.ZodOptional<z.ZodString>;
10132
10638
  pcb_component_id: z.ZodOptional<z.ZodString>;
10133
10639
  pcb_trace_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10640
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10641
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10134
10642
  route_thickness_mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<["constant", "interpolated"]>>>;
10135
10643
  route_order_index: z.ZodOptional<z.ZodNumber>;
10136
10644
  should_round_corners: z.ZodOptional<z.ZodBoolean>;
@@ -10207,7 +10715,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10207
10715
  from_layer: string;
10208
10716
  })[];
10209
10717
  source_trace_id?: string | undefined;
10718
+ subcircuit_id?: string | undefined;
10210
10719
  pcb_component_id?: string | undefined;
10720
+ pcb_group_id?: string | undefined;
10211
10721
  route_thickness_mode?: "constant" | "interpolated" | undefined;
10212
10722
  route_order_index?: number | undefined;
10213
10723
  should_round_corners?: boolean | undefined;
@@ -10232,7 +10742,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10232
10742
  from_layer: string;
10233
10743
  })[];
10234
10744
  source_trace_id?: string | undefined;
10745
+ subcircuit_id?: string | undefined;
10235
10746
  pcb_component_id?: string | undefined;
10747
+ pcb_group_id?: string | undefined;
10236
10748
  pcb_trace_id?: string | undefined;
10237
10749
  route_thickness_mode?: "constant" | "interpolated" | undefined;
10238
10750
  route_order_index?: number | undefined;
@@ -10241,6 +10753,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10241
10753
  }>, z.ZodObject<{
10242
10754
  type: z.ZodLiteral<"pcb_via">;
10243
10755
  pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10756
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10757
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10244
10758
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10245
10759
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10246
10760
  outer_diameter: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -10281,7 +10795,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10281
10795
  outer_diameter: number;
10282
10796
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
10283
10797
  pcb_via_id: string;
10798
+ subcircuit_id?: string | undefined;
10284
10799
  to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
10800
+ pcb_group_id?: string | undefined;
10285
10801
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
10286
10802
  pcb_trace_id?: string | undefined;
10287
10803
  }, {
@@ -10291,9 +10807,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10291
10807
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
10292
10808
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10293
10809
  })[];
10810
+ subcircuit_id?: string | undefined;
10294
10811
  to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
10295
10812
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10296
10813
  } | undefined;
10814
+ pcb_group_id?: string | undefined;
10297
10815
  hole_diameter?: string | number | undefined;
10298
10816
  outer_diameter?: string | number | undefined;
10299
10817
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
@@ -10305,6 +10823,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10305
10823
  type: z.ZodLiteral<"pcb_smtpad">;
10306
10824
  shape: z.ZodLiteral<"circle">;
10307
10825
  pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10826
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10827
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10308
10828
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10309
10829
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10310
10830
  radius: z.ZodNumber;
@@ -10329,7 +10849,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10329
10849
  pcb_smtpad_id: string;
10330
10850
  radius: number;
10331
10851
  port_hints?: string[] | undefined;
10852
+ subcircuit_id?: string | undefined;
10332
10853
  pcb_component_id?: string | undefined;
10854
+ pcb_group_id?: string | undefined;
10333
10855
  pcb_port_id?: string | undefined;
10334
10856
  }, {
10335
10857
  x: string | number;
@@ -10341,13 +10863,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10341
10863
  };
10342
10864
  radius: number;
10343
10865
  port_hints?: string[] | undefined;
10866
+ subcircuit_id?: string | undefined;
10344
10867
  pcb_component_id?: string | undefined;
10868
+ pcb_group_id?: string | undefined;
10345
10869
  pcb_port_id?: string | undefined;
10346
10870
  pcb_smtpad_id?: string | undefined;
10347
10871
  }>, z.ZodObject<{
10348
10872
  type: z.ZodLiteral<"pcb_smtpad">;
10349
10873
  shape: z.ZodLiteral<"rect">;
10350
10874
  pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10875
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10876
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10351
10877
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10352
10878
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10353
10879
  width: z.ZodNumber;
@@ -10374,7 +10900,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10374
10900
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10375
10901
  pcb_smtpad_id: string;
10376
10902
  port_hints?: string[] | undefined;
10903
+ subcircuit_id?: string | undefined;
10377
10904
  pcb_component_id?: string | undefined;
10905
+ pcb_group_id?: string | undefined;
10378
10906
  pcb_port_id?: string | undefined;
10379
10907
  }, {
10380
10908
  x: string | number;
@@ -10387,13 +10915,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10387
10915
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10388
10916
  };
10389
10917
  port_hints?: string[] | undefined;
10918
+ subcircuit_id?: string | undefined;
10390
10919
  pcb_component_id?: string | undefined;
10920
+ pcb_group_id?: string | undefined;
10391
10921
  pcb_port_id?: string | undefined;
10392
10922
  pcb_smtpad_id?: string | undefined;
10393
10923
  }>, z.ZodObject<{
10394
10924
  type: z.ZodLiteral<"pcb_smtpad">;
10395
10925
  shape: z.ZodLiteral<"rotated_rect">;
10396
10926
  pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10927
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10928
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10397
10929
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10398
10930
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10399
10931
  width: z.ZodNumber;
@@ -10422,7 +10954,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10422
10954
  pcb_smtpad_id: string;
10423
10955
  ccw_rotation: number;
10424
10956
  port_hints?: string[] | undefined;
10957
+ subcircuit_id?: string | undefined;
10425
10958
  pcb_component_id?: string | undefined;
10959
+ pcb_group_id?: string | undefined;
10426
10960
  pcb_port_id?: string | undefined;
10427
10961
  }, {
10428
10962
  x: string | number;
@@ -10436,7 +10970,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10436
10970
  };
10437
10971
  ccw_rotation: string | number;
10438
10972
  port_hints?: string[] | undefined;
10973
+ subcircuit_id?: string | undefined;
10439
10974
  pcb_component_id?: string | undefined;
10975
+ pcb_group_id?: string | undefined;
10440
10976
  pcb_port_id?: string | undefined;
10441
10977
  pcb_smtpad_id?: string | undefined;
10442
10978
  }>, z.ZodObject<{
@@ -10492,6 +11028,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10492
11028
  type: z.ZodLiteral<"pcb_solder_paste">;
10493
11029
  shape: z.ZodLiteral<"circle">;
10494
11030
  pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11031
+ pcb_group_id: z.ZodOptional<z.ZodString>;
11032
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10495
11033
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10496
11034
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10497
11035
  radius: z.ZodNumber;
@@ -10514,7 +11052,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10514
11052
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10515
11053
  radius: number;
10516
11054
  pcb_solder_paste_id: string;
11055
+ subcircuit_id?: string | undefined;
10517
11056
  pcb_component_id?: string | undefined;
11057
+ pcb_group_id?: string | undefined;
10518
11058
  pcb_smtpad_id?: string | undefined;
10519
11059
  }, {
10520
11060
  x: string | number;
@@ -10525,13 +11065,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10525
11065
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10526
11066
  };
10527
11067
  radius: number;
11068
+ subcircuit_id?: string | undefined;
10528
11069
  pcb_component_id?: string | undefined;
11070
+ pcb_group_id?: string | undefined;
10529
11071
  pcb_smtpad_id?: string | undefined;
10530
11072
  pcb_solder_paste_id?: string | undefined;
10531
11073
  }>, z.ZodObject<{
10532
11074
  type: z.ZodLiteral<"pcb_solder_paste">;
10533
11075
  shape: z.ZodLiteral<"rect">;
10534
11076
  pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11077
+ pcb_group_id: z.ZodOptional<z.ZodString>;
11078
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10535
11079
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10536
11080
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10537
11081
  width: z.ZodNumber;
@@ -10556,7 +11100,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10556
11100
  shape: "rect";
10557
11101
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10558
11102
  pcb_solder_paste_id: string;
11103
+ subcircuit_id?: string | undefined;
10559
11104
  pcb_component_id?: string | undefined;
11105
+ pcb_group_id?: string | undefined;
10560
11106
  pcb_smtpad_id?: string | undefined;
10561
11107
  }, {
10562
11108
  x: string | number;
@@ -10568,12 +11114,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10568
11114
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
10569
11115
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10570
11116
  };
11117
+ subcircuit_id?: string | undefined;
10571
11118
  pcb_component_id?: string | undefined;
11119
+ pcb_group_id?: string | undefined;
10572
11120
  pcb_smtpad_id?: string | undefined;
10573
11121
  pcb_solder_paste_id?: string | undefined;
10574
11122
  }>]>, z.ZodObject<{
10575
11123
  type: z.ZodLiteral<"pcb_board">;
10576
11124
  pcb_board_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11125
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
11126
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10577
11127
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10578
11128
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10579
11129
  center: z.ZodObject<{
@@ -10609,6 +11159,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10609
11159
  pcb_board_id: string;
10610
11160
  thickness: number;
10611
11161
  num_layers: number;
11162
+ subcircuit_id?: string | undefined;
11163
+ is_subcircuit?: boolean | undefined;
10612
11164
  outline?: {
10613
11165
  x: number;
10614
11166
  y: number;
@@ -10621,6 +11173,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10621
11173
  x: string | number;
10622
11174
  y: string | number;
10623
11175
  };
11176
+ subcircuit_id?: string | undefined;
11177
+ is_subcircuit?: boolean | undefined;
10624
11178
  pcb_board_id?: string | undefined;
10625
11179
  thickness?: string | number | undefined;
10626
11180
  num_layers?: number | undefined;
@@ -10631,6 +11185,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10631
11185
  }>, z.ZodObject<{
10632
11186
  type: z.ZodLiteral<"pcb_group">;
10633
11187
  pcb_group_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11188
+ source_group_id: z.ZodString;
11189
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
11190
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10634
11191
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10635
11192
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10636
11193
  center: z.ZodObject<{
@@ -10650,18 +11207,22 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10650
11207
  type: "pcb_group";
10651
11208
  width: number;
10652
11209
  height: number;
11210
+ source_group_id: string;
10653
11211
  center: {
10654
11212
  x: number;
10655
11213
  y: number;
10656
11214
  };
10657
- pcb_component_ids: string[];
10658
11215
  pcb_group_id: string;
11216
+ pcb_component_ids: string[];
10659
11217
  description?: string | undefined;
10660
11218
  name?: string | undefined;
11219
+ subcircuit_id?: string | undefined;
11220
+ is_subcircuit?: boolean | undefined;
10661
11221
  }, {
10662
11222
  type: "pcb_group";
10663
11223
  width: string | number;
10664
11224
  height: string | number;
11225
+ source_group_id: string;
10665
11226
  center: {
10666
11227
  x: string | number;
10667
11228
  y: string | number;
@@ -10669,6 +11230,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10669
11230
  pcb_component_ids: string[];
10670
11231
  description?: string | undefined;
10671
11232
  name?: string | undefined;
11233
+ subcircuit_id?: string | undefined;
11234
+ is_subcircuit?: boolean | undefined;
10672
11235
  pcb_group_id?: string | undefined;
10673
11236
  }>, z.ZodObject<{
10674
11237
  type: z.ZodLiteral<"pcb_trace_hint">;
@@ -10734,6 +11297,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10734
11297
  type: z.ZodLiteral<"pcb_silkscreen_line">;
10735
11298
  pcb_silkscreen_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10736
11299
  pcb_component_id: z.ZodString;
11300
+ pcb_group_id: z.ZodOptional<z.ZodString>;
11301
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10737
11302
  stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
10738
11303
  x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10739
11304
  y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10750,6 +11315,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10750
11315
  layer: "top" | "bottom";
10751
11316
  pcb_silkscreen_line_id: string;
10752
11317
  stroke_width: number;
11318
+ subcircuit_id?: string | undefined;
11319
+ pcb_group_id?: string | undefined;
10753
11320
  }, {
10754
11321
  type: "pcb_silkscreen_line";
10755
11322
  x1: string | number;
@@ -10758,12 +11325,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10758
11325
  y2: string | number;
10759
11326
  pcb_component_id: string;
10760
11327
  layer: "top" | "bottom";
11328
+ subcircuit_id?: string | undefined;
11329
+ pcb_group_id?: string | undefined;
10761
11330
  pcb_silkscreen_line_id?: string | undefined;
10762
11331
  stroke_width?: string | number | undefined;
10763
11332
  }>, z.ZodObject<{
10764
11333
  type: z.ZodLiteral<"pcb_silkscreen_path">;
10765
11334
  pcb_silkscreen_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10766
11335
  pcb_component_id: z.ZodString;
11336
+ pcb_group_id: z.ZodOptional<z.ZodString>;
11337
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10767
11338
  layer: z.ZodEnum<["top", "bottom"]>;
10768
11339
  route: z.ZodArray<z.ZodObject<{
10769
11340
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10786,6 +11357,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10786
11357
  }[];
10787
11358
  stroke_width: number;
10788
11359
  pcb_silkscreen_path_id: string;
11360
+ subcircuit_id?: string | undefined;
11361
+ pcb_group_id?: string | undefined;
10789
11362
  }, {
10790
11363
  type: "pcb_silkscreen_path";
10791
11364
  pcb_component_id: string;
@@ -10795,10 +11368,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10795
11368
  y: string | number;
10796
11369
  }[];
10797
11370
  stroke_width: string | number;
11371
+ subcircuit_id?: string | undefined;
11372
+ pcb_group_id?: string | undefined;
10798
11373
  pcb_silkscreen_path_id?: string | undefined;
10799
11374
  }>, z.ZodObject<{
10800
11375
  type: z.ZodLiteral<"pcb_silkscreen_text">;
10801
11376
  pcb_silkscreen_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11377
+ pcb_group_id: z.ZodOptional<z.ZodString>;
11378
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10802
11379
  font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
10803
11380
  font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
10804
11381
  pcb_component_id: z.ZodString;
@@ -10838,6 +11415,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10838
11415
  font: "tscircuit2024";
10839
11416
  font_size: number;
10840
11417
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
11418
+ subcircuit_id?: string | undefined;
11419
+ pcb_group_id?: string | undefined;
10841
11420
  ccw_rotation?: number | undefined;
10842
11421
  is_mirrored?: boolean | undefined;
10843
11422
  }, {
@@ -10847,10 +11426,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10847
11426
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
10848
11427
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10849
11428
  };
11429
+ subcircuit_id?: string | undefined;
10850
11430
  anchor_position?: {
10851
11431
  x: string | number;
10852
11432
  y: string | number;
10853
11433
  } | undefined;
11434
+ pcb_group_id?: string | undefined;
10854
11435
  ccw_rotation?: number | undefined;
10855
11436
  pcb_silkscreen_text_id?: string | undefined;
10856
11437
  font?: "tscircuit2024" | undefined;
@@ -10861,6 +11442,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10861
11442
  type: z.ZodLiteral<"pcb_silkscreen_rect">;
10862
11443
  pcb_silkscreen_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10863
11444
  pcb_component_id: z.ZodString;
11445
+ pcb_group_id: z.ZodOptional<z.ZodString>;
11446
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10864
11447
  center: z.ZodObject<{
10865
11448
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10866
11449
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10893,6 +11476,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10893
11476
  pcb_component_id: string;
10894
11477
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10895
11478
  pcb_silkscreen_rect_id: string;
11479
+ subcircuit_id?: string | undefined;
11480
+ pcb_group_id?: string | undefined;
10896
11481
  }, {
10897
11482
  type: "pcb_silkscreen_rect";
10898
11483
  width: string | number;
@@ -10905,11 +11490,15 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10905
11490
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
10906
11491
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10907
11492
  };
11493
+ subcircuit_id?: string | undefined;
11494
+ pcb_group_id?: string | undefined;
10908
11495
  pcb_silkscreen_rect_id?: string | undefined;
10909
11496
  }>, z.ZodObject<{
10910
11497
  type: z.ZodLiteral<"pcb_silkscreen_circle">;
10911
11498
  pcb_silkscreen_circle_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10912
11499
  pcb_component_id: z.ZodString;
11500
+ pcb_group_id: z.ZodOptional<z.ZodString>;
11501
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10913
11502
  center: z.ZodObject<{
10914
11503
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10915
11504
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10932,6 +11521,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10932
11521
  layer: "top" | "bottom";
10933
11522
  radius: number;
10934
11523
  pcb_silkscreen_circle_id: string;
11524
+ subcircuit_id?: string | undefined;
11525
+ pcb_group_id?: string | undefined;
10935
11526
  }, {
10936
11527
  type: "pcb_silkscreen_circle";
10937
11528
  center: {
@@ -10941,11 +11532,15 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10941
11532
  pcb_component_id: string;
10942
11533
  layer: "top" | "bottom";
10943
11534
  radius: string | number;
11535
+ subcircuit_id?: string | undefined;
11536
+ pcb_group_id?: string | undefined;
10944
11537
  pcb_silkscreen_circle_id?: string | undefined;
10945
11538
  }>, z.ZodObject<{
10946
11539
  type: z.ZodLiteral<"pcb_silkscreen_oval">;
10947
11540
  pcb_silkscreen_oval_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10948
11541
  pcb_component_id: z.ZodString;
11542
+ pcb_group_id: z.ZodOptional<z.ZodString>;
11543
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10949
11544
  center: z.ZodObject<{
10950
11545
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10951
11546
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10970,6 +11565,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10970
11565
  pcb_silkscreen_oval_id: string;
10971
11566
  radius_x: number;
10972
11567
  radius_y: number;
11568
+ subcircuit_id?: string | undefined;
11569
+ pcb_group_id?: string | undefined;
10973
11570
  }, {
10974
11571
  type: "pcb_silkscreen_oval";
10975
11572
  center: {
@@ -10980,6 +11577,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10980
11577
  layer: "top" | "bottom";
10981
11578
  radius_x: string | number;
10982
11579
  radius_y: string | number;
11580
+ subcircuit_id?: string | undefined;
11581
+ pcb_group_id?: string | undefined;
10983
11582
  pcb_silkscreen_oval_id?: string | undefined;
10984
11583
  }>, z.ZodObject<{
10985
11584
  type: z.ZodLiteral<"pcb_trace_error">;
@@ -11057,6 +11656,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11057
11656
  type: z.ZodLiteral<"pcb_fabrication_note_path">;
11058
11657
  pcb_fabrication_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11059
11658
  pcb_component_id: z.ZodString;
11659
+ subcircuit_id: z.ZodOptional<z.ZodString>;
11060
11660
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
11061
11661
  name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
11062
11662
  }, "strip", z.ZodTypeAny, {
@@ -11088,6 +11688,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11088
11688
  }[];
11089
11689
  stroke_width: number;
11090
11690
  pcb_fabrication_note_path_id: string;
11691
+ subcircuit_id?: string | undefined;
11091
11692
  color?: string | undefined;
11092
11693
  }, {
11093
11694
  type: "pcb_fabrication_note_path";
@@ -11100,11 +11701,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11100
11701
  y: string | number;
11101
11702
  }[];
11102
11703
  stroke_width: string | number;
11704
+ subcircuit_id?: string | undefined;
11103
11705
  color?: string | undefined;
11104
11706
  pcb_fabrication_note_path_id?: string | undefined;
11105
11707
  }>, z.ZodObject<{
11106
11708
  type: z.ZodLiteral<"pcb_fabrication_note_text">;
11107
11709
  pcb_fabrication_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11710
+ subcircuit_id: z.ZodOptional<z.ZodString>;
11711
+ pcb_group_id: z.ZodOptional<z.ZodString>;
11108
11712
  font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
11109
11713
  font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11110
11714
  pcb_component_id: z.ZodString;
@@ -11135,17 +11739,21 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11135
11739
  font_size: number;
11136
11740
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
11137
11741
  pcb_fabrication_note_text_id: string;
11742
+ subcircuit_id?: string | undefined;
11138
11743
  color?: string | undefined;
11744
+ pcb_group_id?: string | undefined;
11139
11745
  }, {
11140
11746
  type: "pcb_fabrication_note_text";
11141
11747
  text: string;
11142
11748
  pcb_component_id: string;
11143
11749
  layer: "top" | "bottom";
11750
+ subcircuit_id?: string | undefined;
11144
11751
  color?: string | undefined;
11145
11752
  anchor_position?: {
11146
11753
  x: string | number;
11147
11754
  y: string | number;
11148
11755
  } | undefined;
11756
+ pcb_group_id?: string | undefined;
11149
11757
  font?: "tscircuit2024" | undefined;
11150
11758
  font_size?: string | number | undefined;
11151
11759
  anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;