@nakafa/aksara-contracts 8.9.1 → 8.12.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 (160) hide show
  1. package/dist/assessment/choice.d.ts +26 -0
  2. package/dist/assessment/document.d.ts +39 -0
  3. package/dist/assessment/figure.d.ts +13 -0
  4. package/dist/assessment/hash.d.ts +711 -111
  5. package/dist/assessment/inline.d.ts +53 -0
  6. package/dist/assessment/inline.js +1 -0
  7. package/dist/assessment/interaction.d.ts +26 -0
  8. package/dist/assessment/item.d.ts +414 -36
  9. package/dist/assessment/paper.d.ts +731 -131
  10. package/dist/assessment/part.d.ts +13 -0
  11. package/dist/assessment/rows.d.ts +336 -36
  12. package/dist/assessment/snapshot.d.ts +773 -121
  13. package/dist/release/snapshot/data.d.ts +26 -0
  14. package/dist/release/snapshot/verify.d.ts +336 -36
  15. package/dist/transport/group.d.ts +78 -0
  16. package/dist/transport/request.d.ts +2195 -343
  17. package/dist/transport/snapshot.d.ts +52 -0
  18. package/dist/visual/base/math.d.ts +56 -6
  19. package/dist/visual/base/media.d.ts +56 -6
  20. package/dist/visual/biology/bacteria.d.ts +224 -24
  21. package/dist/visual/biology/binomial.d.ts +139 -0
  22. package/dist/visual/biology/binomial.js +46 -0
  23. package/dist/visual/biology/blood.d.ts +56 -6
  24. package/dist/visual/biology/bone.d.ts +141 -0
  25. package/dist/visual/biology/bone.js +46 -0
  26. package/dist/visual/biology/cell.d.ts +168 -18
  27. package/dist/visual/biology/chromosome.d.ts +139 -0
  28. package/dist/visual/biology/chromosome.js +42 -0
  29. package/dist/visual/biology/climate.d.ts +168 -18
  30. package/dist/visual/biology/control.d.ts +17 -0
  31. package/dist/visual/biology/control.js +21 -0
  32. package/dist/visual/biology/denature.d.ts +159 -0
  33. package/dist/visual/biology/denature.js +74 -0
  34. package/dist/visual/biology/drawing.d.ts +151 -0
  35. package/dist/visual/biology/drawing.js +69 -0
  36. package/dist/visual/biology/ecology.d.ts +224 -24
  37. package/dist/visual/biology/enzyme.d.ts +145 -0
  38. package/dist/visual/biology/enzyme.js +54 -0
  39. package/dist/visual/biology/equipment.d.ts +140 -0
  40. package/dist/visual/biology/equipment.js +64 -0
  41. package/dist/visual/biology/gametogenesis.d.ts +145 -0
  42. package/dist/visual/biology/gametogenesis.js +83 -0
  43. package/dist/visual/biology/heart.d.ts +56 -6
  44. package/dist/visual/biology/implantation.d.ts +138 -0
  45. package/dist/visual/biology/implantation.js +44 -0
  46. package/dist/visual/biology/joint.d.ts +140 -0
  47. package/dist/visual/biology/joint.js +47 -0
  48. package/dist/visual/biology/key.d.ts +141 -0
  49. package/dist/visual/biology/key.js +58 -0
  50. package/dist/visual/biology/kingdom.d.ts +142 -0
  51. package/dist/visual/biology/kingdom.js +82 -0
  52. package/dist/visual/biology/lactase.d.ts +147 -0
  53. package/dist/visual/biology/lactase.js +48 -0
  54. package/dist/visual/biology/limb.d.ts +139 -0
  55. package/dist/visual/biology/limb.js +44 -0
  56. package/dist/visual/biology/lipid.d.ts +144 -0
  57. package/dist/visual/biology/lipid.js +43 -0
  58. package/dist/visual/biology/locomotion.d.ts +141 -0
  59. package/dist/visual/biology/locomotion.js +48 -0
  60. package/dist/visual/biology/menstrual.d.ts +148 -0
  61. package/dist/visual/biology/menstrual.js +65 -0
  62. package/dist/visual/biology/metamorphosis.d.ts +140 -0
  63. package/dist/visual/biology/metamorphosis.js +34 -0
  64. package/dist/visual/biology/mitochondrion.d.ts +56 -6
  65. package/dist/visual/biology/muscle.d.ts +56 -6
  66. package/dist/visual/biology/neuron.d.ts +56 -6
  67. package/dist/visual/biology/paddy.d.ts +56 -6
  68. package/dist/visual/biology/physiology.d.ts +168 -18
  69. package/dist/visual/biology/placenta.d.ts +139 -0
  70. package/dist/visual/biology/placenta.js +52 -0
  71. package/dist/visual/biology/planes.d.ts +145 -0
  72. package/dist/visual/biology/planes.js +62 -0
  73. package/dist/visual/biology/plant.d.ts +280 -30
  74. package/dist/visual/biology/protein.d.ts +142 -0
  75. package/dist/visual/biology/protein.js +41 -0
  76. package/dist/visual/biology/saturation.d.ts +149 -0
  77. package/dist/visual/biology/saturation.js +40 -0
  78. package/dist/visual/biology/secretion.d.ts +149 -0
  79. package/dist/visual/biology/secretion.js +79 -0
  80. package/dist/visual/biology/spill.d.ts +165 -0
  81. package/dist/visual/biology/spill.js +58 -0
  82. package/dist/visual/biology/sugar.d.ts +152 -0
  83. package/dist/visual/biology/sugar.js +59 -0
  84. package/dist/visual/biology/synapse.d.ts +56 -6
  85. package/dist/visual/biology/taxon.d.ts +138 -0
  86. package/dist/visual/biology/taxon.js +50 -0
  87. package/dist/visual/biology/twins.d.ts +144 -0
  88. package/dist/visual/biology/twins.js +60 -0
  89. package/dist/visual/biology/vernacular.d.ts +141 -0
  90. package/dist/visual/biology/vernacular.js +57 -0
  91. package/dist/visual/biology/vertebra.d.ts +141 -0
  92. package/dist/visual/biology/vertebra.js +59 -0
  93. package/dist/visual/biology/vessel.d.ts +56 -6
  94. package/dist/visual/biology/waste.d.ts +140 -0
  95. package/dist/visual/biology/waste.js +57 -0
  96. package/dist/visual/biology/water.d.ts +152 -0
  97. package/dist/visual/biology/water.js +54 -0
  98. package/dist/visual/biology/yeast.d.ts +56 -6
  99. package/dist/visual/card.d.ts +67 -6
  100. package/dist/visual/card.js +17 -1
  101. package/dist/visual/catalog.d.ts +21584 -5487
  102. package/dist/visual/catalog.js +66 -0
  103. package/dist/visual/chemistry/atom.d.ts +168 -18
  104. package/dist/visual/chemistry/balance.d.ts +280 -30
  105. package/dist/visual/chemistry/bonding.d.ts +280 -30
  106. package/dist/visual/chemistry/discovery.d.ts +392 -42
  107. package/dist/visual/chemistry/electrochemistry.d.ts +112 -12
  108. package/dist/visual/chemistry/electron.d.ts +112 -12
  109. package/dist/visual/chemistry/laws.d.ts +224 -24
  110. package/dist/visual/chemistry/particles.d.ts +280 -30
  111. package/dist/visual/chemistry/periodic.d.ts +112 -12
  112. package/dist/visual/chemistry/rate.d.ts +56 -6
  113. package/dist/visual/chemistry/reaction.d.ts +168 -18
  114. package/dist/visual/chemistry/titration.d.ts +56 -6
  115. package/dist/visual/length.d.ts +56 -6
  116. package/dist/visual/mathematics/argument.d.ts +226 -0
  117. package/dist/visual/mathematics/argument.js +150 -0
  118. package/dist/visual/mathematics/chance.d.ts +168 -18
  119. package/dist/visual/mathematics/chart.d.ts +56 -6
  120. package/dist/visual/mathematics/charts.d.ts +280 -30
  121. package/dist/visual/mathematics/counterexample.d.ts +340 -0
  122. package/dist/visual/mathematics/counterexample.js +157 -0
  123. package/dist/visual/mathematics/function.d.ts +168 -18
  124. package/dist/visual/mathematics/journey.d.ts +56 -6
  125. package/dist/visual/mathematics/logic.d.ts +56 -6
  126. package/dist/visual/mathematics/network.d.ts +56 -6
  127. package/dist/visual/mathematics/numeral.d.ts +168 -18
  128. package/dist/visual/mathematics/sets.d.ts +56 -6
  129. package/dist/visual/physics/braking.d.ts +224 -24
  130. package/dist/visual/physics/circuit.d.ts +224 -24
  131. package/dist/visual/physics/circular.d.ts +112 -12
  132. package/dist/visual/physics/dynamics.d.ts +392 -42
  133. package/dist/visual/physics/efficiency.d.ts +336 -36
  134. package/dist/visual/physics/electronics.d.ts +168 -18
  135. package/dist/visual/physics/falling.d.ts +224 -24
  136. package/dist/visual/physics/field.d.ts +168 -18
  137. package/dist/visual/physics/fluid.d.ts +224 -24
  138. package/dist/visual/physics/force.d.ts +280 -30
  139. package/dist/visual/physics/gravity.d.ts +112 -12
  140. package/dist/visual/physics/heat.d.ts +168 -18
  141. package/dist/visual/physics/instrument.d.ts +392 -42
  142. package/dist/visual/physics/light.d.ts +224 -24
  143. package/dist/visual/physics/measurement.d.ts +224 -24
  144. package/dist/visual/physics/motion.d.ts +336 -36
  145. package/dist/visual/physics/nuclear.d.ts +168 -18
  146. package/dist/visual/physics/parabolic.d.ts +56 -6
  147. package/dist/visual/physics/position.d.ts +336 -36
  148. package/dist/visual/physics/power.d.ts +448 -48
  149. package/dist/visual/physics/precision.d.ts +392 -42
  150. package/dist/visual/physics/product.d.ts +224 -24
  151. package/dist/visual/physics/reading.d.ts +168 -18
  152. package/dist/visual/physics/record.d.ts +112 -12
  153. package/dist/visual/physics/relative.d.ts +168 -18
  154. package/dist/visual/physics/solar.d.ts +336 -36
  155. package/dist/visual/physics/thermodynamics.d.ts +56 -6
  156. package/dist/visual/physics/vector.d.ts +280 -30
  157. package/dist/visual/physics/velocity.d.ts +392 -42
  158. package/dist/visual/physics/wave.d.ts +224 -24
  159. package/dist/visual/politics.d.ts +336 -36
  160. package/package.json +1 -1
@@ -1074,6 +1074,19 @@ export declare const PublicationRequestSchema: Schema.Union<readonly [Schema.Str
1074
1074
  readonly attrs: Schema.Struct<{
1075
1075
  readonly latex: Schema.Trimmed;
1076
1076
  }>;
1077
+ readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1078
+ readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1079
+ }>, Schema.Struct<{
1080
+ readonly attrs: Schema.Struct<{
1081
+ readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
1082
+ }>;
1083
+ readonly type: Schema.Literal<"highlight">;
1084
+ }>, Schema.Struct<{
1085
+ readonly attrs: Schema.Struct<{
1086
+ readonly href: Schema.String;
1087
+ }>;
1088
+ readonly type: Schema.Literal<"link">;
1089
+ }>]>>>;
1077
1090
  readonly type: Schema.Literal<"mathInline">;
1078
1091
  }>]>>;
1079
1092
  }>>;
@@ -1155,6 +1168,19 @@ export declare const PublicationRequestSchema: Schema.Union<readonly [Schema.Str
1155
1168
  readonly attrs: Schema.Struct<{
1156
1169
  readonly latex: Schema.Trimmed;
1157
1170
  }>;
1171
+ readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1172
+ readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1173
+ }>, Schema.Struct<{
1174
+ readonly attrs: Schema.Struct<{
1175
+ readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
1176
+ }>;
1177
+ readonly type: Schema.Literal<"highlight">;
1178
+ }>, Schema.Struct<{
1179
+ readonly attrs: Schema.Struct<{
1180
+ readonly href: Schema.String;
1181
+ }>;
1182
+ readonly type: Schema.Literal<"link">;
1183
+ }>]>>>;
1158
1184
  readonly type: Schema.Literal<"mathInline">;
1159
1185
  }>]>>;
1160
1186
  readonly maxMatches: Schema.Int;
@@ -2219,6 +2245,19 @@ export declare const PublicationRequestSchema: Schema.Union<readonly [Schema.Str
2219
2245
  readonly attrs: Schema.Struct<{
2220
2246
  readonly latex: Schema.Trimmed;
2221
2247
  }>;
2248
+ readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2249
+ readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
2250
+ }>, Schema.Struct<{
2251
+ readonly attrs: Schema.Struct<{
2252
+ readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
2253
+ }>;
2254
+ readonly type: Schema.Literal<"highlight">;
2255
+ }>, Schema.Struct<{
2256
+ readonly attrs: Schema.Struct<{
2257
+ readonly href: Schema.String;
2258
+ }>;
2259
+ readonly type: Schema.Literal<"link">;
2260
+ }>]>>>;
2222
2261
  readonly type: Schema.Literal<"mathInline">;
2223
2262
  }>]>>;
2224
2263
  }>>;
@@ -2300,6 +2339,19 @@ export declare const PublicationRequestSchema: Schema.Union<readonly [Schema.Str
2300
2339
  readonly attrs: Schema.Struct<{
2301
2340
  readonly latex: Schema.Trimmed;
2302
2341
  }>;
2342
+ readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2343
+ readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
2344
+ }>, Schema.Struct<{
2345
+ readonly attrs: Schema.Struct<{
2346
+ readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
2347
+ }>;
2348
+ readonly type: Schema.Literal<"highlight">;
2349
+ }>, Schema.Struct<{
2350
+ readonly attrs: Schema.Struct<{
2351
+ readonly href: Schema.String;
2352
+ }>;
2353
+ readonly type: Schema.Literal<"link">;
2354
+ }>]>>>;
2303
2355
  readonly type: Schema.Literal<"mathInline">;
2304
2356
  }>]>>;
2305
2357
  readonly maxMatches: Schema.Int;
