circuit-json 0.0.130 → 0.0.131

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,8 @@ 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
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
5350
+ subcircuit_id: z.ZodOptional<z.ZodString>;
5107
5351
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5108
5352
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5109
5353
  center: z.ZodObject<{
@@ -5127,10 +5371,12 @@ declare const pcb_group: z.ZodObject<{
5127
5371
  x: number;
5128
5372
  y: number;
5129
5373
  };
5130
- pcb_component_ids: string[];
5131
5374
  pcb_group_id: string;
5375
+ pcb_component_ids: string[];
5132
5376
  description?: string | undefined;
5133
5377
  name?: string | undefined;
5378
+ subcircuit_id?: string | undefined;
5379
+ is_subcircuit?: boolean | undefined;
5134
5380
  }, {
5135
5381
  type: "pcb_group";
5136
5382
  width: string | number;
@@ -5142,6 +5388,8 @@ declare const pcb_group: z.ZodObject<{
5142
5388
  pcb_component_ids: string[];
5143
5389
  description?: string | undefined;
5144
5390
  name?: string | undefined;
5391
+ subcircuit_id?: string | undefined;
5392
+ is_subcircuit?: boolean | undefined;
5145
5393
  pcb_group_id?: string | undefined;
5146
5394
  }>;
5147
5395
  type PcbGroupInput = z.input<typeof pcb_group>;
@@ -5151,6 +5399,8 @@ type PcbGroupInput = z.input<typeof pcb_group>;
5151
5399
  interface PcbGroup {
5152
5400
  type: "pcb_group";
5153
5401
  pcb_group_id: string;
5402
+ is_subcircuit?: boolean;
5403
+ subcircuit_id?: string;
5154
5404
  width: Length;
5155
5405
  height: Length;
5156
5406
  center: Point;
@@ -5884,15 +6134,21 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5884
6134
  }>, z.ZodObject<{
5885
6135
  type: z.ZodLiteral<"source_group">;
5886
6136
  source_group_id: z.ZodString;
6137
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6138
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
5887
6139
  name: z.ZodOptional<z.ZodString>;
5888
6140
  }, "strip", z.ZodTypeAny, {
5889
6141
  type: "source_group";
5890
6142
  source_group_id: string;
5891
6143
  name?: string | undefined;
6144
+ subcircuit_id?: string | undefined;
6145
+ is_subcircuit?: boolean | undefined;
5892
6146
  }, {
5893
6147
  type: "source_group";
5894
6148
  source_group_id: string;
5895
6149
  name?: string | undefined;
6150
+ subcircuit_id?: string | undefined;
6151
+ is_subcircuit?: boolean | undefined;
5896
6152
  }>, z.ZodObject<z.objectUtil.extendShape<{
5897
6153
  type: z.ZodLiteral<"source_component">;
5898
6154
  ftype: z.ZodOptional<z.ZodString>;
@@ -6334,6 +6590,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6334
6590
  rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6335
6591
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6336
6592
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6593
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6337
6594
  }, "strip", z.ZodTypeAny, {
6338
6595
  type: "pcb_component";
6339
6596
  width: number;
@@ -6346,6 +6603,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6346
6603
  };
6347
6604
  pcb_component_id: string;
6348
6605
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6606
+ subcircuit_id?: string | undefined;
6349
6607
  }, {
6350
6608
  type: "pcb_component";
6351
6609
  width: string | number;
@@ -6359,10 +6617,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6359
6617
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
6360
6618
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6361
6619
  };
6620
+ subcircuit_id?: string | undefined;
6362
6621
  pcb_component_id?: string | undefined;
6363
6622
  }>, z.ZodUnion<[z.ZodObject<{
6364
6623
  type: z.ZodLiteral<"pcb_hole">;
6365
6624
  pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6625
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6626
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6366
6627
  hole_shape: z.ZodEnum<["circle", "square"]>;
6367
6628
  hole_diameter: z.ZodNumber;
6368
6629
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -6374,16 +6635,22 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6374
6635
  pcb_hole_id: string;
6375
6636
  hole_shape: "circle" | "square";
6376
6637
  hole_diameter: number;
6638
+ subcircuit_id?: string | undefined;
6639
+ pcb_group_id?: string | undefined;
6377
6640
  }, {
6378
6641
  x: string | number;
6379
6642
  y: string | number;
6380
6643
  type: "pcb_hole";
6381
6644
  hole_shape: "circle" | "square";
6382
6645
  hole_diameter: number;
6646
+ subcircuit_id?: string | undefined;
6383
6647
  pcb_hole_id?: string | undefined;
6648
+ pcb_group_id?: string | undefined;
6384
6649
  }>, z.ZodObject<{
6385
6650
  type: z.ZodLiteral<"pcb_hole">;
6386
6651
  pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6652
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6653
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6387
6654
  hole_shape: z.ZodLiteral<"oval">;
6388
6655
  hole_width: z.ZodNumber;
6389
6656
  hole_height: z.ZodNumber;
@@ -6397,6 +6664,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6397
6664
  hole_shape: "oval";
6398
6665
  hole_width: number;
6399
6666
  hole_height: number;
6667
+ subcircuit_id?: string | undefined;
6668
+ pcb_group_id?: string | undefined;
6400
6669
  }, {
6401
6670
  x: string | number;
6402
6671
  y: string | number;
@@ -6404,10 +6673,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6404
6673
  hole_shape: "oval";
6405
6674
  hole_width: number;
6406
6675
  hole_height: number;
6676
+ subcircuit_id?: string | undefined;
6407
6677
  pcb_hole_id?: string | undefined;
6678
+ pcb_group_id?: string | undefined;
6408
6679
  }>]>, z.ZodObject<{
6409
6680
  type: z.ZodLiteral<"pcb_missing_footprint_error">;
6410
6681
  pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6682
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6683
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6411
6684
  error_type: z.ZodLiteral<"pcb_missing_footprint_error">;
6412
6685
  source_component_id: z.ZodString;
6413
6686
  message: z.ZodString;
@@ -6417,17 +6690,23 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6417
6690
  source_component_id: string;
6418
6691
  error_type: "pcb_missing_footprint_error";
6419
6692
  pcb_missing_footprint_error_id: string;
6693
+ subcircuit_id?: string | undefined;
6694
+ pcb_group_id?: string | undefined;
6420
6695
  }, {
6421
6696
  message: string;
6422
6697
  type: "pcb_missing_footprint_error";
6423
6698
  source_component_id: string;
6424
6699
  error_type: "pcb_missing_footprint_error";
6700
+ subcircuit_id?: string | undefined;
6701
+ pcb_group_id?: string | undefined;
6425
6702
  pcb_missing_footprint_error_id?: string | undefined;
6426
6703
  }>, z.ZodObject<{
6427
6704
  type: z.ZodLiteral<"pcb_manual_edit_conflict_error">;
6428
6705
  pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6429
6706
  message: z.ZodString;
6430
6707
  pcb_component_id: z.ZodString;
6708
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6709
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6431
6710
  source_component_id: z.ZodString;
6432
6711
  }, "strip", z.ZodTypeAny, {
6433
6712
  message: string;
@@ -6435,15 +6714,21 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6435
6714
  source_component_id: string;
6436
6715
  pcb_component_id: string;
6437
6716
  pcb_error_id: string;
6717
+ subcircuit_id?: string | undefined;
6718
+ pcb_group_id?: string | undefined;
6438
6719
  }, {
6439
6720
  message: string;
6440
6721
  type: "pcb_manual_edit_conflict_error";
6441
6722
  source_component_id: string;
6442
6723
  pcb_component_id: string;
6724
+ subcircuit_id?: string | undefined;
6725
+ pcb_group_id?: string | undefined;
6443
6726
  pcb_error_id?: string | undefined;
6444
6727
  }>, z.ZodUnion<[z.ZodObject<{
6445
6728
  type: z.ZodLiteral<"pcb_plated_hole">;
6446
6729
  shape: z.ZodLiteral<"circle">;
6730
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6731
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6447
6732
  outer_diameter: z.ZodNumber;
6448
6733
  hole_diameter: z.ZodNumber;
6449
6734
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -6471,7 +6756,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6471
6756
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
6472
6757
  pcb_plated_hole_id: string;
6473
6758
  port_hints?: string[] | undefined;
6759
+ subcircuit_id?: string | undefined;
6474
6760
  pcb_component_id?: string | undefined;
6761
+ pcb_group_id?: string | undefined;
6475
6762
  pcb_port_id?: string | undefined;
6476
6763
  }, {
6477
6764
  x: string | number;
@@ -6484,12 +6771,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6484
6771
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6485
6772
  })[];
6486
6773
  port_hints?: string[] | undefined;
