@portabletext/editor 1.44.0 → 1.44.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.cts CHANGED
@@ -751,15 +751,6 @@ declare const editorMachine: StateMachine<
751
751
  name: string
752
752
  }
753
753
  }
754
- | {
755
- type: 'annotation.toggle'
756
- annotation: {
757
- name: string
758
- value: {
759
- [prop: string]: unknown
760
- }
761
- }
762
- }
763
754
  | {
764
755
  type: 'block.set'
765
756
  at: [KeyedSegment]
@@ -785,14 +776,6 @@ declare const editorMachine: StateMachine<
785
776
  type: 'decorator.remove'
786
777
  decorator: string
787
778
  }
788
- | {
789
- type: 'decorator.toggle'
790
- decorator: string
791
- offsets?: {
792
- anchor: BlockOffset_2
793
- focus: BlockOffset_2
794
- }
795
- }
796
779
  | {
797
780
  type: 'delete'
798
781
  selection: NonNullable<EditorSelection>
@@ -876,6 +859,23 @@ declare const editorMachine: StateMachine<
876
859
  type: 'select'
877
860
  selection: EditorSelection
878
861
  }
862
+ | {
863
+ type: 'annotation.toggle'
864
+ annotation: {
865
+ name: string
866
+ value: {
867
+ [prop: string]: unknown
868
+ }
869
+ }
870
+ }
871
+ | {
872
+ type: 'decorator.toggle'
873
+ decorator: string
874
+ offsets?: {
875
+ anchor: BlockOffset_2
876
+ focus: BlockOffset_2
877
+ }
878
+ }
879
879
  | {
880
880
  type: 'insert.blocks'
881
881
  blocks: Array<PortableTextBlock>
@@ -1146,15 +1146,6 @@ declare const editorMachine: StateMachine<
1146
1146
  name: string
1147
1147
  }
1148
1148
  }
1149
- | {
1150
- type: 'annotation.toggle'
1151
- annotation: {
1152
- name: string
1153
- value: {
1154
- [prop: string]: unknown
1155
- }
1156
- }
1157
- }
1158
1149
  | {
1159
1150
  type: 'block.set'
1160
1151
  at: [KeyedSegment]
@@ -1180,14 +1171,6 @@ declare const editorMachine: StateMachine<
1180
1171
  type: 'decorator.remove'
1181
1172
  decorator: string
1182
1173
  }
1183
- | {
1184
- type: 'decorator.toggle'
1185
- decorator: string
1186
- offsets?: {
1187
- anchor: BlockOffset_2
1188
- focus: BlockOffset_2
1189
- }
1190
- }
1191
1174
  | {
1192
1175
  type: 'delete'
1193
1176
  selection: NonNullable<EditorSelection>
@@ -1271,6 +1254,23 @@ declare const editorMachine: StateMachine<
1271
1254
  type: 'select'
1272
1255
  selection: EditorSelection
1273
1256
  }
1257
+ | {
1258
+ type: 'annotation.toggle'
1259
+ annotation: {
1260
+ name: string
1261
+ value: {
1262
+ [prop: string]: unknown
1263
+ }
1264
+ }
1265
+ }
1266
+ | {
1267
+ type: 'decorator.toggle'
1268
+ decorator: string
1269
+ offsets?: {
1270
+ anchor: BlockOffset_2
1271
+ focus: BlockOffset_2
1272
+ }
1273
+ }
1274
1274
  | {
1275
1275
  type: 'insert.blocks'
1276
1276
  blocks: Array<PortableTextBlock>
@@ -1430,15 +1430,6 @@ declare const editorMachine: StateMachine<
1430
1430
  name: string
1431
1431
  }
1432
1432
  }
1433
- | {
1434
- type: 'annotation.toggle'
1435
- annotation: {
1436
- name: string
1437
- value: {
1438
- [prop: string]: unknown
1439
- }
1440
- }
1441
- }
1442
1433
  | {
1443
1434
  type: 'block.set'
1444
1435
  at: [KeyedSegment]
@@ -1464,14 +1455,6 @@ declare const editorMachine: StateMachine<
1464
1455
  type: 'decorator.remove'
1465
1456
  decorator: string
1466
1457
  }
1467
- | {
1468
- type: 'decorator.toggle'
1469
- decorator: string
1470
- offsets?: {
1471
- anchor: BlockOffset_2
1472
- focus: BlockOffset_2
1473
- }
1474
- }
1475
1458
  | {
1476
1459
  type: 'delete'
1477
1460
  selection: NonNullable<EditorSelection>
@@ -1555,6 +1538,23 @@ declare const editorMachine: StateMachine<
1555
1538
  type: 'select'
1556
1539
  selection: EditorSelection
1557
1540
  }
1541
+ | {
1542
+ type: 'annotation.toggle'
1543
+ annotation: {
1544
+ name: string
1545
+ value: {
1546
+ [prop: string]: unknown
1547
+ }
1548
+ }
1549
+ }
1550
+ | {
1551
+ type: 'decorator.toggle'
1552
+ decorator: string
1553
+ offsets?: {
1554
+ anchor: BlockOffset_2
1555
+ focus: BlockOffset_2
1556
+ }
1557
+ }
1558
1558
  | {
1559
1559
  type: 'insert.blocks'
1560
1560
  blocks: Array<PortableTextBlock>
@@ -1748,15 +1748,6 @@ declare const editorMachine: StateMachine<
1748
1748
  name: string
1749
1749
  }
1750
1750
  }
1751
- | {
1752
- type: 'annotation.toggle'
1753
- annotation: {
1754
- name: string
1755
- value: {
1756
- [prop: string]: unknown
1757
- }
1758
- }
1759
- }
1760
1751
  | {
1761
1752
  type: 'block.set'
1762
1753
  at: [KeyedSegment]
@@ -1782,14 +1773,6 @@ declare const editorMachine: StateMachine<
1782
1773
  type: 'decorator.remove'
1783
1774
  decorator: string
1784
1775
  }
1785
- | {
1786
- type: 'decorator.toggle'
1787
- decorator: string
1788
- offsets?: {
1789
- anchor: BlockOffset_2
1790
- focus: BlockOffset_2
1791
- }
1792
- }
1793
1776
  | {
1794
1777
  type: 'delete'
1795
1778
  selection: NonNullable<EditorSelection>
@@ -1873,6 +1856,23 @@ declare const editorMachine: StateMachine<
1873
1856
  type: 'select'
1874
1857
  selection: EditorSelection
1875
1858
  }
1859
+ | {
1860
+ type: 'annotation.toggle'
1861
+ annotation: {
1862
+ name: string
1863
+ value: {
1864
+ [prop: string]: unknown
1865
+ }
1866
+ }
1867
+ }
1868
+ | {
1869
+ type: 'decorator.toggle'
1870
+ decorator: string
1871
+ offsets?: {
1872
+ anchor: BlockOffset_2
1873
+ focus: BlockOffset_2
1874
+ }
1875
+ }
1876
1876
  | {
1877
1877
  type: 'insert.blocks'
1878
1878
  blocks: Array<PortableTextBlock>
@@ -2094,15 +2094,6 @@ declare const editorMachine: StateMachine<
2094
2094
  name: string
2095
2095
  }
2096
2096
  }
2097
- | {
2098
- type: 'annotation.toggle'
2099
- annotation: {
2100
- name: string
2101
- value: {
2102
- [prop: string]: unknown
2103
- }
2104
- }
2105
- }
2106
2097
  | {
2107
2098
  type: 'block.set'
2108
2099
  at: [KeyedSegment]
@@ -2128,14 +2119,6 @@ declare const editorMachine: StateMachine<
2128
2119
  type: 'decorator.remove'
2129
2120
  decorator: string
2130
2121
  }
2131
- | {
2132
- type: 'decorator.toggle'
2133
- decorator: string
2134
- offsets?: {
2135
- anchor: BlockOffset_2
2136
- focus: BlockOffset_2
2137
- }
2138
- }
2139
2122
  | {
2140
2123
  type: 'delete'
2141
2124
  selection: NonNullable<EditorSelection>
@@ -2219,6 +2202,23 @@ declare const editorMachine: StateMachine<
2219
2202
  type: 'select'
2220
2203
  selection: EditorSelection
2221
2204
  }
2205
+ | {
2206
+ type: 'annotation.toggle'
2207
+ annotation: {
2208
+ name: string
2209
+ value: {
2210
+ [prop: string]: unknown
2211
+ }
2212
+ }
2213
+ }
2214
+ | {
2215
+ type: 'decorator.toggle'
2216
+ decorator: string
2217
+ offsets?: {
2218
+ anchor: BlockOffset_2
2219
+ focus: BlockOffset_2
2220
+ }
2221
+ }
2222
2222
  | {
2223
2223
  type: 'insert.blocks'
2224
2224
  blocks: Array<PortableTextBlock>
@@ -2410,15 +2410,6 @@ declare const editorMachine: StateMachine<
2410
2410
  name: string
2411
2411
  }
2412
2412
  }
2413
- | {
2414
- type: 'annotation.toggle'
2415
- annotation: {
2416
- name: string
2417
- value: {
2418
- [prop: string]: unknown
2419
- }
2420
- }
2421
- }
2422
2413
  | {
2423
2414
  type: 'block.set'
2424
2415
  at: [KeyedSegment]
@@ -2444,14 +2435,6 @@ declare const editorMachine: StateMachine<
2444
2435
  type: 'decorator.remove'
2445
2436
  decorator: string
2446
2437
  }
2447
- | {
2448
- type: 'decorator.toggle'
2449
- decorator: string
2450
- offsets?: {
2451
- anchor: BlockOffset_2
2452
- focus: BlockOffset_2
2453
- }
2454
- }
2455
2438
  | {
2456
2439
  type: 'delete'
2457
2440
  selection: NonNullable<EditorSelection>
@@ -2535,6 +2518,23 @@ declare const editorMachine: StateMachine<
2535
2518
  type: 'select'
2536
2519
  selection: EditorSelection
2537
2520
  }
2521
+ | {
2522
+ type: 'annotation.toggle'
2523
+ annotation: {
2524
+ name: string
2525
+ value: {
2526
+ [prop: string]: unknown
2527
+ }
2528
+ }
2529
+ }
2530
+ | {
2531
+ type: 'decorator.toggle'
2532
+ decorator: string
2533
+ offsets?: {
2534
+ anchor: BlockOffset_2
2535
+ focus: BlockOffset_2
2536
+ }
2537
+ }
2538
2538
  | {
2539
2539
  type: 'insert.blocks'
2540
2540
  blocks: Array<PortableTextBlock>
@@ -2662,15 +2662,6 @@ declare const editorMachine: StateMachine<
2662
2662
  name: string
2663
2663
  }
2664
2664
  }
2665
- | {
2666
- type: 'annotation.toggle'
2667
- annotation: {
2668
- name: string
2669
- value: {
2670
- [prop: string]: unknown
2671
- }
2672
- }
2673
- }
2674
2665
  | {
2675
2666
  type: 'block.set'
2676
2667
  at: [KeyedSegment]
@@ -2696,14 +2687,6 @@ declare const editorMachine: StateMachine<
2696
2687
  type: 'decorator.remove'
2697
2688
  decorator: string
2698
2689
  }
2699
- | {
2700
- type: 'decorator.toggle'
2701
- decorator: string
2702
- offsets?: {
2703
- anchor: BlockOffset_2
2704
- focus: BlockOffset_2
2705
- }
2706
- }
2707
2690
  | {
2708
2691
  type: 'delete'
2709
2692
  selection: NonNullable<EditorSelection>
@@ -2787,6 +2770,23 @@ declare const editorMachine: StateMachine<
2787
2770
  type: 'select'
2788
2771
  selection: EditorSelection
2789
2772
  }
2773
+ | {
2774
+ type: 'annotation.toggle'
2775
+ annotation: {
2776
+ name: string
2777
+ value: {
2778
+ [prop: string]: unknown
2779
+ }
2780
+ }
2781
+ }
2782
+ | {
2783
+ type: 'decorator.toggle'
2784
+ decorator: string
2785
+ offsets?: {
2786
+ anchor: BlockOffset_2
2787
+ focus: BlockOffset_2
2788
+ }
2789
+ }
2790
2790
  | {
2791
2791
  type: 'insert.blocks'
2792
2792
  blocks: Array<PortableTextBlock>
@@ -2978,15 +2978,6 @@ declare const editorMachine: StateMachine<
2978
2978
  name: string
2979
2979
  }
2980
2980
  }
2981
- | {
2982
- type: 'annotation.toggle'
2983
- annotation: {
2984
- name: string
2985
- value: {
2986
- [prop: string]: unknown
2987
- }
2988
- }
2989
- }
2990
2981
  | {
2991
2982
  type: 'block.set'
2992
2983
  at: [KeyedSegment]
@@ -3012,14 +3003,6 @@ declare const editorMachine: StateMachine<
3012
3003
  type: 'decorator.remove'
3013
3004
  decorator: string
3014
3005
  }
3015
- | {
3016
- type: 'decorator.toggle'
3017
- decorator: string
3018
- offsets?: {
3019
- anchor: BlockOffset_2
3020
- focus: BlockOffset_2
3021
- }
3022
- }
3023
3006
  | {
3024
3007
  type: 'delete'
3025
3008
  selection: NonNullable<EditorSelection>
@@ -3104,7 +3087,24 @@ declare const editorMachine: StateMachine<
3104
3087
  selection: EditorSelection
3105
3088
  }