@@ -4026,11 +4078,64 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
4026
4078
  readonly options: readonly {
4027
4079
  readonly id: string;
4028
4080
  readonly label: readonly [{
4081
+ readonly marks?: readonly [{
4082
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4083
+ } | {
4084
+ readonly attrs: {
4085
+ readonly href: string;
4086
+ };
4087
+ readonly type: "link";
4088
+ } | {
4089
+ readonly attrs: {
4090
+ readonly variant: "success" | "warning" | null;
4091
+ };
4092
+ readonly type: "highlight";
4093
+ }, ...({
4094
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4095
+ } | {
4096
+ readonly attrs: {
4097
+ readonly href: string;
4098
+ };
4099
+ readonly type: "link";
4100
+ } | {
4101
+ readonly attrs: {
4102
+ readonly variant: "success" | "warning" | null;
4103
+ };
4104
+ readonly type: "highlight";
4105
+ })[]];
4106
+ readonly text: string;
4107
+ readonly type: "text";
4108
+ } | {
4029
4109
  readonly attrs: {
4030
4110
  readonly latex: string;
4031
4111
  };
4112
+ readonly marks?: readonly [{
4113
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4114
+ } | {
4115
+ readonly attrs: {
4116
+ readonly href: string;
4117
+ };
4118
+ readonly type: "link";
4119
+ } | {
4120
+ readonly attrs: {
4121
+ readonly variant: "success" | "warning" | null;
4122
+ };
4123
+ readonly type: "highlight";
4124
+ }, ...({
4125
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4126
+ } | {
4127
+ readonly attrs: {
4128
+ readonly href: string;
4129
+ };
4130
+ readonly type: "link";
4131
+ } | {
4132
+ readonly attrs: {
4133
+ readonly variant: "success" | "warning" | null;
4134
+ };
4135
+ readonly type: "highlight";
4136
+ })[]];
4032
4137
  readonly type: "mathInline";
4033
- } | {
4138
+ }, ...({
4034
4139
  readonly marks?: readonly [{
4035
4140
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4036
4141
  } | {
@@ -4058,12 +4163,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
4058
4163
  })[]];
4059
4164
  readonly text: string;
4060
4165
  readonly type: "text";
4061
- }, ...({
4166
+ } | {
4062
4167
  readonly attrs: {
4063
4168
  readonly latex: string;
4064
4169
  };
4065
- readonly type: "mathInline";
4066
- } | {
4067
4170
  readonly marks?: readonly [{
4068
4171
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4069
4172
  } | {
@@ -4089,8 +4192,7 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
4089
4192
  };
4090
4193
  readonly type: "highlight";
4091
4194
  })[]];
4092
- readonly text: string;
4093
- readonly type: "text";
4195
+ readonly type: "mathInline";
4094
4196
  })[]];
4095
4197
  }[];
4096
4198
  readonly shuffle: boolean;
@@ -4100,11 +4202,64 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
4100
4202
  readonly choices: readonly [{
4101
4203
  readonly id: string;
4102
4204
  readonly label: readonly [{
4205
+ readonly marks?: readonly [{
4206
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4207
+ } | {
4208
+ readonly attrs: {
4209
+ readonly href: string;
4210
+ };
4211
+ readonly type: "link";
4212
+ } | {
4213
+ readonly attrs: {
4214
+ readonly variant: "success" | "warning" | null;
4215
+ };
4216
+ readonly type: "highlight";
4217
+ }, ...({
4218
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4219
+ } | {
4220
+ readonly attrs: {
4221
+ readonly href: string;
4222
+ };
4223
+ readonly type: "link";
4224
+ } | {
4225
+ readonly attrs: {
4226
+ readonly variant: "success" | "warning" | null;
4227
+ };
4228
+ readonly type: "highlight";
4229
+ })[]];
4230
+ readonly text: string;
4231
+ readonly type: "text";
4232
+ } | {
4103
4233
  readonly attrs: {
4104
4234
  readonly latex: string;
4105
4235
  };
4236
+ readonly marks?: readonly [{
4237
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4238
+ } | {
4239
+ readonly attrs: {
4240
+ readonly href: string;
4241
+ };
4242
+ readonly type: "link";
4243
+ } | {
4244
+ readonly attrs: {
4245
+ readonly variant: "success" | "warning" | null;
4246
+ };
4247
+ readonly type: "highlight";
4248
+ }, ...({
4249
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4250
+ } | {
4251
+ readonly attrs: {
4252
+ readonly href: string;
4253
+ };
4254
+ readonly type: "link";
4255
+ } | {
4256
+ readonly attrs: {
4257
+ readonly variant: "success" | "warning" | null;
4258
+ };
4259
+ readonly type: "highlight";
4260
+ })[]];
4106
4261
  readonly type: "mathInline";
4107
- } | {
4262
+ }, ...({
4108
4263
  readonly marks?: readonly [{
4109
4264
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4110
4265
  } | {
@@ -4132,12 +4287,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
4132
4287
  })[]];
4133
4288
  readonly text: string;
4134
4289
  readonly type: "text";
4135
- }, ...({
4290
+ } | {
4136
4291
  readonly attrs: {
4137
4292
  readonly latex: string;
4138
4293
  };
4139
- readonly type: "mathInline";
4140
- } | {
4141
4294
  readonly marks?: readonly [{
4142
4295
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4143
4296
  } | {
@@ -4163,18 +4316,70 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
4163
4316
  };
4164
4317
  readonly type: "highlight";
4165
4318
  })[]];
4166
- readonly text: string;
4167
- readonly type: "text";
4319
+ readonly type: "mathInline";
4168
4320
  })[]];
4169
4321
  readonly maxMatches: number;
4170
4322
  }, ...{
4171
4323
  readonly id: string;
4172
4324
  readonly label: readonly [{
4325
+ readonly marks?: readonly [{
4326
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4327
+ } | {
4328
+ readonly attrs: {
4329
+ readonly href: string;
4330
+ };
4331
+ readonly type: "link";
4332
+ } | {
4333
+ readonly attrs: {
4334
+ readonly variant: "success" | "warning" | null;
4335
+ };
4336
+ readonly type: "highlight";
4337
+ }, ...({
4338
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4339
+ } | {
4340
+ readonly attrs: {
4341
+ readonly href: string;
4342
+ };
4343
+ readonly type: "link";
4344
+ } | {
4345
+ readonly attrs: {
4346
+ readonly variant: "success" | "warning" | null;
4347
+ };
4348
+ readonly type: "highlight";
4349
+ })[]];
4350
+ readonly text: string;
4351
+ readonly type: "text";
4352
+ } | {
4173
4353
  readonly attrs: {
4174
4354
  readonly latex: string;
4175
4355
  };
4356
+ readonly marks?: readonly [{
4357
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4358
+ } | {
4359
+ readonly attrs: {
4360
+ readonly href: string;
4361
+ };
4362
+ readonly type: "link";
4363
+ } | {
4364
+ readonly attrs: {
4365
+ readonly variant: "success" | "warning" | null;
4366
+ };
4367
+ readonly type: "highlight";
4368
+ }, ...({
4369
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4370
+ } | {
4371
+ readonly attrs: {
4372
+ readonly href: string;
4373
+ };
4374
+ readonly type: "link";
4375
+ } | {
4376
+ readonly attrs: {
4377
+ readonly variant: "success" | "warning" | null;
4378
+ };
4379
+ readonly type: "highlight";
4380
+ })[]];
4176
4381
  readonly type: "mathInline";
4177
- } | {
4382
+ }, ...({
4178
4383
  readonly marks?: readonly [{
4179
4384
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4180
4385
  } | {
@@ -4202,12 +4407,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
4202
4407
  })[]];
4203
4408
  readonly text: string;
4204
4409
  readonly type: "text";
4205
- }, ...({
4410
+ } | {
4206
4411
  readonly attrs: {
4207
4412
  readonly latex: string;
4208
4413
  };
4209
- readonly type: "mathInline";
4210
- } | {
4211
4414
  readonly marks?: readonly [{
4212
4415
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4213
4416
  } | {
@@ -4233,8 +4436,7 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
4233
4436
  };
4234
4437
  readonly type: "highlight";
4235
4438
  })[]];
4236
- readonly text: string;
4237
- readonly type: "text";
4439
+ readonly type: "mathInline";
4238
4440
  })[]];
4239
4441
  readonly maxMatches: number;
4240
4442
  }[]];
@@ -4432,11 +4634,6 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
4432
4634
  readonly options: readonly {
4433
4635
  readonly id: string;
4434
4636
  readonly label: readonly [{
4435
- readonly attrs: {
4436
- readonly latex: string;
4437
- };
4438
- readonly type: "mathInline";
4439
- } | {
4440
4637
  readonly marks?: readonly [{
4441
4638
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4442
4639
  } | {
@@ -4464,12 +4661,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
4464
4661
  })[]];
4465
4662
  readonly text: string;
4466
4663
  readonly type: "text";
4467
- }, ...({
4664
+ } | {
4468
4665
  readonly attrs: {
4469
4666
  readonly latex: string;
4470
4667
  };
4471
- readonly type: "mathInline";
4472
- } | {
4473
4668
  readonly marks?: readonly [{
4474
4669
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4475
4670
  } | {
@@ -4495,22 +4690,74 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
4495
4690
  };
4496
4691
  readonly type: "highlight";
4497
4692
  })[]];
4498
- readonly text: string;
4499
- readonly type: "text";
4500
- })[]];
4501
- }[];
4502
- readonly shuffle: boolean;
4503
- } | {
4504
- readonly id: string;
4505
- readonly label: string;
4506
- readonly choices: readonly [{
4507
- readonly id: string;
4508
- readonly label: readonly [{
4693
+ readonly type: "mathInline";
4694
+ }, ...({
4695
+ readonly marks?: readonly [{
4696
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4697
+ } | {
4698
+ readonly attrs: {
4699
+ readonly href: string;
4700
+ };
4701
+ readonly type: "link";
4702
+ } | {
4703
+ readonly attrs: {
4704
+ readonly variant: "success" | "warning" | null;
4705
+ };
4706
+ readonly type: "highlight";
4707
+ }, ...({
4708
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4709
+ } | {
4710
+ readonly attrs: {
4711
+ readonly href: string;
4712
+ };
4713
+ readonly type: "link";
4714
+ } | {
4715
+ readonly attrs: {
4716
+ readonly variant: "success" | "warning" | null;
4717
+ };
4718
+ readonly type: "highlight";
4719
+ })[]];
4720
+ readonly text: string;
4721
+ readonly type: "text";
4722
+ } | {
4509
4723
  readonly attrs: {
4510
4724
  readonly latex: string;
4511
4725
  };
4726
+ readonly marks?: readonly [{
4727
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4728
+ } | {
4729
+ readonly attrs: {
4730
+ readonly href: string;
4731
+ };
4732
+ readonly type: "link";
4733
+ } | {
4734
+ readonly attrs: {
4735
+ readonly variant: "success" | "warning" | null;
4736
+ };
4737
+ readonly type: "highlight";
4738
+ }, ...({
4739
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4740
+ } | {
4741
+ readonly attrs: {
4742
+ readonly href: string;
4743
+ };
4744
+ readonly type: "link";
4745
+ } | {
4746
+ readonly attrs: {
4747
+ readonly variant: "success" | "warning" | null;
4748
+ };
4749
+ readonly type: "highlight";
4750
+ })[]];
4512
4751
  readonly type: "mathInline";
4513
- } | {
4752
+ })[]];
4753
+ }[];
4754
+ readonly shuffle: boolean;
4755
+ } | {
4756
+ readonly id: string;
4757
+ readonly label: string;
4758
+ readonly choices: readonly [{
4759
+ readonly id: string;
4760
+ readonly label: readonly [{
4514
4761
  readonly marks?: readonly [{
4515
4762
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4516
4763
  } | {
@@ -4538,12 +4785,37 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
4538
4785
  })[]];
4539
4786
  readonly text: string;
4540
4787
  readonly type: "text";
4541
- }, ...({
4788
+ } | {
4542
4789
  readonly attrs: {
4543
4790
  readonly latex: string;
4544
4791
  };
4792
+ readonly marks?: readonly [{
4793
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4794
+ } | {
4795
+ readonly attrs: {
4796
+ readonly href: string;
4797
+ };
4798
+ readonly type: "link";
4799
+ } | {
4800
+ readonly attrs: {
4801
+ readonly variant: "success" | "warning" | null;
4802
+ };
4803
+ readonly type: "highlight";
4804
+ }, ...({
4805
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4806
+ } | {
4807
+ readonly attrs: {
4808
+ readonly href: string;
4809
+ };
4810
+ readonly type: "link";
4811
+ } | {
4812
+ readonly attrs: {
4813
+ readonly variant: "success" | "warning" | null;
4814
+ };
4815
+ readonly type: "highlight";
4816
+ })[]];
4545
4817
  readonly type: "mathInline";
4546
- } | {
4818
+ }, ...({
4547
4819
  readonly marks?: readonly [{
4548
4820
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4549
4821
  } | {
@@ -4571,16 +4843,99 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
4571
4843
  })[]];
4572
4844
  readonly text: string;
4573
4845
  readonly type: "text";
4846
+ } | {
4847
+ readonly attrs: {
4848
+ readonly latex: string;
4849
+ };
4850
+ readonly marks?: readonly [{
4851
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4852
+ } | {
4853
+ readonly attrs: {
4854
+ readonly href: string;
4855
+ };
4856
+ readonly type: "link";
4857
+ } | {
4858
+ readonly attrs: {
4859
+ readonly variant: "success" | "warning" | null;
4860
+ };
4861
+ readonly type: "highlight";
4862
+ }, ...({
4863
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4864
+ } | {
4865
+ readonly attrs: {
4866
+ readonly href: string;
4867
+ };
4868
+ readonly type: "link";
4869
+ } | {
4870
+ readonly attrs: {
4871
+ readonly variant: "success" | "warning" | null;
4872
+ };
4873
+ readonly type: "highlight";
4874
+ })[]];
4875
+ readonly type: "mathInline";
4574
4876
  })[]];
4575
4877
  readonly maxMatches: number;
4576
4878
  }, ...{
4577
4879
  readonly id: string;
4578
4880
  readonly label: readonly [{
4881
+ readonly marks?: readonly [{
4882
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4883
+ } | {
4884
+ readonly attrs: {
4885
+ readonly href: string;
4886
+ };
4887
+ readonly type: "link";
4888
+ } | {
4889
+ readonly attrs: {
4890
+ readonly variant: "success" | "warning" | null;
4891
+ };
4892
+ readonly type: "highlight";
4893
+ }, ...({
4894
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4895
+ } | {
4896
+ readonly attrs: {
4897
+ readonly href: string;
4898
+ };
4899
+ readonly type: "link";
4900
+ } | {
4901
+ readonly attrs: {
4902
+ readonly variant: "success" | "warning" | null;
4903
+ };
4904
+ readonly type: "highlight";
4905
+ })[]];
4906
+ readonly text: string;
4907
+ readonly type: "text";
4908
+ } | {
4579
4909
  readonly attrs: {
4580
4910
  readonly latex: string;
4581
4911
  };
4912
+ readonly marks?: readonly [{
4913
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4914
+ } | {
4915
+ readonly attrs: {
4916
+ readonly href: string;
4917
+ };
4918
+ readonly type: "link";
4919
+ } | {
4920
+ readonly attrs: {
4921
+ readonly variant: "success" | "warning" | null;
4922
+ };
4923
+ readonly type: "highlight";
4924
+ }, ...({
4925
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4926
+ } | {
4927
+ readonly attrs: {
4928
+ readonly href: string;
4929
+ };
4930
+ readonly type: "link";
4931
+ } | {
4932
+ readonly attrs: {
4933
+ readonly variant: "success" | "warning" | null;
4934
+ };
4935
+ readonly type: "highlight";
4936
+ })[]];
4582
4937
  readonly type: "mathInline";
4583
- } | {
4938
+ }, ...({
4584
4939
  readonly marks?: readonly [{
4585
4940
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4586
4941
  } | {
@@ -4608,12 +4963,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
4608
4963
  })[]];
4609
4964
  readonly text: string;
4610
4965
  readonly type: "text";
4611
- }, ...({
4966
+ } | {
4612
4967
  readonly attrs: {
4613
4968
  readonly latex: string;
4614
4969
  };
4615
- readonly type: "mathInline";
4616
- } | {
4617
4970
  readonly marks?: readonly [{
4618
4971
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
4619
4972
  } | {
@@ -4639,8 +4992,7 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
4639
4992
  };
4640
4993
  readonly type: "highlight";
4641
4994
  })[]];
4642
- readonly text: string;
4643
- readonly type: "text";
4995
+ readonly type: "mathInline";
4644
4996
  })[]];
4645
4997
  readonly maxMatches: number;
4646
4998
  }[]];