6774
+ subcircuit_id?: string | undefined;
6487
6775
  pcb_component_id?: string | undefined;
6776
+ pcb_group_id?: string | undefined;
6488
6777
  pcb_port_id?: string | undefined;
6489
6778
  pcb_plated_hole_id?: string | undefined;
6490
6779
  }>, z.ZodObject<{
6491
6780
  type: z.ZodLiteral<"pcb_plated_hole">;
6492
6781
  shape: z.ZodEnum<["oval", "pill"]>;
6782
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6783
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6493
6784
  outer_width: z.ZodNumber;
6494
6785
  outer_height: z.ZodNumber;
6495
6786
  hole_width: z.ZodNumber;
@@ -6521,7 +6812,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6521
6812
  outer_width: number;
6522
6813
  outer_height: number;
6523
6814
  port_hints?: string[] | undefined;
6815
+ subcircuit_id?: string | undefined;
6524
6816
  pcb_component_id?: string | undefined;
6817
+ pcb_group_id?: string | undefined;
6525
6818
  pcb_port_id?: string | undefined;
6526
6819
  }, {
6527
6820
  x: string | number;
@@ -6536,12 +6829,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6536
6829
  outer_width: number;
6537
6830
  outer_height: number;
6538
6831
  port_hints?: string[] | undefined;
6832
+ subcircuit_id?: string | undefined;
6539
6833
  pcb_component_id?: string | undefined;
6834
+ pcb_group_id?: string | undefined;
6540
6835
  pcb_port_id?: string | undefined;
6541
6836
  pcb_plated_hole_id?: string | undefined;
6542
6837
  }>, z.ZodObject<{
6543
6838
  type: z.ZodLiteral<"pcb_plated_hole">;
6544
6839
  shape: z.ZodLiteral<"circular_hole_with_rect_pad">;
6840
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6841
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6545
6842
  hole_shape: z.ZodLiteral<"circle">;
6546
6843
  pad_shape: z.ZodLiteral<"rect">;
6547
6844
  hole_diameter: z.ZodNumber;
@@ -6575,7 +6872,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6575
6872
  rect_pad_width: number;
6576
6873
  rect_pad_height: number;
6577
6874
  port_hints?: string[] | undefined;
6875
+ subcircuit_id?: string | undefined;
6578
6876
  pcb_component_id?: string | undefined;
6877
+ pcb_group_id?: string | undefined;
6579
6878
  pcb_port_id?: string | undefined;
6580
6879
  }, {
6581
6880
  x: string | number;
@@ -6591,12 +6890,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6591
6890
  rect_pad_width: number;
6592
6891
  rect_pad_height: number;
6593
6892
  port_hints?: string[] | undefined;
6893
+ subcircuit_id?: string | undefined;
6594
6894
  pcb_component_id?: string | undefined;
6895
+ pcb_group_id?: string | undefined;
6595
6896
  pcb_port_id?: string | undefined;
6596
6897
  pcb_plated_hole_id?: string | undefined;
6597
6898
  }>]>, z.ZodUnion<[z.ZodObject<{
6598
6899
  type: z.ZodLiteral<"pcb_keepout">;
6599
6900
  shape: z.ZodLiteral<"rect">;
6901
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6902
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6600
6903
  center: z.ZodObject<{
6601
6904
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6602
6905
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -6624,6 +6927,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6624
6927
  layers: string[];
6625
6928
  pcb_keepout_id: string;
6626
6929
  description?: string | undefined;
6930
+ subcircuit_id?: string | undefined;
6931
+ pcb_group_id?: string | undefined;
6627
6932
  }, {
6628
6933
  type: "pcb_keepout";
6629
6934
  width: string | number;
@@ -6636,9 +6941,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6636
6941
  layers: string[];
6637
6942
  pcb_keepout_id: string;
6638
6943
  description?: string | undefined;
6944
+ subcircuit_id?: string | undefined;
6945
+ pcb_group_id?: string | undefined;
6639
6946
  }>, z.ZodObject<{
6640
6947
  type: z.ZodLiteral<"pcb_keepout">;
6641
6948
  shape: z.ZodLiteral<"circle">;
6949
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6950
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6642
6951
  center: z.ZodObject<{
6643
6952
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6644
6953
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -6664,6 +6973,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6664
6973
  radius: number;
6665
6974
  pcb_keepout_id: string;
6666
6975
  description?: string | undefined;
6976
+ subcircuit_id?: string | undefined;
6977
+ pcb_group_id?: string | undefined;
6667
6978
  }, {
6668
6979
  type: "pcb_keepout";
6669
6980
  center: {
@@ -6675,9 +6986,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6675
6986
  radius: string | number;
6676
6987
  pcb_keepout_id: string;
6677
6988
  description?: string | undefined;
6989
+ subcircuit_id?: string | undefined;
6990
+ pcb_group_id?: string | undefined;
6678
6991
  }>]>, z.ZodObject<{
6679
6992
  type: z.ZodLiteral<"pcb_port">;
6680
6993
  pcb_port_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6994
+ pcb_group_id: z.ZodOptional<z.ZodString>;
6995
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6681
6996
  source_port_id: z.ZodString;
6682
6997
  pcb_component_id: z.ZodString;
6683
6998
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -6699,6 +7014,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6699
7014
  pcb_component_id: string;
6700
7015
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
6701
7016
  pcb_port_id: string;
7017
+ subcircuit_id?: string | undefined;
7018
+ pcb_group_id?: string | undefined;
6702
7019
  }, {
6703
7020
  x: string | number;
6704
7021
  y: string | number;
@@ -6708,10 +7025,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6708
7025
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
6709
7026
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6710
7027
  })[];
7028
+ subcircuit_id?: string | undefined;
7029
+ pcb_group_id?: string | undefined;
6711
7030
  pcb_port_id?: string | undefined;
6712
7031
  }>, z.ZodObject<{
6713
7032
  type: z.ZodLiteral<"pcb_text">;
6714
7033
  pcb_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7034
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7035
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6715
7036
  text: z.ZodString;
6716
7037
  center: z.ZodObject<{
6717
7038
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -6749,6 +7070,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6749
7070
  pcb_text_id: string;
6750
7071
  lines: number;
6751
7072
  align: "bottom-left";
7073
+ subcircuit_id?: string | undefined;
7074
+ pcb_group_id?: string | undefined;
6752
7075
  }, {
6753
7076
  type: "pcb_text";
6754
7077
  width: string | number;
@@ -6763,12 +7086,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6763
7086
  };
6764
7087
  lines: number;
6765
7088
  align: "bottom-left";
7089
+ subcircuit_id?: string | undefined;
7090
+ pcb_group_id?: string | undefined;
6766
7091
  pcb_text_id?: string | undefined;
6767
7092
  }>, z.ZodObject<{
6768
7093
  type: z.ZodLiteral<"pcb_trace">;
6769
7094
  source_trace_id: z.ZodOptional<z.ZodString>;
6770
7095
  pcb_component_id: z.ZodOptional<z.ZodString>;
6771
7096
  pcb_trace_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7097
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7098
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6772
7099
  route_thickness_mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<["constant", "interpolated"]>>>;
6773
7100
  route_order_index: z.ZodOptional<z.ZodNumber>;
6774
7101
  should_round_corners: z.ZodOptional<z.ZodBoolean>;
@@ -6845,7 +7172,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6845
7172
  from_layer: string;
6846
7173
  })[];
6847
7174
  source_trace_id?: string | undefined;
7175
+ subcircuit_id?: string | undefined;
6848
7176
  pcb_component_id?: string | undefined;
7177
+ pcb_group_id?: string | undefined;
6849
7178
  route_thickness_mode?: "constant" | "interpolated" | undefined;
6850
7179
  route_order_index?: number | undefined;
6851
7180
  should_round_corners?: boolean | undefined;
@@ -6870,7 +7199,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6870
7199
  from_layer: string;
6871
7200
  })[];
6872
7201
  source_trace_id?: string | undefined;
7202
+ subcircuit_id?: string | undefined;
6873
7203
  pcb_component_id?: string | undefined;
7204
+ pcb_group_id?: string | undefined;
6874
7205
  pcb_trace_id?: string | undefined;
6875
7206
  route_thickness_mode?: "constant" | "interpolated" | undefined;
6876
7207
  route_order_index?: number | undefined;
@@ -6879,6 +7210,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6879
7210
  }>, z.ZodObject<{
6880
7211
  type: z.ZodLiteral<"pcb_via">;
6881
7212
  pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7213
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7214
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6882
7215
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6883
7216
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6884
7217
  outer_diameter: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -6919,7 +7252,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6919
7252
  outer_diameter: number;
6920
7253
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
6921
7254
  pcb_via_id: string;
7255
+ subcircuit_id?: string | undefined;
6922
7256
  to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
7257
+ pcb_group_id?: string | undefined;
6923
7258
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
6924
7259
  pcb_trace_id?: string | undefined;
6925
7260
  }, {
@@ -6929,9 +7264,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6929
7264
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
6930
7265
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6931
7266
  })[];
