@tscircuit/props 0.0.94 → 0.0.96

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.ts CHANGED
@@ -1142,7 +1142,7 @@ interface SchematicPortArrangementWithPinCounts {
1142
1142
  bottomPinCount?: number;
1143
1143
  }
1144
1144
  interface PinSideDefinition {
1145
- pins: number[] | string[];
1145
+ pins: Array<number | string>;
1146
1146
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1147
1147
  }
1148
1148
  interface SchematicPortArrangementWithSides {
@@ -1154,14 +1154,14 @@ interface SchematicPortArrangementWithSides {
1154
1154
  interface SchematicPortArrangement extends SchematicPortArrangementWithSizes, SchematicPortArrangementWithSides, SchematicPortArrangementWithPinCounts {
1155
1155
  }
1156
1156
  declare const explicitPinSideDefinition: z.ZodObject<{
1157
- pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
1157
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
1158
1158
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
1159
1159
  }, "strip", z.ZodTypeAny, {
1160
1160
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1161
- pins: string[] | number[];
1161
+ pins: (string | number)[];
1162
1162
  }, {
1163
1163
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1164
- pins: string[] | number[];
1164
+ pins: (string | number)[];
1165
1165
  }>;
1166
1166
  declare const schematicPortArrangement: z.ZodObject<{
1167
1167
  leftSize: z.ZodOptional<z.ZodNumber>;
@@ -1173,44 +1173,44 @@ declare const schematicPortArrangement: z.ZodObject<{
1173
1173
  topPinCount: z.ZodOptional<z.ZodNumber>;
1174
1174
  bottomPinCount: z.ZodOptional<z.ZodNumber>;
1175
1175
  leftSide: z.ZodOptional<z.ZodObject<{
1176
- pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
1176
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
1177
1177
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
1178
1178
  }, "strip", z.ZodTypeAny, {
1179
1179
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1180
- pins: string[] | number[];
1180
+ pins: (string | number)[];
1181
1181
  }, {
1182
1182
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1183
- pins: string[] | number[];
1183
+ pins: (string | number)[];
1184
1184
  }>>;
1185
1185
  rightSide: z.ZodOptional<z.ZodObject<{
1186
- pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
1186
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
1187
1187
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
1188
1188
  }, "strip", z.ZodTypeAny, {
1189
1189
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1190
- pins: string[] | number[];
1190
+ pins: (string | number)[];
1191
1191
  }, {
1192
1192
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1193
- pins: string[] | number[];
1193
+ pins: (string | number)[];
1194
1194
  }>>;
1195
1195
  topSide: z.ZodOptional<z.ZodObject<{
1196
- pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
1196
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
1197
1197
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
1198
1198
  }, "strip", z.ZodTypeAny, {
1199
1199
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1200
- pins: string[] | number[];
1200
+ pins: (string | number)[];
1201
1201
  }, {
1202
1202
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1203
- pins: string[] | number[];
1203
+ pins: (string | number)[];
1204
1204
  }>>;
1205
1205
  bottomSide: z.ZodOptional<z.ZodObject<{
1206
- pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
1206
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
1207
1207
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
1208
1208
  }, "strip", z.ZodTypeAny, {
1209
1209
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1210
- pins: string[] | number[];
1210
+ pins: (string | number)[];
1211
1211
  }, {
1212
1212
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1213
- pins: string[] | number[];
1213
+ pins: (string | number)[];
1214
1214
  }>>;
1215
1215
  }, "strip", z.ZodTypeAny, {
1216
1216
  leftSize?: number | undefined;
@@ -1219,19 +1219,19 @@ declare const schematicPortArrangement: z.ZodObject<{
1219
1219
  bottomSize?: number | undefined;
1220
1220
  leftSide?: {
1221
1221
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1222
- pins: string[] | number[];
1222
+ pins: (string | number)[];
1223
1223
  } | undefined;
1224
1224
  topSide?: {
1225
1225
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1226
- pins: string[] | number[];
1226
+ pins: (string | number)[];
1227
1227
  } | undefined;
1228
1228
  rightSide?: {
1229
1229
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1230
- pins: string[] | number[];
1230
+ pins: (string | number)[];
1231
1231
  } | undefined;
1232
1232
  bottomSide?: {
1233
1233
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1234
- pins: string[] | number[];
1234
+ pins: (string | number)[];
1235
1235
  } | undefined;
1236
1236
  leftPinCount?: number | undefined;
1237
1237
  rightPinCount?: number | undefined;
@@ -1244,19 +1244,19 @@ declare const schematicPortArrangement: z.ZodObject<{
1244
1244
  bottomSize?: number | undefined;
1245
1245
  leftSide?: {
1246
1246
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1247
- pins: string[] | number[];
1247
+ pins: (string | number)[];
1248
1248
  } | undefined;
1249
1249
  topSide?: {
1250
1250
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1251
- pins: string[] | number[];
1251
+ pins: (string | number)[];
1252
1252
  } | undefined;
1253
1253
  rightSide?: {
1254
1254
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1255
- pins: string[] | number[];
1255
+ pins: (string | number)[];
1256
1256
  } | undefined;
1257
1257
  bottomSide?: {
1258
1258
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1259
- pins: string[] | number[];
1259
+ pins: (string | number)[];
1260
1260
  } | undefined;
1261
1261
  leftPinCount?: number | undefined;
1262
1262
  rightPinCount?: number | undefined;
@@ -1658,6 +1658,8 @@ interface ChipProps extends CommonComponentProps {
1658
1658
  schWidth?: Distance;
1659
1659
  schHeight?: Distance;
1660
1660
  }
1661
+ type PinLabels = Record<number | string, string | readonly string[] | string[]>;
1662
+ declare const pinLabelsProp: z.ZodRecord<z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>;
1661
1663
  declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1662
1664
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
1663
1665
  pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -1927,44 +1929,44 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
1927
1929
  topPinCount: z.ZodOptional<z.ZodNumber>;
1928
1930
  bottomPinCount: z.ZodOptional<z.ZodNumber>;
1929
1931
  leftSide: z.ZodOptional<z.ZodObject<{
1930
- pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
1932
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
1931
1933
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
1932
1934
  }, "strip", z.ZodTypeAny, {
1933
1935
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1934
- pins: string[] | number[];
1936
+ pins: (string | number)[];
1935
1937
  }, {
1936
1938
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1937
- pins: string[] | number[];
1939
+ pins: (string | number)[];
1938
1940
  }>>;
1939
1941
  rightSide: z.ZodOptional<z.ZodObject<{
1940
- pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
1942
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
1941
1943
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
1942
1944
  }, "strip", z.ZodTypeAny, {
1943
1945
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1944
- pins: string[] | number[];
1946
+ pins: (string | number)[];
1945
1947
  }, {
1946
1948
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1947
- pins: string[] | number[];
1949
+ pins: (string | number)[];
1948
1950
  }>>;
1949
1951
  topSide: z.ZodOptional<z.ZodObject<{
1950
- pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
1952
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
1951
1953
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
1952
1954
  }, "strip", z.ZodTypeAny, {
1953
1955
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1954
- pins: string[] | number[];
1956
+ pins: (string | number)[];
1955
1957
  }, {
1956
1958
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1957
- pins: string[] | number[];
1959
+ pins: (string | number)[];
1958
1960
  }>>;
1959
1961
  bottomSide: z.ZodOptional<z.ZodObject<{
1960
- pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
1962
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
1961
1963
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
1962
1964
  }, "strip", z.ZodTypeAny, {
1963
1965
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1964
- pins: string[] | number[];
1966
+ pins: (string | number)[];
1965
1967
  }, {
1966
1968
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1967
- pins: string[] | number[];
1969
+ pins: (string | number)[];
1968
1970
  }>>;
1969
1971
  }, "strip", z.ZodTypeAny, {
1970
1972
  leftSize?: number | undefined;
@@ -1973,19 +1975,19 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
1973
1975
  bottomSize?: number | undefined;
1974
1976
  leftSide?: {
1975
1977
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1976
- pins: string[] | number[];
1978
+ pins: (string | number)[];
1977
1979
  } | undefined;
1978
1980
  topSide?: {
1979
1981
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1980
- pins: string[] | number[];
1982
+ pins: (string | number)[];
1981
1983
  } | undefined;
1982
1984
  rightSide?: {
1983
1985
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1984
- pins: string[] | number[];
1986
+ pins: (string | number)[];
1985
1987
  } | undefined;
1986
1988
  bottomSide?: {
1987
1989
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1988
- pins: string[] | number[];
1990
+ pins: (string | number)[];
1989
1991
  } | undefined;
1990
1992
  leftPinCount?: number | undefined;
1991
1993
  rightPinCount?: number | undefined;
@@ -1998,19 +2000,19 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
1998
2000
  bottomSize?: number | undefined;
1999
2001
  leftSide?: {
2000
2002
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2001
- pins: string[] | number[];
2003
+ pins: (string | number)[];
2002
2004
  } | undefined;
2003
2005
  topSide?: {
2004
2006
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2005
- pins: string[] | number[];
2007
+ pins: (string | number)[];
2006
2008
  } | undefined;
2007
2009
  rightSide?: {
2008
2010
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2009
- pins: string[] | number[];
2011
+ pins: (string | number)[];
2010
2012
  } | undefined;
2011
2013
  bottomSide?: {
2012
2014
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2013
- pins: string[] | number[];
2015
+ pins: (string | number)[];
2014
2016
  } | undefined;
2015
2017
  leftPinCount?: number | undefined;
2016
2018
  rightPinCount?: number | undefined;
@@ -2112,19 +2114,19 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
2112
2114
  bottomSize?: number | undefined;
2113
2115
  leftSide?: {
2114
2116
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2115
- pins: string[] | number[];
2117
+ pins: (string | number)[];
2116
2118
  } | undefined;
2117
2119
  topSide?: {
2118
2120
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2119
- pins: string[] | number[];
2121
+ pins: (string | number)[];
2120
2122
  } | undefined;
2121
2123
  rightSide?: {
2122
2124
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2123
- pins: string[] | number[];
2125
+ pins: (string | number)[];
2124
2126
  } | undefined;
2125
2127
  bottomSide?: {
2126
2128
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2127
- pins: string[] | number[];
2129
+ pins: (string | number)[];
2128
2130
  } | undefined;
2129
2131
  leftPinCount?: number | undefined;
2130
2132
  rightPinCount?: number | undefined;
@@ -2218,19 +2220,19 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
2218
2220
  bottomSize?: number | undefined;
2219
2221
  leftSide?: {
2220
2222
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2221
- pins: string[] | number[];
2223
+ pins: (string | number)[];
2222
2224
  } | undefined;
2223
2225
  topSide?: {
2224
2226
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2225
- pins: string[] | number[];
2227
+ pins: (string | number)[];
2226
2228
  } | undefined;
2227
2229
  rightSide?: {
2228
2230
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2229
- pins: string[] | number[];
2231
+ pins: (string | number)[];
2230
2232
  } | undefined;
2231
2233
  bottomSide?: {
2232
2234
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2233
- pins: string[] | number[];
2235
+ pins: (string | number)[];
2234
2236
  } | undefined;
2235
2237
  leftPinCount?: number | undefined;
2236
2238
  rightPinCount?: number | undefined;
@@ -2519,44 +2521,44 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
2519
2521
  topPinCount: z.ZodOptional<z.ZodNumber>;
2520
2522
  bottomPinCount: z.ZodOptional<z.ZodNumber>;
2521
2523
  leftSide: z.ZodOptional<z.ZodObject<{
2522
- pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
2524
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
2523
2525
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
2524
2526
  }, "strip", z.ZodTypeAny, {
2525
2527
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2526
- pins: string[] | number[];
2528
+ pins: (string | number)[];
2527
2529
  }, {
2528
2530
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2529
- pins: string[] | number[];
2531
+ pins: (string | number)[];
2530
2532
  }>>;
2531
2533
  rightSide: z.ZodOptional<z.ZodObject<{
2532
- pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
2534
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
2533
2535
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
2534
2536
  }, "strip", z.ZodTypeAny, {
2535
2537
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2536
- pins: string[] | number[];
2538
+ pins: (string | number)[];
2537
2539
  }, {
2538
2540
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2539
- pins: string[] | number[];
2541
+ pins: (string | number)[];
2540
2542
  }>>;
2541
2543
  topSide: z.ZodOptional<z.ZodObject<{
2542
- pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
2544
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
2543
2545
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
2544
2546
  }, "strip", z.ZodTypeAny, {
2545
2547
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2546
- pins: string[] | number[];
2548
+ pins: (string | number)[];
2547
2549
  }, {
2548
2550
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2549
- pins: string[] | number[];
2551
+ pins: (string | number)[];
2550
2552
  }>>;
2551
2553
  bottomSide: z.ZodOptional<z.ZodObject<{
2552
- pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
2554
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
2553
2555
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
2554
2556
  }, "strip", z.ZodTypeAny, {
2555
2557
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2556
- pins: string[] | number[];
2558
+ pins: (string | number)[];
2557
2559
  }, {
2558
2560
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2559
- pins: string[] | number[];
2561
+ pins: (string | number)[];
2560
2562
  }>>;
2561
2563
  }, "strip", z.ZodTypeAny, {
2562
2564
  leftSize?: number | undefined;
@@ -2565,19 +2567,19 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
2565
2567
  bottomSize?: number | undefined;
2566
2568
  leftSide?: {
2567
2569
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2568
- pins: string[] | number[];
2570
+ pins: (string | number)[];
2569
2571
  } | undefined;
2570
2572
  topSide?: {
2571
2573
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2572
- pins: string[] | number[];
2574
+ pins: (string | number)[];
2573
2575
  } | undefined;
2574
2576
  rightSide?: {
2575
2577
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2576
- pins: string[] | number[];
2578
+ pins: (string | number)[];
2577
2579
  } | undefined;
2578
2580
  bottomSide?: {
2579
2581
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2580
- pins: string[] | number[];
2582
+ pins: (string | number)[];
2581
2583
  } | undefined;
2582
2584
  leftPinCount?: number | undefined;
2583
2585
  rightPinCount?: number | undefined;
@@ -2590,19 +2592,19 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
2590
2592
  bottomSize?: number | undefined;
2591
2593
  leftSide?: {
2592
2594
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2593
- pins: string[] | number[];
2595
+ pins: (string | number)[];
2594
2596
  } | undefined;
2595
2597
  topSide?: {
2596
2598
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2597
- pins: string[] | number[];
2599
+ pins: (string | number)[];
2598
2600
  } | undefined;
2599
2601
  rightSide?: {
2600
2602
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2601
- pins: string[] | number[];
2603
+ pins: (string | number)[];
2602
2604
  } | undefined;
2603
2605
  bottomSide?: {
2604
2606
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2605
- pins: string[] | number[];
2607
+ pins: (string | number)[];
2606
2608
  } | undefined;
2607
2609
  leftPinCount?: number | undefined;
2608
2610
  rightPinCount?: number | undefined;
@@ -2704,19 +2706,19 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
2704
2706
  bottomSize?: number | undefined;
2705
2707
  leftSide?: {
2706
2708
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2707
- pins: string[] | number[];
2709
+ pins: (string | number)[];
2708
2710
  } | undefined;
2709
2711
  topSide?: {
2710
2712
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2711
- pins: string[] | number[];
2713
+ pins: (string | number)[];
2712
2714
  } | undefined;
2713
2715
  rightSide?: {
2714
2716
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2715
- pins: string[] | number[];
2717
+ pins: (string | number)[];
2716
2718
  } | undefined;
2717
2719
  bottomSide?: {
2718
2720
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2719
- pins: string[] | number[];
2721
+ pins: (string | number)[];
2720
2722
  } | undefined;
2721
2723
  leftPinCount?: number | undefined;
2722
2724
  rightPinCount?: number | undefined;
@@ -2810,19 +2812,19 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
2810
2812
  bottomSize?: number | undefined;
2811
2813
  leftSide?: {
2812
2814
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2813
- pins: string[] | number[];
2815
+ pins: (string | number)[];
2814
2816
  } | undefined;
2815
2817
  topSide?: {
2816
2818
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2817
- pins: string[] | number[];
2819
+ pins: (string | number)[];
2818
2820
  } | undefined;
2819
2821
  rightSide?: {
2820
2822
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2821
- pins: string[] | number[];
2823
+ pins: (string | number)[];
2822
2824
  } | undefined;
2823
2825
  bottomSide?: {
2824
2826
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2825
- pins: string[] | number[];
2827
+ pins: (string | number)[];
2826
2828
  } | undefined;
2827
2829
  leftPinCount?: number | undefined;
2828
2830
  rightPinCount?: number | undefined;
@@ -2843,7 +2845,7 @@ type InferredChipProps = z.input<typeof chipProps>;
2843
2845
 
2844
2846
  interface JumperProps extends CommonComponentProps {
2845
2847
  manufacturerPartNumber?: string;
2846
- pinLabels?: Record<number | string, string>;
2848
+ pinLabels?: Record<number | string, string | string[]>;
2847
2849
  schPinStyle?: SchematicPinStyle;
2848
2850
  schPinSpacing?: number | string;
2849
2851
  schWidth?: number | string;
@@ -3109,7 +3111,7 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3109
3111
  symbolName: z.ZodOptional<z.ZodString>;
3110
3112
  }>, {
3111
3113
  manufacturerPartNumber: z.ZodOptional<z.ZodString>;
3112
- pinLabels: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodString>>;
3114
+ pinLabels: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
3113
3115
  schPinStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3114
3116
  leftMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
3115
3117
  rightMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -3140,44 +3142,44 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3140
3142
  topPinCount: z.ZodOptional<z.ZodNumber>;
3141
3143
  bottomPinCount: z.ZodOptional<z.ZodNumber>;
3142
3144
  leftSide: z.ZodOptional<z.ZodObject<{
3143
- pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
3145
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
3144
3146
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
3145
3147
  }, "strip", z.ZodTypeAny, {
3146
3148
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3147
- pins: string[] | number[];
3149
+ pins: (string | number)[];
3148
3150
  }, {
3149
3151
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3150
- pins: string[] | number[];
3152
+ pins: (string | number)[];
3151
3153
  }>>;
3152
3154
  rightSide: z.ZodOptional<z.ZodObject<{
3153
- pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
3155
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
3154
3156
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
3155
3157
  }, "strip", z.ZodTypeAny, {
3156
3158
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3157
- pins: string[] | number[];
3159
+ pins: (string | number)[];
3158
3160
  }, {
3159
3161
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3160
- pins: string[] | number[];
3162
+ pins: (string | number)[];
3161
3163
  }>>;
3162
3164
  topSide: z.ZodOptional<z.ZodObject<{
3163
- pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
3165
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
3164
3166
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
3165
3167
  }, "strip", z.ZodTypeAny, {
3166
3168
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3167
- pins: string[] | number[];
3169
+ pins: (string | number)[];
3168
3170
  }, {
3169
3171
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3170
- pins: string[] | number[];
3172
+ pins: (string | number)[];
3171
3173
  }>>;
3172
3174
  bottomSide: z.ZodOptional<z.ZodObject<{
3173
- pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
3175
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
3174
3176
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
3175
3177
  }, "strip", z.ZodTypeAny, {
3176
3178
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3177
- pins: string[] | number[];
3179
+ pins: (string | number)[];
3178
3180
  }, {
3179
3181
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3180
- pins: string[] | number[];
3182
+ pins: (string | number)[];
3181
3183
  }>>;
3182
3184
  }, "strip", z.ZodTypeAny, {
3183
3185
  leftSize?: number | undefined;
@@ -3186,19 +3188,19 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3186
3188
  bottomSize?: number | undefined;
3187
3189
  leftSide?: {
3188
3190
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3189
- pins: string[] | number[];
3191
+ pins: (string | number)[];
3190
3192
  } | undefined;
3191
3193
  topSide?: {
3192
3194
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3193
- pins: string[] | number[];
3195
+ pins: (string | number)[];
3194
3196
  } | undefined;
3195
3197
  rightSide?: {
3196
3198
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3197
- pins: string[] | number[];
3199
+ pins: (string | number)[];
3198
3200
  } | undefined;
3199
3201
  bottomSide?: {
3200
3202
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3201
- pins: string[] | number[];
3203
+ pins: (string | number)[];
3202
3204
  } | undefined;
3203
3205
  leftPinCount?: number | undefined;
3204
3206
  rightPinCount?: number | undefined;
@@ -3211,19 +3213,19 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3211
3213
  bottomSize?: number | undefined;
3212
3214
  leftSide?: {
3213
3215
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3214
- pins: string[] | number[];
3216
+ pins: (string | number)[];
3215
3217
  } | undefined;
3216
3218
  topSide?: {
3217
3219
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3218
- pins: string[] | number[];
3220
+ pins: (string | number)[];
3219
3221
  } | undefined;
3220
3222
  rightSide?: {
3221
3223
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3222
- pins: string[] | number[];
3224
+ pins: (string | number)[];
3223
3225
  } | undefined;
3224
3226
  bottomSide?: {
3225
3227
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3226
- pins: string[] | number[];
3228
+ pins: (string | number)[];
3227
3229
  } | undefined;
3228
3230
  leftPinCount?: number | undefined;
3229
3231
  rightPinCount?: number | undefined;
@@ -3298,7 +3300,7 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3298
3300
  children?: any;
3299
3301
  symbolName?: string | undefined;
3300
3302
  manufacturerPartNumber?: string | undefined;
3301
- pinLabels?: Record<string | number, string> | undefined;
3303
+ pinLabels?: Record<string | number, string | string[]> | undefined;
3302
3304
  schPortArrangement?: {
3303
3305
  leftSize?: number | undefined;
3304
3306
  topSize?: number | undefined;
@@ -3306,19 +3308,19 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3306
3308
  bottomSize?: number | undefined;
3307
3309
  leftSide?: {
3308
3310
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3309
- pins: string[] | number[];
3311
+ pins: (string | number)[];
3310
3312
  } | undefined;
3311
3313
  topSide?: {
3312
3314
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3313
- pins: string[] | number[];
3315
+ pins: (string | number)[];
3314
3316
  } | undefined;
3315
3317
  rightSide?: {
3316
3318
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3317
- pins: string[] | number[];
3319
+ pins: (string | number)[];
3318
3320
  } | undefined;
3319
3321
  bottomSide?: {
3320
3322
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3321
- pins: string[] | number[];
3323
+ pins: (string | number)[];
3322
3324
  } | undefined;
3323
3325
  leftPinCount?: number | undefined;
3324
3326
  rightPinCount?: number | undefined;
@@ -3405,7 +3407,7 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3405
3407
  children?: any;
3406
3408
  symbolName?: string | undefined;
3407
3409
  manufacturerPartNumber?: string | undefined;
3408
- pinLabels?: Record<string | number, string> | undefined;
3410
+ pinLabels?: Record<string | number, string | string[]> | undefined;
3409
3411
  schPortArrangement?: {
3410
3412
  leftSize?: number | undefined;
3411
3413
  topSize?: number | undefined;
@@ -3413,19 +3415,19 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3413
3415
  bottomSize?: number | undefined;
3414
3416
  leftSide?: {
3415
3417
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3416
- pins: string[] | number[];
3418
+ pins: (string | number)[];
3417
3419
  } | undefined;
3418
3420
  topSide?: {
3419
3421
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3420
- pins: string[] | number[];
3422
+ pins: (string | number)[];
3421
3423
  } | undefined;
3422
3424
  rightSide?: {
3423
3425
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3424
- pins: string[] | number[];
3426
+ pins: (string | number)[];
3425
3427
  } | undefined;
3426
3428
  bottomSide?: {
3427
3429
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3428
- pins: string[] | number[];
3430
+ pins: (string | number)[];
3429
3431
  } | undefined;
3430
3432
  leftPinCount?: number | undefined;
3431
3433
  rightPinCount?: number | undefined;
@@ -4007,6 +4009,408 @@ declare const resistorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
4007
4009
  }>;
4008
4010
  declare const resistorPins: readonly ["pin1", "left", "pin2", "right"];
4009
4011
 
4012
+ interface PotentiometerProps extends CommonComponentProps {
4013
+ maxResistance: number | string;
4014
+ }
4015
+ declare const potentiometerProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4016
+ pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4017
+ pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4018
+ pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4019
+ schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4020
+ schY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4021
+ schRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4022
+ layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
4023
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
4024
+ }, "strip", z.ZodTypeAny, {
4025
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4026
+ }, {
4027
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4028
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4029
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4030
+ }>>;
4031
+ footprint: z.ZodOptional<z.ZodType<Footprint, z.ZodTypeDef, Footprint>>;
4032
+ }, {
4033
+ supplierPartNumbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
4034
+ }>, {
4035
+ key: z.ZodOptional<z.ZodAny>;
4036
+ name: z.ZodString;
4037
+ cadModel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
4038
+ rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
4039
+ x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
4040
+ y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
4041
+ z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
4042
+ }, "strip", z.ZodTypeAny, {
4043
+ x: string | number;
4044
+ y: string | number;
4045
+ z: string | number;
4046
+ }, {
4047
+ x: string | number;
4048
+ y: string | number;
4049
+ z: string | number;
4050
+ }>]>>;
4051
+ positionOffset: z.ZodOptional<z.ZodObject<{
4052
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4053
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4054
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4055
+ }, "strip", z.ZodTypeAny, {
4056
+ x: number;
4057
+ y: number;
4058
+ z: number;
4059
+ }, {
4060
+ x: string | number;
4061
+ y: string | number;
4062
+ z: string | number;
4063
+ }>>;
4064
+ size: z.ZodOptional<z.ZodObject<{
4065
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4066
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4067
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4068
+ }, "strip", z.ZodTypeAny, {
4069
+ x: number;
4070
+ y: number;
4071
+ z: number;
4072
+ }, {
4073
+ x: string | number;
4074
+ y: string | number;
4075
+ z: string | number;
4076
+ }>>;
4077
+ }, {
4078
+ stlUrl: z.ZodString;
4079
+ }>, "strip", z.ZodTypeAny, {
4080
+ stlUrl: string;
4081
+ rotationOffset?: number | {
4082
+ x: string | number;
4083
+ y: string | number;
4084
+ z: string | number;
4085
+ } | undefined;
4086
+ positionOffset?: {
4087
+ x: number;
4088
+ y: number;
4089
+ z: number;
4090
+ } | undefined;
4091
+ size?: {
4092
+ x: number;
4093
+ y: number;
4094
+ z: number;
4095
+ } | undefined;
4096
+ }, {
4097
+ stlUrl: string;
4098
+ rotationOffset?: number | {
4099
+ x: string | number;
4100
+ y: string | number;
4101
+ z: string | number;
4102
+ } | undefined;
4103
+ positionOffset?: {
4104
+ x: string | number;
4105
+ y: string | number;
4106
+ z: string | number;
4107
+ } | undefined;
4108
+ size?: {
4109
+ x: string | number;
4110
+ y: string | number;
4111
+ z: string | number;
4112
+ } | undefined;
4113
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4114
+ rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
4115
+ x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
4116
+ y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
4117
+ z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
4118
+ }, "strip", z.ZodTypeAny, {
4119
+ x: string | number;
4120
+ y: string | number;
4121
+ z: string | number;
4122
+ }, {
4123
+ x: string | number;
4124
+ y: string | number;
4125
+ z: string | number;
4126
+ }>]>>;
4127
+ positionOffset: z.ZodOptional<z.ZodObject<{
4128
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4129
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4130
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4131
+ }, "strip", z.ZodTypeAny, {
4132
+ x: number;
4133
+ y: number;
4134
+ z: number;
4135
+ }, {
4136
+ x: string | number;
4137
+ y: string | number;
4138
+ z: string | number;
4139
+ }>>;
4140
+ size: z.ZodOptional<z.ZodObject<{
4141
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4142
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4143
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4144
+ }, "strip", z.ZodTypeAny, {
4145
+ x: number;
4146
+ y: number;
4147
+ z: number;
4148
+ }, {
4149
+ x: string | number;
4150
+ y: string | number;
4151
+ z: string | number;
4152
+ }>>;
4153
+ }, {
4154
+ objUrl: z.ZodString;
4155
+ mtlUrl: z.ZodOptional<z.ZodString>;
4156
+ }>, "strip", z.ZodTypeAny, {
4157
+ objUrl: string;
4158
+ rotationOffset?: number | {
4159
+ x: string | number;
4160
+ y: string | number;
4161
+ z: string | number;
4162
+ } | undefined;
4163
+ positionOffset?: {
4164
+ x: number;
4165
+ y: number;
4166
+ z: number;
4167
+ } | undefined;
4168
+ size?: {
4169
+ x: number;
4170
+ y: number;
4171
+ z: number;
4172
+ } | undefined;
4173
+ mtlUrl?: string | undefined;
4174
+ }, {
4175
+ objUrl: string;
4176
+ rotationOffset?: number | {
4177
+ x: string | number;
4178
+ y: string | number;
4179
+ z: string | number;
4180
+ } | undefined;
4181
+ positionOffset?: {
4182
+ x: string | number;
4183
+ y: string | number;
4184
+ z: string | number;
4185
+ } | undefined;
4186
+ size?: {
4187
+ x: string | number;
4188
+ y: string | number;
4189
+ z: string | number;
4190
+ } | undefined;
4191
+ mtlUrl?: string | undefined;
4192
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4193
+ rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
4194
+ x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
4195
+ y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
4196
+ z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
4197
+ }, "strip", z.ZodTypeAny, {
4198
+ x: string | number;
4199
+ y: string | number;
4200
+ z: string | number;
4201
+ }, {
4202
+ x: string | number;
4203
+ y: string | number;
4204
+ z: string | number;
4205
+ }>]>>;
4206
+ positionOffset: z.ZodOptional<z.ZodObject<{
4207
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4208
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4209
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4210
+ }, "strip", z.ZodTypeAny, {
4211
+ x: number;
4212
+ y: number;
4213
+ z: number;
4214
+ }, {
4215
+ x: string | number;
4216
+ y: string | number;
4217
+ z: string | number;
4218
+ }>>;
4219
+ size: z.ZodOptional<z.ZodObject<{
4220
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4221
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4222
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4223
+ }, "strip", z.ZodTypeAny, {
4224
+ x: number;
4225
+ y: number;
4226
+ z: number;
4227
+ }, {
4228
+ x: string | number;
4229
+ y: string | number;
4230
+ z: string | number;
4231
+ }>>;
4232
+ }, {
4233
+ jscad: z.ZodRecord<z.ZodString, z.ZodAny>;
4234
+ }>, "strip", z.ZodTypeAny, {
4235
+ jscad: Record<string, any>;
4236
+ rotationOffset?: number | {
4237
+ x: string | number;
4238
+ y: string | number;
4239
+ z: string | number;
4240
+ } | undefined;
4241
+ positionOffset?: {
4242
+ x: number;
4243
+ y: number;
4244
+ z: number;
4245
+ } | undefined;
4246
+ size?: {
4247
+ x: number;
4248
+ y: number;
4249
+ z: number;
4250
+ } | undefined;
4251
+ }, {
4252
+ jscad: Record<string, any>;
4253
+ rotationOffset?: number | {
4254
+ x: string | number;
4255
+ y: string | number;
4256
+ z: string | number;
4257
+ } | undefined;
4258
+ positionOffset?: {
4259
+ x: string | number;
4260
+ y: string | number;
4261
+ z: string | number;
4262
+ } | undefined;
4263
+ size?: {
4264
+ x: string | number;
4265
+ y: string | number;
4266
+ z: string | number;
4267
+ } | undefined;
4268
+ }>]>>;
4269
+ children: z.ZodOptional<z.ZodAny>;
4270
+ symbolName: z.ZodOptional<z.ZodString>;
4271
+ }>, {
4272
+ maxResistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4273
+ }>, "strip", z.ZodTypeAny, {
4274
+ name: string;
4275
+ maxResistance: number;
4276
+ pcbX?: number | undefined;
4277
+ pcbY?: number | undefined;
4278
+ pcbRotation?: number | undefined;
4279
+ schX?: number | undefined;
4280
+ schY?: number | undefined;
4281
+ schRotation?: number | undefined;
4282
+ layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
4283
+ footprint?: Footprint | undefined;
4284
+ supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
4285
+ key?: any;
4286
+ cadModel?: string | {
4287
+ stlUrl: string;
4288
+ rotationOffset?: number | {
4289
+ x: string | number;
4290
+ y: string | number;
4291
+ z: string | number;
4292
+ } | undefined;
4293
+ positionOffset?: {
4294
+ x: number;
4295
+ y: number;
4296
+ z: number;
4297
+ } | undefined;
4298
+ size?: {
4299
+ x: number;
4300
+ y: number;
4301
+ z: number;
4302
+ } | undefined;
4303
+ } | {
4304
+ objUrl: string;
4305
+ rotationOffset?: number | {
4306
+ x: string | number;
4307
+ y: string | number;
4308
+ z: string | number;
4309
+ } | undefined;
4310
+ positionOffset?: {
4311
+ x: number;
4312
+ y: number;
4313
+ z: number;
4314
+ } | undefined;
4315
+ size?: {
4316
+ x: number;
4317
+ y: number;
4318
+ z: number;
4319
+ } | undefined;
4320
+ mtlUrl?: string | undefined;
4321
+ } | {
4322
+ jscad: Record<string, any>;
4323
+ rotationOffset?: number | {
4324
+ x: string | number;
4325
+ y: string | number;
4326
+ z: string | number;
4327
+ } | undefined;
4328
+ positionOffset?: {
4329
+ x: number;
4330
+ y: number;
4331
+ z: number;
4332
+ } | undefined;
4333
+ size?: {
4334
+ x: number;
4335
+ y: number;
4336
+ z: number;
4337
+ } | undefined;
4338
+ } | undefined;
4339
+ children?: any;
4340
+ symbolName?: string | undefined;
4341
+ }, {
4342
+ name: string;
4343
+ maxResistance: string | number;
4344
+ pcbX?: string | number | undefined;
4345
+ pcbY?: string | number | undefined;
4346
+ pcbRotation?: string | number | undefined;
4347
+ schX?: string | number | undefined;
4348
+ schY?: string | number | undefined;
4349
+ schRotation?: string | number | undefined;
4350
+ layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4351
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4352
+ } | undefined;
4353
+ footprint?: Footprint | undefined;
4354
+ supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
4355
+ key?: any;
4356
+ cadModel?: string | {
4357
+ stlUrl: string;
4358
+ rotationOffset?: number | {
4359
+ x: string | number;
4360
+ y: string | number;
4361
+ z: string | number;
4362
+ } | undefined;
4363
+ positionOffset?: {
4364
+ x: string | number;
4365
+ y: string | number;
4366
+ z: string | number;
4367
+ } | undefined;
4368
+ size?: {
4369
+ x: string | number;
4370
+ y: string | number;
4371
+ z: string | number;
4372
+ } | undefined;
4373
+ } | {
4374
+ objUrl: string;
4375
+ rotationOffset?: number | {
4376
+ x: string | number;
4377
+ y: string | number;
4378
+ z: string | number;
4379
+ } | undefined;
4380
+ positionOffset?: {
4381
+ x: string | number;
4382
+ y: string | number;
4383
+ z: string | number;
4384
+ } | undefined;
4385
+ size?: {
4386
+ x: string | number;
4387
+ y: string | number;
4388
+ z: string | number;
4389
+ } | undefined;
4390
+ mtlUrl?: string | undefined;
4391
+ } | {
4392
+ jscad: Record<string, any>;
4393
+ rotationOffset?: number | {
4394
+ x: string | number;
4395
+ y: string | number;
4396
+ z: string | number;
4397
+ } | undefined;
4398
+ positionOffset?: {
4399
+ x: string | number;
4400
+ y: string | number;
4401
+ z: string | number;
4402
+ } | undefined;
4403
+ size?: {
4404
+ x: string | number;
4405
+ y: string | number;
4406
+ z: string | number;
4407
+ } | undefined;
4408
+ } | undefined;
4409
+ children?: any;
4410
+ symbolName?: string | undefined;
4411
+ }>;
4412
+ declare const potentiometerPins: readonly ["pin1", "left", "pin2", "right"];
4413
+
4010
4414
  interface CapacitorProps extends CommonComponentProps {
4011
4415
  capacitance: number | string;
4012
4416
  polarized?: boolean;
@@ -9774,4 +10178,4 @@ declare const fabricationNotePathProps: z.ZodObject<z.objectUtil.extendShape<Omi
9774
10178
  }>;