3106
3089
  | {
3107
- type: 'insert.blocks'
3090
+ type: 'annotation.toggle'
3091
+ annotation: {
3092
+ name: string
3093
+ value: {
3094
+ [prop: string]: unknown
3095
+ }
3096
+ }
3097
+ }
3098
+ | {
3099
+ type: 'decorator.toggle'
3100
+ decorator: string
3101
+ offsets?: {
3102
+ anchor: BlockOffset_2
3103
+ focus: BlockOffset_2
3104
+ }
3105
+ }
3106
+ | {
3107
+ type: 'insert.blocks'
3108
3108
  blocks: Array<PortableTextBlock>
3109
3109
  placement: InsertPlacement_2
3110
3110
  }
@@ -3233,15 +3233,6 @@ declare const editorMachine: StateMachine<
3233
3233
  name: string
3234
3234
  }
3235
3235
  }
3236
- | {
3237
- type: 'annotation.toggle'
3238
- annotation: {
3239
- name: string
3240
- value: {
3241
- [prop: string]: unknown
3242
- }
3243
- }
3244
- }
3245
3236
  | {
3246
3237
  type: 'block.set'
3247
3238
  at: [KeyedSegment]
@@ -3267,14 +3258,6 @@ declare const editorMachine: StateMachine<
3267
3258
  type: 'decorator.remove'
3268
3259
  decorator: string
3269
3260
  }
3270
- | {
3271
- type: 'decorator.toggle'
3272
- decorator: string
3273
- offsets?: {
3274
- anchor: BlockOffset_2
3275
- focus: BlockOffset_2
3276
- }
3277
- }
3278
3261
  | {
3279
3262
  type: 'delete'
3280
3263
  selection: NonNullable<EditorSelection>
@@ -3358,6 +3341,23 @@ declare const editorMachine: StateMachine<
3358
3341
  type: 'select'
3359
3342
  selection: EditorSelection
3360
3343
  }
3344
+ | {
3345
+ type: 'annotation.toggle'
3346
+ annotation: {
3347
+ name: string
3348
+ value: {
3349
+ [prop: string]: unknown
3350
+ }
3351
+ }
3352
+ }
3353
+ | {
3354
+ type: 'decorator.toggle'
3355
+ decorator: string
3356
+ offsets?: {
3357
+ anchor: BlockOffset_2
3358
+ focus: BlockOffset_2
3359
+ }
3360
+ }
3361
3361
  | {
3362
3362
  type: 'insert.blocks'
3363
3363
  blocks: Array<PortableTextBlock>
@@ -3549,15 +3549,6 @@ declare const editorMachine: StateMachine<
3549
3549
  name: string
3550
3550
  }
3551
3551
  }
3552
- | {
3553
- type: 'annotation.toggle'
3554
- annotation: {
3555
- name: string
3556
- value: {
3557
- [prop: string]: unknown
3558
- }
3559
- }
3560
- }
3561
3552
  | {
3562
3553
  type: 'block.set'
3563
3554
  at: [KeyedSegment]
@@ -3583,14 +3574,6 @@ declare const editorMachine: StateMachine<
3583
3574
  type: 'decorator.remove'
3584
3575
  decorator: string
3585
3576
  }
3586
- | {
3587
- type: 'decorator.toggle'
3588
- decorator: string
3589
- offsets?: {
3590
- anchor: BlockOffset_2
3591
- focus: BlockOffset_2
3592
- }
3593
- }
3594
3577
  | {
3595
3578
  type: 'delete'
3596
3579
  selection: NonNullable<EditorSelection>
@@ -3674,6 +3657,23 @@ declare const editorMachine: StateMachine<
3674
3657
  type: 'select'
3675
3658
  selection: EditorSelection
3676
3659
  }
3660
+ | {
3661
+ type: 'annotation.toggle'
3662
+ annotation: {
3663
+ name: string
3664
+ value: {
3665
+ [prop: string]: unknown
3666
+ }
3667
+ }
3668
+ }
3669
+ | {
3670
+ type: 'decorator.toggle'
3671
+ decorator: string
3672
+ offsets?: {
3673
+ anchor: BlockOffset_2
3674
+ focus: BlockOffset_2
3675
+ }
3676
+ }
3677
3677
  | {
3678
3678
  type: 'insert.blocks'
3679
3679
  blocks: Array<PortableTextBlock>
@@ -3803,15 +3803,6 @@ declare const editorMachine: StateMachine<
3803
3803
  name: string
3804
3804
  }
3805
3805
  }
3806
- | {
3807
- type: 'annotation.toggle'
3808
- annotation: {
3809
- name: string
3810
- value: {
3811
- [prop: string]: unknown
3812
- }
3813
- }
3814
- }
3815
3806
  | {
3816
3807
  type: 'block.set'
3817
3808
  at: [KeyedSegment]
@@ -3837,14 +3828,6 @@ declare const editorMachine: StateMachine<
3837
3828
  type: 'decorator.remove'
3838
3829
  decorator: string
3839
3830
  }
3840
- | {
3841
- type: 'decorator.toggle'
3842
- decorator: string
3843
- offsets?: {
3844
- anchor: BlockOffset_2
3845
- focus: BlockOffset_2
3846
- }
3847
- }
3848
3831
  | {
3849
3832
  type: 'delete'
3850
3833
  selection: NonNullable<EditorSelection>
@@ -3928,6 +3911,23 @@ declare const editorMachine: StateMachine<
3928
3911
  type: 'select'
3929
3912
  selection: EditorSelection
3930
3913
  }
3914
+ | {
3915
+ type: 'annotation.toggle'
3916
+ annotation: {
3917
+ name: string
3918
+ value: {
3919
+ [prop: string]: unknown
3920
+ }
3921
+ }
3922
+ }
3923
+ | {
3924
+ type: 'decorator.toggle'
3925
+ decorator: string
3926
+ offsets?: {
3927
+ anchor: BlockOffset_2
3928
+ focus: BlockOffset_2
3929
+ }
3930
+ }
3931
3931
  | {
3932
3932
  type: 'insert.blocks'
3933
3933
  blocks: Array<PortableTextBlock>
@@ -4119,15 +4119,6 @@ declare const editorMachine: StateMachine<
4119
4119
  name: string
4120
4120
  }
4121
4121
  }
4122
- | {
4123
- type: 'annotation.toggle'
4124
- annotation: {
4125
- name: string
4126
- value: {
4127
- [prop: string]: unknown
4128
- }
4129
- }
4130
- }
4131
4122
  | {
4132
4123
  type: 'block.set'
4133
4124
  at: [KeyedSegment]
@@ -4153,14 +4144,6 @@ declare const editorMachine: StateMachine<
4153
4144
  type: 'decorator.remove'
4154
4145
  decorator: string
4155
4146
  }
4156
- | {
4157
- type: 'decorator.toggle'
4158
- decorator: string
4159
- offsets?: {
4160
- anchor: BlockOffset_2
4161
- focus: BlockOffset_2
4162
- }
4163
- }
4164
4147
  | {
4165
4148
  type: 'delete'
4166
4149
  selection: NonNullable<EditorSelection>
@@ -4244,6 +4227,23 @@ declare const editorMachine: StateMachine<
4244
4227
  type: 'select'
4245
4228
  selection: EditorSelection
4246
4229
  }
4230
+ | {
4231
+ type: 'annotation.toggle'
4232
+ annotation: {
4233
+ name: string
4234
+ value: {
4235
+ [prop: string]: unknown
4236
+ }
4237
+ }
4238
+ }
4239
+ | {
4240
+ type: 'decorator.toggle'
4241
+ decorator: string
4242
+ offsets?: {
4243
+ anchor: BlockOffset_2
4244
+ focus: BlockOffset_2
4245
+ }
4246
+ }
4247
4247
  | {
4248
4248
  type: 'insert.blocks'
4249
4249
  blocks: Array<PortableTextBlock>
@@ -4372,15 +4372,6 @@ declare const editorMachine: StateMachine<
4372
4372
  name: string
4373
4373
  }
4374
4374
  }
4375
- | {
4376
- type: 'annotation.toggle'
4377
- annotation: {
4378
- name: string
4379
- value: {
4380
- [prop: string]: unknown
4381
- }
4382
- }
4383
- }
4384
4375
  | {
4385
4376
  type: 'block.set'
4386
4377
  at: [KeyedSegment]
@@ -4406,14 +4397,6 @@ declare const editorMachine: StateMachine<
4406
4397
  type: 'decorator.remove'
4407
4398
  decorator: string
4408
4399
  }
4409
- | {
4410
- type: 'decorator.toggle'
4411
- decorator: string
4412
- offsets?: {
4413
- anchor: BlockOffset_2
4414
- focus: BlockOffset_2
4415
- }
4416
- }
4417
4400
  | {
4418
4401
  type: 'delete'
4419
4402
  selection: NonNullable<EditorSelection>
@@ -4497,6 +4480,23 @@ declare const editorMachine: StateMachine<
4497
4480
  type: 'select'
4498
4481
  selection: EditorSelection
4499
4482
  }
4483
+ | {
4484
+ type: 'annotation.toggle'
4485
+ annotation: {
4486
+ name: string
4487
+ value: {
4488
+ [prop: string]: unknown
4489
+ }
4490
+ }
4491
+ }
4492
+ | {
4493
+ type: 'decorator.toggle'
4494
+ decorator: string
4495
+ offsets?: {
4496
+ anchor: BlockOffset_2
4497
+ focus: BlockOffset_2
4498
+ }
4499
+ }
4500
4500
  | {
4501
4501
  type: 'insert.blocks'
4502
4502
  blocks: Array<PortableTextBlock>
@@ -4688,15 +4688,6 @@ declare const editorMachine: StateMachine<
4688
4688
  name: string
4689
4689
  }
4690
4690
  }
4691
- | {
4692
- type: 'annotation.toggle'
4693
- annotation: {
4694
- name: string
4695
- value: {
4696
- [prop: string]: unknown
4697
- }
4698
- }
4699
- }
4700
4691
  | {
4701
4692
  type: 'block.set'
4702
4693
  at: [KeyedSegment]
@@ -4722,14 +4713,6 @@ declare const editorMachine: StateMachine<
4722
4713
  type: 'decorator.remove'
4723
4714
  decorator: string
4724
4715
  }
4725
- | {
4726
- type: 'decorator.toggle'
4727
- decorator: string
4728
- offsets?: {
4729
- anchor: BlockOffset_2
4730
- focus: BlockOffset_2
4731
- }
4732
- }
4733
4716
  | {
4734
4717
  type: 'delete'
4735
4718
  selection: NonNullable<EditorSelection>
@@ -4813,6 +4796,23 @@ declare const editorMachine: StateMachine<
4813
4796
  type: 'select'
4814
4797
  selection: EditorSelection
4815
4798
  }
4799
+ | {
4800
+ type: 'annotation.toggle'
4801
+ annotation: {
4802
+ name: string
4803
+ value: {
4804
+ [prop: string]: unknown
4805
+ }
4806
+ }
4807
+ }
4808
+ | {
4809
+ type: 'decorator.toggle'
4810
+ decorator: string
4811
+ offsets?: {
4812
+ anchor: BlockOffset_2
4813
+ focus: BlockOffset_2
4814
+ }
4815
+ }
4816
4816
  | {
4817
4817
  type: 'insert.blocks'
4818
4818
  blocks: Array<PortableTextBlock>
@@ -4942,15 +4942,6 @@ declare const editorMachine: StateMachine<
4942
4942
  name: string
4943
4943
  }
4944
4944
  }
4945
- | {
4946
- type: 'annotation.toggle'
4947
- annotation: {
4948
- name: string
4949
- value: {
4950
- [prop: string]: unknown
4951
- }
4952
- }
4953
- }
4954
4945
  | {
4955
4946
  type: 'block.set'
4956
4947
  at: [KeyedSegment]
@@ -4976,14 +4967,6 @@ declare const editorMachine: StateMachine<
4976
4967
  type: 'decorator.remove'
4977
4968
  decorator: string
4978
4969
  }
4979
- | {
4980
- type: 'decorator.toggle'
4981
- decorator: string
4982
- offsets?: {
4983
- anchor: BlockOffset_2
4984
- focus: BlockOffset_2
4985
- }
4986
- }
4987
4970
  | {
4988
4971
  type: 'delete'
4989
4972
  selection: NonNullable<EditorSelection>
@@ -5067,6 +5050,23 @@ declare const editorMachine: StateMachine<
5067
5050
  type: 'select'
5068
5051
  selection: EditorSelection
5069
5052
  }
5053
+ | {
5054
+ type: 'annotation.toggle'
5055
+ annotation: {
5056
+ name: string
5057
+ value: {
5058
+ [prop: string]: unknown
5059
+ }
5060
+ }
5061
+ }
5062
+ | {
5063
+ type: 'decorator.toggle'
5064
+ decorator: string
5065
+ offsets?: {
5066
+ anchor: BlockOffset_2
5067
+ focus: BlockOffset_2
5068
+ }
5069
+ }
5070
5070
  | {
5071
5071
  type: 'insert.blocks'
5072
5072
  blocks: Array<PortableTextBlock>
@@ -5280,15 +5280,6 @@ declare const editorMachine: StateMachine<
5280
5280
  name: string
5281
5281
  }
5282
5282
  }