7267
+ subcircuit_id?: string | undefined;
6932
7268
  to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
6933
7269
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6934
7270
  } | undefined;
7271
+ pcb_group_id?: string | undefined;
6935
7272
  hole_diameter?: string | number | undefined;
6936
7273
  outer_diameter?: string | number | undefined;
6937
7274
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
@@ -6943,6 +7280,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6943
7280
  type: z.ZodLiteral<"pcb_smtpad">;
6944
7281
  shape: z.ZodLiteral<"circle">;
6945
7282
  pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7283
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7284
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6946
7285
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6947
7286
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6948
7287
  radius: z.ZodNumber;
@@ -6967,7 +7306,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6967
7306
  pcb_smtpad_id: string;
6968
7307
  radius: number;
6969
7308
  port_hints?: string[] | undefined;
7309
+ subcircuit_id?: string | undefined;
6970
7310
  pcb_component_id?: string | undefined;
7311
+ pcb_group_id?: string | undefined;
6971
7312
  pcb_port_id?: string | undefined;
6972
7313
  }, {
6973
7314
  x: string | number;
@@ -6979,13 +7320,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6979
7320
  };
6980
7321
  radius: number;
6981
7322
  port_hints?: string[] | undefined;
7323
+ subcircuit_id?: string | undefined;
6982
7324
  pcb_component_id?: string | undefined;
7325
+ pcb_group_id?: string | undefined;
6983
7326
  pcb_port_id?: string | undefined;
6984
7327
  pcb_smtpad_id?: string | undefined;
6985
7328
  }>, z.ZodObject<{
6986
7329
  type: z.ZodLiteral<"pcb_smtpad">;
6987
7330
  shape: z.ZodLiteral<"rect">;
6988
7331
  pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7332
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7333
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6989
7334
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6990
7335
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6991
7336
  width: z.ZodNumber;
@@ -7012,7 +7357,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7012
7357
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7013
7358
  pcb_smtpad_id: string;
7014
7359
  port_hints?: string[] | undefined;
7360
+ subcircuit_id?: string | undefined;
7015
7361
  pcb_component_id?: string | undefined;
7362
+ pcb_group_id?: string | undefined;
7016
7363
  pcb_port_id?: string | undefined;
7017
7364
  }, {
7018
7365
  x: string | number;
@@ -7025,13 +7372,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7025
7372
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7026
7373
  };
7027
7374
  port_hints?: string[] | undefined;
7375
+ subcircuit_id?: string | undefined;
7028
7376
  pcb_component_id?: string | undefined;
7377
+ pcb_group_id?: string | undefined;
7029
7378
  pcb_port_id?: string | undefined;
7030
7379
  pcb_smtpad_id?: string | undefined;
7031
7380
  }>, z.ZodObject<{
7032
7381
  type: z.ZodLiteral<"pcb_smtpad">;
7033
7382
  shape: z.ZodLiteral<"rotated_rect">;
7034
7383
  pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7384
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7385
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7035
7386
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7036
7387
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7037
7388
  width: z.ZodNumber;
@@ -7060,7 +7411,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7060
7411
  pcb_smtpad_id: string;
7061
7412
  ccw_rotation: number;
7062
7413
  port_hints?: string[] | undefined;
7414
+ subcircuit_id?: string | undefined;
7063
7415
  pcb_component_id?: string | undefined;
7416
+ pcb_group_id?: string | undefined;
7064
7417
  pcb_port_id?: string | undefined;
7065
7418
  }, {
7066
7419
  x: string | number;
@@ -7074,7 +7427,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7074
7427
  };
7075
7428
  ccw_rotation: string | number;
7076
7429
  port_hints?: string[] | undefined;
7430
+ subcircuit_id?: string | undefined;
7077
7431
  pcb_component_id?: string | undefined;
7432
+ pcb_group_id?: string | undefined;
7078
7433
  pcb_port_id?: string | undefined;
7079
7434
  pcb_smtpad_id?: string | undefined;
7080
7435
  }>, z.ZodObject<{
@@ -7130,6 +7485,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7130
7485
  type: z.ZodLiteral<"pcb_solder_paste">;
7131
7486
  shape: z.ZodLiteral<"circle">;
7132
7487
  pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7488
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7489
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7133
7490
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7134
7491
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7135
7492
  radius: z.ZodNumber;
@@ -7152,7 +7509,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7152
7509
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7153
7510
  radius: number;
7154
7511
  pcb_solder_paste_id: string;
7512
+ subcircuit_id?: string | undefined;
7155
7513
  pcb_component_id?: string | undefined;
7514
+ pcb_group_id?: string | undefined;
7156
7515
  pcb_smtpad_id?: string | undefined;
7157
7516
  }, {
7158
7517
  x: string | number;
@@ -7163,13 +7522,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7163
7522
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7164
7523
  };
7165
7524
  radius: number;
7525
+ subcircuit_id?: string | undefined;
7166
7526
  pcb_component_id?: string | undefined;
7527
+ pcb_group_id?: string | undefined;
7167
7528
  pcb_smtpad_id?: string | undefined;
7168
7529
  pcb_solder_paste_id?: string | undefined;
7169
7530
  }>, z.ZodObject<{
7170
7531
  type: z.ZodLiteral<"pcb_solder_paste">;
7171
7532
  shape: z.ZodLiteral<"rect">;
7172
7533
  pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7534
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7535
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7173
7536
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7174
7537
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7175
7538
  width: z.ZodNumber;
@@ -7194,7 +7557,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7194
7557
  shape: "rect";
7195
7558
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7196
7559
  pcb_solder_paste_id: string;
7560
+ subcircuit_id?: string | undefined;
7197
7561
  pcb_component_id?: string | undefined;
7562
+ pcb_group_id?: string | undefined;
7198
7563
  pcb_smtpad_id?: string | undefined;
7199
7564
  }, {
7200
7565
  x: string | number;
@@ -7206,12 +7571,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7206
7571
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
7207
7572
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7208
7573
  };
7574
+ subcircuit_id?: string | undefined;
7209
7575
  pcb_component_id?: string | undefined;
7576
+ pcb_group_id?: string | undefined;
7210
7577
  pcb_smtpad_id?: string | undefined;
7211
7578
  pcb_solder_paste_id?: string | undefined;