9775
10179
  type FabricationNotePathProps = z.input<typeof fabricationNotePathProps>;
9776
10180
 
9777
- export { type BaseGroupProps, type BatteryProps, type BoardProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorProps, type ChipProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConstrainedLayoutProps, type ConstraintProps, type DiodeProps, type Direction, type DirectionAlongEdge, type FabricationNotePathProps, type FabricationNoteTextProps, type Footprint, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type JumperProps, type LedProps, type NetAliasProps, type NetProps, type OvalPlatedHoleProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PinHeaderProps, type PinSideDefinition, type PlatedHoleProps, type PortHints, type PortProps, type PowerSourceProps, type PushButtonProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorProps, type SchematicBoxProps, type SchematicLineProps, type SchematicPathProps, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderPasteProps, type SubcircuitGroupProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TraceHintProps, type TraceProps, type ViaProps, baseGroupProps, batteryPins, batteryProps, boardProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPins, capacitorProps, chipProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, constrainedLayoutProps, constraintProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, ledPins, ledProps, lrPins, lrPolarPins, netAliasProps, netProps, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pinHeaderProps, platedHoleProps, point3, portHints, portProps, portRef, powerSourceProps, pushButtonProps, rectSmtPadProps, rectSolderPasteProps, resistorPins, resistorProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, subcircuitGroupProps, supplierProps, switchProps, traceHintProps, traceProps, viaProps };
10181
+ export { type BaseGroupProps, type BatteryProps, type BoardProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorProps, type ChipProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConstrainedLayoutProps, type ConstraintProps, type DiodeProps, type Direction, type DirectionAlongEdge, type FabricationNotePathProps, type FabricationNoteTextProps, type Footprint, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type JumperProps, type LedProps, type NetAliasProps, type NetProps, type OvalPlatedHoleProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PinHeaderProps, type PinLabels, type PinSideDefinition, type PlatedHoleProps, type PortHints, type PortProps, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorProps, type SchematicBoxProps, type SchematicLineProps, type SchematicPathProps, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderPasteProps, type SubcircuitGroupProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TraceHintProps, type TraceProps, type ViaProps, baseGroupProps, batteryPins, batteryProps, boardProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPins, capacitorProps, chipProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, constrainedLayoutProps, constraintProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, ledPins, ledProps, lrPins, lrPolarPins, netAliasProps, netProps, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pinHeaderProps, pinLabelsProp, platedHoleProps, point3, portHints, portProps, portRef, potentiometerPins, potentiometerProps, powerSourceProps, pushButtonProps, rectSmtPadProps, rectSolderPasteProps, resistorPins, resistorProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, subcircuitGroupProps, supplierProps, switchProps, traceHintProps, traceProps, viaProps };