5283
- | {
5284
- type: 'annotation.toggle'
5285
- annotation: {
5286
- name: string
5287
- value: {
5288
- [prop: string]: unknown
5289
- }
5290
- }
5291
- }
5292
5283
  | {
5293
5284
  type: 'block.set'
5294
5285
  at: [KeyedSegment]
@@ -5314,14 +5305,6 @@ declare const editorMachine: StateMachine<
5314
5305
  type: 'decorator.remove'
5315
5306
  decorator: string
5316
5307
  }
5317
- | {
5318
- type: 'decorator.toggle'
5319
- decorator: string
5320
- offsets?: {
5321
- anchor: BlockOffset_2
5322
- focus: BlockOffset_2
5323
- }
5324
- }
5325
5308
  | {
5326
5309
  type: 'delete'
5327
5310
  selection: NonNullable<EditorSelection>
@@ -5405,6 +5388,23 @@ declare const editorMachine: StateMachine<
5405
5388
  type: 'select'
5406
5389
  selection: EditorSelection
5407
5390
  }
5391
+ | {
5392
+ type: 'annotation.toggle'
5393
+ annotation: {
5394
+ name: string
5395
+ value: {
5396
+ [prop: string]: unknown
5397
+ }
5398
+ }
5399
+ }
5400
+ | {
5401
+ type: 'decorator.toggle'
5402
+ decorator: string
5403
+ offsets?: {
5404
+ anchor: BlockOffset_2
5405
+ focus: BlockOffset_2
5406
+ }
5407
+ }
5408
5408
  | {
5409
5409
  type: 'insert.blocks'
5410
5410
  blocks: Array<PortableTextBlock>
@@ -5596,15 +5596,6 @@ declare const editorMachine: StateMachine<
5596
5596
  name: string
5597
5597
  }
5598
5598
  }
5599
- | {
5600
- type: 'annotation.toggle'
5601
- annotation: {
5602
- name: string
5603
- value: {
5604
- [prop: string]: unknown
5605
- }
5606
- }
5607
- }
5608
5599
  | {
5609
5600
  type: 'block.set'
5610
5601
  at: [KeyedSegment]
@@ -5630,14 +5621,6 @@ declare const editorMachine: StateMachine<
5630
5621
  type: 'decorator.remove'
5631
5622
  decorator: string
5632
5623
  }
5633
- | {
5634
- type: 'decorator.toggle'
5635
- decorator: string
5636
- offsets?: {
5637
- anchor: BlockOffset_2
5638
- focus: BlockOffset_2
5639
- }
5640
- }
5641
5624
  | {
5642
5625
  type: 'delete'
5643
5626
  selection: NonNullable<EditorSelection>
@@ -5721,6 +5704,23 @@ declare const editorMachine: StateMachine<
5721
5704
  type: 'select'
5722
5705
  selection: EditorSelection
5723
5706
  }
5707
+ | {
5708
+ type: 'annotation.toggle'
5709
+ annotation: {
5710
+ name: string
5711
+ value: {
5712
+ [prop: string]: unknown
5713
+ }
5714
+ }
5715
+ }
5716
+ | {
5717
+ type: 'decorator.toggle'
5718
+ decorator: string
5719
+ offsets?: {
5720
+ anchor: BlockOffset_2
5721
+ focus: BlockOffset_2
5722
+ }
5723
+ }
5724
5724
  | {
5725
5725
  type: 'insert.blocks'
5726
5726
  blocks: Array<PortableTextBlock>
@@ -5850,15 +5850,6 @@ declare const editorMachine: StateMachine<
5850
5850
  name: string
5851
5851
  }
5852
5852
  }
5853
- | {
5854
- type: 'annotation.toggle'
5855
- annotation: {
5856
- name: string
5857
- value: {
5858
- [prop: string]: unknown
5859
- }
5860
- }
5861
- }
5862
5853
  | {
5863
5854
  type: 'block.set'
5864
5855
  at: [KeyedSegment]
@@ -5884,14 +5875,6 @@ declare const editorMachine: StateMachine<
5884
5875
  type: 'decorator.remove'
5885
5876
  decorator: string
5886
5877
  }
5887
- | {
5888
- type: 'decorator.toggle'
5889
- decorator: string
5890
- offsets?: {
5891
- anchor: BlockOffset_2
5892
- focus: BlockOffset_2
5893
- }
5894
- }
5895
5878
  | {
5896
5879
  type: 'delete'
5897
5880
  selection: NonNullable<EditorSelection>
@@ -5975,6 +5958,23 @@ declare const editorMachine: StateMachine<
5975
5958
  type: 'select'
5976
5959
  selection: EditorSelection
5977
5960
  }
5961
+ | {
5962
+ type: 'annotation.toggle'
5963
+ annotation: {
5964
+ name: string
5965
+ value: {
5966
+ [prop: string]: unknown
5967
+ }
5968
+ }
5969
+ }
5970
+ | {
5971
+ type: 'decorator.toggle'
5972
+ decorator: string
5973
+ offsets?: {
5974
+ anchor: BlockOffset_2
5975
+ focus: BlockOffset_2
5976
+ }
5977
+ }
5978
5978
  | {
5979
5979
  type: 'insert.blocks'
5980
5980
  blocks: Array<PortableTextBlock>
@@ -6166,15 +6166,6 @@ declare const editorMachine: StateMachine<
6166
6166
  name: string
6167
6167
  }
6168
6168
  }
6169
- | {
6170
- type: 'annotation.toggle'
6171
- annotation: {
6172
- name: string
6173
- value: {
6174
- [prop: string]: unknown
6175
- }
6176
- }
6177
- }
6178
6169
  | {
6179
6170
  type: 'block.set'
6180
6171
  at: [KeyedSegment]
@@ -6200,14 +6191,6 @@ declare const editorMachine: StateMachine<
6200
6191
  type: 'decorator.remove'
6201
6192
  decorator: string
6202
6193
  }
6203
- | {
6204
- type: 'decorator.toggle'
6205
- decorator: string
6206
- offsets?: {
6207
- anchor: BlockOffset_2
6208
- focus: BlockOffset_2
6209
- }
6210
- }
6211
6194
  | {
6212
6195
  type: 'delete'
6213
6196
  selection: NonNullable<EditorSelection>
@@ -6291,6 +6274,23 @@ declare const editorMachine: StateMachine<
6291
6274
  type: 'select'
6292
6275
  selection: EditorSelection
6293
6276
  }
6277
+ | {
6278
+ type: 'annotation.toggle'
6279
+ annotation: {
6280
+ name: string
6281
+ value: {
6282
+ [prop: string]: unknown
6283
+ }
6284
+ }
6285
+ }
6286
+ | {
6287
+ type: 'decorator.toggle'
6288
+ decorator: string
6289
+ offsets?: {
6290
+ anchor: BlockOffset_2
6291
+ focus: BlockOffset_2
6292
+ }
6293
+ }
6294
6294
  | {
6295
6295
  type: 'insert.blocks'
6296
6296
  blocks: Array<PortableTextBlock>
@@ -6418,15 +6418,6 @@ declare const editorMachine: StateMachine<
6418
6418
  name: string
6419
6419
  }
6420
6420
  }
6421
- | {
6422
- type: 'annotation.toggle'
6423
- annotation: {
6424
- name: string
6425
- value: {
6426
- [prop: string]: unknown
6427
- }
6428
- }
6429
- }
6430
6421
  | {
6431
6422
  type: 'block.set'
6432
6423
  at: [KeyedSegment]
@@ -6452,14 +6443,6 @@ declare const editorMachine: StateMachine<
6452
6443
  type: 'decorator.remove'
6453
6444
  decorator: string
6454
6445
  }
6455
- | {
6456
- type: 'decorator.toggle'
6457
- decorator: string
6458
- offsets?: {
6459
- anchor: BlockOffset_2
6460
- focus: BlockOffset_2
6461
- }
6462
- }
6463
6446
  | {
6464
6447
  type: 'delete'
6465
6448
  selection: NonNullable<EditorSelection>
@@ -6543,6 +6526,23 @@ declare const editorMachine: StateMachine<
6543
6526
  type: 'select'
6544
6527
  selection: EditorSelection
6545
6528
  }
6529
+ | {
6530
+ type: 'annotation.toggle'
6531
+ annotation: {
6532
+ name: string
6533
+ value: {
6534
+ [prop: string]: unknown
6535
+ }
6536
+ }
6537
+ }
6538
+ | {
6539
+ type: 'decorator.toggle'
6540
+ decorator: string
6541
+ offsets?: {
6542
+ anchor: BlockOffset_2
6543
+ focus: BlockOffset_2
6544
+ }
6545
+ }
6546
6546
  | {
6547
6547
  type: 'insert.blocks'
6548
6548
  blocks: Array<PortableTextBlock>
@@ -6734,15 +6734,6 @@ declare const editorMachine: StateMachine<
6734
6734
  name: string
6735
6735
  }
6736
6736
  }
6737
- | {
6738
- type: 'annotation.toggle'
6739
- annotation: {
6740
- name: string
6741
- value: {
6742
- [prop: string]: unknown
6743
- }
6744
- }
6745
- }
6746
6737
  | {
6747
6738
  type: 'block.set'
6748
6739
  at: [KeyedSegment]
@@ -6768,14 +6759,6 @@ declare const editorMachine: StateMachine<
6768
6759
  type: 'decorator.remove'
6769
6760
  decorator: string
6770
6761
  }
6771
- | {
6772
- type: 'decorator.toggle'
6773
- decorator: string
6774
- offsets?: {
6775
- anchor: BlockOffset_2
6776
- focus: BlockOffset_2
6777
- }
6778
- }
6779
6762
  | {
6780
6763
  type: 'delete'
6781
6764
  selection: NonNullable<EditorSelection>
@@ -6859,6 +6842,23 @@ declare const editorMachine: StateMachine<
6859
6842
  type: 'select'
6860
6843
  selection: EditorSelection
6861
6844
  }
6845
+ | {
6846
+ type: 'annotation.toggle'
6847
+ annotation: {
6848
+ name: string
6849
+ value: {
6850
+ [prop: string]: unknown
6851
+ }
6852
+ }
6853
+ }
6854
+ | {
6855
+ type: 'decorator.toggle'
6856
+ decorator: string
6857
+ offsets?: {
6858
+ anchor: BlockOffset_2
6859
+ focus: BlockOffset_2
6860
+ }
6861
+ }
6862
6862
  | {
6863
6863
  type: 'insert.blocks'
6864
6864
  blocks: Array<PortableTextBlock>
@@ -6987,15 +6987,6 @@ declare const editorMachine: StateMachine<
6987
6987
  name: string
6988
6988
  }
6989
6989
  }
6990
- | {
6991
- type: 'annotation.toggle'
6992
- annotation: {
6993
- name: string
6994
- value: {
6995
- [prop: string]: unknown
6996
- }
6997
- }
6998
- }
6999
6990
  | {
7000
6991
  type: 'block.set'
7001
6992
  at: [KeyedSegment]
@@ -7021,14 +7012,6 @@ declare const editorMachine: StateMachine<
7021
7012
  type: 'decorator.remove'
7022
7013
  decorator: string
7023
7014
  }
7024
- | {
7025
- type: 'decorator.toggle'
7026
- decorator: string
7027
- offsets?: {
7028
- anchor: BlockOffset_2
7029
- focus: BlockOffset_2
7030
- }
7031
- }
7032
7015
  | {
7033
7016
  type: 'delete'
7034
7017
  selection: NonNullable<EditorSelection>
@@ -7112,6 +7095,23 @@ declare const editorMachine: StateMachine<
7112
7095
  type: 'select'
7113
7096
  selection: EditorSelection
7114
7097
  }
7098
+ | {
7099
+ type: 'annotation.toggle'
7100
+ annotation: {
7101
+ name: string
7102
+ value: {
7103
+ [prop: string]: unknown
7104
+ }
7105
+ }
7106
+ }
7107
+ | {
7108
+ type: 'decorator.toggle'
7109
+ decorator: string
7110
+ offsets?: {
7111
+ anchor: BlockOffset_2
7112
+ focus: BlockOffset_2
7113
+ }
7114
+ }
7115
7115
  | {
7116
7116
  type: 'insert.blocks'
7117
7117
  blocks: Array<PortableTextBlock>
@@ -7303,15 +7303,6 @@ declare const editorMachine: StateMachine<
7303
7303
  name: string
7304
7304
  }
7305
7305
  }
7306
- | {
7307
- type: 'annotation.toggle'
7308
- annotation: {
7309
- name: string
7310
- value: {
7311
- [prop: string]: unknown
7312
- }
7313
- }
7314
- }
7315
7306
  | {
7316
7307
  type: 'block.set'
7317
7308
  at: [KeyedSegment]
@@ -7337,14 +7328,6 @@ declare const editorMachine: StateMachine<
7337
7328
  type: 'decorator.remove'
7338
7329
  decorator: string
7339
7330
  }
7340
- | {
7341
- type: 'decorator.toggle'
7342
- decorator: string
7343
- offsets?: {
7344
- anchor: BlockOffset_2
7345
- focus: BlockOffset_2
7346
- }
7347
- }
7348
7331
  | {
7349
7332
  type: 'delete'
7350
7333
  selection: NonNullable<EditorSelection>
@@ -7429,7 +7412,24 @@ declare const editorMachine: StateMachine<
7429
7412
  selection: EditorSelection
7430
7413
  }