7212
7579
  }>]>, z.ZodObject<{
7213
7580
  type: z.ZodLiteral<"pcb_board">;
7214
7581
  pcb_board_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7582
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
7583
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7215
7584
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7216
7585
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7217
7586
  center: z.ZodObject<{
@@ -7247,6 +7616,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7247
7616
  pcb_board_id: string;
7248
7617
  thickness: number;
7249
7618
  num_layers: number;
7619
+ subcircuit_id?: string | undefined;
7620
+ is_subcircuit?: boolean | undefined;
7250
7621
  outline?: {
7251
7622
  x: number;
7252
7623
  y: number;
@@ -7259,6 +7630,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7259
7630
  x: string | number;
7260
7631
  y: string | number;
7261
7632
  };
7633
+ subcircuit_id?: string | undefined;
7634
+ is_subcircuit?: boolean | undefined;
7262
7635
  pcb_board_id?: string | undefined;
7263
7636
  thickness?: string | number | undefined;
7264
7637
  num_layers?: number | undefined;
@@ -7269,6 +7642,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7269
7642
  }>, z.ZodObject<{
7270
7643
  type: z.ZodLiteral<"pcb_group">;
7271
7644
  pcb_group_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7645
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
7646
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7272
7647
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7273
7648
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7274
7649
  center: z.ZodObject<{
@@ -7292,10 +7667,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7292
7667
  x: number;
7293
7668
  y: number;
7294
7669
  };
7295
- pcb_component_ids: string[];
7296
7670
  pcb_group_id: string;
7671
+ pcb_component_ids: string[];
7297
7672
  description?: string | undefined;
7298
7673
  name?: string | undefined;
7674
+ subcircuit_id?: string | undefined;
7675
+ is_subcircuit?: boolean | undefined;
7299
7676
  }, {
7300
7677
  type: "pcb_group";
7301
7678
  width: string | number;
@@ -7307,6 +7684,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7307
7684
  pcb_component_ids: string[];
7308
7685
  description?: string | undefined;
7309
7686
  name?: string | undefined;
7687
+ subcircuit_id?: string | undefined;
7688
+ is_subcircuit?: boolean | undefined;
7310
7689
  pcb_group_id?: string | undefined;
7311
7690
  }>, z.ZodObject<{
7312
7691
  type: z.ZodLiteral<"pcb_trace_hint">;
@@ -7372,6 +7751,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7372
7751
  type: z.ZodLiteral<"pcb_silkscreen_line">;
7373
7752
  pcb_silkscreen_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7374
7753
  pcb_component_id: z.ZodString;
7754
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7755
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7375
7756
  stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
7376
7757
  x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7377
7758
  y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -7388,6 +7769,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7388
7769
  layer: "top" | "bottom";
7389
7770
  pcb_silkscreen_line_id: string;
7390
7771
  stroke_width: number;
7772
+ subcircuit_id?: string | undefined;
7773
+ pcb_group_id?: string | undefined;
7391
7774
  }, {
7392
7775
  type: "pcb_silkscreen_line";
7393
7776
  x1: string | number;
@@ -7396,12 +7779,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7396
7779
  y2: string | number;
7397
7780
  pcb_component_id: string;
7398
7781
  layer: "top" | "bottom";
7782
+ subcircuit_id?: string | undefined;
7783
+ pcb_group_id?: string | undefined;
7399
7784
  pcb_silkscreen_line_id?: string | undefined;
7400
7785
  stroke_width?: string | number | undefined;
7401
7786
  }>, z.ZodObject<{
7402
7787
  type: z.ZodLiteral<"pcb_silkscreen_path">;
7403
7788
  pcb_silkscreen_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7404
7789
  pcb_component_id: z.ZodString;
7790
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7791
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7405
7792
  layer: z.ZodEnum<["top", "bottom"]>;
7406
7793
  route: z.ZodArray<z.ZodObject<{
7407
7794
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -7424,6 +7811,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7424
7811
  }[];
7425
7812
  stroke_width: number;
7426
7813
  pcb_silkscreen_path_id: string;
7814
+ subcircuit_id?: string | undefined;
7815
+ pcb_group_id?: string | undefined;
7427
7816
  }, {
7428
7817
  type: "pcb_silkscreen_path";
7429
7818
  pcb_component_id: string;
@@ -7433,10 +7822,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7433
7822
  y: string | number;
7434
7823
  }[];
7435
7824
  stroke_width: string | number;
7825
+ subcircuit_id?: string | undefined;
7826
+ pcb_group_id?: string | undefined;
7436
7827
  pcb_silkscreen_path_id?: string | undefined;
7437
7828
  }>, z.ZodObject<{
7438
7829
  type: z.ZodLiteral<"pcb_silkscreen_text">;
7439
7830
  pcb_silkscreen_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7831
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7832
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7440
7833
  font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
7441
7834
  font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
7442
7835
  pcb_component_id: z.ZodString;
@@ -7476,6 +7869,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7476
7869
  font: "tscircuit2024";
7477
7870
  font_size: number;
7478
7871
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
7872
+ subcircuit_id?: string | undefined;
7873
+ pcb_group_id?: string | undefined;
7479
7874
  ccw_rotation?: number | undefined;
7480
7875
  is_mirrored?: boolean | undefined;
7481
7876
  }, {
@@ -7485,10 +7880,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7485
7880
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
7486
7881
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7487
7882
  };
7883
+ subcircuit_id?: string | undefined;
7488
7884
  anchor_position?: {
7489
7885
  x: string | number;
7490
7886
  y: string | number;
7491
7887
  } | undefined;
7888
+ pcb_group_id?: string | undefined;
7492
7889
  ccw_rotation?: number | undefined;
7493
7890
  pcb_silkscreen_text_id?: string | undefined;
7494
7891
  font?: "tscircuit2024" | undefined;
@@ -7499,6 +7896,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7499
7896
  type: z.ZodLiteral<"pcb_silkscreen_rect">;
7500
7897
  pcb_silkscreen_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7501
7898
  pcb_component_id: z.ZodString;
7899
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7900
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7502
7901
  center: z.ZodObject<{
7503
7902
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7504
7903
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -7531,6 +7930,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7531
7930
  pcb_component_id: string;
7532
7931
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7533
7932
  pcb_silkscreen_rect_id: string;
7933
+ subcircuit_id?: string | undefined;
7934
+ pcb_group_id?: string | undefined;
7534
7935
  }, {
7535
7936
  type: "pcb_silkscreen_rect";
7536
7937
  width: string | number;
@@ -7543,11 +7944,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7543
7944
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
7544
7945
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7545
7946
  };
7947
+ subcircuit_id?: string | undefined;
7948
+ pcb_group_id?: string | undefined;
7546
7949
  pcb_silkscreen_rect_id?: string | undefined;