@@ -6071,11 +6423,6 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
6071
6423
  readonly options: readonly {
6072
6424
  readonly id: string;
6073
6425
  readonly label: readonly [{
6074
- readonly attrs: {
6075
- readonly latex: string;
6076
- };
6077
- readonly type: "mathInline";
6078
- } | {
6079
6426
  readonly marks?: readonly [{
6080
6427
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6081
6428
  } | {
@@ -6103,12 +6450,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
6103
6450
  })[]];
6104
6451
  readonly text: string;
6105
6452
  readonly type: "text";
6106
- }, ...({
6453
+ } | {
6107
6454
  readonly attrs: {
6108
6455
  readonly latex: string;
6109
6456
  };
6110
- readonly type: "mathInline";
6111
- } | {
6112
6457
  readonly marks?: readonly [{
6113
6458
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6114
6459
  } | {
@@ -6134,22 +6479,8 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
6134
6479
  };
6135
6480
  readonly type: "highlight";
6136
6481
  })[]];
6137
- readonly text: string;
6138
- readonly type: "text";
6139
- })[]];
6140
- }[];
6141
- readonly shuffle: boolean;
6142
- } | {
6143
- readonly id: string;
6144
- readonly label: string;
6145
- readonly choices: readonly [{
6146
- readonly id: string;
6147
- readonly label: readonly [{
6148
- readonly attrs: {
6149
- readonly latex: string;
6150
- };
6151
6482
  readonly type: "mathInline";
6152
- } | {
6483
+ }, ...({
6153
6484
  readonly marks?: readonly [{
6154
6485
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6155
6486
  } | {
@@ -6177,12 +6508,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
6177
6508
  })[]];
6178
6509
  readonly text: string;
6179
6510
  readonly type: "text";
6180
- }, ...({
6511
+ } | {
6181
6512
  readonly attrs: {
6182
6513
  readonly latex: string;
6183
6514
  };
6184
- readonly type: "mathInline";
6185
- } | {
6186
6515
  readonly marks?: readonly [{
6187
6516
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6188
6517
  } | {
@@ -6208,18 +6537,16 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
6208
6537
  };
6209
6538
  readonly type: "highlight";
6210
6539
  })[]];
6211
- readonly text: string;
6212
- readonly type: "text";
6540
+ readonly type: "mathInline";
6213
6541
  })[]];
6214
- readonly maxMatches: number;
6215
- }, ...{
6542
+ }[];
6543
+ readonly shuffle: boolean;
6544
+ } | {
6545
+ readonly id: string;
6546
+ readonly label: string;
6547
+ readonly choices: readonly [{
6216
6548
  readonly id: string;
6217
6549
  readonly label: readonly [{
6218
- readonly attrs: {
6219
- readonly latex: string;
6220
- };
6221
- readonly type: "mathInline";
6222
- } | {
6223
6550
  readonly marks?: readonly [{
6224
6551
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6225
6552
  } | {
@@ -6247,12 +6574,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
6247
6574
  })[]];
6248
6575
  readonly text: string;
6249
6576
  readonly type: "text";
6250
- }, ...({
6577
+ } | {
6251
6578
  readonly attrs: {
6252
6579
  readonly latex: string;
6253
6580
  };
6254
- readonly type: "mathInline";
6255
- } | {
6256
6581
  readonly marks?: readonly [{
6257
6582
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6258
6583
  } | {
@@ -6278,25 +6603,202 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
6278
6603
  };
6279
6604
  readonly type: "highlight";
6280
6605
  })[]];
6281
- readonly text: string;
6282
- readonly type: "text";
6283
- })[]];
6284
- readonly maxMatches: number;
6285
- }[]];
6286
- readonly gaps: readonly [{
6287
- readonly id: string;
6288
- }, ...{
6289
- readonly id: string;
6290
- }[]];
6291
- readonly kind: "gapMatch";
6292
- readonly shuffle: boolean;
6293
- } | {
6294
- readonly id: string;
6295
- readonly label: string;
6296
- readonly kind: "mathEntry";
6297
- } | {
6298
- readonly id: string;
6299
- readonly label: string;
6606
+ readonly type: "mathInline";
6607
+ }, ...({
6608
+ readonly marks?: readonly [{
6609
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6610
+ } | {
6611
+ readonly attrs: {
6612
+ readonly href: string;
6613
+ };
6614
+ readonly type: "link";
6615
+ } | {
6616
+ readonly attrs: {
6617
+ readonly variant: "success" | "warning" | null;
6618
+ };
6619
+ readonly type: "highlight";
6620
+ }, ...({
6621
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6622
+ } | {
6623
+ readonly attrs: {
6624
+ readonly href: string;
6625
+ };
6626
+ readonly type: "link";
6627
+ } | {
6628
+ readonly attrs: {
6629
+ readonly variant: "success" | "warning" | null;
6630
+ };
6631
+ readonly type: "highlight";
6632
+ })[]];
6633
+ readonly text: string;
6634
+ readonly type: "text";
6635
+ } | {
6636
+ readonly attrs: {
6637
+ readonly latex: string;
6638
+ };
6639
+ readonly marks?: readonly [{
6640
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6641
+ } | {
6642
+ readonly attrs: {
6643
+ readonly href: string;
6644
+ };
6645
+ readonly type: "link";
6646
+ } | {
6647
+ readonly attrs: {
6648
+ readonly variant: "success" | "warning" | null;
6649
+ };
6650
+ readonly type: "highlight";
6651
+ }, ...({
6652
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6653
+ } | {
6654
+ readonly attrs: {
6655
+ readonly href: string;
6656
+ };
6657
+ readonly type: "link";
6658
+ } | {
6659
+ readonly attrs: {
6660
+ readonly variant: "success" | "warning" | null;
6661
+ };
6662
+ readonly type: "highlight";
6663
+ })[]];
6664
+ readonly type: "mathInline";
6665
+ })[]];
6666
+ readonly maxMatches: number;
6667
+ }, ...{
6668
+ readonly id: string;
6669
+ readonly label: readonly [{
6670
+ readonly marks?: readonly [{
6671
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6672
+ } | {
6673
+ readonly attrs: {
6674
+ readonly href: string;
6675
+ };
6676
+ readonly type: "link";
6677
+ } | {
6678
+ readonly attrs: {
6679
+ readonly variant: "success" | "warning" | null;
6680
+ };
6681
+ readonly type: "highlight";
6682
+ }, ...({
6683
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6684
+ } | {
6685
+ readonly attrs: {
6686
+ readonly href: string;
6687
+ };
6688
+ readonly type: "link";
6689
+ } | {
6690
+ readonly attrs: {
6691
+ readonly variant: "success" | "warning" | null;
6692
+ };
6693
+ readonly type: "highlight";
6694
+ })[]];
6695
+ readonly text: string;
6696
+ readonly type: "text";
6697
+ } | {
6698
+ readonly attrs: {
6699
+ readonly latex: string;
6700
+ };
6701
+ readonly marks?: readonly [{
6702
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6703
+ } | {
6704
+ readonly attrs: {
6705
+ readonly href: string;
6706
+ };
6707
+ readonly type: "link";
6708
+ } | {
6709
+ readonly attrs: {
6710
+ readonly variant: "success" | "warning" | null;
6711
+ };
6712
+ readonly type: "highlight";
6713
+ }, ...({
6714
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6715
+ } | {
6716
+ readonly attrs: {
6717
+ readonly href: string;
6718
+ };
6719
+ readonly type: "link";
6720
+ } | {
6721
+ readonly attrs: {
6722
+ readonly variant: "success" | "warning" | null;
6723
+ };
6724
+ readonly type: "highlight";
6725
+ })[]];
6726
+ readonly type: "mathInline";
6727
+ }, ...({
6728
+ readonly marks?: readonly [{
6729
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6730
+ } | {
6731
+ readonly attrs: {
6732
+ readonly href: string;
6733
+ };
6734
+ readonly type: "link";
6735
+ } | {
6736
+ readonly attrs: {
6737
+ readonly variant: "success" | "warning" | null;
6738
+ };
6739
+ readonly type: "highlight";
6740
+ }, ...({
6741
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6742
+ } | {
6743
+ readonly attrs: {
6744
+ readonly href: string;
6745
+ };
6746
+ readonly type: "link";
6747
+ } | {
6748
+ readonly attrs: {
6749
+ readonly variant: "success" | "warning" | null;
6750
+ };
6751
+ readonly type: "highlight";
6752
+ })[]];
6753
+ readonly text: string;
6754
+ readonly type: "text";
6755
+ } | {
6756
+ readonly attrs: {
6757
+ readonly latex: string;
6758
+ };
6759
+ readonly marks?: readonly [{
6760
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6761
+ } | {
6762
+ readonly attrs: {
6763
+ readonly href: string;
6764
+ };
6765
+ readonly type: "link";
6766
+ } | {
6767
+ readonly attrs: {
6768
+ readonly variant: "success" | "warning" | null;
6769
+ };
6770
+ readonly type: "highlight";
6771
+ }, ...({
6772
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6773
+ } | {
6774
+ readonly attrs: {
6775
+ readonly href: string;
6776
+ };
6777
+ readonly type: "link";
6778
+ } | {
6779
+ readonly attrs: {
6780
+ readonly variant: "success" | "warning" | null;
6781
+ };
6782
+ readonly type: "highlight";
6783
+ })[]];
6784
+ readonly type: "mathInline";
6785
+ })[]];
6786
+ readonly maxMatches: number;
6787
+ }[]];
6788
+ readonly gaps: readonly [{
6789
+ readonly id: string;
6790
+ }, ...{
6791
+ readonly id: string;
6792
+ }[]];
6793
+ readonly kind: "gapMatch";
6794
+ readonly shuffle: boolean;
6795
+ } | {
6796
+ readonly id: string;
6797
+ readonly label: string;
6798
+ readonly kind: "mathEntry";
6799
+ } | {
6800
+ readonly id: string;
6801
+ readonly label: string;
6300
6802
  readonly areas: readonly ({
6301
6803
  readonly id: string;
6302
6804
  readonly label: string;
@@ -6477,11 +6979,64 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
6477
6979
  readonly options: readonly {
6478
6980
  readonly id: string;
6479
6981
  readonly label: readonly [{
6982
+ readonly marks?: readonly [{
6983
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6984
+ } | {
6985
+ readonly attrs: {
6986
+ readonly href: string;
6987
+ };
6988
+ readonly type: "link";
6989
+ } | {
6990
+ readonly attrs: {
6991
+ readonly variant: "success" | "warning" | null;
6992
+ };
6993
+ readonly type: "highlight";
6994
+ }, ...({
6995
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6996
+ } | {
6997
+ readonly attrs: {
6998
+ readonly href: string;
6999
+ };
7000
+ readonly type: "link";
7001
+ } | {
7002
+ readonly attrs: {
7003
+ readonly variant: "success" | "warning" | null;
7004
+ };
7005
+ readonly type: "highlight";
7006
+ })[]];
7007
+ readonly text: string;
7008
+ readonly type: "text";
7009
+ } | {
6480
7010
  readonly attrs: {
6481
7011
  readonly latex: string;
6482
7012
  };
7013
+ readonly marks?: readonly [{
7014
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
7015
+ } | {
7016
+ readonly attrs: {
7017
+ readonly href: string;
7018
+ };
7019
+ readonly type: "link";
7020
+ } | {
7021
+ readonly attrs: {
7022
+ readonly variant: "success" | "warning" | null;
7023
+ };
7024
+ readonly type: "highlight";
7025
+ }, ...({
7026
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
7027
+ } | {
7028
+ readonly attrs: {
7029
+ readonly href: string;
7030
+ };
7031
+ readonly type: "link";
7032
+ } | {
7033
+ readonly attrs: {
7034
+ readonly variant: "success" | "warning" | null;
7035
+ };
7036
+ readonly type: "highlight";
7037
+ })[]];
6483
7038
  readonly type: "mathInline";
6484
- } | {
7039
+ }, ...({
6485
7040
  readonly marks?: readonly [{
6486
7041
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6487
7042
  } | {
@@ -6509,12 +7064,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
6509
7064
  })[]];
6510
7065
  readonly text: string;
6511
7066
  readonly type: "text";
6512
- }, ...({
7067
+ } | {
6513
7068
  readonly attrs: {
6514
7069
  readonly latex: string;
6515
7070
  };
6516
- readonly type: "mathInline";
6517
- } | {
6518
7071
  readonly marks?: readonly [{
6519
7072
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6520
7073
  } | {
@@ -6540,8 +7093,7 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
6540
7093
  };
6541
7094
  readonly type: "highlight";
6542
7095
  })[]];
6543
- readonly text: string;
6544
- readonly type: "text";
7096
+ readonly type: "mathInline";
6545
7097
  })[]];
6546
7098
  }[];
6547
7099
  readonly shuffle: boolean;
@@ -6551,11 +7103,64 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
6551
7103
  readonly choices: readonly [{
6552
7104
  readonly id: string;
6553
7105
  readonly label: readonly [{
7106
+ readonly marks?: readonly [{
7107
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
7108
+ } | {
7109
+ readonly attrs: {
7110
+ readonly href: string;
7111
+ };
7112
+ readonly type: "link";
7113
+ } | {
7114
+ readonly attrs: {
7115
+ readonly variant: "success" | "warning" | null;
7116
+ };
7117
+ readonly type: "highlight";
7118
+ }, ...({
7119
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
7120
+ } | {
7121
+ readonly attrs: {
7122
+ readonly href: string;
7123
+ };
7124
+ readonly type: "link";
7125
+ } | {
7126
+ readonly attrs: {
7127
+ readonly variant: "success" | "warning" | null;
7128
+ };
7129
+ readonly type: "highlight";
7130
+ })[]];
7131
+ readonly text: string;
7132
+ readonly type: "text";
7133
+ } | {
6554
7134
  readonly attrs: {
6555
7135
  readonly latex: string;
6556
7136
  };
7137
+ readonly marks?: readonly [{
7138
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
7139
+ } | {
7140
+ readonly attrs: {
7141
+ readonly href: string;
7142
+ };
7143
+ readonly type: "link";
7144
+ } | {
7145
+ readonly attrs: {
7146
+ readonly variant: "success" | "warning" | null;
7147
+ };
7148
+ readonly type: "highlight";
7149
+ }, ...({
7150
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
7151
+ } | {
7152
+ readonly attrs: {
7153
+ readonly href: string;
7154
+ };
7155
+ readonly type: "link";
7156
+ } | {
7157
+ readonly attrs: {
7158
+ readonly variant: "success" | "warning" | null;
7159
+ };
7160
+ readonly type: "highlight";
7161
+ })[]];
6557
7162
  readonly type: "mathInline";
6558
- } | {
7163
+ }, ...({
6559
7164
  readonly marks?: readonly [{
6560
7165
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6561
7166
  } | {
@@ -6583,12 +7188,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
6583
7188
  })[]];
6584
7189
  readonly text: string;
6585
7190
  readonly type: "text";
6586
- }, ...({
7191
+ } | {
6587
7192
  readonly attrs: {
6588
7193
  readonly latex: string;
6589
7194
  };
6590
- readonly type: "mathInline";
6591
- } | {
6592
7195
  readonly marks?: readonly [{
6593
7196
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6594
7197
  } | {
@@ -6614,18 +7217,70 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
6614
7217
  };
6615
7218
  readonly type: "highlight";
6616
7219
  })[]];
6617
- readonly text: string;
6618
- readonly type: "text";
7220
+ readonly type: "mathInline";
6619
7221
  })[]];
6620
7222
  readonly maxMatches: number;
6621
7223
  }, ...{
6622
7224
  readonly id: string;
6623
7225
  readonly label: readonly [{
7226
+ readonly marks?: readonly [{
7227
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
7228
+ } | {
7229
+ readonly attrs: {
7230
+ readonly href: string;
7231
+ };
7232
+ readonly type: "link";
7233
+ } | {
7234
+ readonly attrs: {
7235
+ readonly variant: "success" | "warning" | null;
7236
+ };
7237
+ readonly type: "highlight";
7238
+ }, ...({
7239
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
7240
+ } | {
7241
+ readonly attrs: {
7242
+ readonly href: string;
7243
+ };
7244
+ readonly type: "link";
7245
+ } | {
7246
+ readonly attrs: {
7247
+ readonly variant: "success" | "warning" | null;
7248
+ };
7249
+ readonly type: "highlight";
7250
+ })[]];
7251
+ readonly text: string;
7252
+ readonly type: "text";
7253
+ } | {
6624
7254
  readonly attrs: {
6625
7255
  readonly latex: string;
6626
7256
  };
7257
+ readonly marks?: readonly [{
7258
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
7259
+ } | {
7260
+ readonly attrs: {
7261
+ readonly href: string;
7262
+ };
7263
+ readonly type: "link";
7264
+ } | {
7265
+ readonly attrs: {
7266
+ readonly variant: "success" | "warning" | null;
7267
+ };
7268
+ readonly type: "highlight";
7269
+ }, ...({
7270
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
7271
+ } | {
7272
+ readonly attrs: {
7273
+ readonly href: string;
7274
+ };
7275
+ readonly type: "link";
7276
+ } | {
7277
+ readonly attrs: {
7278
+ readonly variant: "success" | "warning" | null;
7279
+ };
7280
+ readonly type: "highlight";
7281
+ })[]];
6627
7282
  readonly type: "mathInline";
6628
- } | {
7283
+ }, ...({
6629
7284
  readonly marks?: readonly [{
6630
7285
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6631
7286
  } | {
@@ -6653,12 +7308,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
6653
7308
  })[]];
6654
7309
  readonly text: string;
6655
7310
  readonly type: "text";
6656
- }, ...({
7311
+ } | {
6657
7312
  readonly attrs: {
6658
7313
  readonly latex: string;
6659
7314
  };
6660
- readonly type: "mathInline";
6661
- } | {
6662
7315
  readonly marks?: readonly [{
6663
7316
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
6664
7317
  } | {
@@ -6684,8 +7337,7 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
6684
7337
  };
6685
7338
  readonly type: "highlight";
6686
7339
  })[]];
6687
- readonly text: string;
6688
- readonly type: "text";
7340
+ readonly type: "mathInline";
6689
7341
  })[]];