7431
7414
  | {
7432
- type: 'insert.blocks'
7415
+ type: 'annotation.toggle'
7416
+ annotation: {
7417
+ name: string
7418
+ value: {
7419
+ [prop: string]: unknown
7420
+ }
7421
+ }
7422
+ }
7423
+ | {
7424
+ type: 'decorator.toggle'
7425
+ decorator: string
7426
+ offsets?: {
7427
+ anchor: BlockOffset_2
7428
+ focus: BlockOffset_2
7429
+ }
7430
+ }
7431
+ | {
7432
+ type: 'insert.blocks'
7433
7433
  blocks: Array<PortableTextBlock>
7434
7434
  placement: InsertPlacement_2
7435
7435
  }
@@ -7559,15 +7559,6 @@ declare const editorMachine: StateMachine<
7559
7559
  name: string
7560
7560
  }
7561
7561
  }
7562
- | {
7563
- type: 'annotation.toggle'
7564
- annotation: {
7565
- name: string
7566
- value: {
7567
- [prop: string]: unknown
7568
- }
7569
- }
7570
- }
7571
7562
  | {
7572
7563
  type: 'block.set'
7573
7564
  at: [KeyedSegment]
@@ -7593,14 +7584,6 @@ declare const editorMachine: StateMachine<
7593
7584
  type: 'decorator.remove'
7594
7585
  decorator: string
7595
7586
  }
7596
- | {
7597
- type: 'decorator.toggle'
7598
- decorator: string
7599
- offsets?: {
7600
- anchor: BlockOffset_2
7601
- focus: BlockOffset_2
7602
- }
7603
- }
7604
7587
  | {
7605
7588
  type: 'delete'
7606
7589
  selection: NonNullable<EditorSelection>
@@ -7684,6 +7667,23 @@ declare const editorMachine: StateMachine<
7684
7667
  type: 'select'
7685
7668
  selection: EditorSelection
7686
7669
  }
7670
+ | {
7671
+ type: 'annotation.toggle'
7672
+ annotation: {
7673
+ name: string
7674
+ value: {
7675
+ [prop: string]: unknown
7676
+ }
7677
+ }
7678
+ }
7679
+ | {
7680
+ type: 'decorator.toggle'
7681
+ decorator: string
7682
+ offsets?: {
7683
+ anchor: BlockOffset_2
7684
+ focus: BlockOffset_2
7685
+ }
7686
+ }
7687
7687
  | {
7688
7688
  type: 'insert.blocks'
7689
7689
  blocks: Array<PortableTextBlock>
@@ -7875,15 +7875,6 @@ declare const editorMachine: StateMachine<
7875
7875
  name: string
7876
7876
  }
7877
7877
  }
7878
- | {
7879
- type: 'annotation.toggle'
7880
- annotation: {
7881
- name: string
7882
- value: {
7883
- [prop: string]: unknown
7884
- }
7885
- }
7886
- }
7887
7878
  | {
7888
7879
  type: 'block.set'
7889
7880
  at: [KeyedSegment]
@@ -7909,14 +7900,6 @@ declare const editorMachine: StateMachine<
7909
7900
  type: 'decorator.remove'
7910
7901
  decorator: string
7911
7902
  }
7912
- | {
7913
- type: 'decorator.toggle'
7914
- decorator: string
7915
- offsets?: {
7916
- anchor: BlockOffset_2
7917
- focus: BlockOffset_2
7918
- }
7919
- }
7920
7903
  | {
7921
7904
  type: 'delete'
7922
7905
  selection: NonNullable<EditorSelection>
@@ -8000,6 +7983,23 @@ declare const editorMachine: StateMachine<
8000
7983
  type: 'select'
8001
7984
  selection: EditorSelection
8002
7985
  }
7986
+ | {
7987
+ type: 'annotation.toggle'
7988
+ annotation: {
7989
+ name: string
7990
+ value: {
7991
+ [prop: string]: unknown
7992
+ }
7993
+ }
7994
+ }
7995
+ | {
7996
+ type: 'decorator.toggle'
7997
+ decorator: string
7998
+ offsets?: {
7999
+ anchor: BlockOffset_2
8000
+ focus: BlockOffset_2
8001
+ }
8002
+ }
8003
8003
  | {
8004
8004
  type: 'insert.blocks'
8005
8005
  blocks: Array<PortableTextBlock>
@@ -8131,15 +8131,6 @@ declare const editorMachine: StateMachine<
8131
8131
  name: string
8132
8132
  }
8133
8133
  }
8134
- | {
8135
- type: 'annotation.toggle'
8136
- annotation: {
8137
- name: string
8138
- value: {
8139
- [prop: string]: unknown
8140
- }
8141
- }
8142
- }
8143
8134
  | {
8144
8135
  type: 'block.set'
8145
8136
  at: [KeyedSegment]
@@ -8165,14 +8156,6 @@ declare const editorMachine: StateMachine<
8165
8156
  type: 'decorator.remove'
8166
8157
  decorator: string
8167
8158
  }
8168
- | {
8169
- type: 'decorator.toggle'
8170
- decorator: string
8171
- offsets?: {
8172
- anchor: BlockOffset_2
8173
- focus: BlockOffset_2
8174
- }
8175
- }
8176
8159
  | {
8177
8160
  type: 'delete'
8178
8161
  selection: NonNullable<EditorSelection>
@@ -8256,6 +8239,23 @@ declare const editorMachine: StateMachine<
8256
8239
  type: 'select'
8257
8240
  selection: EditorSelection
8258
8241
  }
8242
+ | {
8243
+ type: 'annotation.toggle'
8244
+ annotation: {
8245
+ name: string
8246
+ value: {
8247
+ [prop: string]: unknown
8248
+ }
8249
+ }
8250
+ }
8251
+ | {
8252
+ type: 'decorator.toggle'
8253
+ decorator: string
8254
+ offsets?: {
8255
+ anchor: BlockOffset_2
8256
+ focus: BlockOffset_2
8257
+ }
8258
+ }
8259
8259
  | {
8260
8260
  type: 'insert.blocks'
8261
8261
  blocks: Array<PortableTextBlock>
@@ -8474,15 +8474,6 @@ declare const editorMachine: StateMachine<
8474
8474
  name: string
8475
8475
  }
8476
8476
  }
8477
- | {
8478
- type: 'annotation.toggle'
8479
- annotation: {
8480
- name: string
8481
- value: {
8482
- [prop: string]: unknown
8483
- }
8484
- }
8485
- }
8486
8477
  | {
8487
8478
  type: 'block.set'
8488
8479
  at: [KeyedSegment]
@@ -8508,14 +8499,6 @@ declare const editorMachine: StateMachine<
8508
8499
  type: 'decorator.remove'
8509
8500
  decorator: string
8510
8501
  }
8511
- | {
8512
- type: 'decorator.toggle'
8513
- decorator: string
8514
- offsets?: {
8515
- anchor: BlockOffset_2
8516
- focus: BlockOffset_2
8517
- }
8518
- }
8519
8502
  | {
8520
8503
  type: 'delete'
8521
8504
  selection: NonNullable<EditorSelection>
@@ -8599,6 +8582,23 @@ declare const editorMachine: StateMachine<
8599
8582
  type: 'select'
8600
8583
  selection: EditorSelection
8601
8584
  }
8585
+ | {
8586
+ type: 'annotation.toggle'
8587
+ annotation: {
8588
+ name: string
8589
+ value: {
8590
+ [prop: string]: unknown
8591
+ }
8592
+ }
8593
+ }
8594
+ | {
8595
+ type: 'decorator.toggle'
8596
+ decorator: string
8597
+ offsets?: {
8598
+ anchor: BlockOffset_2
8599
+ focus: BlockOffset_2
8600
+ }
8601
+ }
8602
8602
  | {
8603
8603
  type: 'insert.blocks'
8604
8604
  blocks: Array<PortableTextBlock>
@@ -8814,15 +8814,6 @@ declare const editorMachine: StateMachine<
8814
8814
  name: string
8815
8815
  }
8816
8816
  }
8817
- | {
8818
- type: 'annotation.toggle'
8819
- annotation: {
8820
- name: string
8821
- value: {
8822
- [prop: string]: unknown
8823
- }
8824
- }
8825
- }
8826
8817
  | {
8827
8818
  type: 'block.set'
8828
8819
  at: [KeyedSegment]
@@ -8848,14 +8839,6 @@ declare const editorMachine: StateMachine<
8848
8839
  type: 'decorator.remove'
8849
8840
  decorator: string
8850
8841
  }
8851
- | {
8852
- type: 'decorator.toggle'
8853
- decorator: string
8854
- offsets?: {
8855
- anchor: BlockOffset_2
8856
- focus: BlockOffset_2
8857
- }
8858
- }
8859
8842
  | {
8860
8843
  type: 'delete'
8861
8844
  selection: NonNullable<EditorSelection>
@@ -8939,6 +8922,23 @@ declare const editorMachine: StateMachine<
8939
8922
  type: 'select'
8940
8923
  selection: EditorSelection
8941
8924
  }
8925
+ | {
8926
+ type: 'annotation.toggle'
8927
+ annotation: {
8928
+ name: string
8929
+ value: {
8930
+ [prop: string]: unknown
8931
+ }
8932
+ }
8933
+ }
8934
+ | {
8935
+ type: 'decorator.toggle'
8936
+ decorator: string
8937
+ offsets?: {
8938
+ anchor: BlockOffset_2
8939
+ focus: BlockOffset_2
8940
+ }
8941
+ }
8942
8942
  | {
8943
8943
  type: 'insert.blocks'
8944
8944
  blocks: Array<PortableTextBlock>
@@ -9323,15 +9323,6 @@ declare const editorMachine: StateMachine<
9323
9323
  name: string
9324
9324
  }
9325
9325
  }
9326
- | {
9327
- type: 'annotation.toggle'
9328
- annotation: {
9329
- name: string
9330
- value: {
9331
- [prop: string]: unknown
9332
- }
9333
- }
9334
- }
9335
9326
  | {
9336
9327
  type: 'block.set'
9337
9328
  at: [KeyedSegment]
@@ -9357,14 +9348,6 @@ declare const editorMachine: StateMachine<
9357
9348
  type: 'decorator.remove'
9358
9349
  decorator: string
9359
9350
  }
9360
- | {
9361
- type: 'decorator.toggle'
9362
- decorator: string
9363
- offsets?: {
9364
- anchor: BlockOffset_2
9365
- focus: BlockOffset_2
9366
- }
9367
- }
9368
9351
  | {
9369
9352
  type: 'delete'
9370
9353
  selection: NonNullable<EditorSelection>
@@ -9448,6 +9431,23 @@ declare const editorMachine: StateMachine<
9448
9431
  type: 'select'
9449
9432
  selection: EditorSelection
9450
9433
  }
9434
+ | {
9435
+ type: 'annotation.toggle'
9436
+ annotation: {
9437
+ name: string
9438
+ value: {
9439
+ [prop: string]: unknown
9440
+ }
9441
+ }
9442
+ }
9443
+ | {
9444
+ type: 'decorator.toggle'
9445
+ decorator: string
9446
+ offsets?: {
9447
+ anchor: BlockOffset_2
9448
+ focus: BlockOffset_2
9449
+ }
9450
+ }
9451
9451
  | {
9452
9452
  type: 'insert.blocks'
9453
9453
  blocks: Array<PortableTextBlock>
@@ -9639,15 +9639,6 @@ declare const editorMachine: StateMachine<
9639
9639
  name: string
9640
9640
  }
9641
9641
  }
9642
- | {
9643
- type: 'annotation.toggle'
9644
- annotation: {
9645
- name: string
9646
- value: {
9647
- [prop: string]: unknown
9648
- }
9649
- }
9650
- }
9651
9642
  | {
9652
9643
  type: 'block.set'
9653
9644
  at: [KeyedSegment]
@@ -9673,14 +9664,6 @@ declare const editorMachine: StateMachine<
9673
9664
  type: 'decorator.remove'
9674
9665
  decorator: string
9675
9666
  }
9676
- | {
9677
- type: 'decorator.toggle'
9678
- decorator: string
9679
- offsets?: {
9680
- anchor: BlockOffset_2
9681
- focus: BlockOffset_2
9682
- }
9683
- }
9684
9667
  | {
9685
9668
  type: 'delete'
9686
9669
  selection: NonNullable<EditorSelection>
@@ -9764,6 +9747,23 @@ declare const editorMachine: StateMachine<
9764
9747
  type: 'select'
9765
9748
  selection: EditorSelection
9766
9749
  }
9750
+ | {
9751
+ type: 'annotation.toggle'
9752
+ annotation: {
9753
+ name: string
9754
+ value: {
9755
+ [prop: string]: unknown
9756
+ }
9757
+ }
9758
+ }
9759
+ | {
9760
+ type: 'decorator.toggle'
9761
+ decorator: string
9762
+ offsets?: {
9763
+ anchor: BlockOffset_2
9764
+ focus: BlockOffset_2
9765
+ }
9766
+ }
9767
9767
  | {
9768
9768
  type: 'insert.blocks'
9769
9769
  blocks: Array<PortableTextBlock>
@@ -9898,15 +9898,6 @@ declare const editorMachine: StateMachine<
9898
9898
  name: string
9899
9899
  }
9900
9900
  }
9901
- | {
9902
- type: 'annotation.toggle'
9903
- annotation: {
9904
- name: string
9905
- value: {
9906
- [prop: string]: unknown
9907
- }
9908
- }
9909
- }
9910
9901
  | {
9911
9902
  type: 'block.set'
9912
9903
  at: [KeyedSegment]
@@ -9932,14 +9923,6 @@ declare const editorMachine: StateMachine<
9932
9923
  type: 'decorator.remove'
9933
9924
  decorator: string
9934
9925
  }