7547
7950
  }>, z.ZodObject<{
7548
7951
  type: z.ZodLiteral<"pcb_silkscreen_circle">;
7549
7952
  pcb_silkscreen_circle_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7550
7953
  pcb_component_id: z.ZodString;
7954
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7955
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7551
7956
  center: z.ZodObject<{
7552
7957
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7553
7958
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -7570,6 +7975,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7570
7975
  layer: "top" | "bottom";
7571
7976
  radius: number;
7572
7977
  pcb_silkscreen_circle_id: string;
7978
+ subcircuit_id?: string | undefined;
7979
+ pcb_group_id?: string | undefined;
7573
7980
  }, {
7574
7981
  type: "pcb_silkscreen_circle";
7575
7982
  center: {
@@ -7579,11 +7986,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7579
7986
  pcb_component_id: string;
7580
7987
  layer: "top" | "bottom";
7581
7988
  radius: string | number;
7989
+ subcircuit_id?: string | undefined;
7990
+ pcb_group_id?: string | undefined;
7582
7991
  pcb_silkscreen_circle_id?: string | undefined;
7583
7992
  }>, z.ZodObject<{
7584
7993
  type: z.ZodLiteral<"pcb_silkscreen_oval">;
7585
7994
  pcb_silkscreen_oval_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7586
7995
  pcb_component_id: z.ZodString;
7996
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7997
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7587
7998
  center: z.ZodObject<{
7588
7999
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7589
8000
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -7608,6 +8019,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7608
8019
  pcb_silkscreen_oval_id: string;
7609
8020
  radius_x: number;
7610
8021
  radius_y: number;
8022
+ subcircuit_id?: string | undefined;
8023
+ pcb_group_id?: string | undefined;
7611
8024
  }, {
7612
8025
  type: "pcb_silkscreen_oval";
7613
8026
  center: {
@@ -7618,6 +8031,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7618
8031
  layer: "top" | "bottom";
7619
8032
  radius_x: string | number;
7620
8033
  radius_y: string | number;
8034
+ subcircuit_id?: string | undefined;
8035
+ pcb_group_id?: string | undefined;
7621
8036
  pcb_silkscreen_oval_id?: string | undefined;
7622
8037
  }>, z.ZodObject<{
7623
8038
  type: z.ZodLiteral<"pcb_trace_error">;
@@ -7695,6 +8110,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7695
8110
  type: z.ZodLiteral<"pcb_fabrication_note_path">;
7696
8111
  pcb_fabrication_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7697
8112
  pcb_component_id: z.ZodString;
8113
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7698
8114
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
7699
8115
  name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
7700
8116
  }, "strip", z.ZodTypeAny, {
@@ -7726,6 +8142,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7726
8142
  }[];
7727
8143
  stroke_width: number;
7728
8144
  pcb_fabrication_note_path_id: string;
8145
+ subcircuit_id?: string | undefined;
7729
8146
  color?: string | undefined;
7730
8147
  }, {
7731
8148
  type: "pcb_fabrication_note_path";
@@ -7738,11 +8155,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7738
8155
  y: string | number;
7739
8156
  }[];
7740
8157
  stroke_width: string | number;
8158
+ subcircuit_id?: string | undefined;
7741
8159
  color?: string | undefined;
7742
8160
  pcb_fabrication_note_path_id?: string | undefined;
7743
8161
  }>, z.ZodObject<{
7744
8162
  type: z.ZodLiteral<"pcb_fabrication_note_text">;
7745
8163
  pcb_fabrication_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8164
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8165
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7746
8166
  font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
7747
8167
  font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
7748
8168
  pcb_component_id: z.ZodString;
@@ -7773,17 +8193,21 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7773
8193
  font_size: number;
7774
8194
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
7775
8195
  pcb_fabrication_note_text_id: string;
8196
+ subcircuit_id?: string | undefined;
7776
8197
  color?: string | undefined;
8198
+ pcb_group_id?: string | undefined;
7777
8199
  }, {
7778
8200
  type: "pcb_fabrication_note_text";
7779
8201
  text: string;
7780
8202
  pcb_component_id: string;
7781
8203
  layer: "top" | "bottom";
8204
+ subcircuit_id?: string | undefined;
7782
8205
  color?: string | undefined;
7783
8206
  anchor_position?: {
7784
8207
  x: string | number;
7785
8208
  y: string | number;
7786
8209
  } | undefined;
8210
+ pcb_group_id?: string | undefined;
7787
8211
  font?: "tscircuit2024" | undefined;
7788
8212
  font_size?: string | number | undefined;
7789
8213
  anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
@@ -9246,15 +9670,21 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9246
9670
  }>, z.ZodObject<{
9247
9671
  type: z.ZodLiteral<"source_group">;
9248
9672
  source_group_id: z.ZodString;
9673
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9674
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
9249
9675
  name: z.ZodOptional<z.ZodString>;
9250
9676
  }, "strip", z.ZodTypeAny, {
9251
9677
  type: "source_group";
9252
9678
  source_group_id: string;
9253
9679
  name?: string | undefined;
9680
+ subcircuit_id?: string | undefined;
9681
+ is_subcircuit?: boolean | undefined;
9254
9682
  }, {
9255
9683
  type: "source_group";
9256
9684
  source_group_id: string;
9257
9685
  name?: string | undefined;
9686
+ subcircuit_id?: string | undefined;
9687
+ is_subcircuit?: boolean | undefined;
9258
9688
  }>, z.ZodObject<z.objectUtil.extendShape<{
9259
9689
  type: z.ZodLiteral<"source_component">;
9260
9690
  ftype: z.ZodOptional<z.ZodString>;
@@ -9696,6 +10126,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9696
10126
  rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9697
10127
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9698
10128
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10129
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9699
10130
  }, "strip", z.ZodTypeAny, {
9700
10131
  type: "pcb_component";
9701
10132
  width: number;
@@ -9708,6 +10139,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9708
10139
  };
9709
10140
  pcb_component_id: string;
9710
10141
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10142
+ subcircuit_id?: string | undefined;
9711
10143
  }, {
9712
10144
  type: "pcb_component";
9713
10145
  width: string | number;
@@ -9721,10 +10153,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9721
10153
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
9722
10154
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
9723
10155
  };
10156
+ subcircuit_id?: string | undefined;
9724
10157
  pcb_component_id?: string | undefined;
9725
10158
  }>, z.ZodUnion<[z.ZodObject<{
9726
10159
  type: z.ZodLiteral<"pcb_hole">;
9727
10160
  pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10161
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10162
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9728
10163
  hole_shape: z.ZodEnum<["circle", "square"]>;
9729
10164
  hole_diameter: z.ZodNumber;
9730
10165
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -9736,16 +10171,22 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9736
10171
  pcb_hole_id: string;
9737
10172
  hole_shape: "circle" | "square";
9738
10173
  hole_diameter: number;
10174
+ subcircuit_id?: string | undefined;
10175
+ pcb_group_id?: string | undefined;
9739
10176
  }, {
9740
10177
  x: string | number;
9741
10178
  y: string | number;
9742
10179
  type: "pcb_hole";
9743
10180
  hole_shape: "circle" | "square";
9744
10181
  hole_diameter: number;
10182
+ subcircuit_id?: string | undefined;
9745
10183
  pcb_hole_id?: string | undefined;
10184
+ pcb_group_id?: string | undefined;
9746
10185
  }>, z.ZodObject<{
9747
10186
  type: z.ZodLiteral<"pcb_hole">;
9748
10187
  pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10188
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10189
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9749
10190
  hole_shape: z.ZodLiteral<"oval">;
9750
10191
  hole_width: z.ZodNumber;
9751
10192
  hole_height: z.ZodNumber;
@@ -9759,6 +10200,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9759
10200
  hole_shape: "oval";
9760
10201
  hole_width: number;
9761
10202
  hole_height: number;
10203
+ subcircuit_id?: string | undefined;
10204
+ pcb_group_id?: string | undefined;
9762
10205
  }, {
9763
10206
  x: string | number;
9764
10207
  y: string | number;
@@ -9766,10 +10209,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9766
10209
  hole_shape: "oval";
9767
10210
  hole_width: number;
9768
10211
  hole_height: number;
10212
+ subcircuit_id?: string | undefined;
9769
10213
  pcb_hole_id?: string | undefined;
10214
+ pcb_group_id?: string | undefined;
9770
10215
  }>]>, z.ZodObject<{
9771
10216
  type: z.ZodLiteral<"pcb_missing_footprint_error">;
9772
10217
  pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10218
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10219
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9773
10220
  error_type: z.ZodLiteral<"pcb_missing_footprint_error">;
9774
10221
  source_component_id: z.ZodString;
9775
10222
  message: z.ZodString;
@@ -9779,17 +10226,23 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9779
10226
  source_component_id: string;
9780
10227
  error_type: "pcb_missing_footprint_error";
9781
10228
  pcb_missing_footprint_error_id: string;
10229
+ subcircuit_id?: string | undefined;
10230
+ pcb_group_id?: string | undefined;
9782
10231
  }, {
9783
10232
  message: string;
9784
10233
  type: "pcb_missing_footprint_error";
9785
10234
  source_component_id: string;
9786
10235
  error_type: "pcb_missing_footprint_error";
10236
+ subcircuit_id?: string | undefined;
10237
+ pcb_group_id?: string | undefined;
9787
10238
  pcb_missing_footprint_error_id?: string | undefined;
9788
10239
  }>, z.ZodObject<{
9789
10240
  type: z.ZodLiteral<"pcb_manual_edit_conflict_error">;
9790
10241
  pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9791
10242
  message: z.ZodString;
9792
10243
  pcb_component_id: z.ZodString;
10244
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10245
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9793
10246
  source_component_id: z.ZodString;
9794
10247
  }, "strip", z.ZodTypeAny, {
9795
10248
  message: string;
@@ -9797,15 +10250,21 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9797
10250
  source_component_id: string;
9798
10251
  pcb_component_id: string;
9799
10252
  pcb_error_id: string;
10253
+ subcircuit_id?: string | undefined;
10254
+ pcb_group_id?: string | undefined;
9800
10255
  }, {
9801
10256
  message: string;
9802
10257
  type: "pcb_manual_edit_conflict_error";
9803
10258
  source_component_id: string;
9804
10259
  pcb_component_id: string;
10260
+ subcircuit_id?: string | undefined;
10261
+ pcb_group_id?: string | undefined;
9805
10262
  pcb_error_id?: string | undefined;
9806
10263
  }>, z.ZodUnion<[z.ZodObject<{
9807
10264
  type: z.ZodLiteral<"pcb_plated_hole">;
9808
10265
  shape: z.ZodLiteral<"circle">;
10266
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10267
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9809
10268
  outer_diameter: z.ZodNumber;
9810
10269
  hole_diameter: z.ZodNumber;
9811
10270
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -9833,7 +10292,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9833
10292
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
9834
10293
  pcb_plated_hole_id: string;
9835
10294
  port_hints?: string[] | undefined;
10295
+ subcircuit_id?: string | undefined;
9836
10296
  pcb_component_id?: string | undefined;
10297
+ pcb_group_id?: string | undefined;
9837
10298
  pcb_port_id?: string | undefined;
9838
10299
  }, {
9839
10300
  x: string | number;
@@ -9846,12 +10307,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9846
10307
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
9847
10308
  })[];
9848
10309
  port_hints?: string[] | undefined;
10310
+ subcircuit_id?: string | undefined;
9849
10311
  pcb_component_id?: string | undefined;
10312
+ pcb_group_id?: string | undefined;
9850
10313
  pcb_port_id?: string | undefined;
9851
10314
  pcb_plated_hole_id?: string | undefined;