6690
7342
  readonly maxMatches: number;
6691
7343
  }[]];
@@ -8634,22 +9286,141 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
8634
9286
  readonly type: "doc";
8635
9287
  };
8636
9288
  }[];
8637
- readonly kind: "order";
8638
- readonly maxChoices: number;
8639
- readonly minChoices: number;
9289
+ readonly kind: "order";
9290
+ readonly maxChoices: number;
9291
+ readonly minChoices: number;
9292
+ readonly shuffle: boolean;
9293
+ } | {
9294
+ readonly id: string;
9295
+ readonly label: string;
9296
+ readonly kind: "inlineChoice";
9297
+ readonly options: readonly {
9298
+ readonly id: string;
9299
+ readonly label: readonly [{
9300
+ readonly marks?: readonly [{
9301
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9302
+ } | {
9303
+ readonly attrs: {
9304
+ readonly href: string;
9305
+ };
9306
+ readonly type: "link";
9307
+ } | {
9308
+ readonly attrs: {
9309
+ readonly variant: "success" | "warning" | null;
9310
+ };
9311
+ readonly type: "highlight";
9312
+ }, ...({
9313
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9314
+ } | {
9315
+ readonly attrs: {
9316
+ readonly href: string;
9317
+ };
9318
+ readonly type: "link";
9319
+ } | {
9320
+ readonly attrs: {
9321
+ readonly variant: "success" | "warning" | null;
9322
+ };
9323
+ readonly type: "highlight";
9324
+ })[]];
9325
+ readonly text: string;
9326
+ readonly type: "text";
9327
+ } | {
9328
+ readonly attrs: {
9329
+ readonly latex: string;
9330
+ };
9331
+ readonly marks?: readonly [{
9332
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9333
+ } | {
9334
+ readonly attrs: {
9335
+ readonly href: string;
9336
+ };
9337
+ readonly type: "link";
9338
+ } | {
9339
+ readonly attrs: {
9340
+ readonly variant: "success" | "warning" | null;
9341
+ };
9342
+ readonly type: "highlight";
9343
+ }, ...({
9344
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9345
+ } | {
9346
+ readonly attrs: {
9347
+ readonly href: string;
9348
+ };
9349
+ readonly type: "link";
9350
+ } | {
9351
+ readonly attrs: {
9352
+ readonly variant: "success" | "warning" | null;
9353
+ };
9354
+ readonly type: "highlight";
9355
+ })[]];
9356
+ readonly type: "mathInline";
9357
+ }, ...({
9358
+ readonly marks?: readonly [{
9359
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9360
+ } | {
9361
+ readonly attrs: {
9362
+ readonly href: string;
9363
+ };
9364
+ readonly type: "link";
9365
+ } | {
9366
+ readonly attrs: {
9367
+ readonly variant: "success" | "warning" | null;
9368
+ };
9369
+ readonly type: "highlight";
9370
+ }, ...({
9371
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9372
+ } | {
9373
+ readonly attrs: {
9374
+ readonly href: string;
9375
+ };
9376
+ readonly type: "link";
9377
+ } | {
9378
+ readonly attrs: {
9379
+ readonly variant: "success" | "warning" | null;
9380
+ };
9381
+ readonly type: "highlight";
9382
+ })[]];
9383
+ readonly text: string;
9384
+ readonly type: "text";
9385
+ } | {
9386
+ readonly attrs: {
9387
+ readonly latex: string;
9388
+ };
9389
+ readonly marks?: readonly [{
9390
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9391
+ } | {
9392
+ readonly attrs: {
9393
+ readonly href: string;
9394
+ };
9395
+ readonly type: "link";
9396
+ } | {
9397
+ readonly attrs: {
9398
+ readonly variant: "success" | "warning" | null;
9399
+ };
9400
+ readonly type: "highlight";
9401
+ }, ...({
9402
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9403
+ } | {
9404
+ readonly attrs: {
9405
+ readonly href: string;
9406
+ };
9407
+ readonly type: "link";
9408
+ } | {
9409
+ readonly attrs: {
9410
+ readonly variant: "success" | "warning" | null;
9411
+ };
9412
+ readonly type: "highlight";
9413
+ })[]];
9414
+ readonly type: "mathInline";
9415
+ })[]];
9416
+ }[];
8640
9417
  readonly shuffle: boolean;
8641
9418
  } | {
8642
9419
  readonly id: string;
8643
9420
  readonly label: string;
8644
- readonly kind: "inlineChoice";
8645
- readonly options: readonly {
9421
+ readonly choices: readonly [{
8646
9422
  readonly id: string;
8647
9423
  readonly label: readonly [{
8648
- readonly attrs: {
8649
- readonly latex: string;
8650
- };
8651
- readonly type: "mathInline";
8652
- } | {
8653
9424
  readonly marks?: readonly [{
8654
9425
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
8655
9426
  } | {
@@ -8677,12 +9448,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
8677
9448
  })[]];
8678
9449
  readonly text: string;
8679
9450
  readonly type: "text";
8680
- }, ...({
9451
+ } | {
8681
9452
  readonly attrs: {
8682
9453
  readonly latex: string;
8683
9454
  };
8684
- readonly type: "mathInline";
8685
- } | {
8686
9455
  readonly marks?: readonly [{
8687
9456
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
8688
9457
  } | {
@@ -8708,22 +9477,8 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
8708
9477
  };
8709
9478
  readonly type: "highlight";
8710
9479
  })[]];
8711
- readonly text: string;
8712
- readonly type: "text";
8713
- })[]];
8714
- }[];
8715
- readonly shuffle: boolean;
8716
- } | {
8717
- readonly id: string;
8718
- readonly label: string;
8719
- readonly choices: readonly [{
8720
- readonly id: string;
8721
- readonly label: readonly [{
8722
- readonly attrs: {
8723
- readonly latex: string;
8724
- };
8725
9480
  readonly type: "mathInline";
8726
- } | {
9481
+ }, ...({
8727
9482
  readonly marks?: readonly [{
8728
9483
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
8729
9484
  } | {
@@ -8751,12 +9506,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
8751
9506
  })[]];
8752
9507
  readonly text: string;
8753
9508
  readonly type: "text";
8754
- }, ...({
9509
+ } | {
8755
9510
  readonly attrs: {
8756
9511
  readonly latex: string;
8757
9512
  };
8758
- readonly type: "mathInline";
8759
- } | {
8760
9513
  readonly marks?: readonly [{
8761
9514
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
8762
9515
  } | {
@@ -8782,18 +9535,70 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
8782
9535
  };
8783
9536
  readonly type: "highlight";
8784
9537
  })[]];
8785
- readonly text: string;
8786
- readonly type: "text";
9538
+ readonly type: "mathInline";
8787
9539
  })[]];
8788
9540
  readonly maxMatches: number;
8789
9541
  }, ...{
8790
9542
  readonly id: string;
8791
9543
  readonly label: readonly [{
9544
+ readonly marks?: readonly [{
9545
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9546
+ } | {
9547
+ readonly attrs: {
9548
+ readonly href: string;
9549
+ };
9550
+ readonly type: "link";
9551
+ } | {
9552
+ readonly attrs: {
9553
+ readonly variant: "success" | "warning" | null;
9554
+ };
9555
+ readonly type: "highlight";
9556
+ }, ...({
9557
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9558
+ } | {
9559
+ readonly attrs: {
9560
+ readonly href: string;
9561
+ };
9562
+ readonly type: "link";
9563
+ } | {
9564
+ readonly attrs: {
9565
+ readonly variant: "success" | "warning" | null;
9566
+ };
9567
+ readonly type: "highlight";
9568
+ })[]];
9569
+ readonly text: string;
9570
+ readonly type: "text";
9571
+ } | {
8792
9572
  readonly attrs: {
8793
9573
  readonly latex: string;
8794
9574
  };
9575
+ readonly marks?: readonly [{
9576
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9577
+ } | {
9578
+ readonly attrs: {
9579
+ readonly href: string;
9580
+ };
9581
+ readonly type: "link";
9582
+ } | {
9583
+ readonly attrs: {
9584
+ readonly variant: "success" | "warning" | null;
9585
+ };
9586
+ readonly type: "highlight";
9587
+ }, ...({
9588
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9589
+ } | {
9590
+ readonly attrs: {
9591
+ readonly href: string;
9592
+ };
9593
+ readonly type: "link";
9594
+ } | {
9595
+ readonly attrs: {
9596
+ readonly variant: "success" | "warning" | null;
9597
+ };
9598
+ readonly type: "highlight";
9599
+ })[]];
8795
9600
  readonly type: "mathInline";
8796
- } | {
9601
+ }, ...({
8797
9602
  readonly marks?: readonly [{
8798
9603
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
8799
9604
  } | {
@@ -8821,12 +9626,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
8821
9626
  })[]];
8822
9627
  readonly text: string;
8823
9628
  readonly type: "text";
8824
- }, ...({
9629
+ } | {
8825
9630
  readonly attrs: {
8826
9631
  readonly latex: string;
8827
9632
  };
8828
- readonly type: "mathInline";
8829
- } | {
8830
9633
  readonly marks?: readonly [{
8831
9634
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
8832
9635
  } | {
@@ -8852,8 +9655,7 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
8852
9655
  };
8853
9656
  readonly type: "highlight";
8854
9657
  })[]];
8855
- readonly text: string;
8856
- readonly type: "text";
9658
+ readonly type: "mathInline";
8857
9659
  })[]];
8858
9660
  readonly maxMatches: number;
8859
9661
  }[]];