9935
- | {
9936
- type: 'decorator.toggle'
9937
- decorator: string
9938
- offsets?: {
9939
- anchor: BlockOffset_2
9940
- focus: BlockOffset_2
9941
- }
9942
- }
9943
9926
  | {
9944
9927
  type: 'delete'
9945
9928
  selection: NonNullable<EditorSelection>
@@ -10023,6 +10006,23 @@ declare const editorMachine: StateMachine<
10023
10006
  type: 'select'
10024
10007
  selection: EditorSelection
10025
10008
  }
10009
+ | {
10010
+ type: 'annotation.toggle'
10011
+ annotation: {
10012
+ name: string
10013
+ value: {
10014
+ [prop: string]: unknown
10015
+ }
10016
+ }
10017
+ }
10018
+ | {
10019
+ type: 'decorator.toggle'
10020
+ decorator: string
10021
+ offsets?: {
10022
+ anchor: BlockOffset_2
10023
+ focus: BlockOffset_2
10024
+ }
10025
+ }
10026
10026
  | {
10027
10027
  type: 'insert.blocks'
10028
10028
  blocks: Array<PortableTextBlock>
@@ -10214,15 +10214,6 @@ declare const editorMachine: StateMachine<
10214
10214
  name: string
10215
10215
  }
10216
10216
  }
10217
- | {
10218
- type: 'annotation.toggle'
10219
- annotation: {
10220
- name: string
10221
- value: {
10222
- [prop: string]: unknown
10223
- }
10224
- }
10225
- }
10226
10217
  | {
10227
10218
  type: 'block.set'
10228
10219
  at: [KeyedSegment]
@@ -10248,14 +10239,6 @@ declare const editorMachine: StateMachine<
10248
10239
  type: 'decorator.remove'
10249
10240
  decorator: string
10250
10241
  }
10251
- | {
10252
- type: 'decorator.toggle'
10253
- decorator: string
10254
- offsets?: {
10255
- anchor: BlockOffset_2
10256
- focus: BlockOffset_2
10257
- }
10258
- }
10259
10242
  | {
10260
10243
  type: 'delete'
10261
10244
  selection: NonNullable<EditorSelection>
@@ -10339,6 +10322,23 @@ declare const editorMachine: StateMachine<
10339
10322
  type: 'select'
10340
10323
  selection: EditorSelection
10341
10324
  }
10325
+ | {
10326
+ type: 'annotation.toggle'
10327
+ annotation: {
10328
+ name: string
10329
+ value: {
10330
+ [prop: string]: unknown
10331
+ }
10332
+ }
10333
+ }
10334
+ | {
10335
+ type: 'decorator.toggle'
10336
+ decorator: string
10337
+ offsets?: {
10338
+ anchor: BlockOffset_2
10339
+ focus: BlockOffset_2
10340
+ }
10341
+ }
10342
10342
  | {
10343
10343
  type: 'insert.blocks'
10344
10344
  blocks: Array<PortableTextBlock>
@@ -10466,15 +10466,6 @@ declare const editorMachine: StateMachine<
10466
10466
  name: string
10467
10467
  }
10468
10468
  }
10469
- | {
10470
- type: 'annotation.toggle'
10471
- annotation: {
10472
- name: string
10473
- value: {
10474
- [prop: string]: unknown
10475
- }
10476
- }
10477
- }
10478
10469
  | {
10479
10470
  type: 'block.set'
10480
10471
  at: [KeyedSegment]
@@ -10500,14 +10491,6 @@ declare const editorMachine: StateMachine<
10500
10491
  type: 'decorator.remove'
10501
10492
  decorator: string
10502
10493
  }
10503
- | {
10504
- type: 'decorator.toggle'
10505
- decorator: string
10506
- offsets?: {
10507
- anchor: BlockOffset_2
10508
- focus: BlockOffset_2
10509
- }
10510
- }
10511
10494
  | {
10512
10495
  type: 'delete'
10513
10496
  selection: NonNullable<EditorSelection>
@@ -10591,6 +10574,23 @@ declare const editorMachine: StateMachine<
10591
10574
  type: 'select'
10592
10575
  selection: EditorSelection
10593
10576
  }
10577
+ | {
10578
+ type: 'annotation.toggle'
10579
+ annotation: {
10580
+ name: string
10581
+ value: {
10582
+ [prop: string]: unknown
10583
+ }
10584
+ }
10585
+ }
10586
+ | {
10587
+ type: 'decorator.toggle'
10588
+ decorator: string
10589
+ offsets?: {
10590
+ anchor: BlockOffset_2
10591
+ focus: BlockOffset_2
10592
+ }
10593
+ }
10594
10594
  | {
10595
10595
  type: 'insert.blocks'
10596
10596
  blocks: Array<PortableTextBlock>
@@ -10782,15 +10782,6 @@ declare const editorMachine: StateMachine<
10782
10782
  name: string
10783
10783
  }
10784
10784
  }
10785
- | {
10786
- type: 'annotation.toggle'
10787
- annotation: {
10788
- name: string
10789
- value: {
10790
- [prop: string]: unknown
10791
- }
10792
- }
10793
- }
10794
10785
  | {
10795
10786
  type: 'block.set'
10796
10787
  at: [KeyedSegment]
@@ -10816,14 +10807,6 @@ declare const editorMachine: StateMachine<
10816
10807
  type: 'decorator.remove'
10817
10808
  decorator: string
10818
10809
  }
10819
- | {
10820
- type: 'decorator.toggle'
10821
- decorator: string
10822
- offsets?: {
10823
- anchor: BlockOffset_2
10824
- focus: BlockOffset_2
10825
- }
10826
- }
10827
10810
  | {
10828
10811
  type: 'delete'
10829
10812
  selection: NonNullable<EditorSelection>
@@ -10907,6 +10890,23 @@ declare const editorMachine: StateMachine<
10907
10890
  type: 'select'
10908
10891
  selection: EditorSelection
10909
10892
  }
10893
+ | {
10894
+ type: 'annotation.toggle'
10895
+ annotation: {
10896
+ name: string
10897
+ value: {
10898
+ [prop: string]: unknown
10899
+ }
10900
+ }
10901
+ }
10902
+ | {
10903
+ type: 'decorator.toggle'
10904
+ decorator: string
10905
+ offsets?: {
10906
+ anchor: BlockOffset_2
10907
+ focus: BlockOffset_2
10908
+ }
10909
+ }
10910
10910
  | {
10911
10911
  type: 'insert.blocks'
10912
10912
  blocks: Array<PortableTextBlock>
@@ -11034,15 +11034,6 @@ declare const editorMachine: StateMachine<
11034
11034
  name: string
11035
11035
  }
11036
11036
  }
11037
- | {
11038
- type: 'annotation.toggle'
11039
- annotation: {
11040
- name: string
11041
- value: {
11042
- [prop: string]: unknown
11043
- }
11044
- }
11045
- }
11046
11037
  | {
11047
11038
  type: 'block.set'
11048
11039
  at: [KeyedSegment]
@@ -11068,14 +11059,6 @@ declare const editorMachine: StateMachine<
11068
11059
  type: 'decorator.remove'
11069
11060
  decorator: string
11070
11061
  }
11071
- | {
11072
- type: 'decorator.toggle'
11073
- decorator: string
11074
- offsets?: {
11075
- anchor: BlockOffset_2
11076
- focus: BlockOffset_2
11077
- }
11078
- }
11079
11062
  | {
11080
11063
  type: 'delete'
11081
11064
  selection: NonNullable<EditorSelection>
@@ -11159,6 +11142,23 @@ declare const editorMachine: StateMachine<
11159
11142
  type: 'select'
11160
11143
  selection: EditorSelection
11161
11144
  }
11145
+ | {
11146
+ type: 'annotation.toggle'
11147
+ annotation: {
11148
+ name: string
11149
+ value: {
11150
+ [prop: string]: unknown
11151
+ }
11152
+ }
11153
+ }
11154
+ | {
11155
+ type: 'decorator.toggle'
11156
+ decorator: string
11157
+ offsets?: {
11158
+ anchor: BlockOffset_2
11159
+ focus: BlockOffset_2
11160
+ }
11161
+ }
11162
11162
  | {
11163
11163
  type: 'insert.blocks'
11164
11164
  blocks: Array<PortableTextBlock>
@@ -11350,15 +11350,6 @@ declare const editorMachine: StateMachine<
11350
11350
  name: string
11351
11351
  }
11352
11352
  }
11353
- | {
11354
- type: 'annotation.toggle'
11355
- annotation: {
11356
- name: string
11357
- value: {
11358
- [prop: string]: unknown
11359
- }
11360
- }
11361
- }
11362
11353
  | {
11363
11354
  type: 'block.set'
11364
11355
  at: [KeyedSegment]
@@ -11384,14 +11375,6 @@ declare const editorMachine: StateMachine<
11384
11375
  type: 'decorator.remove'
11385
11376
  decorator: string
11386
11377
  }
11387
- | {
11388
- type: 'decorator.toggle'
11389
- decorator: string
11390
- offsets?: {
11391
- anchor: BlockOffset_2
11392
- focus: BlockOffset_2
11393
- }
11394
- }
11395
11378
  | {
11396
11379
  type: 'delete'
11397
11380
  selection: NonNullable<EditorSelection>
@@ -11475,6 +11458,23 @@ declare const editorMachine: StateMachine<
11475
11458
  type: 'select'
11476
11459
  selection: EditorSelection
11477
11460
  }
11461
+ | {
11462
+ type: 'annotation.toggle'
11463
+ annotation: {
11464
+ name: string
11465
+ value: {
11466
+ [prop: string]: unknown
11467
+ }
11468
+ }
11469
+ }
11470
+ | {
11471
+ type: 'decorator.toggle'
11472
+ decorator: string
11473
+ offsets?: {
11474
+ anchor: BlockOffset_2
11475
+ focus: BlockOffset_2
11476
+ }
11477
+ }
11478
11478
  | {
11479
11479
  type: 'insert.blocks'
11480
11480
  blocks: Array<PortableTextBlock>
@@ -11619,15 +11619,6 @@ declare const editorMachine: StateMachine<
11619
11619
  name: string
11620
11620
  }
11621
11621
  }
11622
- | {
11623
- type: 'annotation.toggle'
11624
- annotation: {
11625
- name: string
11626
- value: {
11627
- [prop: string]: unknown
11628
- }
11629
- }
11630
- }
11631
11622
  | {
11632
11623
  type: 'block.set'
11633
11624
  at: [KeyedSegment]
@@ -11653,14 +11644,6 @@ declare const editorMachine: StateMachine<
11653
11644
  type: 'decorator.remove'
11654
11645
  decorator: string
11655
11646
  }
11656
- | {
11657
- type: 'decorator.toggle'
11658
- decorator: string
11659
- offsets?: {
11660
- anchor: BlockOffset_2
11661
- focus: BlockOffset_2
11662
- }
11663
- }
11664
11647
  | {
11665
11648
  type: 'delete'
11666
11649
  selection: NonNullable<EditorSelection>
@@ -11744,6 +11727,23 @@ declare const editorMachine: StateMachine<
11744
11727
  type: 'select'
11745
11728
  selection: EditorSelection
11746
11729
  }
11730
+ | {
11731
+ type: 'annotation.toggle'
11732
+ annotation: {
11733
+ name: string
11734
+ value: {
11735
+ [prop: string]: unknown
11736
+ }
11737
+ }
11738
+ }
11739
+ | {
11740
+ type: 'decorator.toggle'
11741
+ decorator: string
11742
+ offsets?: {
11743
+ anchor: BlockOffset_2
11744
+ focus: BlockOffset_2
11745
+ }
11746
+ }
11747
11747
  | {
11748
11748
  type: 'insert.blocks'
11749
11749
  blocks: Array<PortableTextBlock>
@@ -11935,15 +11935,6 @@ declare const editorMachine: StateMachine<
11935
11935
  name: string
11936
11936
  }
11937
11937
  }
11938
- | {
11939
- type: 'annotation.toggle'
11940
- annotation: {
11941
- name: string
11942
- value: {
11943
- [prop: string]: unknown
11944
- }
11945
- }
11946
- }
11947
11938
  | {
11948
11939
  type: 'block.set'
11949
11940
  at: [KeyedSegment]
@@ -11969,14 +11960,6 @@ declare const editorMachine: StateMachine<
11969
11960
  type: 'decorator.remove'
11970
11961
  decorator: string
11971
11962
  }
11972
- | {
11973
- type: 'decorator.toggle'
11974
- decorator: string
11975
- offsets?: {
11976
- anchor: BlockOffset_2
11977
- focus: BlockOffset_2
11978
- }
11979
- }
11980
11963
  | {
11981
11964
  type: 'delete'
11982
11965
  selection: NonNullable<EditorSelection>
@@ -12061,7 +12044,24 @@ declare const editorMachine: StateMachine<
12061
12044
  selection: EditorSelection
12062
12045
  }
12063
12046
  | {
12064
- type: 'insert.blocks'
12047
+ type: 'annotation.toggle'
12048
+ annotation: {
12049
+ name: string
12050
+ value: {
12051
+ [prop: string]: unknown
12052
+ }
12053
+ }
12054
+ }
12055
+ | {
12056
+ type: 'decorator.toggle'
12057
+ decorator: string
12058
+ offsets?: {
12059
+ anchor: BlockOffset_2
12060
+ focus: BlockOffset_2
12061
+ }
12062
+ }
12063
+ | {
12064
+ type: 'insert.blocks'
12065
12065
  blocks: Array<PortableTextBlock>
12066
12066
  placement: InsertPlacement_2
12067
12067
  }