9852
10315
  }>, z.ZodObject<{
9853
10316
  type: z.ZodLiteral<"pcb_plated_hole">;
9854
10317
  shape: z.ZodEnum<["oval", "pill"]>;
10318
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10319
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9855
10320
  outer_width: z.ZodNumber;
9856
10321
  outer_height: z.ZodNumber;
9857
10322
  hole_width: z.ZodNumber;
@@ -9883,7 +10348,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9883
10348
  outer_width: number;
9884
10349
  outer_height: number;
9885
10350
  port_hints?: string[] | undefined;
10351
+ subcircuit_id?: string | undefined;
9886
10352
  pcb_component_id?: string | undefined;
10353
+ pcb_group_id?: string | undefined;
9887
10354
  pcb_port_id?: string | undefined;
9888
10355
  }, {
9889
10356
  x: string | number;
@@ -9898,12 +10365,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9898
10365
  outer_width: number;
9899
10366
  outer_height: number;
9900
10367
  port_hints?: string[] | undefined;
10368
+ subcircuit_id?: string | undefined;
9901
10369
  pcb_component_id?: string | undefined;
10370
+ pcb_group_id?: string | undefined;
9902
10371
  pcb_port_id?: string | undefined;
9903
10372
  pcb_plated_hole_id?: string | undefined;
9904
10373
  }>, z.ZodObject<{
9905
10374
  type: z.ZodLiteral<"pcb_plated_hole">;
9906
10375
  shape: z.ZodLiteral<"circular_hole_with_rect_pad">;
10376
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10377
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9907
10378
  hole_shape: z.ZodLiteral<"circle">;
9908
10379
  pad_shape: z.ZodLiteral<"rect">;
9909
10380
  hole_diameter: z.ZodNumber;
@@ -9937,7 +10408,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9937
10408
  rect_pad_width: number;
9938
10409
  rect_pad_height: number;
9939
10410
  port_hints?: string[] | undefined;
10411
+ subcircuit_id?: string | undefined;
9940
10412
  pcb_component_id?: string | undefined;
10413
+ pcb_group_id?: string | undefined;
9941
10414
  pcb_port_id?: string | undefined;
9942
10415
  }, {
9943
10416
  x: string | number;
@@ -9953,12 +10426,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9953
10426
  rect_pad_width: number;
9954
10427
  rect_pad_height: number;
9955
10428
  port_hints?: string[] | undefined;
10429
+ subcircuit_id?: string | undefined;
9956
10430
  pcb_component_id?: string | undefined;
10431
+ pcb_group_id?: string | undefined;
9957
10432
  pcb_port_id?: string | undefined;
9958
10433
  pcb_plated_hole_id?: string | undefined;
9959
10434
  }>]>, z.ZodUnion<[z.ZodObject<{
9960
10435
  type: z.ZodLiteral<"pcb_keepout">;
9961
10436
  shape: z.ZodLiteral<"rect">;
10437
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10438
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9962
10439
  center: z.ZodObject<{
9963
10440
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9964
10441
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -9986,6 +10463,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9986
10463
  layers: string[];
9987
10464
  pcb_keepout_id: string;
9988
10465
  description?: string | undefined;
10466
+ subcircuit_id?: string | undefined;
10467
+ pcb_group_id?: string | undefined;
9989
10468
  }, {
9990
10469
  type: "pcb_keepout";
9991
10470
  width: string | number;
@@ -9998,9 +10477,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9998
10477
  layers: string[];
9999
10478
  pcb_keepout_id: string;
10000
10479
  description?: string | undefined;
10480
+ subcircuit_id?: string | undefined;
10481
+ pcb_group_id?: string | undefined;
10001
10482
  }>, z.ZodObject<{
10002
10483
  type: z.ZodLiteral<"pcb_keepout">;
10003
10484
  shape: z.ZodLiteral<"circle">;
10485
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10486
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10004
10487
  center: z.ZodObject<{
10005
10488
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10006
10489
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10026,6 +10509,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10026
10509
  radius: number;
10027
10510
  pcb_keepout_id: string;
10028
10511
  description?: string | undefined;
10512
+ subcircuit_id?: string | undefined;
10513
+ pcb_group_id?: string | undefined;
10029
10514
  }, {
10030
10515
  type: "pcb_keepout";
10031
10516
  center: {
@@ -10037,9 +10522,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10037
10522
  radius: string | number;
10038
10523
  pcb_keepout_id: string;
10039
10524
  description?: string | undefined;
10525
+ subcircuit_id?: string | undefined;
10526
+ pcb_group_id?: string | undefined;
10040
10527
  }>]>, z.ZodObject<{
10041
10528
  type: z.ZodLiteral<"pcb_port">;
10042
10529
  pcb_port_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10530
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10531
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10043
10532
  source_port_id: z.ZodString;
10044
10533
  pcb_component_id: z.ZodString;
10045
10534
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10061,6 +10550,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10061
10550
  pcb_component_id: string;
10062
10551
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
10063
10552
  pcb_port_id: string;
10553
+ subcircuit_id?: string | undefined;
10554
+ pcb_group_id?: string | undefined;
10064
10555
  }, {
10065
10556
  x: string | number;
10066
10557
  y: string | number;
@@ -10070,10 +10561,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10070
10561
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
10071
10562
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10072
10563
  })[];
10564
+ subcircuit_id?: string | undefined;
10565
+ pcb_group_id?: string | undefined;
10073
10566
  pcb_port_id?: string | undefined;
10074
10567
  }>, z.ZodObject<{
10075
10568
  type: z.ZodLiteral<"pcb_text">;
10076
10569
  pcb_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10570
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10571
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10077
10572
  text: z.ZodString;
10078
10573
  center: z.ZodObject<{
10079
10574
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10111,6 +10606,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10111
10606
  pcb_text_id: string;
10112
10607
  lines: number;
10113
10608
  align: "bottom-left";
10609
+ subcircuit_id?: string | undefined;
10610
+ pcb_group_id?: string | undefined;
10114
10611
  }, {
10115
10612
  type: "pcb_text";
10116
10613
  width: string | number;
@@ -10125,12 +10622,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10125
10622
  };
10126
10623
  lines: number;
10127
10624
  align: "bottom-left";
10625
+ subcircuit_id?: string | undefined;
10626
+ pcb_group_id?: string | undefined;
10128
10627
  pcb_text_id?: string | undefined;
10129
10628
  }>, z.ZodObject<{
10130
10629
  type: z.ZodLiteral<"pcb_trace">;
10131
10630
  source_trace_id: z.ZodOptional<z.ZodString>;
10132
10631
  pcb_component_id: z.ZodOptional<z.ZodString>;
10133
10632
  pcb_trace_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10633
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10634
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10134
10635
  route_thickness_mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<["constant", "interpolated"]>>>;
10135
10636
  route_order_index: z.ZodOptional<z.ZodNumber>;
10136
10637
  should_round_corners: z.ZodOptional<z.ZodBoolean>;
@@ -10207,7 +10708,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10207
10708
  from_layer: string;
10208
10709
  })[];
10209
10710
  source_trace_id?: string | undefined;
10711
+ subcircuit_id?: string | undefined;
10210
10712
  pcb_component_id?: string | undefined;
10713
+ pcb_group_id?: string | undefined;
10211
10714
  route_thickness_mode?: "constant" | "interpolated" | undefined;
10212
10715
  route_order_index?: number | undefined;
10213
10716
  should_round_corners?: boolean | undefined;
@@ -10232,7 +10735,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10232
10735
  from_layer: string;
10233
10736
  })[];
10234
10737
  source_trace_id?: string | undefined;
10738
+ subcircuit_id?: string | undefined;
10235
10739
  pcb_component_id?: string | undefined;
10740
+ pcb_group_id?: string | undefined;
10236
10741
  pcb_trace_id?: string | undefined;
10237
10742
  route_thickness_mode?: "constant" | "interpolated" | undefined;
10238
10743
  route_order_index?: number | undefined;
@@ -10241,6 +10746,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10241
10746
  }>, z.ZodObject<{
10242
10747
  type: z.ZodLiteral<"pcb_via">;
10243
10748
  pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10749
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10750
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10244
10751
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10245
10752
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10246
10753
  outer_diameter: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -10281,7 +10788,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10281
10788
  outer_diameter: number;
10282
10789
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
10283
10790
  pcb_via_id: string;
10791
+ subcircuit_id?: string | undefined;
10284
10792
  to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
10793
+ pcb_group_id?: string | undefined;
10285
10794
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
10286
10795
  pcb_trace_id?: string | undefined;
10287
10796
  }, {
@@ -10291,9 +10800,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10291
10800
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
10292
10801
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10293
10802
  })[];
10803
+ subcircuit_id?: string | undefined;
10294
10804
  to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
10295
10805
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10296
10806
  } | undefined;
10807
+ pcb_group_id?: string | undefined;
10297
10808
  hole_diameter?: string | number | undefined;
10298
10809
  outer_diameter?: string | number | undefined;
10299
10810
  from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
@@ -10305,6 +10816,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10305
10816
  type: z.ZodLiteral<"pcb_smtpad">;
10306
10817
  shape: z.ZodLiteral<"circle">;
10307
10818
  pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10819
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10820
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10308
10821
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10309
10822
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10310
10823
  radius: z.ZodNumber;
@@ -10329,7 +10842,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10329
10842
  pcb_smtpad_id: string;
10330
10843
  radius: number;
10331
10844
  port_hints?: string[] | undefined;
10845
+ subcircuit_id?: string | undefined;
10332
10846
  pcb_component_id?: string | undefined;
10847
+ pcb_group_id?: string | undefined;
10333
10848
  pcb_port_id?: string | undefined;