@@ -9051,11 +9853,188 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
9051
9853
  readonly options: readonly {
9052
9854
  readonly id: string;
9053
9855
  readonly label: readonly [{
9856
+ readonly marks?: readonly [{
9857
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9858
+ } | {
9859
+ readonly attrs: {
9860
+ readonly href: string;
9861
+ };
9862
+ readonly type: "link";
9863
+ } | {
9864
+ readonly attrs: {
9865
+ readonly variant: "success" | "warning" | null;
9866
+ };
9867
+ readonly type: "highlight";
9868
+ }, ...({
9869
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9870
+ } | {
9871
+ readonly attrs: {
9872
+ readonly href: string;
9873
+ };
9874
+ readonly type: "link";
9875
+ } | {
9876
+ readonly attrs: {
9877
+ readonly variant: "success" | "warning" | null;
9878
+ };
9879
+ readonly type: "highlight";
9880
+ })[]];
9881
+ readonly text: string;
9882
+ readonly type: "text";
9883
+ } | {
9884
+ readonly attrs: {
9885
+ readonly latex: string;
9886
+ };
9887
+ readonly marks?: readonly [{
9888
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9889
+ } | {
9890
+ readonly attrs: {
9891
+ readonly href: string;
9892
+ };
9893
+ readonly type: "link";
9894
+ } | {
9895
+ readonly attrs: {
9896
+ readonly variant: "success" | "warning" | null;
9897
+ };
9898
+ readonly type: "highlight";
9899
+ }, ...({
9900
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9901
+ } | {
9902
+ readonly attrs: {
9903
+ readonly href: string;
9904
+ };
9905
+ readonly type: "link";
9906
+ } | {
9907
+ readonly attrs: {
9908
+ readonly variant: "success" | "warning" | null;
9909
+ };
9910
+ readonly type: "highlight";
9911
+ })[]];
9912
+ readonly type: "mathInline";
9913
+ }, ...({
9914
+ readonly marks?: readonly [{
9915
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9916
+ } | {
9917
+ readonly attrs: {
9918
+ readonly href: string;
9919
+ };
9920
+ readonly type: "link";
9921
+ } | {
9922
+ readonly attrs: {
9923
+ readonly variant: "success" | "warning" | null;
9924
+ };
9925
+ readonly type: "highlight";
9926
+ }, ...({
9927
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9928
+ } | {
9929
+ readonly attrs: {
9930
+ readonly href: string;
9931
+ };
9932
+ readonly type: "link";
9933
+ } | {
9934
+ readonly attrs: {
9935
+ readonly variant: "success" | "warning" | null;
9936
+ };
9937
+ readonly type: "highlight";
9938
+ })[]];
9939
+ readonly text: string;
9940
+ readonly type: "text";
9941
+ } | {
9942
+ readonly attrs: {
9943
+ readonly latex: string;
9944
+ };
9945
+ readonly marks?: readonly [{
9946
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9947
+ } | {
9948
+ readonly attrs: {
9949
+ readonly href: string;
9950
+ };
9951
+ readonly type: "link";
9952
+ } | {
9953
+ readonly attrs: {
9954
+ readonly variant: "success" | "warning" | null;
9955
+ };
9956
+ readonly type: "highlight";
9957
+ }, ...({
9958
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9959
+ } | {
9960
+ readonly attrs: {
9961
+ readonly href: string;
9962
+ };
9963
+ readonly type: "link";
9964
+ } | {
9965
+ readonly attrs: {
9966
+ readonly variant: "success" | "warning" | null;
9967
+ };
9968
+ readonly type: "highlight";
9969
+ })[]];
9970
+ readonly type: "mathInline";
9971
+ })[]];
9972
+ }[];
9973
+ readonly shuffle: boolean;
9974
+ } | {
9975
+ readonly id: string;
9976
+ readonly label: string;
9977
+ readonly choices: readonly [{
9978
+ readonly id: string;
9979
+ readonly label: readonly [{
9980
+ readonly marks?: readonly [{
9981
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9982
+ } | {
9983
+ readonly attrs: {
9984
+ readonly href: string;
9985
+ };
9986
+ readonly type: "link";
9987
+ } | {
9988
+ readonly attrs: {
9989
+ readonly variant: "success" | "warning" | null;
9990
+ };
9991
+ readonly type: "highlight";
9992
+ }, ...({
9993
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9994
+ } | {
9995
+ readonly attrs: {
9996
+ readonly href: string;
9997
+ };
9998
+ readonly type: "link";
9999
+ } | {
10000
+ readonly attrs: {
10001
+ readonly variant: "success" | "warning" | null;
10002
+ };
10003
+ readonly type: "highlight";
10004
+ })[]];
10005
+ readonly text: string;
10006
+ readonly type: "text";
10007
+ } | {
9054
10008
  readonly attrs: {
9055
10009
  readonly latex: string;
9056
10010
  };
10011
+ readonly marks?: readonly [{
10012
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
10013
+ } | {
10014
+ readonly attrs: {
10015
+ readonly href: string;
10016
+ };
10017
+ readonly type: "link";
10018
+ } | {
10019
+ readonly attrs: {
10020
+ readonly variant: "success" | "warning" | null;
10021
+ };
10022
+ readonly type: "highlight";
10023
+ }, ...({
10024
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
10025
+ } | {
10026
+ readonly attrs: {
10027
+ readonly href: string;
10028
+ };
10029
+ readonly type: "link";
10030
+ } | {
10031
+ readonly attrs: {
10032
+ readonly variant: "success" | "warning" | null;
10033
+ };
10034
+ readonly type: "highlight";
10035
+ })[]];
9057
10036
  readonly type: "mathInline";
9058
- } | {
10037
+ }, ...({
9059
10038
  readonly marks?: readonly [{
9060
10039
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9061
10040
  } | {
@@ -9083,12 +10062,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
9083
10062
  })[]];
9084
10063
  readonly text: string;
9085
10064
  readonly type: "text";
9086
- }, ...({
10065
+ } | {
9087
10066
  readonly attrs: {
9088
10067
  readonly latex: string;
9089
10068
  };
9090
- readonly type: "mathInline";
9091
- } | {
9092
10069
  readonly marks?: readonly [{
9093
10070
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9094
10071
  } | {
@@ -9114,22 +10091,12 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
9114
10091
  };
9115
10092
  readonly type: "highlight";
9116
10093
  })[]];
9117
- readonly text: string;
9118
- readonly type: "text";
10094
+ readonly type: "mathInline";
9119
10095
  })[]];
9120
- }[];
9121
- readonly shuffle: boolean;
9122
- } | {
9123
- readonly id: string;
9124
- readonly label: string;
9125
- readonly choices: readonly [{
10096
+ readonly maxMatches: number;
10097
+ }, ...{
9126
10098
  readonly id: string;
9127
10099
  readonly label: readonly [{
9128
- readonly attrs: {
9129
- readonly latex: string;
9130
- };
9131
- readonly type: "mathInline";
9132
- } | {
9133
10100
  readonly marks?: readonly [{
9134
10101
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9135
10102
  } | {
@@ -9157,12 +10124,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
9157
10124
  })[]];
9158
10125
  readonly text: string;
9159
10126
  readonly type: "text";
9160
- }, ...({
10127
+ } | {
9161
10128
  readonly attrs: {
9162
10129
  readonly latex: string;
9163
10130
  };
9164
- readonly type: "mathInline";
9165
- } | {
9166
10131
  readonly marks?: readonly [{
9167
10132
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9168
10133
  } | {
@@ -9188,18 +10153,8 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
9188
10153
  };
9189
10154
  readonly type: "highlight";
9190
10155
  })[]];
9191
- readonly text: string;
9192
- readonly type: "text";
9193
- })[]];
9194
- readonly maxMatches: number;
9195
- }, ...{
9196
- readonly id: string;
9197
- readonly label: readonly [{
9198
- readonly attrs: {
9199
- readonly latex: string;
9200
- };
9201
10156
  readonly type: "mathInline";
9202
- } | {
10157
+ }, ...({
9203
10158
  readonly marks?: readonly [{
9204
10159
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9205
10160
  } | {
@@ -9227,12 +10182,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
9227
10182
  })[]];
9228
10183
  readonly text: string;
9229
10184
  readonly type: "text";
9230
- }, ...({
10185
+ } | {
9231
10186
  readonly attrs: {
9232
10187
  readonly latex: string;
9233
10188
  };
9234
- readonly type: "mathInline";
9235
- } | {
9236
10189
  readonly marks?: readonly [{
9237
10190
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
9238
10191
  } | {
@@ -9258,8 +10211,7 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
9258
10211
  };
9259
10212
  readonly type: "highlight";
9260
10213
  })[]];
9261
- readonly text: string;
9262
- readonly type: "text";
10214
+ readonly type: "mathInline";
9263
10215
  })[]];
9264
10216
  readonly maxMatches: number;
9265
10217
  }[]];
@@ -10690,11 +11642,64 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
10690
11642
  readonly options: readonly {
10691
11643
  readonly id: string;
10692
11644
  readonly label: readonly [{
11645
+ readonly marks?: readonly [{
11646
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
11647
+ } | {
11648
+ readonly attrs: {
11649
+ readonly href: string;
11650
+ };
11651
+ readonly type: "link";
11652
+ } | {
11653
+ readonly attrs: {
11654
+ readonly variant: "success" | "warning" | null;
11655
+ };
11656
+ readonly type: "highlight";
11657
+ }, ...({
11658
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
11659
+ } | {
11660
+ readonly attrs: {
11661
+ readonly href: string;
11662
+ };
11663
+ readonly type: "link";
11664
+ } | {
11665
+ readonly attrs: {
11666
+ readonly variant: "success" | "warning" | null;
11667
+ };
11668
+ readonly type: "highlight";
11669
+ })[]];
11670
+ readonly text: string;
11671
+ readonly type: "text";
11672
+ } | {
10693
11673
  readonly attrs: {
10694
11674
  readonly latex: string;
10695
11675
  };
11676
+ readonly marks?: readonly [{
11677
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
11678
+ } | {
11679
+ readonly attrs: {
11680
+ readonly href: string;
11681
+ };
11682
+ readonly type: "link";
11683
+ } | {
11684
+ readonly attrs: {
11685
+ readonly variant: "success" | "warning" | null;
11686
+ };
11687
+ readonly type: "highlight";
11688
+ }, ...({
11689
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
11690
+ } | {
11691
+ readonly attrs: {
11692
+ readonly href: string;
11693
+ };
11694
+ readonly type: "link";
11695
+ } | {
11696
+ readonly attrs: {
11697
+ readonly variant: "success" | "warning" | null;
11698
+ };
11699
+ readonly type: "highlight";
11700
+ })[]];
10696
11701
  readonly type: "mathInline";
10697
- } | {
11702
+ }, ...({
10698
11703
  readonly marks?: readonly [{
10699
11704
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
10700
11705
  } | {
@@ -10722,12 +11727,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
10722
11727
  })[]];
10723
11728
  readonly text: string;
10724
11729
  readonly type: "text";
10725
- }, ...({
11730
+ } | {
10726
11731
  readonly attrs: {
10727
11732
  readonly latex: string;
10728
11733
  };
10729
- readonly type: "mathInline";
10730
- } | {
10731
11734
  readonly marks?: readonly [{
10732
11735
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
10733
11736
  } | {
@@ -10753,8 +11756,7 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
10753
11756
  };
10754
11757
  readonly type: "highlight";
10755
11758
  })[]];
10756
- readonly text: string;
10757
- readonly type: "text";
11759
+ readonly type: "mathInline";
10758
11760
  })[]];
10759
11761
  }[];
10760
11762
  readonly shuffle: boolean;
@@ -10764,11 +11766,64 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
10764
11766
  readonly choices: readonly [{
10765
11767
  readonly id: string;
10766
11768
  readonly label: readonly [{
11769
+ readonly marks?: readonly [{
11770
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
11771
+ } | {
11772
+ readonly attrs: {
11773
+ readonly href: string;
11774
+ };
11775
+ readonly type: "link";
11776
+ } | {
11777
+ readonly attrs: {
11778
+ readonly variant: "success" | "warning" | null;
11779
+ };
11780
+ readonly type: "highlight";
11781
+ }, ...({
11782
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
11783
+ } | {
11784
+ readonly attrs: {
11785
+ readonly href: string;
11786
+ };
11787
+ readonly type: "link";
11788
+ } | {
11789
+ readonly attrs: {
11790
+ readonly variant: "success" | "warning" | null;
11791
+ };
11792
+ readonly type: "highlight";
11793
+ })[]];
11794
+ readonly text: string;
11795
+ readonly type: "text";
11796
+ } | {
10767
11797
  readonly attrs: {
10768
11798
  readonly latex: string;
10769
11799
  };
11800
+ readonly marks?: readonly [{
11801
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
11802
+ } | {
11803
+ readonly attrs: {
11804
+ readonly href: string;
11805
+ };
11806
+ readonly type: "link";
11807
+ } | {
11808
+ readonly attrs: {
11809
+ readonly variant: "success" | "warning" | null;
11810
+ };
11811
+ readonly type: "highlight";
11812
+ }, ...({
11813
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
11814
+ } | {
11815
+ readonly attrs: {
11816
+ readonly href: string;
11817
+ };
11818
+ readonly type: "link";
11819
+ } | {
11820
+ readonly attrs: {
11821
+ readonly variant: "success" | "warning" | null;
11822
+ };
11823
+ readonly type: "highlight";
11824
+ })[]];
10770
11825
  readonly type: "mathInline";
10771
- } | {
11826
+ }, ...({
10772
11827
  readonly marks?: readonly [{
10773
11828
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
10774
11829
  } | {
@@ -10796,12 +11851,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
10796
11851
  })[]];
10797
11852
  readonly text: string;
10798
11853
  readonly type: "text";
10799
- }, ...({
11854
+ } | {
10800
11855
  readonly attrs: {
10801
11856
  readonly latex: string;
10802
11857
  };
10803
- readonly type: "mathInline";
10804
- } | {
10805
11858
  readonly marks?: readonly [{
10806
11859
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
10807
11860
  } | {
@@ -10827,18 +11880,70 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
10827
11880
  };
10828
11881
  readonly type: "highlight";
10829
11882
  })[]];
10830
- readonly text: string;
10831
- readonly type: "text";
11883
+ readonly type: "mathInline";
10832
11884
  })[]];
10833
11885
  readonly maxMatches: number;
