@nakafa/aksara-contracts 8.1.0 → 8.4.0

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.
Files changed (98) hide show
  1. package/dist/math/boundary.d.ts +9 -0
  2. package/dist/math/boundary.js +81 -0
  3. package/dist/math/curve.d.ts +1 -0
  4. package/dist/math/curve.js +4 -2
  5. package/dist/math/formula/affine.d.ts +22 -0
  6. package/dist/math/formula/affine.js +79 -0
  7. package/dist/math/formula/contour.js +27 -12
  8. package/dist/math/object.d.ts +12 -0
  9. package/dist/math/object.js +11 -0
  10. package/dist/math/plane.d.ts +10 -0
  11. package/dist/math/plane.js +7 -1
  12. package/dist/math/space.d.ts +8 -0
  13. package/dist/math/space.js +5 -1
  14. package/dist/math/visual.d.ts +239 -212
  15. package/dist/visual/base/math.d.ts +78 -0
  16. package/dist/visual/base/math.js +31 -3
  17. package/dist/visual/base/media.d.ts +67 -0
  18. package/dist/visual/biology/bacteria.d.ts +268 -0
  19. package/dist/visual/biology/cell.d.ts +201 -0
  20. package/dist/visual/biology/climate.d.ts +201 -0
  21. package/dist/visual/biology/ecology.d.ts +268 -0
  22. package/dist/visual/biology/physiology.d.ts +201 -0
  23. package/dist/visual/biology/plant.d.ts +335 -0
  24. package/dist/visual/biology.d.ts +16 -16
  25. package/dist/visual/biology.js +2 -2
  26. package/dist/visual/card.d.ts +79 -1
  27. package/dist/visual/card.js +18 -2
  28. package/dist/visual/catalog.d.ts +14808 -28
  29. package/dist/visual/catalog.js +26 -0
  30. package/dist/visual/chemistry/atom.d.ts +203 -2
  31. package/dist/visual/chemistry/atom.js +2 -2
  32. package/dist/visual/chemistry/balance.d.ts +335 -0
  33. package/dist/visual/chemistry/bonding.d.ts +335 -0
  34. package/dist/visual/chemistry/discovery.d.ts +469 -0
  35. package/dist/visual/chemistry/electrochemistry.d.ts +134 -0
  36. package/dist/visual/chemistry/electron.d.ts +134 -0
  37. package/dist/visual/chemistry/laws.d.ts +268 -0
  38. package/dist/visual/chemistry/particles.d.ts +335 -0
  39. package/dist/visual/chemistry/periodic.d.ts +134 -0
  40. package/dist/visual/chemistry/rate.d.ts +67 -0
  41. package/dist/visual/chemistry/reaction.d.ts +201 -0
  42. package/dist/visual/chemistry/titration.d.ts +67 -0
  43. package/dist/visual/length.d.ts +79 -0
  44. package/dist/visual/length.js +37 -0
  45. package/dist/visual/mathematics/chance.d.ts +258 -0
  46. package/dist/visual/mathematics/chance.js +117 -0
  47. package/dist/visual/mathematics/chart.d.ts +67 -0
  48. package/dist/visual/mathematics/charts.d.ts +335 -0
  49. package/dist/visual/mathematics/function.d.ts +205 -4
  50. package/dist/visual/mathematics/function.js +4 -4
  51. package/dist/visual/mathematics/geometry.d.ts +1 -1
  52. package/dist/visual/mathematics/geometry.js +1 -1
  53. package/dist/visual/mathematics/numeral.d.ts +170 -0
  54. package/dist/visual/mathematics/numeral.js +85 -0
  55. package/dist/visual/physics/braking.d.ts +268 -0
  56. package/dist/visual/physics/circuit.d.ts +343 -0
  57. package/dist/visual/physics/circuit.js +86 -0
  58. package/dist/visual/physics/circular.d.ts +134 -0
  59. package/dist/visual/physics/dynamics.d.ts +579 -0
  60. package/dist/visual/physics/dynamics.js +134 -0
  61. package/dist/visual/physics/efficiency.d.ts +402 -0
  62. package/dist/visual/physics/electronics.d.ts +260 -0
  63. package/dist/visual/physics/electronics.js +71 -0
  64. package/dist/visual/physics/falling.d.ts +268 -0
  65. package/dist/visual/physics/field.d.ts +249 -0
  66. package/dist/visual/physics/field.js +60 -0
  67. package/dist/visual/physics/fluid.d.ts +336 -0
  68. package/dist/visual/physics/fluid.js +83 -0
  69. package/dist/visual/physics/force.d.ts +335 -0
  70. package/dist/visual/physics/gravity.d.ts +172 -0
  71. package/dist/visual/physics/gravity.js +47 -0
  72. package/dist/visual/physics/heat.d.ts +255 -0
  73. package/dist/visual/physics/heat.js +66 -0
  74. package/dist/visual/physics/instrument.d.ts +469 -0
  75. package/dist/visual/physics/light.d.ts +343 -0
  76. package/dist/visual/physics/light.js +90 -0
  77. package/dist/visual/physics/measurement.d.ts +268 -0
  78. package/dist/visual/physics/motion.d.ts +402 -0
  79. package/dist/visual/physics/nuclear.d.ts +258 -0
  80. package/dist/visual/physics/nuclear.js +69 -0
  81. package/dist/visual/physics/parabolic.d.ts +69 -2
  82. package/dist/visual/physics/parabolic.js +2 -2
  83. package/dist/visual/physics/position.d.ts +402 -0
  84. package/dist/visual/physics/power.d.ts +536 -0
  85. package/dist/visual/physics/precision.d.ts +469 -0
  86. package/dist/visual/physics/product.d.ts +268 -0
  87. package/dist/visual/physics/reading.d.ts +253 -0
  88. package/dist/visual/physics/reading.js +61 -0
  89. package/dist/visual/physics/record.d.ts +134 -0
  90. package/dist/visual/physics/relative.d.ts +201 -0
  91. package/dist/visual/physics/solar.d.ts +402 -0
  92. package/dist/visual/physics/vector.d.ts +335 -0
  93. package/dist/visual/physics/velocity.d.ts +469 -0
  94. package/dist/visual/physics/wave.d.ts +338 -0
  95. package/dist/visual/physics/wave.js +85 -0
  96. package/dist/visual/politics.d.ts +403 -1
  97. package/dist/visual/politics.js +1 -1
  98. package/package.json +1 -1