10334
10849
  }, {
10335
10850
  x: string | number;
@@ -10341,13 +10856,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10341
10856
  };
10342
10857
  radius: number;
10343
10858
  port_hints?: string[] | undefined;
10859
+ subcircuit_id?: string | undefined;
10344
10860
  pcb_component_id?: string | undefined;
10861
+ pcb_group_id?: string | undefined;
10345
10862
  pcb_port_id?: string | undefined;
10346
10863
  pcb_smtpad_id?: string | undefined;
10347
10864
  }>, z.ZodObject<{
10348
10865
  type: z.ZodLiteral<"pcb_smtpad">;
10349
10866
  shape: z.ZodLiteral<"rect">;
10350
10867
  pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10868
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10869
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10351
10870
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10352
10871
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10353
10872
  width: z.ZodNumber;
@@ -10374,7 +10893,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10374
10893
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10375
10894
  pcb_smtpad_id: string;
10376
10895
  port_hints?: string[] | undefined;
10896
+ subcircuit_id?: string | undefined;
10377
10897
  pcb_component_id?: string | undefined;
10898
+ pcb_group_id?: string | undefined;
10378
10899
  pcb_port_id?: string | undefined;
10379
10900
  }, {
10380
10901
  x: string | number;
@@ -10387,13 +10908,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10387
10908
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10388
10909
  };
10389
10910
  port_hints?: string[] | undefined;
10911
+ subcircuit_id?: string | undefined;
10390
10912
  pcb_component_id?: string | undefined;
10913
+ pcb_group_id?: string | undefined;
10391
10914
  pcb_port_id?: string | undefined;
10392
10915
  pcb_smtpad_id?: string | undefined;
10393
10916
  }>, z.ZodObject<{
10394
10917
  type: z.ZodLiteral<"pcb_smtpad">;
10395
10918
  shape: z.ZodLiteral<"rotated_rect">;
10396
10919
  pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10920
+ pcb_group_id: z.ZodOptional<z.ZodString>;
10921
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10397
10922
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10398
10923
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10399
10924
  width: z.ZodNumber;
@@ -10422,7 +10947,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10422
10947
  pcb_smtpad_id: string;
10423
10948
  ccw_rotation: number;
10424
10949
  port_hints?: string[] | undefined;
10950
+ subcircuit_id?: string | undefined;
10425
10951
  pcb_component_id?: string | undefined;
10952
+ pcb_group_id?: string | undefined;
10426
10953
  pcb_port_id?: string | undefined;
10427
10954
  }, {
10428
10955
  x: string | number;
@@ -10436,7 +10963,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10436
10963
  };
10437
10964
  ccw_rotation: string | number;
10438
10965
  port_hints?: string[] | undefined;
10966
+ subcircuit_id?: string | undefined;
10439
10967
  pcb_component_id?: string | undefined;
10968
+ pcb_group_id?: string | undefined;
10440
10969
  pcb_port_id?: string | undefined;
10441
10970
  pcb_smtpad_id?: string | undefined;
10442
10971
  }>, z.ZodObject<{
@@ -10492,6 +11021,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10492
11021
  type: z.ZodLiteral<"pcb_solder_paste">;
10493
11022
  shape: z.ZodLiteral<"circle">;
10494
11023
  pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11024
+ pcb_group_id: z.ZodOptional<z.ZodString>;
11025
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10495
11026
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10496
11027
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10497
11028
  radius: z.ZodNumber;
@@ -10514,7 +11045,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10514
11045
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10515
11046
  radius: number;
10516
11047
  pcb_solder_paste_id: string;
11048
+ subcircuit_id?: string | undefined;
10517
11049
  pcb_component_id?: string | undefined;
11050
+ pcb_group_id?: string | undefined;
10518
11051
  pcb_smtpad_id?: string | undefined;
10519
11052
  }, {
10520
11053
  x: string | number;
@@ -10525,13 +11058,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10525
11058
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10526
11059
  };
10527
11060
  radius: number;
11061
+ subcircuit_id?: string | undefined;
10528
11062
  pcb_component_id?: string | undefined;
11063
+ pcb_group_id?: string | undefined;
10529
11064
  pcb_smtpad_id?: string | undefined;
10530
11065
  pcb_solder_paste_id?: string | undefined;
10531
11066
  }>, z.ZodObject<{
10532
11067
  type: z.ZodLiteral<"pcb_solder_paste">;
10533
11068
  shape: z.ZodLiteral<"rect">;
10534
11069
  pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11070
+ pcb_group_id: z.ZodOptional<z.ZodString>;
11071
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10535
11072
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10536
11073
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10537
11074
  width: z.ZodNumber;
@@ -10556,7 +11093,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10556
11093
  shape: "rect";
10557
11094
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10558
11095
  pcb_solder_paste_id: string;
11096
+ subcircuit_id?: string | undefined;
10559
11097
  pcb_component_id?: string | undefined;
11098
+ pcb_group_id?: string | undefined;
10560
11099
  pcb_smtpad_id?: string | undefined;
10561
11100
  }, {
10562
11101
  x: string | number;
@@ -10568,12 +11107,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10568
11107
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
10569
11108
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10570
11109
  };
11110
+ subcircuit_id?: string | undefined;
10571
11111
  pcb_component_id?: string | undefined;
11112
+ pcb_group_id?: string | undefined;
10572
11113
  pcb_smtpad_id?: string | undefined;
10573
11114
  pcb_solder_paste_id?: string | undefined;
10574
11115
  }>]>, z.ZodObject<{
10575
11116
  type: z.ZodLiteral<"pcb_board">;
10576
11117
  pcb_board_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11118
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
11119
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10577
11120
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10578
11121
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10579
11122
  center: z.ZodObject<{
@@ -10609,6 +11152,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10609
11152
  pcb_board_id: string;
10610
11153
  thickness: number;
10611
11154
  num_layers: number;
11155
+ subcircuit_id?: string | undefined;
11156
+ is_subcircuit?: boolean | undefined;
10612
11157
  outline?: {
10613
11158
  x: number;
10614
11159
  y: number;
@@ -10621,6 +11166,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10621
11166
  x: string | number;
10622
11167
  y: string | number;
10623
11168
  };
11169
+ subcircuit_id?: string | undefined;
11170
+ is_subcircuit?: boolean | undefined;
10624
11171
  pcb_board_id?: string | undefined;
10625
11172
  thickness?: string | number | undefined;
10626
11173
  num_layers?: number | undefined;
@@ -10631,6 +11178,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10631
11178
  }>, z.ZodObject<{
10632
11179
  type: z.ZodLiteral<"pcb_group">;
10633
11180
  pcb_group_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11181
+ is_subcircuit: z.ZodOptional<z.ZodBoolean>;
11182
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10634
11183
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10635
11184
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10636
11185
  center: z.ZodObject<{
@@ -10654,10 +11203,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10654
11203
  x: number;
10655
11204
  y: number;
10656
11205
  };
10657
- pcb_component_ids: string[];
10658
11206
  pcb_group_id: string;
11207
+ pcb_component_ids: string[];
10659
11208
  description?: string | undefined;
10660
11209
  name?: string | undefined;
11210
+ subcircuit_id?: string | undefined;
11211
+ is_subcircuit?: boolean | undefined;
10661
11212
  }, {
10662
11213
  type: "pcb_group";
10663
11214
  width: string | number;
@@ -10669,6 +11220,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10669
11220
  pcb_component_ids: string[];
10670
11221
  description?: string | undefined;
10671
11222
  name?: string | undefined;
11223
+ subcircuit_id?: string | undefined;
11224
+ is_subcircuit?: boolean | undefined;
10672
11225
  pcb_group_id?: string | undefined;
10673
11226
  }>, z.ZodObject<{
10674
11227
  type: z.ZodLiteral<"pcb_trace_hint">;
@@ -10734,6 +11287,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10734
11287
  type: z.ZodLiteral<"pcb_silkscreen_line">;
10735
11288
  pcb_silkscreen_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10736
11289
  pcb_component_id: z.ZodString;
11290
+ pcb_group_id: z.ZodOptional<z.ZodString>;
11291
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10737
11292
  stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
10738
11293
  x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10739
11294
  y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10750,6 +11305,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10750
11305
  layer: "top" | "bottom";
10751
11306
  pcb_silkscreen_line_id: string;
10752
11307
  stroke_width: number;
11308
+ subcircuit_id?: string | undefined;
11309
+ pcb_group_id?: string | undefined;
10753
11310
  }, {
10754
11311
  type: "pcb_silkscreen_line";
10755
11312
  x1: string | number;
@@ -10758,12 +11315,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10758
11315
  y2: string | number;
10759
11316
  pcb_component_id: string;
10760
11317
  layer: "top" | "bottom";
11318
+ subcircuit_id?: string | undefined;
11319
+ pcb_group_id?: string | undefined;
10761
11320
  pcb_silkscreen_line_id?: string | undefined;
10762
11321
  stroke_width?: string | number | undefined;
10763
11322
  }>, z.ZodObject<{
10764
11323
  type: z.ZodLiteral<"pcb_silkscreen_path">;
10765
11324
  pcb_silkscreen_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10766
11325
  pcb_component_id: z.ZodString;
11326
+ pcb_group_id: z.ZodOptional<z.ZodString>;
11327
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10767
11328
  layer: z.ZodEnum<["top", "bottom"]>;
10768
11329
  route: z.ZodArray<z.ZodObject<{
10769
11330
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10786,6 +11347,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10786
11347
  }[];
10787
11348
  stroke_width: number;
10788
11349
  pcb_silkscreen_path_id: string;
11350
+ subcircuit_id?: string | undefined;
11351
+ pcb_group_id?: string | undefined;
10789
11352
  }, {
10790
11353
  type: "pcb_silkscreen_path";
10791
11354
  pcb_component_id: string;
@@ -10795,10 +11358,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10795
11358
  y: string | number;
10796
11359
  }[];
10797
11360
  stroke_width: string | number;
11361
+ subcircuit_id?: string | undefined;
11362
+ pcb_group_id?: string | undefined;
10798
11363
  pcb_silkscreen_path_id?: string | undefined;
10799
11364
  }>, z.ZodObject<{
10800
11365
  type: z.ZodLiteral<"pcb_silkscreen_text">;
10801
11366
  pcb_silkscreen_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11367
+ pcb_group_id: z.ZodOptional<z.ZodString>;
11368
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10802
11369
  font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
10803
11370
  font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
10804
11371
  pcb_component_id: z.ZodString;
@@ -10838,6 +11405,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10838
11405
  font: "tscircuit2024";
10839
11406
  font_size: number;
10840
11407
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
11408
+ subcircuit_id?: string | undefined;
11409
+ pcb_group_id?: string | undefined;
10841
11410
  ccw_rotation?: number | undefined;
10842
11411
  is_mirrored?: boolean | undefined;
10843
11412
  }, {
@@ -10847,10 +11416,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10847
11416
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
10848
11417
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10849
11418
  };