10834
11886
  }, ...{
10835
11887
  readonly id: string;
10836
11888
  readonly label: readonly [{
11889
+ readonly marks?: readonly [{
11890
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
11891
+ } | {
11892
+ readonly attrs: {
11893
+ readonly href: string;
11894
+ };
11895
+ readonly type: "link";
11896
+ } | {
11897
+ readonly attrs: {
11898
+ readonly variant: "success" | "warning" | null;
11899
+ };
11900
+ readonly type: "highlight";
11901
+ }, ...({
11902
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
11903
+ } | {
11904
+ readonly attrs: {
11905
+ readonly href: string;
11906
+ };
11907
+ readonly type: "link";
11908
+ } | {
11909
+ readonly attrs: {
11910
+ readonly variant: "success" | "warning" | null;
11911
+ };
11912
+ readonly type: "highlight";
11913
+ })[]];
11914
+ readonly text: string;
11915
+ readonly type: "text";
11916
+ } | {
10837
11917
  readonly attrs: {
10838
11918
  readonly latex: string;
10839
11919
  };
11920
+ readonly marks?: readonly [{
11921
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
11922
+ } | {
11923
+ readonly attrs: {
11924
+ readonly href: string;
11925
+ };
11926
+ readonly type: "link";
11927
+ } | {
11928
+ readonly attrs: {
11929
+ readonly variant: "success" | "warning" | null;
11930
+ };
11931
+ readonly type: "highlight";
11932
+ }, ...({
11933
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
11934
+ } | {
11935
+ readonly attrs: {
11936
+ readonly href: string;
11937
+ };
11938
+ readonly type: "link";
11939
+ } | {
11940
+ readonly attrs: {
11941
+ readonly variant: "success" | "warning" | null;
11942
+ };
11943
+ readonly type: "highlight";
11944
+ })[]];
10840
11945
  readonly type: "mathInline";
10841
- } | {
11946
+ }, ...({
10842
11947
  readonly marks?: readonly [{
10843
11948
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
10844
11949
  } | {
@@ -10866,12 +11971,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
10866
11971
  })[]];
10867
11972
  readonly text: string;
10868
11973
  readonly type: "text";
10869
- }, ...({
11974
+ } | {
10870
11975
  readonly attrs: {
10871
11976
  readonly latex: string;
10872
11977
  };
10873
- readonly type: "mathInline";
10874
- } | {
10875
11978
  readonly marks?: readonly [{
10876
11979
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
10877
11980
  } | {
@@ -10897,8 +12000,7 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
10897
12000
  };
10898
12001
  readonly type: "highlight";
10899
12002
  })[]];
10900
- readonly text: string;
10901
- readonly type: "text";
12003
+ readonly type: "mathInline";
10902
12004
  })[]];
10903
12005
  readonly maxMatches: number;
10904
12006
  }[]];
@@ -11096,11 +12198,64 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
11096
12198
  readonly options: readonly {
11097
12199
  readonly id: string;
11098
12200
  readonly label: readonly [{
12201
+ readonly marks?: readonly [{
12202
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
12203
+ } | {
12204
+ readonly attrs: {
12205
+ readonly href: string;
12206
+ };
12207
+ readonly type: "link";
12208
+ } | {
12209
+ readonly attrs: {
12210
+ readonly variant: "success" | "warning" | null;
12211
+ };
12212
+ readonly type: "highlight";
12213
+ }, ...({
12214
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
12215
+ } | {
12216
+ readonly attrs: {
12217
+ readonly href: string;
12218
+ };
12219
+ readonly type: "link";
12220
+ } | {
12221
+ readonly attrs: {
12222
+ readonly variant: "success" | "warning" | null;
12223
+ };
12224
+ readonly type: "highlight";
12225
+ })[]];
12226
+ readonly text: string;
12227
+ readonly type: "text";
12228
+ } | {
11099
12229
  readonly attrs: {
11100
12230
  readonly latex: string;
11101
12231
  };
12232
+ readonly marks?: readonly [{
12233
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
12234
+ } | {
12235
+ readonly attrs: {
12236
+ readonly href: string;
12237
+ };
12238
+ readonly type: "link";
12239
+ } | {
12240
+ readonly attrs: {
12241
+ readonly variant: "success" | "warning" | null;
12242
+ };
12243
+ readonly type: "highlight";
12244
+ }, ...({
12245
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
12246
+ } | {
12247
+ readonly attrs: {
12248
+ readonly href: string;
12249
+ };
12250
+ readonly type: "link";
12251
+ } | {
12252
+ readonly attrs: {
12253
+ readonly variant: "success" | "warning" | null;
12254
+ };
12255
+ readonly type: "highlight";
12256
+ })[]];
11102
12257
  readonly type: "mathInline";
11103
- } | {
12258
+ }, ...({
11104
12259
  readonly marks?: readonly [{
11105
12260
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
11106
12261
  } | {
@@ -11128,12 +12283,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
11128
12283
  })[]];
11129
12284
  readonly text: string;
11130
12285
  readonly type: "text";
11131
- }, ...({
12286
+ } | {
11132
12287
  readonly attrs: {
11133
12288
  readonly latex: string;
11134
12289
  };
11135
- readonly type: "mathInline";
11136
- } | {
11137
12290
  readonly marks?: readonly [{
11138
12291
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
11139
12292
  } | {
@@ -11159,8 +12312,7 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
11159
12312
  };
11160
12313
  readonly type: "highlight";
11161
12314
  })[]];
11162
- readonly text: string;
11163
- readonly type: "text";
12315
+ readonly type: "mathInline";
11164
12316
  })[]];
11165
12317
  }[];
11166
12318
  readonly shuffle: boolean;
@@ -11170,11 +12322,64 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
11170
12322
  readonly choices: readonly [{
11171
12323
  readonly id: string;
11172
12324
  readonly label: readonly [{
12325
+ readonly marks?: readonly [{
12326
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
12327
+ } | {
12328
+ readonly attrs: {
12329
+ readonly href: string;
12330
+ };
12331
+ readonly type: "link";
12332
+ } | {
12333
+ readonly attrs: {
12334
+ readonly variant: "success" | "warning" | null;
12335
+ };
12336
+ readonly type: "highlight";
12337
+ }, ...({
12338
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
12339
+ } | {
12340
+ readonly attrs: {
12341
+ readonly href: string;
12342
+ };
12343
+ readonly type: "link";
12344
+ } | {
12345
+ readonly attrs: {
12346
+ readonly variant: "success" | "warning" | null;
12347
+ };
12348
+ readonly type: "highlight";
12349
+ })[]];
12350
+ readonly text: string;
12351
+ readonly type: "text";
12352
+ } | {
11173
12353
  readonly attrs: {
11174
12354
  readonly latex: string;
11175
12355
  };
12356
+ readonly marks?: readonly [{
12357
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
12358
+ } | {
12359
+ readonly attrs: {
12360
+ readonly href: string;
12361
+ };
12362
+ readonly type: "link";
12363
+ } | {
12364
+ readonly attrs: {
12365
+ readonly variant: "success" | "warning" | null;
12366
+ };
12367
+ readonly type: "highlight";
12368
+ }, ...({
12369
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
12370
+ } | {
12371
+ readonly attrs: {
12372
+ readonly href: string;
12373
+ };
12374
+ readonly type: "link";
12375
+ } | {
12376
+ readonly attrs: {
12377
+ readonly variant: "success" | "warning" | null;
12378
+ };
12379
+ readonly type: "highlight";
12380
+ })[]];
11176
12381
  readonly type: "mathInline";
11177
- } | {
12382
+ }, ...({
11178
12383
  readonly marks?: readonly [{
11179
12384
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
11180
12385
  } | {
@@ -11202,12 +12407,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
11202
12407
  })[]];
11203
12408
  readonly text: string;
11204
12409
  readonly type: "text";
11205
- }, ...({
12410
+ } | {
11206
12411
  readonly attrs: {
11207
12412
  readonly latex: string;
11208
12413
  };
11209
- readonly type: "mathInline";
11210
- } | {
11211
12414
  readonly marks?: readonly [{
11212
12415
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
11213
12416
  } | {
@@ -11233,18 +12436,70 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
11233
12436
  };
11234
12437
  readonly type: "highlight";
11235
12438
  })[]];
11236
- readonly text: string;
11237
- readonly type: "text";
12439
+ readonly type: "mathInline";
11238
12440
  })[]];
11239
12441
  readonly maxMatches: number;
11240
12442
  }, ...{
11241
12443
  readonly id: string;
11242
12444
  readonly label: readonly [{
12445
+ readonly marks?: readonly [{
12446
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
12447
+ } | {
12448
+ readonly attrs: {
12449
+ readonly href: string;
12450
+ };
12451
+ readonly type: "link";
12452
+ } | {
12453
+ readonly attrs: {
12454
+ readonly variant: "success" | "warning" | null;
12455
+ };
12456
+ readonly type: "highlight";
12457
+ }, ...({
12458
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
12459
+ } | {
12460
+ readonly attrs: {
12461
+ readonly href: string;
12462
+ };
12463
+ readonly type: "link";
12464
+ } | {
12465
+ readonly attrs: {
12466
+ readonly variant: "success" | "warning" | null;
12467
+ };
12468
+ readonly type: "highlight";
12469
+ })[]];
12470
+ readonly text: string;
12471
+ readonly type: "text";
12472
+ } | {
11243
12473
  readonly attrs: {
11244
12474
  readonly latex: string;
11245
12475
  };
12476
+ readonly marks?: readonly [{
12477
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
12478
+ } | {
12479
+ readonly attrs: {
12480
+ readonly href: string;
12481
+ };
12482
+ readonly type: "link";
12483
+ } | {
12484
+ readonly attrs: {
12485
+ readonly variant: "success" | "warning" | null;
12486
+ };
12487
+ readonly type: "highlight";
12488
+ }, ...({
12489
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
12490
+ } | {
12491
+ readonly attrs: {
12492
+ readonly href: string;
12493
+ };
12494
+ readonly type: "link";
12495
+ } | {
12496
+ readonly attrs: {
12497
+ readonly variant: "success" | "warning" | null;
12498
+ };
12499
+ readonly type: "highlight";
12500
+ })[]];
11246
12501
  readonly type: "mathInline";
11247
- } | {
12502
+ }, ...({
11248
12503
  readonly marks?: readonly [{
11249
12504
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
11250
12505
  } | {
@@ -11272,12 +12527,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
11272
12527
  })[]];
11273
12528
  readonly text: string;
11274
12529
  readonly type: "text";
11275
- }, ...({
12530
+ } | {
11276
12531
  readonly attrs: {
11277
12532
  readonly latex: string;
11278
12533
  };
11279
- readonly type: "mathInline";
11280
- } | {
11281
12534
  readonly marks?: readonly [{
11282
12535
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
11283
12536
  } | {
@@ -11303,8 +12556,7 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
11303
12556
  };
11304
12557
  readonly type: "highlight";
11305
12558
  })[]];
11306
- readonly text: string;
11307
- readonly type: "text";
12559
+ readonly type: "mathInline";
11308
12560
  })[]];
11309
12561
  readonly maxMatches: number;
11310
12562
  }[]];
@@ -13100,11 +14352,64 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
13100
14352
  readonly options: readonly {
13101
14353
  readonly id: string;
13102
14354
  readonly label: readonly [{
14355
+ readonly marks?: readonly [{
14356
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14357
+ } | {
14358
+ readonly attrs: {
14359
+ readonly href: string;
14360
+ };
14361
+ readonly type: "link";
14362
+ } | {
14363
+ readonly attrs: {
14364
+ readonly variant: "success" | "warning" | null;
14365
+ };
14366
+ readonly type: "highlight";
14367
+ }, ...({
14368
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14369
+ } | {
14370
+ readonly attrs: {
14371
+ readonly href: string;
14372
+ };
14373
+ readonly type: "link";
14374
+ } | {
14375
+ readonly attrs: {
14376
+ readonly variant: "success" | "warning" | null;
14377
+ };
14378
+ readonly type: "highlight";
14379
+ })[]];
14380
+ readonly text: string;
14381
+ readonly type: "text";
14382
+ } | {
13103
14383
  readonly attrs: {
13104
14384
  readonly latex: string;
13105
14385
  };
14386
+ readonly marks?: readonly [{
14387
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14388
+ } | {
14389
+ readonly attrs: {
14390
+ readonly href: string;
14391
+ };
14392
+ readonly type: "link";
14393
+ } | {
14394
+ readonly attrs: {
14395
+ readonly variant: "success" | "warning" | null;
14396
+ };
14397
+ readonly type: "highlight";
14398
+ }, ...({
14399
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14400
+ } | {
14401
+ readonly attrs: {
14402
+ readonly href: string;
14403
+ };
14404
+ readonly type: "link";
14405
+ } | {
14406
+ readonly attrs: {
14407
+ readonly variant: "success" | "warning" | null;
14408
+ };
14409
+ readonly type: "highlight";
14410
+ })[]];
13106
14411
  readonly type: "mathInline";
13107
- } | {
14412
+ }, ...({
13108
14413
  readonly marks?: readonly [{
13109
14414
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
13110
14415
  } | {
@@ -13132,12 +14437,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
13132
14437
  })[]];
13133
14438
  readonly text: string;
13134
14439
  readonly type: "text";
13135
- }, ...({
14440
+ } | {
13136
14441
  readonly attrs: {
13137
14442
  readonly latex: string;
13138
14443
  };
13139
- readonly type: "mathInline";
13140
- } | {
13141
14444
  readonly marks?: readonly [{
13142
14445
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
13143
14446
  } | {
@@ -13163,8 +14466,7 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
13163
14466
  };
13164
14467
  readonly type: "highlight";
13165
14468
  })[]];
13166
- readonly text: string;
13167
- readonly type: "text";
14469
+ readonly type: "mathInline";
13168
14470
  })[]];
13169
14471
  }[];
13170
14472
  readonly shuffle: boolean;
@@ -13174,11 +14476,64 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
13174
14476
  readonly choices: readonly [{
13175
14477
  readonly id: string;
13176
14478
  readonly label: readonly [{
14479
+ readonly marks?: readonly [{
14480
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14481
+ } | {
14482
+ readonly attrs: {
14483
+ readonly href: string;
14484
+ };
14485
+ readonly type: "link";
14486
+ } | {
14487
+ readonly attrs: {
14488
+ readonly variant: "success" | "warning" | null;
14489
+ };
14490
+ readonly type: "highlight";
14491
+ }, ...({
14492
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14493
+ } | {
14494
+ readonly attrs: {
14495
+ readonly href: string;
14496
+ };
14497
+ readonly type: "link";
14498
+ } | {
14499
+ readonly attrs: {
14500
+ readonly variant: "success" | "warning" | null;
14501
+ };
14502
+ readonly type: "highlight";
14503
+ })[]];
14504
+ readonly text: string;
14505
+ readonly type: "text";
14506
+ } | {
13177
14507
  readonly attrs: {
13178
14508
  readonly latex: string;
13179
14509
  };
14510
+ readonly marks?: readonly [{
14511
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14512
+ } | {
14513
+ readonly attrs: {
14514
+ readonly href: string;
14515
+ };
14516
+ readonly type: "link";
14517
+ } | {
14518
+ readonly attrs: {
14519
+ readonly variant: "success" | "warning" | null;
14520
+ };
14521
+ readonly type: "highlight";
14522
+ }, ...({
14523
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14524
+ } | {
14525
+ readonly attrs: {
14526
+ readonly href: string;
14527
+ };
14528
+ readonly type: "link";
14529
+ } | {
14530
+ readonly attrs: {
14531
+ readonly variant: "success" | "warning" | null;
14532
+ };
14533
+ readonly type: "highlight";
14534
+ })[]];
13180
14535
  readonly type: "mathInline";
13181
- } | {
14536
+ }, ...({
13182
14537
  readonly marks?: readonly [{
13183
14538
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
13184
14539
  } | {
@@ -13206,12 +14561,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
13206
14561
  })[]];
13207
14562
  readonly text: string;
13208
14563
  readonly type: "text";
13209
- }, ...({
14564
+ } | {
13210
14565
  readonly attrs: {
13211
14566
  readonly latex: string;
13212
14567
  };
13213
- readonly type: "mathInline";
13214
- } | {
13215
14568
  readonly marks?: readonly [{
13216
14569
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
13217
14570
  } | {
@@ -13237,18 +14590,70 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
13237
14590
  };
13238
14591
  readonly type: "highlight";
13239
14592
  })[]];
13240
- readonly text: string;
13241
- readonly type: "text";
14593
+ readonly type: "mathInline";
13242
14594
  })[]];