@@ -7,6 +7,73 @@ import { type RichSlot } from "#contracts/visual/card";
7
7
  export declare function brakingVisuals<E>(rich: RichSlot<E>): {
8
8
  BrakeHeatLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
9
9
  readonly description: RichSlot<E>;
10
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
11
+ readonly attrs: {
12
+ readonly latex: string;
13
+ };
14
+ readonly type: "mathInline";
15
+ } | {
16
+ readonly marks?: readonly [{
17
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
18
+ } | {
19
+ readonly attrs: {
20
+ readonly href: string;
21
+ };
22
+ readonly type: "link";
23
+ } | {
24
+ readonly attrs: {
25
+ readonly variant: "success" | "warning" | null;
26
+ };
27
+ readonly type: "highlight";
28
+ }, ...({
29
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
30
+ } | {
31
+ readonly attrs: {
32
+ readonly href: string;
33
+ };
34
+ readonly type: "link";
35
+ } | {
36
+ readonly attrs: {
37
+ readonly variant: "success" | "warning" | null;
38
+ };
39
+ readonly type: "highlight";
40
+ })[]];
41
+ readonly text: string;
42
+ readonly type: "text";
43
+ }, ...({
44
+ readonly attrs: {
45
+ readonly latex: string;
46
+ };
47
+ readonly type: "mathInline";
48
+ } | {
49
+ readonly marks?: readonly [{
50
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
51
+ } | {
52
+ readonly attrs: {
53
+ readonly href: string;
54
+ };
55
+ readonly type: "link";
56
+ } | {
57
+ readonly attrs: {
58
+ readonly variant: "success" | "warning" | null;
59
+ };
60
+ readonly type: "highlight";
61
+ }, ...({
62
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
63
+ } | {
64
+ readonly attrs: {
65
+ readonly href: string;
66
+ };
67
+ readonly type: "link";
68
+ } | {
69
+ readonly attrs: {
70
+ readonly variant: "success" | "warning" | null;
71
+ };
72
+ readonly type: "highlight";
73
+ })[]];
74
+ readonly text: string;
75
+ readonly type: "text";
76
+ })[]], E, never, never>>;
10
77
  readonly title: RichSlot<E>;