11419
+ subcircuit_id?: string | undefined;
10850
11420
  anchor_position?: {
10851
11421
  x: string | number;
10852
11422
  y: string | number;
10853
11423
  } | undefined;
11424
+ pcb_group_id?: string | undefined;
10854
11425
  ccw_rotation?: number | undefined;
10855
11426
  pcb_silkscreen_text_id?: string | undefined;
10856
11427
  font?: "tscircuit2024" | undefined;
@@ -10861,6 +11432,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10861
11432
  type: z.ZodLiteral<"pcb_silkscreen_rect">;
10862
11433
  pcb_silkscreen_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10863
11434
  pcb_component_id: z.ZodString;
11435
+ pcb_group_id: z.ZodOptional<z.ZodString>;
11436
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10864
11437
  center: z.ZodObject<{
10865
11438
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10866
11439
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10893,6 +11466,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10893
11466
  pcb_component_id: string;
10894
11467
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10895
11468
  pcb_silkscreen_rect_id: string;
11469
+ subcircuit_id?: string | undefined;
11470
+ pcb_group_id?: string | undefined;
10896
11471
  }, {
10897
11472
  type: "pcb_silkscreen_rect";
10898
11473
  width: string | number;
@@ -10905,11 +11480,15 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10905
11480
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
10906
11481
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
10907
11482
  };
11483
+ subcircuit_id?: string | undefined;
11484
+ pcb_group_id?: string | undefined;
10908
11485
  pcb_silkscreen_rect_id?: string | undefined;
10909
11486
  }>, z.ZodObject<{
10910
11487
  type: z.ZodLiteral<"pcb_silkscreen_circle">;
10911
11488
  pcb_silkscreen_circle_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10912
11489
  pcb_component_id: z.ZodString;
11490
+ pcb_group_id: z.ZodOptional<z.ZodString>;
11491
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10913
11492
  center: z.ZodObject<{
10914
11493
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10915
11494
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10932,6 +11511,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10932
11511
  layer: "top" | "bottom";
10933
11512
  radius: number;
10934
11513
  pcb_silkscreen_circle_id: string;
11514
+ subcircuit_id?: string | undefined;
11515
+ pcb_group_id?: string | undefined;
10935
11516
  }, {
10936
11517
  type: "pcb_silkscreen_circle";
10937
11518
  center: {
@@ -10941,11 +11522,15 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10941
11522
  pcb_component_id: string;
10942
11523
  layer: "top" | "bottom";
10943
11524
  radius: string | number;
11525
+ subcircuit_id?: string | undefined;
11526
+ pcb_group_id?: string | undefined;
10944
11527
  pcb_silkscreen_circle_id?: string | undefined;
10945
11528
  }>, z.ZodObject<{
10946
11529
  type: z.ZodLiteral<"pcb_silkscreen_oval">;
10947
11530
  pcb_silkscreen_oval_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10948
11531
  pcb_component_id: z.ZodString;
11532
+ pcb_group_id: z.ZodOptional<z.ZodString>;
11533
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10949
11534
  center: z.ZodObject<{
10950
11535
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10951
11536
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -10970,6 +11555,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10970
11555
  pcb_silkscreen_oval_id: string;
10971
11556
  radius_x: number;
10972
11557
  radius_y: number;
11558
+ subcircuit_id?: string | undefined;
11559
+ pcb_group_id?: string | undefined;
10973
11560
  }, {
10974
11561
  type: "pcb_silkscreen_oval";
10975
11562
  center: {
@@ -10980,6 +11567,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10980
11567
  layer: "top" | "bottom";
10981
11568
  radius_x: string | number;
10982
11569
  radius_y: string | number;
11570
+ subcircuit_id?: string | undefined;
11571
+ pcb_group_id?: string | undefined;
10983
11572
  pcb_silkscreen_oval_id?: string | undefined;
10984
11573
  }>, z.ZodObject<{
10985
11574
  type: z.ZodLiteral<"pcb_trace_error">;
@@ -11057,6 +11646,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11057
11646
  type: z.ZodLiteral<"pcb_fabrication_note_path">;
11058
11647
  pcb_fabrication_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11059
11648
  pcb_component_id: z.ZodString;
11649
+ subcircuit_id: z.ZodOptional<z.ZodString>;
11060
11650
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
11061
11651
  name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
11062
11652
  }, "strip", z.ZodTypeAny, {
@@ -11088,6 +11678,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11088
11678
  }[];
11089
11679
  stroke_width: number;
11090
11680
  pcb_fabrication_note_path_id: string;
11681
+ subcircuit_id?: string | undefined;
11091
11682
  color?: string | undefined;
11092
11683
  }, {
11093
11684
  type: "pcb_fabrication_note_path";
@@ -11100,11 +11691,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11100
11691
  y: string | number;
11101
11692
  }[];
11102
11693
  stroke_width: string | number;
11694
+ subcircuit_id?: string | undefined;
11103
11695
  color?: string | undefined;
11104
11696
  pcb_fabrication_note_path_id?: string | undefined;
11105
11697
  }>, z.ZodObject<{
11106
11698
  type: z.ZodLiteral<"pcb_fabrication_note_text">;
11107
11699
  pcb_fabrication_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11700
+ subcircuit_id: z.ZodOptional<z.ZodString>;
11701
+ pcb_group_id: z.ZodOptional<z.ZodString>;
11108
11702
  font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
11109
11703
  font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11110
11704
  pcb_component_id: z.ZodString;
@@ -11135,17 +11729,21 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11135
11729
  font_size: number;
11136
11730
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
11137
11731
  pcb_fabrication_note_text_id: string;
11732
+ subcircuit_id?: string | undefined;
11138
11733
  color?: string | undefined;
11734
+ pcb_group_id?: string | undefined;
11139
11735
  }, {
11140
11736
  type: "pcb_fabrication_note_text";
11141
11737
  text: string;
11142
11738
  pcb_component_id: string;
11143
11739
  layer: "top" | "bottom";
11740
+ subcircuit_id?: string | undefined;
11144
11741
  color?: string | undefined;
11145
11742
  anchor_position?: {
11146
11743
  x: string | number;
11147
11744
  y: string | number;
11148
11745
  } | undefined;
11746
+ pcb_group_id?: string | undefined;
11149
11747
  font?: "tscircuit2024" | undefined;
11150
11748
  font_size?: string | number | undefined;
11151
11749
  anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;