13243
14595
  readonly maxMatches: number;
13244
14596
  }, ...{
13245
14597
  readonly id: string;
13246
14598
  readonly label: readonly [{
14599
+ readonly marks?: readonly [{
14600
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14601
+ } | {
14602
+ readonly attrs: {
14603
+ readonly href: string;
14604
+ };
14605
+ readonly type: "link";
14606
+ } | {
14607
+ readonly attrs: {
14608
+ readonly variant: "success" | "warning" | null;
14609
+ };
14610
+ readonly type: "highlight";
14611
+ }, ...({
14612
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14613
+ } | {
14614
+ readonly attrs: {
14615
+ readonly href: string;
14616
+ };
14617
+ readonly type: "link";
14618
+ } | {
14619
+ readonly attrs: {
14620
+ readonly variant: "success" | "warning" | null;
14621
+ };
14622
+ readonly type: "highlight";
14623
+ })[]];
14624
+ readonly text: string;
14625
+ readonly type: "text";
14626
+ } | {
13247
14627
  readonly attrs: {
13248
14628
  readonly latex: string;
13249
14629
  };
14630
+ readonly marks?: readonly [{
14631
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14632
+ } | {
14633
+ readonly attrs: {
14634
+ readonly href: string;
14635
+ };
14636
+ readonly type: "link";
14637
+ } | {
14638
+ readonly attrs: {
14639
+ readonly variant: "success" | "warning" | null;
14640
+ };
14641
+ readonly type: "highlight";
14642
+ }, ...({
14643
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14644
+ } | {
14645
+ readonly attrs: {
14646
+ readonly href: string;
14647
+ };
14648
+ readonly type: "link";
14649
+ } | {
14650
+ readonly attrs: {
14651
+ readonly variant: "success" | "warning" | null;
14652
+ };
14653
+ readonly type: "highlight";
14654
+ })[]];
13250
14655
  readonly type: "mathInline";
13251
- } | {
14656
+ }, ...({
13252
14657
  readonly marks?: readonly [{
13253
14658
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
13254
14659
  } | {
@@ -13276,12 +14681,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
13276
14681
  })[]];
13277
14682
  readonly text: string;
13278
14683
  readonly type: "text";
13279
- }, ...({
14684
+ } | {
13280
14685
  readonly attrs: {
13281
14686
  readonly latex: string;
13282
14687
  };
13283
- readonly type: "mathInline";
13284
- } | {
13285
14688
  readonly marks?: readonly [{
13286
14689
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
13287
14690
  } | {
@@ -13307,8 +14710,7 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
13307
14710
  };
13308
14711
  readonly type: "highlight";
13309
14712
  })[]];
13310
- readonly text: string;
13311
- readonly type: "text";
14713
+ readonly type: "mathInline";
13312
14714
  })[]];
13313
14715
  readonly maxMatches: number;
13314
14716
  }[]];
@@ -13495,22 +14897,141 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
13495
14897
  readonly type: "doc";
13496
14898
  };
13497
14899
  }[];
13498
- readonly kind: "order";
13499
- readonly maxChoices: number;
13500
- readonly minChoices: number;
14900
+ readonly kind: "order";
14901
+ readonly maxChoices: number;
14902
+ readonly minChoices: number;
14903
+ readonly shuffle: boolean;
14904
+ } | {
14905
+ readonly id: string;
14906
+ readonly label: string;
14907
+ readonly kind: "inlineChoice";
14908
+ readonly options: readonly {
14909
+ readonly id: string;
14910
+ readonly label: readonly [{
14911
+ readonly marks?: readonly [{
14912
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14913
+ } | {
14914
+ readonly attrs: {
14915
+ readonly href: string;
14916
+ };
14917
+ readonly type: "link";
14918
+ } | {
14919
+ readonly attrs: {
14920
+ readonly variant: "success" | "warning" | null;
14921
+ };
14922
+ readonly type: "highlight";
14923
+ }, ...({
14924
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14925
+ } | {
14926
+ readonly attrs: {
14927
+ readonly href: string;
14928
+ };
14929
+ readonly type: "link";
14930
+ } | {
14931
+ readonly attrs: {
14932
+ readonly variant: "success" | "warning" | null;
14933
+ };
14934
+ readonly type: "highlight";
14935
+ })[]];
14936
+ readonly text: string;
14937
+ readonly type: "text";
14938
+ } | {
14939
+ readonly attrs: {
14940
+ readonly latex: string;
14941
+ };
14942
+ readonly marks?: readonly [{
14943
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14944
+ } | {
14945
+ readonly attrs: {
14946
+ readonly href: string;
14947
+ };
14948
+ readonly type: "link";
14949
+ } | {
14950
+ readonly attrs: {
14951
+ readonly variant: "success" | "warning" | null;
14952
+ };
14953
+ readonly type: "highlight";
14954
+ }, ...({
14955
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14956
+ } | {
14957
+ readonly attrs: {
14958
+ readonly href: string;
14959
+ };
14960
+ readonly type: "link";
14961
+ } | {
14962
+ readonly attrs: {
14963
+ readonly variant: "success" | "warning" | null;
14964
+ };
14965
+ readonly type: "highlight";
14966
+ })[]];
14967
+ readonly type: "mathInline";
14968
+ }, ...({
14969
+ readonly marks?: readonly [{
14970
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14971
+ } | {
14972
+ readonly attrs: {
14973
+ readonly href: string;
14974
+ };
14975
+ readonly type: "link";
14976
+ } | {
14977
+ readonly attrs: {
14978
+ readonly variant: "success" | "warning" | null;
14979
+ };
14980
+ readonly type: "highlight";
14981
+ }, ...({
14982
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
14983
+ } | {
14984
+ readonly attrs: {
14985
+ readonly href: string;
14986
+ };
14987
+ readonly type: "link";
14988
+ } | {
14989
+ readonly attrs: {
14990
+ readonly variant: "success" | "warning" | null;
14991
+ };
14992
+ readonly type: "highlight";
14993
+ })[]];
14994
+ readonly text: string;
14995
+ readonly type: "text";
14996
+ } | {
14997
+ readonly attrs: {
14998
+ readonly latex: string;
14999
+ };
15000
+ readonly marks?: readonly [{
15001
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15002
+ } | {
15003
+ readonly attrs: {
15004
+ readonly href: string;
15005
+ };
15006
+ readonly type: "link";
15007
+ } | {
15008
+ readonly attrs: {
15009
+ readonly variant: "success" | "warning" | null;
15010
+ };
15011
+ readonly type: "highlight";
15012
+ }, ...({
15013
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15014
+ } | {
15015
+ readonly attrs: {
15016
+ readonly href: string;
15017
+ };
15018
+ readonly type: "link";
15019
+ } | {
15020
+ readonly attrs: {
15021
+ readonly variant: "success" | "warning" | null;
15022
+ };
15023
+ readonly type: "highlight";
15024
+ })[]];
15025
+ readonly type: "mathInline";
15026
+ })[]];
15027
+ }[];
13501
15028
  readonly shuffle: boolean;
13502
15029
  } | {
13503
15030
  readonly id: string;
13504
15031
  readonly label: string;
13505
- readonly kind: "inlineChoice";
13506
- readonly options: readonly {
15032
+ readonly choices: readonly [{
13507
15033
  readonly id: string;
13508
15034
  readonly label: readonly [{
13509
- readonly attrs: {
13510
- readonly latex: string;
13511
- };
13512
- readonly type: "mathInline";
13513
- } | {
13514
15035
  readonly marks?: readonly [{
13515
15036
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
13516
15037
  } | {
@@ -13538,12 +15059,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
13538
15059
  })[]];
13539
15060
  readonly text: string;
13540
15061
  readonly type: "text";
13541
- }, ...({
15062
+ } | {
13542
15063
  readonly attrs: {
13543
15064
  readonly latex: string;
13544
15065
  };
13545
- readonly type: "mathInline";
13546
- } | {
13547
15066
  readonly marks?: readonly [{
13548
15067
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
13549
15068
  } | {
@@ -13569,22 +15088,8 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
13569
15088
  };
13570
15089
  readonly type: "highlight";
13571
15090
  })[]];
13572
- readonly text: string;
13573
- readonly type: "text";
13574
- })[]];
13575
- }[];
13576
- readonly shuffle: boolean;
13577
- } | {
13578
- readonly id: string;
13579
- readonly label: string;
13580
- readonly choices: readonly [{
13581
- readonly id: string;
13582
- readonly label: readonly [{
13583
- readonly attrs: {
13584
- readonly latex: string;
13585
- };
13586
15091
  readonly type: "mathInline";
13587
- } | {
15092
+ }, ...({
13588
15093
  readonly marks?: readonly [{
13589
15094
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
13590
15095
  } | {
@@ -13612,12 +15117,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
13612
15117
  })[]];
13613
15118
  readonly text: string;
13614
15119
  readonly type: "text";
13615
- }, ...({
15120
+ } | {
13616
15121
  readonly attrs: {
13617
15122
  readonly latex: string;
13618
15123
  };
13619
- readonly type: "mathInline";
13620
- } | {
13621
15124
  readonly marks?: readonly [{
13622
15125
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
13623
15126
  } | {
@@ -13643,18 +15146,70 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
13643
15146
  };
13644
15147
  readonly type: "highlight";
13645
15148
  })[]];
13646
- readonly text: string;
13647
- readonly type: "text";
15149
+ readonly type: "mathInline";
13648
15150
  })[]];
13649
15151
  readonly maxMatches: number;
13650
15152
  }, ...{
13651
15153
  readonly id: string;
13652
15154
  readonly label: readonly [{
15155
+ readonly marks?: readonly [{
15156
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15157
+ } | {
15158
+ readonly attrs: {
15159
+ readonly href: string;
15160
+ };
15161
+ readonly type: "link";
15162
+ } | {
15163
+ readonly attrs: {
15164
+ readonly variant: "success" | "warning" | null;
15165
+ };
15166
+ readonly type: "highlight";
15167
+ }, ...({
15168
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15169
+ } | {
15170
+ readonly attrs: {
15171
+ readonly href: string;
15172
+ };
15173
+ readonly type: "link";
15174
+ } | {
15175
+ readonly attrs: {
15176
+ readonly variant: "success" | "warning" | null;
15177
+ };
15178
+ readonly type: "highlight";
15179
+ })[]];
15180
+ readonly text: string;
15181
+ readonly type: "text";
15182
+ } | {
13653
15183
  readonly attrs: {
13654
15184
  readonly latex: string;
13655
15185
  };
15186
+ readonly marks?: readonly [{
15187
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15188
+ } | {
15189
+ readonly attrs: {
15190
+ readonly href: string;
15191
+ };
15192
+ readonly type: "link";
15193
+ } | {
15194
+ readonly attrs: {
15195
+ readonly variant: "success" | "warning" | null;
15196
+ };
15197
+ readonly type: "highlight";
15198
+ }, ...({
15199
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15200
+ } | {
15201
+ readonly attrs: {
15202
+ readonly href: string;
15203
+ };
15204
+ readonly type: "link";
15205
+ } | {
15206
+ readonly attrs: {
15207
+ readonly variant: "success" | "warning" | null;
15208
+ };
15209
+ readonly type: "highlight";
15210
+ })[]];
13656
15211
  readonly type: "mathInline";
13657
- } | {
15212
+ }, ...({
13658
15213
  readonly marks?: readonly [{
13659
15214
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
13660
15215
  } | {
@@ -13682,12 +15237,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
13682
15237
  })[]];
13683
15238
  readonly text: string;
13684
15239
  readonly type: "text";
13685
- }, ...({
15240
+ } | {
13686
15241
  readonly attrs: {
13687
15242
  readonly latex: string;
13688
15243
  };
13689
- readonly type: "mathInline";
13690
- } | {
13691
15244
  readonly marks?: readonly [{
13692
15245
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
13693
15246
  } | {
@@ -13713,8 +15266,7 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
13713
15266
  };
13714
15267
  readonly type: "highlight";
13715
15268
  })[]];
13716
- readonly text: string;
13717
- readonly type: "text";
15269
+ readonly type: "mathInline";
13718
15270
  })[]];
13719
15271
  readonly maxMatches: number;
13720
15272
  }[]];