11
78
  readonly labels: Schema.Struct<{
12
79
  readonly chooseSpeed: Schema.Trimmed;
@@ -19,6 +86,73 @@ export declare function brakingVisuals<E>(rich: RichSlot<E>): {
19
86
  }>, "figure">;
20
87
  BrakingSurfaceLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
21
88
  readonly description: RichSlot<E>;
89
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
90
+ readonly attrs: {
91
+ readonly latex: string;
92
+ };
93
+ readonly type: "mathInline";
94
+ } | {
95
+ readonly marks?: readonly [{
96
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
97
+ } | {
98
+ readonly attrs: {
99
+ readonly href: string;
100
+ };
101
+ readonly type: "link";
102
+ } | {
103
+ readonly attrs: {
104
+ readonly variant: "success" | "warning" | null;
105
+ };
106
+ readonly type: "highlight";
107
+ }, ...({
108
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
109
+ } | {
110
+ readonly attrs: {
111
+ readonly href: string;
112
+ };
113
+ readonly type: "link";
114
+ } | {
115
+ readonly attrs: {
116
+ readonly variant: "success" | "warning" | null;
117
+ };
118
+ readonly type: "highlight";
119
+ })[]];
120
+ readonly text: string;
121
+ readonly type: "text";
122
+ }, ...({
123
+ readonly attrs: {
124
+ readonly latex: string;
125
+ };
126
+ readonly type: "mathInline";
127
+ } | {
128
+ readonly marks?: readonly [{
129
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
130
+ } | {
131
+ readonly attrs: {
132
+ readonly href: string;
133
+ };
134
+ readonly type: "link";
135
+ } | {
136
+ readonly attrs: {
137
+ readonly variant: "success" | "warning" | null;
138
+ };
139
+ readonly type: "highlight";
140
+ }, ...({
141
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
142
+ } | {
143
+ readonly attrs: {
144
+ readonly href: string;
145
+ };
146
+ readonly type: "link";
147
+ } | {
148
+ readonly attrs: {
149
+ readonly variant: "success" | "warning" | null;
150
+ };
151
+ readonly type: "highlight";
152
+ })[]];
153
+ readonly text: string;
154
+ readonly type: "text";
155
+ })[]], E, never, never>>;
22
156
  readonly title: RichSlot<E>;
23
157
  readonly labels: Schema.Struct<{
24
158
  readonly brakingDistance: RichSlot<E>;
@@ -32,6 +166,73 @@ export declare function brakingVisuals<E>(rich: RichSlot<E>): {
32
166
  }>, "figure">;
33
167
  FollowingDistanceLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
34
168
  readonly description: RichSlot<E>;
169
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
170
+ readonly attrs: {
171
+ readonly latex: string;
172
+ };
173
+ readonly type: "mathInline";
174
+ } | {
175
+ readonly marks?: readonly [{
176
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
177
+ } | {
178
+ readonly attrs: {
179
+ readonly href: string;
180
+ };
181
+ readonly type: "link";
182
+ } | {
183
+ readonly attrs: {
184
+ readonly variant: "success" | "warning" | null;
185
+ };
186
+ readonly type: "highlight";
187
+ }, ...({
188
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
189
+ } | {
190
+ readonly attrs: {
191
+ readonly href: string;
192
+ };
193
+ readonly type: "link";
194
+ } | {
195
+ readonly attrs: {
196
+ readonly variant: "success" | "warning" | null;
197
+ };
198
+ readonly type: "highlight";
199
+ })[]];
200
+ readonly text: string;
201
+ readonly type: "text";
202
+ }, ...({
203
+ readonly attrs: {
204
+ readonly latex: string;
205
+ };
206
+ readonly type: "mathInline";
207
+ } | {
208
+ readonly marks?: readonly [{
209
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
210
+ } | {
211
+ readonly attrs: {
212
+ readonly href: string;
213
+ };
214
+ readonly type: "link";
215
+ } | {
216
+ readonly attrs: {
217
+ readonly variant: "success" | "warning" | null;
218
+ };
219
+ readonly type: "highlight";
220
+ }, ...({
221
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
222
+ } | {
223
+ readonly attrs: {
224
+ readonly href: string;
225
+ };
226
+ readonly type: "link";
227
+ } | {
228
+ readonly attrs: {
229
+ readonly variant: "success" | "warning" | null;
230
+ };
231
+ readonly type: "highlight";
232
+ })[]];
233
+ readonly text: string;
234
+ readonly type: "text";
235
+ })[]], E, never, never>>;
35
236
  readonly title: RichSlot<E>;