@@ -12201,15 +12201,6 @@ declare const editorMachine: StateMachine<
12201
12201
  name: string
12202
12202
  }
12203
12203
  }
12204
- | {
12205
- type: 'annotation.toggle'
12206
- annotation: {
12207
- name: string
12208
- value: {
12209
- [prop: string]: unknown
12210
- }
12211
- }
12212
- }
12213
12204
  | {
12214
12205
  type: 'block.set'
12215
12206
  at: [KeyedSegment]
@@ -12235,14 +12226,6 @@ declare const editorMachine: StateMachine<
12235
12226
  type: 'decorator.remove'
12236
12227
  decorator: string
12237
12228
  }
12238
- | {
12239
- type: 'decorator.toggle'
12240
- decorator: string
12241
- offsets?: {
12242
- anchor: BlockOffset_2
12243
- focus: BlockOffset_2
12244
- }
12245
- }
12246
12229
  | {
12247
12230
  type: 'delete'
12248
12231
  selection: NonNullable<EditorSelection>
@@ -12326,6 +12309,23 @@ declare const editorMachine: StateMachine<
12326
12309
  type: 'select'
12327
12310
  selection: EditorSelection
12328
12311
  }
12312
+ | {
12313
+ type: 'annotation.toggle'
12314
+ annotation: {
12315
+ name: string
12316
+ value: {
12317
+ [prop: string]: unknown
12318
+ }
12319
+ }
12320
+ }
12321
+ | {
12322
+ type: 'decorator.toggle'
12323
+ decorator: string
12324
+ offsets?: {
12325
+ anchor: BlockOffset_2
12326
+ focus: BlockOffset_2
12327
+ }
12328
+ }
12329
12329
  | {
12330
12330
  type: 'insert.blocks'
12331
12331
  blocks: Array<PortableTextBlock>
@@ -12517,15 +12517,6 @@ declare const editorMachine: StateMachine<
12517
12517
  name: string
12518
12518
  }
12519
12519
  }
12520
- | {
12521
- type: 'annotation.toggle'
12522
- annotation: {
12523
- name: string
12524
- value: {
12525
- [prop: string]: unknown
12526
- }
12527
- }
12528
- }
12529
12520
  | {
12530
12521
  type: 'block.set'
12531
12522
  at: [KeyedSegment]
@@ -12551,14 +12542,6 @@ declare const editorMachine: StateMachine<
12551
12542
  type: 'decorator.remove'
12552
12543
  decorator: string
12553
12544
  }
12554
- | {
12555
- type: 'decorator.toggle'
12556
- decorator: string
12557
- offsets?: {
12558
- anchor: BlockOffset_2
12559
- focus: BlockOffset_2
12560
- }
12561
- }
12562
12545
  | {
12563
12546
  type: 'delete'
12564
12547
  selection: NonNullable<EditorSelection>
@@ -12642,6 +12625,23 @@ declare const editorMachine: StateMachine<
12642
12625
  type: 'select'
12643
12626
  selection: EditorSelection
12644
12627
  }
12628
+ | {
12629
+ type: 'annotation.toggle'
12630
+ annotation: {
12631
+ name: string
12632
+ value: {
12633
+ [prop: string]: unknown
12634
+ }
12635
+ }
12636
+ }
12637
+ | {
12638
+ type: 'decorator.toggle'
12639
+ decorator: string
12640
+ offsets?: {
12641
+ anchor: BlockOffset_2
12642
+ focus: BlockOffset_2
12643
+ }
12644
+ }
12645
12645
  | {
12646
12646
  type: 'insert.blocks'
12647
12647
  blocks: Array<PortableTextBlock>
@@ -12769,15 +12769,6 @@ declare const editorMachine: StateMachine<
12769
12769
  name: string
12770
12770
  }
12771
12771
  }
12772
- | {
12773
- type: 'annotation.toggle'
12774
- annotation: {
12775
- name: string
12776
- value: {
12777
- [prop: string]: unknown
12778
- }
12779
- }
12780
- }
12781
12772
  | {
12782
12773
  type: 'block.set'
12783
12774
  at: [KeyedSegment]
@@ -12803,14 +12794,6 @@ declare const editorMachine: StateMachine<
12803
12794
  type: 'decorator.remove'
12804
12795
  decorator: string
12805
12796
  }
12806
- | {
12807
- type: 'decorator.toggle'
12808
- decorator: string
12809
- offsets?: {
12810
- anchor: BlockOffset_2
12811
- focus: BlockOffset_2
12812
- }
12813
- }
12814
12797
  | {
12815
12798
  type: 'delete'
12816
12799
  selection: NonNullable<EditorSelection>
@@ -12894,6 +12877,23 @@ declare const editorMachine: StateMachine<
12894
12877
  type: 'select'
12895
12878
  selection: EditorSelection
12896
12879
  }
12880
+ | {
12881
+ type: 'annotation.toggle'
12882
+ annotation: {
12883
+ name: string
12884
+ value: {
12885
+ [prop: string]: unknown
12886
+ }
12887
+ }
12888
+ }
12889
+ | {
12890
+ type: 'decorator.toggle'
12891
+ decorator: string
12892
+ offsets?: {
12893
+ anchor: BlockOffset_2
12894
+ focus: BlockOffset_2
12895
+ }
12896
+ }
12897
12897
  | {
12898
12898
  type: 'insert.blocks'
12899
12899
  blocks: Array<PortableTextBlock>
@@ -13085,15 +13085,6 @@ declare const editorMachine: StateMachine<
13085
13085
  name: string
13086
13086
  }
13087
13087
  }
13088
- | {
13089
- type: 'annotation.toggle'
13090
- annotation: {
13091
- name: string
13092
- value: {
13093
- [prop: string]: unknown
13094
- }
13095
- }
13096
- }
13097
13088
  | {
13098
13089
  type: 'block.set'
13099
13090
  at: [KeyedSegment]
@@ -13119,14 +13110,6 @@ declare const editorMachine: StateMachine<
13119
13110
  type: 'decorator.remove'
13120
13111
  decorator: string
13121
13112
  }
13122
- | {
13123
- type: 'decorator.toggle'
13124
- decorator: string
13125
- offsets?: {
13126
- anchor: BlockOffset_2
13127
- focus: BlockOffset_2
13128
- }
13129
- }
13130
13113
  | {
13131
13114
  type: 'delete'
13132
13115
  selection: NonNullable<EditorSelection>
@@ -13210,6 +13193,23 @@ declare const editorMachine: StateMachine<
13210
13193
  type: 'select'
13211
13194
  selection: EditorSelection
13212
13195
  }
13196
+ | {
13197
+ type: 'annotation.toggle'
13198
+ annotation: {
13199
+ name: string
13200
+ value: {
13201
+ [prop: string]: unknown
13202
+ }
13203
+ }
13204
+ }
13205
+ | {
13206
+ type: 'decorator.toggle'
13207
+ decorator: string
13208
+ offsets?: {
13209
+ anchor: BlockOffset_2
13210
+ focus: BlockOffset_2
13211
+ }
13212
+ }
13213
13213
  | {
13214
13214
  type: 'insert.blocks'
13215
13215
  blocks: Array<PortableTextBlock>
@@ -13340,15 +13340,6 @@ declare const editorMachine: StateMachine<
13340
13340
  name: string
13341
13341
  }
13342
13342
  }
13343
- | {
13344
- type: 'annotation.toggle'
13345
- annotation: {
13346
- name: string
13347
- value: {
13348
- [prop: string]: unknown
13349
- }
13350
- }
13351
- }
13352
13343
  | {
13353
13344
  type: 'block.set'
13354
13345
  at: [KeyedSegment]
@@ -13374,14 +13365,6 @@ declare const editorMachine: StateMachine<
13374
13365
  type: 'decorator.remove'
13375
13366
  decorator: string
13376
13367
  }
13377
- | {
13378
- type: 'decorator.toggle'
13379
- decorator: string
13380
- offsets?: {
13381
- anchor: BlockOffset_2
13382
- focus: BlockOffset_2
13383
- }
13384
- }
13385
13368
  | {
13386
13369
  type: 'delete'
13387
13370
  selection: NonNullable<EditorSelection>
@@ -13465,6 +13448,23 @@ declare const editorMachine: StateMachine<
13465
13448
  type: 'select'
13466
13449
  selection: EditorSelection
13467
13450
  }
13451
+ | {
13452
+ type: 'annotation.toggle'
13453
+ annotation: {
13454
+ name: string
13455
+ value: {
13456
+ [prop: string]: unknown
13457
+ }
13458
+ }
13459
+ }
13460
+ | {
13461
+ type: 'decorator.toggle'
13462
+ decorator: string
13463
+ offsets?: {
13464
+ anchor: BlockOffset_2
13465
+ focus: BlockOffset_2
13466
+ }
13467
+ }
13468
13468
  | {
13469
13469
  type: 'insert.blocks'
13470
13470
  blocks: Array<PortableTextBlock>
@@ -13656,15 +13656,6 @@ declare const editorMachine: StateMachine<
13656
13656
  name: string
13657
13657
  }
13658
13658
  }
13659
- | {
13660
- type: 'annotation.toggle'
13661
- annotation: {
13662
- name: string
13663
- value: {
13664
- [prop: string]: unknown
13665
- }
13666
- }
13667
- }
13668
13659
  | {
13669
13660
  type: 'block.set'
13670
13661
  at: [KeyedSegment]
@@ -13690,14 +13681,6 @@ declare const editorMachine: StateMachine<
13690
13681
  type: 'decorator.remove'
13691
13682
  decorator: string
13692
13683
  }
13693
- | {
13694
- type: 'decorator.toggle'
13695
- decorator: string
13696
- offsets?: {
13697
- anchor: BlockOffset_2
13698
- focus: BlockOffset_2
13699
- }
13700
- }
13701
13684
  | {
13702
13685
  type: 'delete'
13703
13686
  selection: NonNullable<EditorSelection>
@@ -13781,6 +13764,23 @@ declare const editorMachine: StateMachine<
13781
13764
  type: 'select'
13782
13765
  selection: EditorSelection
13783
13766
  }
13767
+ | {
13768
+ type: 'annotation.toggle'
13769
+ annotation: {
13770
+ name: string
13771
+ value: {
13772
+ [prop: string]: unknown
13773
+ }
13774
+ }
13775
+ }
13776
+ | {
13777
+ type: 'decorator.toggle'
13778
+ decorator: string
13779
+ offsets?: {
13780
+ anchor: BlockOffset_2
13781
+ focus: BlockOffset_2
13782
+ }
13783
+ }
13784
13784
  | {
13785
13785
  type: 'insert.blocks'
13786
13786
  blocks: Array<PortableTextBlock>
@@ -13956,15 +13956,6 @@ declare const editorMachine: StateMachine<
13956
13956
  name: string
13957
13957
  }
13958
13958
  }
13959
- | {
13960
- type: 'annotation.toggle'
13961
- annotation: {
13962
- name: string
13963
- value: {
13964
- [prop: string]: unknown
13965
- }
13966
- }
13967
- }
13968
13959
  | {
13969
13960
  type: 'block.set'
13970
13961
  at: [KeyedSegment]
@@ -13990,14 +13981,6 @@ declare const editorMachine: StateMachine<
13990
13981
  type: 'decorator.remove'
13991
13982
  decorator: string
13992
13983
  }
13993
- | {
13994
- type: 'decorator.toggle'
13995
- decorator: string
13996
- offsets?: {
13997
- anchor: BlockOffset_2
13998
- focus: BlockOffset_2
13999
- }
14000
- }
14001
13984
  | {
14002
13985
  type: 'delete'
14003
13986
  selection: NonNullable<EditorSelection>
@@ -14081,6 +14064,23 @@ declare const editorMachine: StateMachine<
14081
14064
  type: 'select'
14082
14065
  selection: EditorSelection
14083
14066
  }
14067
+ | {
14068
+ type: 'annotation.toggle'
14069
+ annotation: {
14070
+ name: string
14071
+ value: {
14072
+ [prop: string]: unknown
14073
+ }
14074
+ }
14075
+ }
14076
+ | {
14077
+ type: 'decorator.toggle'
14078
+ decorator: string
14079
+ offsets?: {
14080
+ anchor: BlockOffset_2
14081
+ focus: BlockOffset_2
14082
+ }
14083
+ }
14084
14084
  | {
14085
14085
  type: 'insert.blocks'
14086
14086
  blocks: Array<PortableTextBlock>
@@ -14272,15 +14272,6 @@ declare const editorMachine: StateMachine<
14272
14272
  name: string
14273
14273
  }
14274
14274
  }
14275
- | {
14276
- type: 'annotation.toggle'
14277
- annotation: {
14278
- name: string
14279
- value: {
14280
- [prop: string]: unknown
14281
- }
14282
- }
14283
- }
14284
14275
  | {
14285
14276
  type: 'block.set'
14286
14277
  at: [KeyedSegment]
@@ -14306,14 +14297,6 @@ declare const editorMachine: StateMachine<
14306
14297
  type: 'decorator.remove'
14307
14298
  decorator: string
14308
14299
  }