@@ -15145,11 +16697,188 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
15145
16697
  readonly options: readonly {
15146
16698
  readonly id: string;
15147
16699
  readonly label: readonly [{
16700
+ readonly marks?: readonly [{
16701
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
16702
+ } | {
16703
+ readonly attrs: {
16704
+ readonly href: string;
16705
+ };
16706
+ readonly type: "link";
16707
+ } | {
16708
+ readonly attrs: {
16709
+ readonly variant: "success" | "warning" | null;
16710
+ };
16711
+ readonly type: "highlight";
16712
+ }, ...({
16713
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
16714
+ } | {
16715
+ readonly attrs: {
16716
+ readonly href: string;
16717
+ };
16718
+ readonly type: "link";
16719
+ } | {
16720
+ readonly attrs: {
16721
+ readonly variant: "success" | "warning" | null;
16722
+ };
16723
+ readonly type: "highlight";
16724
+ })[]];
16725
+ readonly text: string;
16726
+ readonly type: "text";
16727
+ } | {
16728
+ readonly attrs: {
16729
+ readonly latex: string;
16730
+ };
16731
+ readonly marks?: readonly [{
16732
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
16733
+ } | {
16734
+ readonly attrs: {
16735
+ readonly href: string;
16736
+ };
16737
+ readonly type: "link";
16738
+ } | {
16739
+ readonly attrs: {
16740
+ readonly variant: "success" | "warning" | null;
16741
+ };
16742
+ readonly type: "highlight";
16743
+ }, ...({
16744
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
16745
+ } | {
16746
+ readonly attrs: {
16747
+ readonly href: string;
16748
+ };
16749
+ readonly type: "link";
16750
+ } | {
16751
+ readonly attrs: {
16752
+ readonly variant: "success" | "warning" | null;
16753
+ };
16754
+ readonly type: "highlight";
16755
+ })[]];
16756
+ readonly type: "mathInline";
16757
+ }, ...({
16758
+ readonly marks?: readonly [{
16759
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
16760
+ } | {
16761
+ readonly attrs: {
16762
+ readonly href: string;
16763
+ };
16764
+ readonly type: "link";
16765
+ } | {
16766
+ readonly attrs: {
16767
+ readonly variant: "success" | "warning" | null;
16768
+ };
16769
+ readonly type: "highlight";
16770
+ }, ...({
16771
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
16772
+ } | {
16773
+ readonly attrs: {
16774
+ readonly href: string;
16775
+ };
16776
+ readonly type: "link";
16777
+ } | {
16778
+ readonly attrs: {
16779
+ readonly variant: "success" | "warning" | null;
16780
+ };
16781
+ readonly type: "highlight";
16782
+ })[]];
16783
+ readonly text: string;
16784
+ readonly type: "text";
16785
+ } | {
16786
+ readonly attrs: {
16787
+ readonly latex: string;
16788
+ };
16789
+ readonly marks?: readonly [{
16790
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
16791
+ } | {
16792
+ readonly attrs: {
16793
+ readonly href: string;
16794
+ };
16795
+ readonly type: "link";
16796
+ } | {
16797
+ readonly attrs: {
16798
+ readonly variant: "success" | "warning" | null;
16799
+ };
16800
+ readonly type: "highlight";
16801
+ }, ...({
16802
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
16803
+ } | {
16804
+ readonly attrs: {
16805
+ readonly href: string;
16806
+ };
16807
+ readonly type: "link";
16808
+ } | {
16809
+ readonly attrs: {
16810
+ readonly variant: "success" | "warning" | null;
16811
+ };
16812
+ readonly type: "highlight";
16813
+ })[]];
16814
+ readonly type: "mathInline";
16815
+ })[]];
16816
+ }[];
16817
+ readonly shuffle: boolean;
16818
+ } | {
16819
+ readonly id: string;
16820
+ readonly label: string;
16821
+ readonly choices: readonly [{
16822
+ readonly id: string;
16823
+ readonly label: readonly [{
16824
+ readonly marks?: readonly [{
16825
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
16826
+ } | {
16827
+ readonly attrs: {
16828
+ readonly href: string;
16829
+ };
16830
+ readonly type: "link";
16831
+ } | {
16832
+ readonly attrs: {
16833
+ readonly variant: "success" | "warning" | null;
16834
+ };
16835
+ readonly type: "highlight";
16836
+ }, ...({
16837
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
16838
+ } | {
16839
+ readonly attrs: {
16840
+ readonly href: string;
16841
+ };
16842
+ readonly type: "link";
16843
+ } | {
16844
+ readonly attrs: {
16845
+ readonly variant: "success" | "warning" | null;
16846
+ };
16847
+ readonly type: "highlight";
16848
+ })[]];
16849
+ readonly text: string;
16850
+ readonly type: "text";
16851
+ } | {
15148
16852
  readonly attrs: {
15149
16853
  readonly latex: string;
15150
16854
  };
16855
+ readonly marks?: readonly [{
16856
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
16857
+ } | {
16858
+ readonly attrs: {
16859
+ readonly href: string;
16860
+ };
16861
+ readonly type: "link";
16862
+ } | {
16863
+ readonly attrs: {
16864
+ readonly variant: "success" | "warning" | null;
16865
+ };
16866
+ readonly type: "highlight";
16867
+ }, ...({
16868
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
16869
+ } | {
16870
+ readonly attrs: {
16871
+ readonly href: string;
16872
+ };
16873
+ readonly type: "link";
16874
+ } | {
16875
+ readonly attrs: {
16876
+ readonly variant: "success" | "warning" | null;
16877
+ };
16878
+ readonly type: "highlight";
16879
+ })[]];
15151
16880
  readonly type: "mathInline";
15152
- } | {
16881
+ }, ...({
15153
16882
  readonly marks?: readonly [{
15154
16883
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15155
16884
  } | {
@@ -15177,12 +16906,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
15177
16906
  })[]];
15178
16907
  readonly text: string;
15179
16908
  readonly type: "text";
15180
- }, ...({
16909
+ } | {
15181
16910
  readonly attrs: {
15182
16911
  readonly latex: string;
15183
16912
  };
15184
- readonly type: "mathInline";
15185
- } | {
15186
16913
  readonly marks?: readonly [{
15187
16914
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15188
16915
  } | {
@@ -15208,22 +16935,12 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
15208
16935
  };
15209
16936
  readonly type: "highlight";
15210
16937
  })[]];
15211
- readonly text: string;
15212
- readonly type: "text";
16938
+ readonly type: "mathInline";
15213
16939
  })[]];
15214
- }[];
15215
- readonly shuffle: boolean;
15216
- } | {
15217
- readonly id: string;
15218
- readonly label: string;
15219
- readonly choices: readonly [{
16940
+ readonly maxMatches: number;
16941
+ }, ...{
15220
16942
  readonly id: string;
15221
16943
  readonly label: readonly [{
15222
- readonly attrs: {
15223
- readonly latex: string;
15224
- };
15225
- readonly type: "mathInline";
15226
- } | {
15227
16944
  readonly marks?: readonly [{
15228
16945
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15229
16946
  } | {
@@ -15251,12 +16968,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
15251
16968
  })[]];
15252
16969
  readonly text: string;
15253
16970
  readonly type: "text";
15254
- }, ...({
16971
+ } | {
15255
16972
  readonly attrs: {
15256
16973
  readonly latex: string;
15257
16974
  };
15258
- readonly type: "mathInline";
15259
- } | {
15260
16975
  readonly marks?: readonly [{
15261
16976
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15262
16977
  } | {
@@ -15282,18 +16997,8 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
15282
16997
  };
15283
16998
  readonly type: "highlight";
15284
16999
  })[]];
15285
- readonly text: string;
15286
- readonly type: "text";
15287
- })[]];
15288
- readonly maxMatches: number;
15289
- }, ...{
15290
- readonly id: string;
15291
- readonly label: readonly [{
15292
- readonly attrs: {
15293
- readonly latex: string;
15294
- };
15295
17000
  readonly type: "mathInline";
15296
- } | {
17001
+ }, ...({
15297
17002
  readonly marks?: readonly [{
15298
17003
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15299
17004
  } | {
@@ -15321,12 +17026,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
15321
17026
  })[]];
15322
17027
  readonly text: string;
15323
17028
  readonly type: "text";
15324
- }, ...({
17029
+ } | {
15325
17030
  readonly attrs: {
15326
17031
  readonly latex: string;
15327
17032
  };
15328
- readonly type: "mathInline";
15329
- } | {
15330
17033
  readonly marks?: readonly [{
15331
17034
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15332
17035
  } | {
@@ -15352,8 +17055,7 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
15352
17055
  };
15353
17056
  readonly type: "highlight";
15354
17057
  })[]];
15355
- readonly text: string;
15356
- readonly type: "text";
17058
+ readonly type: "mathInline";
15357
17059
  })[]];
15358
17060
  readonly maxMatches: number;
15359
17061
  }[]];
@@ -15551,11 +17253,64 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
15551
17253
  readonly options: readonly {
15552
17254
  readonly id: string;
15553
17255
  readonly label: readonly [{
17256
+ readonly marks?: readonly [{
17257
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
17258
+ } | {
17259
+ readonly attrs: {
17260
+ readonly href: string;
17261
+ };
17262
+ readonly type: "link";
17263
+ } | {
17264
+ readonly attrs: {
17265
+ readonly variant: "success" | "warning" | null;
17266
+ };
17267
+ readonly type: "highlight";
17268
+ }, ...({
17269
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
17270
+ } | {
17271
+ readonly attrs: {
17272
+ readonly href: string;
17273
+ };
17274
+ readonly type: "link";
17275
+ } | {
17276
+ readonly attrs: {
17277
+ readonly variant: "success" | "warning" | null;
17278
+ };
17279
+ readonly type: "highlight";
17280
+ })[]];
17281
+ readonly text: string;
17282
+ readonly type: "text";
17283
+ } | {
15554
17284
  readonly attrs: {
15555
17285
  readonly latex: string;
15556
17286
  };
17287
+ readonly marks?: readonly [{
17288
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
17289
+ } | {
17290
+ readonly attrs: {
17291
+ readonly href: string;
17292
+ };
17293
+ readonly type: "link";
17294
+ } | {
17295
+ readonly attrs: {
17296
+ readonly variant: "success" | "warning" | null;
17297
+ };
17298
+ readonly type: "highlight";
17299
+ }, ...({
17300
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
17301
+ } | {
17302
+ readonly attrs: {
17303
+ readonly href: string;
17304
+ };
17305
+ readonly type: "link";
17306
+ } | {
17307
+ readonly attrs: {
17308
+ readonly variant: "success" | "warning" | null;
17309
+ };
17310
+ readonly type: "highlight";
17311
+ })[]];
15557
17312
  readonly type: "mathInline";
15558
- } | {
17313
+ }, ...({
15559
17314
  readonly marks?: readonly [{
15560
17315
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15561
17316
  } | {
@@ -15583,12 +17338,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
15583
17338
  })[]];
15584
17339
  readonly text: string;
15585
17340
  readonly type: "text";
15586
- }, ...({
17341
+ } | {
15587
17342
  readonly attrs: {
15588
17343
  readonly latex: string;
15589
17344
  };
15590
- readonly type: "mathInline";
15591
- } | {
15592
17345
  readonly marks?: readonly [{
15593
17346
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15594
17347
  } | {
@@ -15614,8 +17367,7 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
15614
17367
  };
15615
17368
  readonly type: "highlight";
15616
17369
  })[]];
15617
- readonly text: string;
15618
- readonly type: "text";
17370
+ readonly type: "mathInline";
15619
17371
  })[]];
15620
17372
  }[];
15621
17373
  readonly shuffle: boolean;
@@ -15625,11 +17377,64 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
15625
17377
  readonly choices: readonly [{
15626
17378
  readonly id: string;
15627
17379
  readonly label: readonly [{
17380
+ readonly marks?: readonly [{
17381
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
17382
+ } | {
17383
+ readonly attrs: {
17384
+ readonly href: string;
17385
+ };
17386
+ readonly type: "link";
17387
+ } | {
17388
+ readonly attrs: {
17389
+ readonly variant: "success" | "warning" | null;
17390
+ };
17391
+ readonly type: "highlight";
17392
+ }, ...({
17393
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
17394
+ } | {
17395
+ readonly attrs: {
17396
+ readonly href: string;
17397
+ };
17398
+ readonly type: "link";
17399
+ } | {
17400
+ readonly attrs: {
17401
+ readonly variant: "success" | "warning" | null;
17402
+ };
17403
+ readonly type: "highlight";
17404
+ })[]];
17405
+ readonly text: string;
17406
+ readonly type: "text";
17407
+ } | {
15628
17408
  readonly attrs: {
15629
17409
  readonly latex: string;
15630
17410
  };
17411
+ readonly marks?: readonly [{
17412
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
17413
+ } | {
17414
+ readonly attrs: {
17415
+ readonly href: string;
17416
+ };
17417
+ readonly type: "link";
17418
+ } | {
17419
+ readonly attrs: {
17420
+ readonly variant: "success" | "warning" | null;
17421
+ };
17422
+ readonly type: "highlight";
17423
+ }, ...({
17424
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
17425
+ } | {
17426
+ readonly attrs: {
17427
+ readonly href: string;
17428
+ };
17429
+ readonly type: "link";
17430
+ } | {
17431
+ readonly attrs: {
17432
+ readonly variant: "success" | "warning" | null;
17433
+ };
17434
+ readonly type: "highlight";
17435
+ })[]];
15631
17436
  readonly type: "mathInline";
15632
- } | {
17437
+ }, ...({
15633
17438
  readonly marks?: readonly [{
15634
17439
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15635
17440
  } | {
@@ -15657,12 +17462,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
15657
17462
  })[]];
15658
17463
  readonly text: string;
15659
17464
  readonly type: "text";
15660
- }, ...({
17465
+ } | {
15661
17466
  readonly attrs: {
15662
17467
  readonly latex: string;
15663
17468
  };
15664
- readonly type: "mathInline";
15665
- } | {
15666
17469
  readonly marks?: readonly [{
15667
17470
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15668
17471
  } | {
@@ -15688,18 +17491,70 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
15688
17491
  };
15689
17492
  readonly type: "highlight";
15690
17493
  })[]];
15691
- readonly text: string;
15692
- readonly type: "text";
17494
+ readonly type: "mathInline";
15693
17495
  })[]];
15694
17496
  readonly maxMatches: number;
15695
17497
  }, ...{
15696
17498
  readonly id: string;
15697
17499
  readonly label: readonly [{
17500
+ readonly marks?: readonly [{
17501
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
17502
+ } | {
17503
+ readonly attrs: {
17504
+ readonly href: string;
17505
+ };
17506
+ readonly type: "link";
17507
+ } | {
17508
+ readonly attrs: {
17509
+ readonly variant: "success" | "warning" | null;
17510
+ };
17511
+ readonly type: "highlight";
17512
+ }, ...({
17513
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
17514
+ } | {
17515
+ readonly attrs: {
17516
+ readonly href: string;
17517
+ };
17518
+ readonly type: "link";
17519
+ } | {
17520
+ readonly attrs: {
17521
+ readonly variant: "success" | "warning" | null;
17522
+ };
17523
+ readonly type: "highlight";
17524
+ })[]];
17525
+ readonly text: string;
17526
+ readonly type: "text";
17527
+ } | {
15698
17528
  readonly attrs: {
15699
17529
  readonly latex: string;
15700
17530
  };
17531
+ readonly marks?: readonly [{
17532
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
17533
+ } | {
17534
+ readonly attrs: {
17535
+ readonly href: string;
17536
+ };
17537
+ readonly type: "link";
17538
+ } | {
17539
+ readonly attrs: {
17540
+ readonly variant: "success" | "warning" | null;
17541
+ };
17542
+ readonly type: "highlight";
17543
+ }, ...({
17544
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
17545
+ } | {
17546
+ readonly attrs: {
17547
+ readonly href: string;
17548
+ };
17549
+ readonly type: "link";
17550
+ } | {
17551
+ readonly attrs: {
17552
+ readonly variant: "success" | "warning" | null;
17553
+ };
17554
+ readonly type: "highlight";
17555
+ })[]];
15701
17556
  readonly type: "mathInline";
15702
- } | {
17557
+ }, ...({
15703
17558
  readonly marks?: readonly [{
15704
17559
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15705
17560
  } | {
@@ -15727,12 +17582,10 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
15727
17582
  })[]];
15728
17583
  readonly text: string;
15729
17584
  readonly type: "text";
15730
- }, ...({
17585
+ } | {
15731
17586
  readonly attrs: {
15732
17587
  readonly latex: string;
15733
17588
  };
15734
- readonly type: "mathInline";
15735
- } | {
15736
17589
  readonly marks?: readonly [{
15737
17590
  readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
15738
17591
  } | {
@@ -15758,8 +17611,7 @@ export declare const decodePublicationRequest: (input: unknown) => Effect.Effect
15758
17611
  };
15759
17612
  readonly type: "highlight";
15760
17613
  })[]];
15761
- readonly text: string;
15762
- readonly type: "text";
17614
+ readonly type: "mathInline";
15763
17615
  })[]];
15764
17616
  readonly maxMatches: number;
15765
17617
  }[]];