36
237
  readonly labels: Schema.Struct<{
37
238
  readonly chooseHeadway: Schema.Trimmed;
@@ -47,6 +248,73 @@ export declare function brakingVisuals<E>(rich: RichSlot<E>): {
47
248
  }>, "figure">;
48
249
  ReactionTimeLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
49
250
  readonly description: RichSlot<E>;
251
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
252
+ readonly attrs: {
253
+ readonly latex: string;
254
+ };
255
+ readonly type: "mathInline";
256
+ } | {
257
+ readonly marks?: readonly [{
258
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
259
+ } | {
260
+ readonly attrs: {
261
+ readonly href: string;
262
+ };
263
+ readonly type: "link";
264
+ } | {
265
+ readonly attrs: {
266
+ readonly variant: "success" | "warning" | null;
267
+ };
268
+ readonly type: "highlight";
269
+ }, ...({
270
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
271
+ } | {
272
+ readonly attrs: {
273
+ readonly href: string;
274
+ };
275
+ readonly type: "link";
276
+ } | {
277
+ readonly attrs: {
278
+ readonly variant: "success" | "warning" | null;
279
+ };
280
+ readonly type: "highlight";
281
+ })[]];
282
+ readonly text: string;
283
+ readonly type: "text";
284
+ }, ...({
285
+ readonly attrs: {
286
+ readonly latex: string;
287
+ };
288
+ readonly type: "mathInline";
289
+ } | {
290
+ readonly marks?: readonly [{
291
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
292
+ } | {
293
+ readonly attrs: {
294
+ readonly href: string;
295
+ };
296
+ readonly type: "link";
297
+ } | {
298
+ readonly attrs: {
299
+ readonly variant: "success" | "warning" | null;
300
+ };
301
+ readonly type: "highlight";
302
+ }, ...({
303
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
304
+ } | {
305
+ readonly attrs: {
306
+ readonly href: string;
307
+ };
308
+ readonly type: "link";
309
+ } | {
310
+ readonly attrs: {
311
+ readonly variant: "success" | "warning" | null;
312
+ };
313
+ readonly type: "highlight";
314
+ })[]];
315
+ readonly text: string;
316
+ readonly type: "text";
317
+ })[]], E, never, never>>;
50
318
  readonly title: RichSlot<E>;