14309
- | {
14310
- type: 'decorator.toggle'
14311
- decorator: string
14312
- offsets?: {
14313
- anchor: BlockOffset_2
14314
- focus: BlockOffset_2
14315
- }
14316
- }
14317
14300
  | {
14318
14301
  type: 'delete'
14319
14302
  selection: NonNullable<EditorSelection>
@@ -14397,6 +14380,23 @@ declare const editorMachine: StateMachine<
14397
14380
  type: 'select'
14398
14381
  selection: EditorSelection
14399
14382
  }
14383
+ | {
14384
+ type: 'annotation.toggle'
14385
+ annotation: {
14386
+ name: string
14387
+ value: {
14388
+ [prop: string]: unknown
14389
+ }
14390
+ }
14391
+ }
14392
+ | {
14393
+ type: 'decorator.toggle'
14394
+ decorator: string
14395
+ offsets?: {
14396
+ anchor: BlockOffset_2
14397
+ focus: BlockOffset_2
14398
+ }
14399
+ }
14400
14400
  | {
14401
14401
  type: 'insert.blocks'
14402
14402
  blocks: Array<PortableTextBlock>
@@ -14533,15 +14533,6 @@ declare const editorMachine: StateMachine<
14533
14533
  name: string
14534
14534
  }
14535
14535
  }
14536
- | {
14537
- type: 'annotation.toggle'
14538
- annotation: {
14539
- name: string
14540
- value: {
14541
- [prop: string]: unknown
14542
- }
14543
- }
14544
- }
14545
14536
  | {
14546
14537
  type: 'block.set'
14547
14538
  at: [KeyedSegment]
@@ -14567,14 +14558,6 @@ declare const editorMachine: StateMachine<
14567
14558
  type: 'decorator.remove'
14568
14559
  decorator: string
14569
14560
  }
14570
- | {
14571
- type: 'decorator.toggle'
14572
- decorator: string
14573
- offsets?: {
14574
- anchor: BlockOffset_2
14575
- focus: BlockOffset_2
14576
- }
14577
- }
14578
14561
  | {
14579
14562
  type: 'delete'
14580
14563
  selection: NonNullable<EditorSelection>
@@ -14658,6 +14641,23 @@ declare const editorMachine: StateMachine<
14658
14641
  type: 'select'
14659
14642
  selection: EditorSelection
14660
14643
  }
14644
+ | {
14645
+ type: 'annotation.toggle'
14646
+ annotation: {
14647
+ name: string
14648
+ value: {
14649
+ [prop: string]: unknown
14650
+ }
14651
+ }
14652
+ }
14653
+ | {
14654
+ type: 'decorator.toggle'
14655
+ decorator: string
14656
+ offsets?: {
14657
+ anchor: BlockOffset_2
14658
+ focus: BlockOffset_2
14659
+ }
14660
+ }
14661
14661
  | {
14662
14662
  type: 'insert.blocks'
14663
14663
  blocks: Array<PortableTextBlock>
@@ -14849,15 +14849,6 @@ declare const editorMachine: StateMachine<
14849
14849
  name: string
14850
14850
  }
14851
14851
  }
14852
- | {
14853
- type: 'annotation.toggle'
14854
- annotation: {
14855
- name: string
14856
- value: {
14857
- [prop: string]: unknown
14858
- }
14859
- }
14860
- }
14861
14852
  | {
14862
14853
  type: 'block.set'
14863
14854
  at: [KeyedSegment]
@@ -14883,14 +14874,6 @@ declare const editorMachine: StateMachine<
14883
14874
  type: 'decorator.remove'
14884
14875
  decorator: string
14885
14876
  }
14886
- | {
14887
- type: 'decorator.toggle'
14888
- decorator: string
14889
- offsets?: {
14890
- anchor: BlockOffset_2
14891
- focus: BlockOffset_2
14892
- }
14893
- }
14894
14877
  | {
14895
14878
  type: 'delete'
14896
14879
  selection: NonNullable<EditorSelection>
@@ -14974,6 +14957,23 @@ declare const editorMachine: StateMachine<
14974
14957
  type: 'select'
14975
14958
  selection: EditorSelection
14976
14959
  }
14960
+ | {
14961
+ type: 'annotation.toggle'
14962
+ annotation: {
14963
+ name: string
14964
+ value: {
14965
+ [prop: string]: unknown
14966
+ }
14967
+ }
14968
+ }
14969
+ | {
14970
+ type: 'decorator.toggle'
14971
+ decorator: string
14972
+ offsets?: {
14973
+ anchor: BlockOffset_2
14974
+ focus: BlockOffset_2
14975
+ }
14976
+ }
14977
14977
  | {
14978
14978
  type: 'insert.blocks'
14979
14979
  blocks: Array<PortableTextBlock>
@@ -15111,15 +15111,6 @@ declare const editorMachine: StateMachine<
15111
15111
  name: string
15112
15112
  }
15113
15113
  }
15114
- | {
15115
- type: 'annotation.toggle'
15116
- annotation: {
15117
- name: string
15118
- value: {
15119
- [prop: string]: unknown
15120
- }
15121
- }
15122
- }
15123
15114
  | {
15124
15115
  type: 'block.set'
15125
15116
  at: [KeyedSegment]
@@ -15145,14 +15136,6 @@ declare const editorMachine: StateMachine<
15145
15136
  type: 'decorator.remove'
15146
15137
  decorator: string
15147
15138
  }
15148
- | {
15149
- type: 'decorator.toggle'
15150
- decorator: string
15151
- offsets?: {
15152
- anchor: BlockOffset_2
15153
- focus: BlockOffset_2
15154
- }
15155
- }
15156
15139
  | {
15157
15140
  type: 'delete'
15158
15141
  selection: NonNullable<EditorSelection>
@@ -15236,6 +15219,23 @@ declare const editorMachine: StateMachine<
15236
15219
  type: 'select'
15237
15220
  selection: EditorSelection
15238
15221
  }
15222
+ | {
15223
+ type: 'annotation.toggle'
15224
+ annotation: {
15225
+ name: string
15226
+ value: {
15227
+ [prop: string]: unknown
15228
+ }
15229
+ }
15230
+ }
15231
+ | {
15232
+ type: 'decorator.toggle'
15233
+ decorator: string
15234
+ offsets?: {
15235
+ anchor: BlockOffset_2
15236
+ focus: BlockOffset_2
15237
+ }
15238
+ }
15239
15239
  | {
15240
15240
  type: 'insert.blocks'
15241
15241
  blocks: Array<PortableTextBlock>
@@ -15427,15 +15427,6 @@ declare const editorMachine: StateMachine<
15427
15427
  name: string
15428
15428
  }
15429
15429
  }
15430
- | {
15431
- type: 'annotation.toggle'
15432
- annotation: {
15433
- name: string
15434
- value: {
15435
- [prop: string]: unknown
15436
- }
15437
- }
15438
- }
15439
15430
  | {
15440
15431
  type: 'block.set'
15441
15432
  at: [KeyedSegment]
@@ -15461,14 +15452,6 @@ declare const editorMachine: StateMachine<
15461
15452
  type: 'decorator.remove'
15462
15453
  decorator: string
15463
15454
  }
15464
- | {
15465
- type: 'decorator.toggle'
15466
- decorator: string
15467
- offsets?: {
15468
- anchor: BlockOffset_2
15469
- focus: BlockOffset_2
15470
- }
15471
- }
15472
15455
  | {
15473
15456
  type: 'delete'
15474
15457
  selection: NonNullable<EditorSelection>
@@ -15552,6 +15535,23 @@ declare const editorMachine: StateMachine<
15552
15535
  type: 'select'
15553
15536
  selection: EditorSelection
15554
15537
  }
15538
+ | {
15539
+ type: 'annotation.toggle'
15540
+ annotation: {
15541
+ name: string
15542
+ value: {
15543
+ [prop: string]: unknown
15544
+ }
15545
+ }
15546
+ }
15547
+ | {
15548
+ type: 'decorator.toggle'
15549
+ decorator: string
15550
+ offsets?: {
15551
+ anchor: BlockOffset_2
15552
+ focus: BlockOffset_2
15553
+ }
15554
+ }
15555
15555
  | {
15556
15556
  type: 'insert.blocks'
15557
15557
  blocks: Array<PortableTextBlock>
@@ -15680,15 +15680,6 @@ declare const editorMachine: StateMachine<
15680
15680
  name: string
15681
15681
  }
15682
15682
  }
15683
- | {
15684
- type: 'annotation.toggle'
15685
- annotation: {
15686
- name: string
15687
- value: {
15688
- [prop: string]: unknown
15689
- }
15690
- }
15691
- }
15692
15683
  | {
15693
15684
  type: 'block.set'
15694
15685
  at: [KeyedSegment]
@@ -15714,14 +15705,6 @@ declare const editorMachine: StateMachine<
15714
15705
  type: 'decorator.remove'
15715
15706
  decorator: string
15716
15707
  }
15717
- | {
15718
- type: 'decorator.toggle'
15719
- decorator: string
15720
- offsets?: {
15721
- anchor: BlockOffset_2
15722
- focus: BlockOffset_2
15723
- }
15724
- }
15725
15708
  | {
15726
15709
  type: 'delete'
15727
15710
  selection: NonNullable<EditorSelection>
@@ -15805,6 +15788,23 @@ declare const editorMachine: StateMachine<
15805
15788
  type: 'select'
15806
15789
  selection: EditorSelection
15807
15790
  }
15791
+ | {
15792
+ type: 'annotation.toggle'
15793
+ annotation: {
15794
+ name: string
15795
+ value: {
15796
+ [prop: string]: unknown
15797
+ }
15798
+ }
15799
+ }
15800
+ | {
15801
+ type: 'decorator.toggle'
15802
+ decorator: string
15803
+ offsets?: {
15804
+ anchor: BlockOffset_2
15805
+ focus: BlockOffset_2
15806
+ }
15807
+ }
15808
15808
  | {
15809
15809
  type: 'insert.blocks'
15810
15810
  blocks: Array<PortableTextBlock>
@@ -15996,15 +15996,6 @@ declare const editorMachine: StateMachine<
15996
15996
  name: string
15997
15997
  }
15998
15998
  }
15999
- | {
16000
- type: 'annotation.toggle'
16001
- annotation: {
16002
- name: string
16003
- value: {
16004
- [prop: string]: unknown
16005
- }
16006
- }
16007
- }
16008
15999
  | {
16009
16000
  type: 'block.set'
16010
16001
  at: [KeyedSegment]
@@ -16030,14 +16021,6 @@ declare const editorMachine: StateMachine<
16030
16021
  type: 'decorator.remove'
16031
16022
  decorator: string
16032
16023
  }
16033
- | {
16034
- type: 'decorator.toggle'
16035
- decorator: string
16036
- offsets?: {
16037
- anchor: BlockOffset_2
16038
- focus: BlockOffset_2
16039
- }
16040
- }
16041
16024
  | {
16042
16025
  type: 'delete'
16043
16026
  selection: NonNullable<EditorSelection>
@@ -16121,6 +16104,23 @@ declare const editorMachine: StateMachine<
16121
16104
  type: 'select'
16122
16105
  selection: EditorSelection
16123
16106
  }
16107
+ | {
16108
+ type: 'annotation.toggle'
16109
+ annotation: {
16110
+ name: string
16111
+ value: {
16112
+ [prop: string]: unknown
16113
+ }
16114
+ }
16115
+ }
16116
+ | {
16117
+ type: 'decorator.toggle'
16118
+ decorator: string
16119
+ offsets?: {
16120
+ anchor: BlockOffset_2
16121
+ focus: BlockOffset_2
16122
+ }
16123
+ }
16124
16124
  | {
16125
16125
  type: 'insert.blocks'
16126
16126
  blocks: Array<PortableTextBlock>
@@ -16270,15 +16270,6 @@ declare const editorMachine: StateMachine<
16270
16270
  name: string
16271
16271
  }
16272
16272
  }
16273
- | {
16274
- type: 'annotation.toggle'
16275
- annotation: {
16276
- name: string
16277
- value: {
16278
- [prop: string]: unknown
16279
- }
16280
- }
16281
- }
16282
16273
  | {
16283
16274
  type: 'block.set'
16284
16275
  at: [KeyedSegment]
@@ -16300,17 +16291,9 @@ declare const editorMachine: StateMachine<
16300
16291
  focus: BlockOffset_2
16301
16292
  }
16302
16293
  }
16303
- | {
16304
- type: 'decorator.remove'
16305
- decorator: string
16306
- }
16307
- | {
16308
- type: 'decorator.toggle'
16309
- decorator: string
16310
- offsets?: {
16311
- anchor: BlockOffset_2
16312
- focus: BlockOffset_2
16313
- }
16294
+ | {
16295
+ type: 'decorator.remove'
16296
+ decorator: string
16314
16297
  }
16315
16298
  | {
16316
16299
  type: 'delete'
@@ -16395,6 +16378,23 @@ declare const editorMachine: StateMachine<
16395
16378
  type: 'select'
16396
16379
  selection: EditorSelection
16397
16380
  }
16381
+ | {
16382
+ type: 'annotation.toggle'
16383
+ annotation: {
16384
+ name: string
16385
+ value: {
16386
+ [prop: string]: unknown
16387
+ }
16388
+ }
16389
+ }
16390
+ | {
16391
+ type: 'decorator.toggle'
16392
+ decorator: string
16393
+ offsets?: {
16394
+ anchor: BlockOffset_2
16395
+ focus: BlockOffset_2
16396
+ }
16397
+ }
16398
16398
  | {
16399
16399
  type: 'insert.blocks'
16400
16400
  blocks: Array<PortableTextBlock>
@@ -16586,15 +16586,6 @@ declare const editorMachine: StateMachine<
16586
16586
  name: string
16587
16587
  }
16588
16588
  }