51
319
  readonly labels: Schema.Struct<{
52
320
  readonly average: RichSlot<E>;
@@ -0,0 +1,343 @@
1
+ import { Schema } from "effect";
2
+ import { type RichSlot } from "#contracts/visual/card";
3
+ /**
4
+ * The props of the electricity labs. Each prop is a value from the item the lab
5
+ * draws, never the conclusion it leads to, so none holds answer state.
6
+ */
7
+ export declare function circuitVisuals<E>(rich: RichSlot<E>): {
8
+ BulbNetworkLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
9
+ readonly description: RichSlot<E>;
10
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
11
+ readonly attrs: {
12
+ readonly latex: string;
13
+ };
14
+ readonly type: "mathInline";
15
+ } | {
16
+ readonly marks?: readonly [{
17
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
18
+ } | {
19
+ readonly attrs: {
20
+ readonly href: string;
21
+ };
22
+ readonly type: "link";
23
+ } | {
24
+ readonly attrs: {
25
+ readonly variant: "success" | "warning" | null;
26
+ };
27
+ readonly type: "highlight";
28
+ }, ...({
29
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
30
+ } | {
31
+ readonly attrs: {
32
+ readonly href: string;
33
+ };
34
+ readonly type: "link";
35
+ } | {
36
+ readonly attrs: {
37
+ readonly variant: "success" | "warning" | null;
38
+ };
39
+ readonly type: "highlight";
40
+ })[]];
41
+ readonly text: string;
42
+ readonly type: "text";
43
+ }, ...({
44
+ readonly attrs: {
45
+ readonly latex: string;
46
+ };
47
+ readonly type: "mathInline";
48
+ } | {
49
+ readonly marks?: readonly [{
50
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
51
+ } | {
52
+ readonly attrs: {
53
+ readonly href: string;
54
+ };
55
+ readonly type: "link";
56
+ } | {
57
+ readonly attrs: {
58
+ readonly variant: "success" | "warning" | null;
59
+ };
60
+ readonly type: "highlight";
61
+ }, ...({
62
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
63
+ } | {
64
+ readonly attrs: {
65
+ readonly href: string;
66
+ };
67
+ readonly type: "link";
68
+ } | {
69
+ readonly attrs: {
70
+ readonly variant: "success" | "warning" | null;
71
+ };
72
+ readonly type: "highlight";
73
+ })[]];
74
+ readonly text: string;
75
+ readonly type: "text";
76
+ })[]], E, never, never>>;
77
+ readonly title: RichSlot<E>;
78
+ readonly emf: Schema.Finite;
79
+ readonly group: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Finite, Schema.Finite]>, readonly [Schema.Finite]>;
80
+ readonly labels: Schema.Struct<{
81
+ readonly broken: RichSlot<E>;
82
+ readonly intact: RichSlot<E>;
83
+ readonly state: Schema.Trimmed;
84
+ readonly viewLabel: Schema.Trimmed;
85
+ }>;
86
+ readonly series: Schema.Finite;
87
+ }>, "figure">;
88
+ InternalResistanceLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
89
+ readonly description: RichSlot<E>;
90
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
91
+ readonly attrs: {
92
+ readonly latex: string;
93
+ };
94
+ readonly type: "mathInline";
95
+ } | {
96
+ readonly marks?: readonly [{
97
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
98
+ } | {
99
+ readonly attrs: {
100
+ readonly href: string;
101
+ };
102
+ readonly type: "link";
103
+ } | {
104
+ readonly attrs: {
105
+ readonly variant: "success" | "warning" | null;
106
+ };
107
+ readonly type: "highlight";
108
+ }, ...({
109
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
110
+ } | {
111
+ readonly attrs: {
112
+ readonly href: string;
113
+ };
114
+ readonly type: "link";
115
+ } | {
116
+ readonly attrs: {
117
+ readonly variant: "success" | "warning" | null;
118
+ };
119
+ readonly type: "highlight";
120
+ })[]];
121
+ readonly text: string;
122
+ readonly type: "text";
123
+ }, ...({
124
+ readonly attrs: {
125
+ readonly latex: string;
126
+ };
127
+ readonly type: "mathInline";
128
+ } | {
129
+ readonly marks?: readonly [{
130
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
131
+ } | {
132
+ readonly attrs: {
133
+ readonly href: string;
134
+ };
135
+ readonly type: "link";
136
+ } | {
137
+ readonly attrs: {
138
+ readonly variant: "success" | "warning" | null;
139
+ };
140
+ readonly type: "highlight";
141
+ }, ...({
142
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
143
+ } | {
144
+ readonly attrs: {
145
+ readonly href: string;
146
+ };
147
+ readonly type: "link";
148
+ } | {
149
+ readonly attrs: {
150
+ readonly variant: "success" | "warning" | null;
151
+ };
152
+ readonly type: "highlight";
153
+ })[]];
154
+ readonly text: string;
155
+ readonly type: "text";
156
+ })[]], E, never, never>>;
157
+ readonly title: RichSlot<E>;
158
+ readonly labels: Schema.Struct<{
159
+ readonly current: RichSlot<E>;
160
+ readonly emf: RichSlot<E>;
161
+ readonly internal: RichSlot<E>;
162
+ readonly resistor: Schema.Trimmed;
163
+ readonly terminal: RichSlot<E>;
164
+ readonly viewLabel: Schema.Trimmed;
165
+ }>;
166
+ readonly readings: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
167
+ readonly resistance: Schema.Finite;
168
+ readonly voltage: Schema.Finite;
169
+ }>, Schema.Struct<{
170
+ readonly resistance: Schema.Finite;
171
+ readonly voltage: Schema.Finite;
172
+ }>]>, readonly [Schema.Struct<{
173
+ readonly resistance: Schema.Finite;
174
+ readonly voltage: Schema.Finite;
175
+ }>]>;
176
+ readonly trial: Schema.Finite;
177
+ }>, "figure">;
178
+ HeaterSupplyLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
179
+ readonly description: RichSlot<E>;
180
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
181
+ readonly attrs: {
182
+ readonly latex: string;
183
+ };
184
+ readonly type: "mathInline";
185
+ } | {
186
+ readonly marks?: readonly [{
187
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
188
+ } | {
189
+ readonly attrs: {
190
+ readonly href: string;
191
+ };
192
+ readonly type: "link";
193
+ } | {
194
+ readonly attrs: {
195
+ readonly variant: "success" | "warning" | null;
196
+ };
197
+ readonly type: "highlight";
198
+ }, ...({
199
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
200
+ } | {
201
+ readonly attrs: {
202
+ readonly href: string;
203
+ };
204
+ readonly type: "link";
205
+ } | {
206
+ readonly attrs: {
207
+ readonly variant: "success" | "warning" | null;
208
+ };
209
+ readonly type: "highlight";
210
+ })[]];
211
+ readonly text: string;
212
+ readonly type: "text";
213
+ }, ...({
214
+ readonly attrs: {
215
+ readonly latex: string;
216
+ };
217
+ readonly type: "mathInline";
218
+ } | {
219
+ readonly marks?: readonly [{
220
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
221
+ } | {
222
+ readonly attrs: {
223
+ readonly href: string;
224
+ };
225
+ readonly type: "link";
226
+ } | {
227
+ readonly attrs: {
228
+ readonly variant: "success" | "warning" | null;
229
+ };
230
+ readonly type: "highlight";
231
+ }, ...({
232
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
233
+ } | {
234
+ readonly attrs: {
235
+ readonly href: string;
236
+ };
237
+ readonly type: "link";
238
+ } | {
239
+ readonly attrs: {
240
+ readonly variant: "success" | "warning" | null;
241
+ };
242
+ readonly type: "highlight";
243
+ })[]];
244
+ readonly text: string;
245
+ readonly type: "text";
246
+ })[]], E, never, never>>;
247
+ readonly title: RichSlot<E>;
248
+ readonly hours: Schema.Finite;
249
+ readonly labels: Schema.Struct<{
250
+ readonly energy: RichSlot<E>;
251
+ readonly power: RichSlot<E>;
252
+ readonly resistance: RichSlot<E>;
253
+ readonly supply: RichSlot<E>;
254
+ readonly supplyName: Schema.Trimmed;
255
+ readonly viewLabel: Schema.Trimmed;
256
+ }>;
257
+ readonly ratedPower: Schema.Finite;
258
+ readonly ratedVoltage: Schema.Finite;
259
+ readonly supplyVoltage: Schema.Finite;
260
+ }>, "figure">;
261
+ WireResistanceLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
262
+ readonly description: RichSlot<E>;
263
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
264
+ readonly attrs: {
265
+ readonly latex: string;
266
+ };
267
+ readonly type: "mathInline";
268
+ } | {
269
+ readonly marks?: readonly [{
270
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
271
+ } | {
272
+ readonly attrs: {
273
+ readonly href: string;
274
+ };
275
+ readonly type: "link";
276
+ } | {
277
+ readonly attrs: {
278
+ readonly variant: "success" | "warning" | null;
279
+ };
280
+ readonly type: "highlight";
281
+ }, ...({
282
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
283
+ } | {
284
+ readonly attrs: {
285
+ readonly href: string;
286
+ };
287
+ readonly type: "link";
288
+ } | {
289
+ readonly attrs: {
290
+ readonly variant: "success" | "warning" | null;
291
+ };
292
+ readonly type: "highlight";
293
+ })[]];
294
+ readonly text: string;
295
+ readonly type: "text";
296
+ }, ...({
297
+ readonly attrs: {
298
+ readonly latex: string;
299
+ };
300
+ readonly type: "mathInline";
301
+ } | {
302
+ readonly marks?: readonly [{
303
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
304
+ } | {
305
+ readonly attrs: {
306
+ readonly href: string;
307
+ };
308
+ readonly type: "link";
309
+ } | {
310
+ readonly attrs: {
311
+ readonly variant: "success" | "warning" | null;
312
+ };
313
+ readonly type: "highlight";
314
+ }, ...({
315
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
316
+ } | {
317
+ readonly attrs: {
318
+ readonly href: string;
319
+ };
320
+ readonly type: "link";
321
+ } | {
322
+ readonly attrs: {
323
+ readonly variant: "success" | "warning" | null;
324
+ };
325
+ readonly type: "highlight";
326
+ })[]];
327
+ readonly text: string;
328
+ readonly type: "text";
329
+ })[]], E, never, never>>;
330
+ readonly title: RichSlot<E>;
331
+ readonly diameterRatio: Schema.Finite;
332
+ readonly labels: Schema.Struct<{
333
+ readonly diameter: RichSlot<E>;
334
+ readonly diameterName: Schema.Trimmed;
335
+ readonly length: RichSlot<E>;
336
+ readonly lengthName: Schema.Trimmed;
337
+ readonly power: RichSlot<E>;
338
+ readonly resistance: RichSlot<E>;
339
+ readonly viewLabel: Schema.Trimmed;
340
+ }>;
341
+ readonly lengthRatio: Schema.Finite;
342
+ }>, "figure">;
343
+ };