16589
- | {
16590
- type: 'annotation.toggle'
16591
- annotation: {
16592
- name: string
16593
- value: {
16594
- [prop: string]: unknown
16595
- }
16596
- }
16597
- }
16598
16589
  | {
16599
16590
  type: 'block.set'
16600
16591
  at: [KeyedSegment]
@@ -16620,14 +16611,6 @@ declare const editorMachine: StateMachine<
16620
16611
  type: 'decorator.remove'
16621
16612
  decorator: string
16622
16613
  }
16623
- | {
16624
- type: 'decorator.toggle'
16625
- decorator: string
16626
- offsets?: {
16627
- anchor: BlockOffset_2
16628
- focus: BlockOffset_2
16629
- }
16630
- }
16631
16614
  | {
16632
16615
  type: 'delete'
16633
16616
  selection: NonNullable<EditorSelection>
@@ -16711,6 +16694,23 @@ declare const editorMachine: StateMachine<
16711
16694
  type: 'select'
16712
16695
  selection: EditorSelection
16713
16696
  }
16697
+ | {
16698
+ type: 'annotation.toggle'
16699
+ annotation: {
16700
+ name: string
16701
+ value: {
16702
+ [prop: string]: unknown
16703
+ }
16704
+ }
16705
+ }
16706
+ | {
16707
+ type: 'decorator.toggle'
16708
+ decorator: string
16709
+ offsets?: {
16710
+ anchor: BlockOffset_2
16711
+ focus: BlockOffset_2
16712
+ }
16713
+ }
16714
16714
  | {
16715
16715
  type: 'insert.blocks'
16716
16716
  blocks: Array<PortableTextBlock>
@@ -16861,15 +16861,6 @@ declare const editorMachine: StateMachine<
16861
16861
  name: string
16862
16862
  }
16863
16863
  }
16864
- | {
16865
- type: 'annotation.toggle'
16866
- annotation: {
16867
- name: string
16868
- value: {
16869
- [prop: string]: unknown
16870
- }
16871
- }
16872
- }
16873
16864
  | {
16874
16865
  type: 'block.set'
16875
16866
  at: [KeyedSegment]
@@ -16895,14 +16886,6 @@ declare const editorMachine: StateMachine<
16895
16886
  type: 'decorator.remove'
16896
16887
  decorator: string
16897
16888
  }
16898
- | {
16899
- type: 'decorator.toggle'
16900
- decorator: string
16901
- offsets?: {
16902
- anchor: BlockOffset_2
16903
- focus: BlockOffset_2
16904
- }
16905
- }
16906
16889
  | {
16907
16890
  type: 'delete'
16908
16891
  selection: NonNullable<EditorSelection>
@@ -16986,6 +16969,23 @@ declare const editorMachine: StateMachine<
16986
16969
  type: 'select'
16987
16970
  selection: EditorSelection
16988
16971
  }
16972
+ | {
16973
+ type: 'annotation.toggle'
16974
+ annotation: {
16975
+ name: string
16976
+ value: {
16977
+ [prop: string]: unknown
16978
+ }
16979
+ }
16980
+ }
16981
+ | {
16982
+ type: 'decorator.toggle'
16983
+ decorator: string
16984
+ offsets?: {
16985
+ anchor: BlockOffset_2
16986
+ focus: BlockOffset_2
16987
+ }
16988
+ }
16989
16989
  | {
16990
16990
  type: 'insert.blocks'
16991
16991
  blocks: Array<PortableTextBlock>
@@ -17204,15 +17204,6 @@ declare const editorMachine: StateMachine<
17204
17204
  name: string
17205
17205
  }
17206
17206
  }
17207
- | {
17208
- type: 'annotation.toggle'
17209
- annotation: {
17210
- name: string
17211
- value: {
17212
- [prop: string]: unknown
17213
- }
17214
- }
17215
- }
17216
17207
  | {
17217
17208
  type: 'block.set'
17218
17209
  at: [KeyedSegment]
@@ -17238,14 +17229,6 @@ declare const editorMachine: StateMachine<
17238
17229
  type: 'decorator.remove'
17239
17230
  decorator: string
17240
17231
  }
17241
- | {
17242
- type: 'decorator.toggle'
17243
- decorator: string
17244
- offsets?: {
17245
- anchor: BlockOffset_2
17246
- focus: BlockOffset_2
17247
- }
17248
- }
17249
17232
  | {
17250
17233
  type: 'delete'
17251
17234
  selection: NonNullable<EditorSelection>
@@ -17329,6 +17312,23 @@ declare const editorMachine: StateMachine<
17329
17312
  type: 'select'
17330
17313
  selection: EditorSelection
17331
17314
  }
17315
+ | {
17316
+ type: 'annotation.toggle'
17317
+ annotation: {
17318
+ name: string
17319
+ value: {
17320
+ [prop: string]: unknown
17321
+ }
17322
+ }
17323
+ }
17324
+ | {
17325
+ type: 'decorator.toggle'
17326
+ decorator: string
17327
+ offsets?: {
17328
+ anchor: BlockOffset_2
17329
+ focus: BlockOffset_2
17330
+ }
17331
+ }
17332
17332
  | {
17333
17333
  type: 'insert.blocks'
17334
17334
  blocks: Array<PortableTextBlock>
@@ -17515,15 +17515,6 @@ declare const editorMachine: StateMachine<
17515
17515
  name: string
17516
17516
  }
17517
17517
  }
17518
- | {
17519
- type: 'annotation.toggle'
17520
- annotation: {
17521
- name: string
17522
- value: {
17523
- [prop: string]: unknown
17524
- }
17525
- }
17526
- }
17527
17518
  | {
17528
17519
  type: 'block.set'
17529
17520
  at: [KeyedSegment]
@@ -17549,14 +17540,6 @@ declare const editorMachine: StateMachine<
17549
17540
  type: 'decorator.remove'
17550
17541
  decorator: string
17551
17542
  }
17552
- | {
17553
- type: 'decorator.toggle'
17554
- decorator: string
17555
- offsets?: {
17556
- anchor: BlockOffset_2
17557
- focus: BlockOffset_2
17558
- }
17559
- }
17560
17543
  | {
17561
17544
  type: 'delete'
17562
17545
  selection: NonNullable<EditorSelection>
@@ -17640,6 +17623,23 @@ declare const editorMachine: StateMachine<
17640
17623
  type: 'select'
17641
17624
  selection: EditorSelection
17642
17625
  }
17626
+ | {
17627
+ type: 'annotation.toggle'
17628
+ annotation: {
17629
+ name: string
17630
+ value: {
17631
+ [prop: string]: unknown
17632
+ }
17633
+ }
17634
+ }
17635
+ | {
17636
+ type: 'decorator.toggle'
17637
+ decorator: string
17638
+ offsets?: {
17639
+ anchor: BlockOffset_2
17640
+ focus: BlockOffset_2
17641
+ }
17642
+ }
17643
17643
  | {
17644
17644
  type: 'insert.blocks'
17645
17645
  blocks: Array<PortableTextBlock>
@@ -17843,15 +17843,6 @@ declare const editorMachine: StateMachine<
17843
17843
  name: string
17844
17844
  }
17845
17845
  }
17846
- | {
17847
- type: 'annotation.toggle'
17848
- annotation: {
17849
- name: string
17850
- value: {
17851
- [prop: string]: unknown
17852
- }
17853
- }
17854
- }
17855
17846
  | {
17856
17847
  type: 'block.set'
17857
17848
  at: [KeyedSegment]
@@ -17877,14 +17868,6 @@ declare const editorMachine: StateMachine<
17877
17868
  type: 'decorator.remove'
17878
17869
  decorator: string
17879
17870
  }
17880
- | {
17881
- type: 'decorator.toggle'
17882
- decorator: string
17883
- offsets?: {
17884
- anchor: BlockOffset_2
17885
- focus: BlockOffset_2
17886
- }
17887
- }
17888
17871
  | {
17889
17872
  type: 'delete'
17890
17873
  selection: NonNullable<EditorSelection>
@@ -17968,6 +17951,23 @@ declare const editorMachine: StateMachine<
17968
17951
  type: 'select'
17969
17952
  selection: EditorSelection
17970
17953
  }
17954
+ | {
17955
+ type: 'annotation.toggle'
17956
+ annotation: {
17957
+ name: string
17958
+ value: {
17959
+ [prop: string]: unknown
17960
+ }
17961
+ }
17962
+ }
17963
+ | {
17964
+ type: 'decorator.toggle'
17965
+ decorator: string
17966
+ offsets?: {
17967
+ anchor: BlockOffset_2
17968
+ focus: BlockOffset_2
17969
+ }
17970
+ }
17971
17971
  | {
17972
17972
  type: 'insert.blocks'
17973
17973
  blocks: Array<PortableTextBlock>
@@ -18154,15 +18154,6 @@ declare const editorMachine: StateMachine<
18154
18154
  name: string
18155
18155
  }
18156
18156
  }
18157
- | {
18158
- type: 'annotation.toggle'
18159
- annotation: {
18160
- name: string
18161
- value: {
18162
- [prop: string]: unknown
18163
- }
18164
- }
18165
- }
18166
18157
  | {
18167
18158
  type: 'block.set'
18168
18159
  at: [KeyedSegment]
@@ -18188,14 +18179,6 @@ declare const editorMachine: StateMachine<
18188
18179
  type: 'decorator.remove'
18189
18180
  decorator: string
18190
18181
  }
18191
- | {
18192
- type: 'decorator.toggle'
18193
- decorator: string
18194
- offsets?: {
18195
- anchor: BlockOffset_2
18196
- focus: BlockOffset_2
18197
- }
18198
- }
18199
18182
  | {
18200
18183
  type: 'delete'
18201
18184
  selection: NonNullable<EditorSelection>
@@ -18279,6 +18262,23 @@ declare const editorMachine: StateMachine<
18279
18262
  type: 'select'
18280
18263
  selection: EditorSelection
18281
18264
  }
18265
+ | {
18266
+ type: 'annotation.toggle'
18267
+ annotation: {
18268
+ name: string
18269
+ value: {
18270
+ [prop: string]: unknown
18271
+ }
18272
+ }
18273
+ }
18274
+ | {
18275
+ type: 'decorator.toggle'
18276
+ decorator: string
18277
+ offsets?: {
18278
+ anchor: BlockOffset_2
18279
+ focus: BlockOffset_2
18280
+ }
18281
+ }
18282
18282
  | {
18283
18283
  type: 'insert.blocks'
18284
18284
  blocks: Array<PortableTextBlock>
@@ -18650,6 +18650,8 @@ declare type ExternalBehaviorEvent =
18650
18650
  | PickFromUnion<
18651
18651
  InternalBehaviorEvent,
18652
18652
  'type',
18653
+ | 'annotation.toggle'
18654
+ | 'decorator.toggle'
18653
18655
  | 'insert.blocks'
18654
18656
  | 'list item.add'
18655
18657
  | 'list item.remove'
@@ -18759,6 +18761,23 @@ declare type InputBehaviorEvent = {
18759
18761
  declare type InsertPlacement = 'auto' | 'after' | 'before'
18760
18762
 
18761
18763
  declare type InternalBehaviorEvent =
18764
+ | {
18765
+ type: InternalBehaviorEventType<'annotation', 'toggle'>
18766
+ annotation: {
18767
+ name: string
18768
+ value: {
18769
+ [prop: string]: unknown
18770
+ }
18771
+ }
18772
+ }
18773
+ | {
18774
+ type: InternalBehaviorEventType<'decorator', 'toggle'>
18775
+ decorator: string
18776
+ offsets?: {
18777
+ anchor: BlockOffset
18778
+ focus: BlockOffset
18779
+ }
18780
+ }
18762
18781
  | {
18763
18782
  type: InternalBehaviorEventType<'deserialize'>
18764
18783
  originEvent:
@@ -18863,6 +18882,8 @@ declare type InternalBehaviorEvent =
18863
18882
  * Internal events
18864
18883
  **************************************/
18865
18884
  declare type InternalBehaviorEventNamespace =
18885
+ | 'annotation'
18886
+ | 'decorator'
18866
18887
  | 'deserialize'
18867
18888
  | 'deserialization'
18868
18889
  | 'list item'
@@ -19898,15 +19919,6 @@ declare type SyntheticBehaviorEvent =
19898
19919
  name: string
19899
19920
  }
19900
19921
  }
19901
- | {
19902
- type: SyntheticBehaviorEventType<'annotation', 'toggle'>
19903
- annotation: {
19904
- name: string
19905
- value: {
19906
- [prop: string]: unknown
19907
- }
19908
- }
19909
- }
19910
19922
  | {
19911
19923
  type: SyntheticBehaviorEventType<'block', 'set'>
19912
19924
  at: [KeyedSegment]
@@ -19932,14 +19944,6 @@ declare type SyntheticBehaviorEvent =
19932
19944
  type: SyntheticBehaviorEventType<'decorator', 'remove'>
19933
19945
  decorator: string
19934
19946
  }
19935
- | {
19936
- type: SyntheticBehaviorEventType<'decorator', 'toggle'>
19937
- decorator: string
19938
- offsets?: {
19939
- anchor: BlockOffset
19940
- focus: BlockOffset
19941
- }
19942
- }
19943
19947
  | {
19944
19948
  type: SyntheticBehaviorEventType<'delete'>
19945
19949
  selection: NonNullable<EditorSelection>