@portabletext/editor 1.47.10 → 1.47.12

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 (51) hide show
  1. package/lib/_chunks-cjs/behavior.core.cjs +61 -3
  2. package/lib/_chunks-cjs/behavior.core.cjs.map +1 -1
  3. package/lib/_chunks-cjs/editor-provider.cjs +167 -105
  4. package/lib/_chunks-cjs/editor-provider.cjs.map +1 -1
  5. package/lib/_chunks-cjs/util.get-selection-start-point.cjs +10 -0
  6. package/lib/_chunks-cjs/util.get-selection-start-point.cjs.map +1 -0
  7. package/lib/_chunks-cjs/util.is-selection-collapsed.cjs +0 -4
  8. package/lib/_chunks-cjs/util.is-selection-collapsed.cjs.map +1 -1
  9. package/lib/_chunks-es/behavior.core.js +63 -4
  10. package/lib/_chunks-es/behavior.core.js.map +1 -1
  11. package/lib/_chunks-es/editor-provider.js +168 -105
  12. package/lib/_chunks-es/editor-provider.js.map +1 -1
  13. package/lib/_chunks-es/util.get-selection-start-point.js +11 -0
  14. package/lib/_chunks-es/util.get-selection-start-point.js.map +1 -0
  15. package/lib/_chunks-es/util.is-selection-collapsed.js +0 -4
  16. package/lib/_chunks-es/util.is-selection-collapsed.js.map +1 -1
  17. package/lib/behaviors/index.d.cts +359 -339
  18. package/lib/behaviors/index.d.ts +359 -339
  19. package/lib/behaviors/index.js +1 -1
  20. package/lib/index.cjs +3 -3
  21. package/lib/index.cjs.map +1 -1
  22. package/lib/index.d.cts +4 -4
  23. package/lib/index.d.ts +4 -4
  24. package/lib/index.js +2 -1
  25. package/lib/index.js.map +1 -1
  26. package/lib/plugins/index.cjs +0 -9
  27. package/lib/plugins/index.cjs.map +1 -1
  28. package/lib/plugins/index.d.cts +4 -4
  29. package/lib/plugins/index.d.ts +4 -4
  30. package/lib/plugins/index.js +0 -9
  31. package/lib/plugins/index.js.map +1 -1
  32. package/lib/selectors/index.d.cts +4 -4
  33. package/lib/selectors/index.d.ts +4 -4
  34. package/lib/utils/index.cjs +3 -6
  35. package/lib/utils/index.cjs.map +1 -1
  36. package/lib/utils/index.d.cts +4 -4
  37. package/lib/utils/index.d.ts +4 -4
  38. package/lib/utils/index.js +2 -4
  39. package/lib/utils/index.js.map +1 -1
  40. package/package.json +3 -3
  41. package/src/behavior-actions/behavior.action.insert.block.ts +136 -45
  42. package/src/behavior-actions/behavior.actions.ts +0 -9
  43. package/src/behaviors/behavior.abstract.insert.ts +2 -2
  44. package/src/behaviors/behavior.abstract.split.ts +118 -0
  45. package/src/behaviors/behavior.core.insert-break.ts +113 -0
  46. package/src/behaviors/behavior.core.ts +2 -0
  47. package/src/behaviors/behavior.default.ts +2 -0
  48. package/src/behaviors/behavior.types.event.ts +4 -4
  49. package/src/internal-utils/slate-utils.ts +50 -1
  50. package/src/plugins/plugin.one-line.tsx +0 -7
  51. package/src/behavior-actions/behavior.action.split.block.ts +0 -146
@@ -188,6 +188,9 @@ declare type AbstractBehaviorEvent =
188
188
  type: StrictExtract_2<AbstractBehaviorEventType, 'select.next block'>
189
189
  select?: 'start' | 'end'
190
190
  }
191
+ | {
192
+ type: StrictExtract_2<AbstractBehaviorEventType, 'split'>
193
+ }
191
194
  | {
192
195
  type: StrictExtract_2<AbstractBehaviorEventType, 'style.add'>
193
196
  style: string
@@ -230,6 +233,7 @@ declare const abstractBehaviorEventTypes: readonly [
230
233
  'serialize',
231
234
  'serialization.success',
232
235
  'serialization.failure',
236
+ 'split',
233
237
  'style.add',
234
238
  'style.remove',
235
239
  'style.toggle',
@@ -429,6 +433,7 @@ export declare const coreBehaviors: Behavior_2<
429
433
  | 'deserialize'
430
434
  | 'deserialization.failure'
431
435
  | 'deserialization.success'
436
+ | 'split'
432
437
  | 'delete'
433
438
  | 'select'
434
439
  | '*'
@@ -450,7 +455,6 @@ export declare const coreBehaviors: Behavior_2<
450
455
  | 'move.backward'
451
456
  | 'move.block'
452
457
  | 'move.forward'
453
- | 'split.block'
454
458
  | 'annotation.toggle'
455
459
  | 'decorator.toggle'
456
460
  | 'delete.text'
@@ -520,8 +524,7 @@ export declare const coreBehaviors: Behavior_2<
520
524
  | 'insert.text'
521
525
  | 'move.backward'
522
526
  | 'move.block'
523
- | 'move.forward'
524
- | 'split.block',
527
+ | 'move.forward',
525
528
  'annotation.add'
526
529
  >
527
530
  annotation: {
@@ -552,8 +555,7 @@ export declare const coreBehaviors: Behavior_2<
552
555
  | 'insert.text'
553
556
  | 'move.backward'
554
557
  | 'move.block'
555
- | 'move.forward'
556
- | 'split.block',
558
+ | 'move.forward',
557
559
  'annotation.remove'
558
560
  >
559
561
  annotation: {
@@ -581,8 +583,7 @@ export declare const coreBehaviors: Behavior_2<
581
583
  | 'insert.text'
582
584
  | 'move.backward'
583
585
  | 'move.block'
584
- | 'move.forward'
585
- | 'split.block',
586
+ | 'move.forward',
586
587
  'block.set'
587
588
  >
588
589
  at: [KeyedSegment]
@@ -609,8 +610,7 @@ export declare const coreBehaviors: Behavior_2<
609
610
  | 'insert.text'
610
611
  | 'move.backward'
611
612
  | 'move.block'
612
- | 'move.forward'
613
- | 'split.block',
613
+ | 'move.forward',
614
614
  'block.unset'
615
615
  >
616
616
  at: [KeyedSegment]
@@ -637,8 +637,7 @@ export declare const coreBehaviors: Behavior_2<
637
637
  | 'insert.text'
638
638
  | 'move.backward'
639
639
  | 'move.block'
640
- | 'move.forward'
641
- | 'split.block',
640
+ | 'move.forward',
642
641
  'decorator.add'
643
642
  >
644
643
  decorator: string
@@ -668,8 +667,7 @@ export declare const coreBehaviors: Behavior_2<
668
667
  | 'insert.text'
669
668
  | 'move.backward'
670
669
  | 'move.block'
671
- | 'move.forward'
672
- | 'split.block',
670
+ | 'move.forward',
673
671
  'decorator.remove'
674
672
  >
675
673
  decorator: string
@@ -695,8 +693,7 @@ export declare const coreBehaviors: Behavior_2<
695
693
  | 'insert.text'
696
694
  | 'move.backward'
697
695
  | 'move.block'
698
- | 'move.forward'
699
- | 'split.block',
696
+ | 'move.forward',
700
697
  'delete'
701
698
  >
702
699
  at: NonNullable<EditorSelection>
@@ -722,8 +719,7 @@ export declare const coreBehaviors: Behavior_2<
722
719
  | 'insert.text'
723
720
  | 'move.backward'
724
721
  | 'move.block'
725
- | 'move.forward'
726
- | 'split.block',
722
+ | 'move.forward',
727
723
  'delete.backward'
728
724
  >
729
725
  unit: TextUnit
@@ -749,8 +745,7 @@ export declare const coreBehaviors: Behavior_2<
749
745
  | 'insert.text'
750
746
  | 'move.backward'
751
747
  | 'move.block'
752
- | 'move.forward'
753
- | 'split.block',
748
+ | 'move.forward',
754
749
  'delete.block'
755
750
  >
756
751
  at: [KeyedSegment]
@@ -776,8 +771,7 @@ export declare const coreBehaviors: Behavior_2<
776
771
  | 'insert.text'
777
772
  | 'move.backward'
778
773
  | 'move.block'
779
- | 'move.forward'
780
- | 'split.block',
774
+ | 'move.forward',
781
775
  'delete.forward'
782
776
  >
783
777
  unit: TextUnit
@@ -803,8 +797,7 @@ export declare const coreBehaviors: Behavior_2<
803
797
  | 'insert.text'
804
798
  | 'move.backward'
805
799
  | 'move.block'
806
- | 'move.forward'
807
- | 'split.block',
800
+ | 'move.forward',
808
801
  'history.redo'
809
802
  >
810
803
  }
@@ -829,8 +822,7 @@ export declare const coreBehaviors: Behavior_2<
829
822
  | 'insert.text'
830
823
  | 'move.backward'
831
824
  | 'move.block'
832
- | 'move.forward'
833
- | 'split.block',
825
+ | 'move.forward',
834
826
  'history.undo'
835
827
  >
836
828
  }
@@ -855,8 +847,7 @@ export declare const coreBehaviors: Behavior_2<
855
847
  | 'insert.text'
856
848
  | 'move.backward'
857
849
  | 'move.block'
858
- | 'move.forward'
859
- | 'split.block',
850
+ | 'move.forward',
860
851
  'insert.inline object'
861
852
  >
862
853
  inlineObject: {
@@ -887,8 +878,7 @@ export declare const coreBehaviors: Behavior_2<
887
878
  | 'insert.text'
888
879
  | 'move.backward'
889
880
  | 'move.block'
890
- | 'move.forward'
891
- | 'split.block',
881
+ | 'move.forward',
892
882
  'insert.block'
893
883
  >
894
884
  block: BlockWithOptionalKey
@@ -916,8 +906,7 @@ export declare const coreBehaviors: Behavior_2<
916
906
  | 'insert.text'
917
907
  | 'move.backward'
918
908
  | 'move.block'
919
- | 'move.forward'
920
- | 'split.block',
909
+ | 'move.forward',
921
910
  'insert.span'
922
911
  >
923
912
  text: string
@@ -950,8 +939,7 @@ export declare const coreBehaviors: Behavior_2<
950
939
  | 'insert.text'
951
940
  | 'move.backward'
952
941
  | 'move.block'
953
- | 'move.forward'
954
- | 'split.block',
942
+ | 'move.forward',
955
943
  'insert.text'
956
944
  >
957
945
  text: string
@@ -977,8 +965,7 @@ export declare const coreBehaviors: Behavior_2<
977
965
  | 'insert.text'
978
966
  | 'move.backward'
979
967
  | 'move.block'
980
- | 'move.forward'
981
- | 'split.block',
968
+ | 'move.forward',
982
969
  'move.backward'
983
970
  >
984
971
  distance: number
@@ -1004,8 +991,7 @@ export declare const coreBehaviors: Behavior_2<
1004
991
  | 'insert.text'
1005
992
  | 'move.backward'
1006
993
  | 'move.block'
1007
- | 'move.forward'
1008
- | 'split.block',
994
+ | 'move.forward',
1009
995
  'move.block'
1010
996
  >
1011
997
  at: [KeyedSegment]
@@ -1032,8 +1018,7 @@ export declare const coreBehaviors: Behavior_2<
1032
1018
  | 'insert.text'
1033
1019
  | 'move.backward'
1034
1020
  | 'move.block'
1035
- | 'move.forward'
1036
- | 'split.block',
1021
+ | 'move.forward',
1037
1022
  'move.forward'
1038
1023
  >
1039
1024
  distance: number
@@ -1059,38 +1044,11 @@ export declare const coreBehaviors: Behavior_2<
1059
1044
  | 'insert.text'
1060
1045
  | 'move.backward'
1061
1046
  | 'move.block'
1062
- | 'move.forward'
1063
- | 'split.block',
1047
+ | 'move.forward',
1064
1048
  'select'
1065
1049
  >
1066
1050
  at: EditorSelection
1067
1051
  }
1068
- | {
1069
- type: StrictExtract<
1070
- | 'delete'
1071
- | 'select'
1072
- | 'annotation.add'
1073
- | 'annotation.remove'
1074
- | 'block.set'
1075
- | 'block.unset'
1076
- | 'decorator.add'
1077
- | 'decorator.remove'
1078
- | 'delete.backward'
1079
- | 'delete.block'
1080
- | 'delete.forward'
1081
- | 'history.redo'
1082
- | 'history.undo'
1083
- | 'insert.inline object'
1084
- | 'insert.block'
1085
- | 'insert.span'
1086
- | 'insert.text'
1087
- | 'move.backward'
1088
- | 'move.block'
1089
- | 'move.forward'
1090
- | 'split.block',
1091
- 'split.block'
1092
- >
1093
- }
1094
1052
  | {
1095
1053
  type: StrictExtract<
1096
1054
  | 'serialize'
@@ -1099,6 +1057,7 @@ export declare const coreBehaviors: Behavior_2<
1099
1057
  | 'deserialize'
1100
1058
  | 'deserialization.failure'
1101
1059
  | 'deserialization.success'
1060
+ | 'split'
1102
1061
  | 'annotation.toggle'
1103
1062
  | 'decorator.toggle'
1104
1063
  | 'delete.text'
@@ -1132,6 +1091,7 @@ export declare const coreBehaviors: Behavior_2<
1132
1091
  | 'deserialize'
1133
1092
  | 'deserialization.failure'
1134
1093
  | 'deserialization.success'
1094
+ | 'split'
1135
1095
  | 'annotation.toggle'
1136
1096
  | 'decorator.toggle'
1137
1097
  | 'delete.text'
@@ -1164,6 +1124,7 @@ export declare const coreBehaviors: Behavior_2<
1164
1124
  | 'deserialize'
1165
1125
  | 'deserialization.failure'
1166
1126
  | 'deserialization.success'
1127
+ | 'split'
1167
1128
  | 'annotation.toggle'
1168
1129
  | 'decorator.toggle'
1169
1130
  | 'delete.text'
@@ -1195,6 +1156,7 @@ export declare const coreBehaviors: Behavior_2<
1195
1156
  | 'deserialize'
1196
1157
  | 'deserialization.failure'
1197
1158
  | 'deserialization.success'
1159
+ | 'split'
1198
1160
  | 'annotation.toggle'
1199
1161
  | 'decorator.toggle'
1200
1162
  | 'delete.text'
@@ -1229,6 +1191,7 @@ export declare const coreBehaviors: Behavior_2<
1229
1191
  | 'deserialize'
1230
1192
  | 'deserialization.failure'
1231
1193
  | 'deserialization.success'
1194
+ | 'split'
1232
1195
  | 'annotation.toggle'
1233
1196
  | 'decorator.toggle'
1234
1197
  | 'delete.text'
@@ -1261,6 +1224,7 @@ export declare const coreBehaviors: Behavior_2<
1261
1224
  | 'deserialize'
1262
1225
  | 'deserialization.failure'
1263
1226
  | 'deserialization.success'
1227
+ | 'split'
1264
1228
  | 'annotation.toggle'
1265
1229
  | 'decorator.toggle'
1266
1230
  | 'delete.text'
@@ -1297,6 +1261,7 @@ export declare const coreBehaviors: Behavior_2<
1297
1261
  | 'deserialize'
1298
1262
  | 'deserialization.failure'
1299
1263
  | 'deserialization.success'
1264
+ | 'split'
1300
1265
  | 'annotation.toggle'
1301
1266
  | 'decorator.toggle'
1302
1267
  | 'delete.text'
@@ -1333,6 +1298,7 @@ export declare const coreBehaviors: Behavior_2<
1333
1298
  | 'deserialize'
1334
1299
  | 'deserialization.failure'
1335
1300
  | 'deserialization.success'
1301
+ | 'split'
1336
1302
  | 'annotation.toggle'
1337
1303
  | 'decorator.toggle'
1338
1304
  | 'delete.text'
@@ -1367,6 +1333,7 @@ export declare const coreBehaviors: Behavior_2<
1367
1333
  | 'deserialize'
1368
1334
  | 'deserialization.failure'
1369
1335
  | 'deserialization.success'
1336
+ | 'split'
1370
1337
  | 'annotation.toggle'
1371
1338
  | 'decorator.toggle'
1372
1339
  | 'delete.text'
@@ -1401,6 +1368,7 @@ export declare const coreBehaviors: Behavior_2<
1401
1368
  | 'deserialize'
1402
1369
  | 'deserialization.failure'
1403
1370
  | 'deserialization.success'
1371
+ | 'split'
1404
1372
  | 'annotation.toggle'
1405
1373
  | 'decorator.toggle'
1406
1374
  | 'delete.text'
@@ -1430,6 +1398,7 @@ export declare const coreBehaviors: Behavior_2<
1430
1398
  | 'deserialize'
1431
1399
  | 'deserialization.failure'
1432
1400
  | 'deserialization.success'
1401
+ | 'split'
1433
1402
  | 'annotation.toggle'
1434
1403
  | 'decorator.toggle'
1435
1404
  | 'delete.text'
@@ -1457,6 +1426,7 @@ export declare const coreBehaviors: Behavior_2<
1457
1426
  | 'deserialize'
1458
1427
  | 'deserialization.failure'
1459
1428
  | 'deserialization.success'
1429
+ | 'split'
1460
1430
  | 'annotation.toggle'
1461
1431
  | 'decorator.toggle'
1462
1432
  | 'delete.text'
@@ -1484,6 +1454,7 @@ export declare const coreBehaviors: Behavior_2<
1484
1454
  | 'deserialize'
1485
1455
  | 'deserialization.failure'
1486
1456
  | 'deserialization.success'
1457
+ | 'split'
1487
1458
  | 'annotation.toggle'
1488
1459
  | 'decorator.toggle'
1489
1460
  | 'delete.text'
@@ -1512,6 +1483,7 @@ export declare const coreBehaviors: Behavior_2<
1512
1483
  | 'deserialize'
1513
1484
  | 'deserialization.failure'
1514
1485
  | 'deserialization.success'
1486
+ | 'split'
1515
1487
  | 'annotation.toggle'
1516
1488
  | 'decorator.toggle'
1517
1489
  | 'delete.text'
@@ -1540,6 +1512,7 @@ export declare const coreBehaviors: Behavior_2<
1540
1512
  | 'deserialize'
1541
1513
  | 'deserialization.failure'
1542
1514
  | 'deserialization.success'
1515
+ | 'split'
1543
1516
  | 'annotation.toggle'
1544
1517
  | 'decorator.toggle'
1545
1518
  | 'delete.text'
@@ -1568,6 +1541,7 @@ export declare const coreBehaviors: Behavior_2<
1568
1541
  | 'deserialize'
1569
1542
  | 'deserialization.failure'
1570
1543
  | 'deserialization.success'
1544
+ | 'split'
1571
1545
  | 'annotation.toggle'
1572
1546
  | 'decorator.toggle'
1573
1547
  | 'delete.text'
@@ -1596,6 +1570,7 @@ export declare const coreBehaviors: Behavior_2<
1596
1570
  | 'deserialize'
1597
1571
  | 'deserialization.failure'
1598
1572
  | 'deserialization.success'
1573
+ | 'split'
1599
1574
  | 'annotation.toggle'
1600
1575
  | 'decorator.toggle'
1601
1576
  | 'delete.text'
@@ -1624,6 +1599,7 @@ export declare const coreBehaviors: Behavior_2<
1624
1599
  | 'deserialize'
1625
1600
  | 'deserialization.failure'
1626
1601
  | 'deserialization.success'
1602
+ | 'split'
1627
1603
  | 'annotation.toggle'
1628
1604
  | 'decorator.toggle'
1629
1605
  | 'delete.text'
@@ -1652,6 +1628,7 @@ export declare const coreBehaviors: Behavior_2<
1652
1628
  | 'deserialize'
1653
1629
  | 'deserialization.failure'
1654
1630
  | 'deserialization.success'
1631
+ | 'split'
1655
1632
  | 'annotation.toggle'
1656
1633
  | 'decorator.toggle'
1657
1634
  | 'delete.text'
@@ -1680,6 +1657,35 @@ export declare const coreBehaviors: Behavior_2<
1680
1657
  | 'deserialize'
1681
1658
  | 'deserialization.failure'
1682
1659
  | 'deserialization.success'
1660
+ | 'split'
1661
+ | 'annotation.toggle'
1662
+ | 'decorator.toggle'
1663
+ | 'delete.text'
1664
+ | 'insert.blocks'
1665
+ | 'insert.break'
1666
+ | 'insert.soft break'
1667
+ | 'list item.add'
1668
+ | 'list item.remove'
1669
+ | 'list item.toggle'
1670
+ | 'move.block down'
1671
+ | 'move.block up'
1672
+ | 'select.previous block'
1673
+ | 'select.next block'
1674
+ | 'style.add'
1675
+ | 'style.remove'
1676
+ | 'style.toggle',
1677
+ 'split'
1678
+ >
1679
+ }
1680
+ | {
1681
+ type: StrictExtract<
1682
+ | 'serialize'
1683
+ | 'serialization.failure'
1684
+ | 'serialization.success'
1685
+ | 'deserialize'
1686
+ | 'deserialization.failure'
1687
+ | 'deserialization.success'
1688
+ | 'split'
1683
1689
  | 'annotation.toggle'
1684
1690
  | 'decorator.toggle'
1685
1691
  | 'delete.text'
@@ -1708,6 +1714,7 @@ export declare const coreBehaviors: Behavior_2<
1708
1714
  | 'deserialize'
1709
1715
  | 'deserialization.failure'
1710
1716
  | 'deserialization.success'
1717
+ | 'split'
1711
1718
  | 'annotation.toggle'
1712
1719
  | 'decorator.toggle'
1713
1720
  | 'delete.text'
@@ -1736,6 +1743,7 @@ export declare const coreBehaviors: Behavior_2<
1736
1743
  | 'deserialize'
1737
1744
  | 'deserialization.failure'
1738
1745
  | 'deserialization.success'
1746
+ | 'split'
1739
1747
  | 'annotation.toggle'
1740
1748
  | 'decorator.toggle'
1741
1749
  | 'delete.text'
@@ -2049,6 +2057,7 @@ export declare function createCodeEditorBehaviors(
2049
2057
  | 'deserialize'
2050
2058
  | 'deserialization.failure'
2051
2059
  | 'deserialization.success'
2060
+ | 'split'
2052
2061
  | 'delete'
2053
2062
  | 'select'
2054
2063
  | '*'
@@ -2070,7 +2079,6 @@ export declare function createCodeEditorBehaviors(
2070
2079
  | 'move.backward'
2071
2080
  | 'move.block'
2072
2081
  | 'move.forward'
2073
- | 'split.block'
2074
2082
  | 'annotation.toggle'
2075
2083
  | 'decorator.toggle'
2076
2084
  | 'delete.text'
@@ -2140,8 +2148,7 @@ export declare function createCodeEditorBehaviors(
2140
2148
  | 'insert.text'
2141
2149
  | 'move.backward'
2142
2150
  | 'move.block'
2143
- | 'move.forward'
2144
- | 'split.block',
2151
+ | 'move.forward',
2145
2152
  'annotation.add'
2146
2153
  >
2147
2154
  annotation: {
@@ -2172,8 +2179,7 @@ export declare function createCodeEditorBehaviors(
2172
2179
  | 'insert.text'
2173
2180
  | 'move.backward'
2174
2181
  | 'move.block'
2175
- | 'move.forward'
2176
- | 'split.block',
2182
+ | 'move.forward',
2177
2183
  'annotation.remove'
2178
2184
  >
2179
2185
  annotation: {
@@ -2201,8 +2207,7 @@ export declare function createCodeEditorBehaviors(
2201
2207
  | 'insert.text'
2202
2208
  | 'move.backward'
2203
2209
  | 'move.block'
2204
- | 'move.forward'
2205
- | 'split.block',
2210
+ | 'move.forward',
2206
2211
  'block.set'
2207
2212
  >
2208
2213
  at: [KeyedSegment]
@@ -2229,8 +2234,7 @@ export declare function createCodeEditorBehaviors(
2229
2234
  | 'insert.text'
2230
2235
  | 'move.backward'
2231
2236
  | 'move.block'
2232
- | 'move.forward'
2233
- | 'split.block',
2237
+ | 'move.forward',
2234
2238
  'block.unset'
2235
2239
  >
2236
2240
  at: [KeyedSegment]
@@ -2257,8 +2261,7 @@ export declare function createCodeEditorBehaviors(
2257
2261
  | 'insert.text'
2258
2262
  | 'move.backward'
2259
2263
  | 'move.block'
2260
- | 'move.forward'
2261
- | 'split.block',
2264
+ | 'move.forward',
2262
2265
  'decorator.add'
2263
2266
  >
2264
2267
  decorator: string
@@ -2288,8 +2291,7 @@ export declare function createCodeEditorBehaviors(
2288
2291
  | 'insert.text'
2289
2292
  | 'move.backward'
2290
2293
  | 'move.block'
2291
- | 'move.forward'
2292
- | 'split.block',
2294
+ | 'move.forward',
2293
2295
  'decorator.remove'
2294
2296
  >
2295
2297
  decorator: string
@@ -2315,8 +2317,7 @@ export declare function createCodeEditorBehaviors(
2315
2317
  | 'insert.text'
2316
2318
  | 'move.backward'
2317
2319
  | 'move.block'
2318
- | 'move.forward'
2319
- | 'split.block',
2320
+ | 'move.forward',
2320
2321
  'delete'
2321
2322
  >
2322
2323
  at: NonNullable<EditorSelection>
@@ -2342,8 +2343,7 @@ export declare function createCodeEditorBehaviors(
2342
2343
  | 'insert.text'
2343
2344
  | 'move.backward'
2344
2345
  | 'move.block'
2345
- | 'move.forward'
2346
- | 'split.block',
2346
+ | 'move.forward',
2347
2347
  'delete.backward'
2348
2348
  >
2349
2349
  unit: TextUnit
@@ -2369,8 +2369,7 @@ export declare function createCodeEditorBehaviors(
2369
2369
  | 'insert.text'
2370
2370
  | 'move.backward'
2371
2371
  | 'move.block'
2372
- | 'move.forward'
2373
- | 'split.block',
2372
+ | 'move.forward',
2374
2373
  'delete.block'
2375
2374
  >
2376
2375
  at: [KeyedSegment]
@@ -2396,8 +2395,7 @@ export declare function createCodeEditorBehaviors(
2396
2395
  | 'insert.text'
2397
2396
  | 'move.backward'
2398
2397
  | 'move.block'
2399
- | 'move.forward'
2400
- | 'split.block',
2398
+ | 'move.forward',
2401
2399
  'delete.forward'
2402
2400
  >
2403
2401
  unit: TextUnit
@@ -2423,8 +2421,7 @@ export declare function createCodeEditorBehaviors(
2423
2421
  | 'insert.text'
2424
2422
  | 'move.backward'
2425
2423
  | 'move.block'
2426
- | 'move.forward'
2427
- | 'split.block',
2424
+ | 'move.forward',
2428
2425
  'history.redo'
2429
2426
  >
2430
2427
  }
@@ -2449,8 +2446,7 @@ export declare function createCodeEditorBehaviors(
2449
2446
  | 'insert.text'
2450
2447
  | 'move.backward'
2451
2448
  | 'move.block'
2452
- | 'move.forward'
2453
- | 'split.block',
2449
+ | 'move.forward',
2454
2450
  'history.undo'
2455
2451
  >
2456
2452
  }
@@ -2475,8 +2471,7 @@ export declare function createCodeEditorBehaviors(
2475
2471
  | 'insert.text'
2476
2472
  | 'move.backward'
2477
2473
  | 'move.block'
2478
- | 'move.forward'
2479
- | 'split.block',
2474
+ | 'move.forward',
2480
2475
  'insert.inline object'
2481
2476
  >
2482
2477
  inlineObject: {
@@ -2507,8 +2502,7 @@ export declare function createCodeEditorBehaviors(
2507
2502
  | 'insert.text'
2508
2503
  | 'move.backward'
2509
2504
  | 'move.block'
2510
- | 'move.forward'
2511
- | 'split.block',
2505
+ | 'move.forward',
2512
2506
  'insert.block'
2513
2507
  >
2514
2508
  block: BlockWithOptionalKey
@@ -2536,8 +2530,7 @@ export declare function createCodeEditorBehaviors(
2536
2530
  | 'insert.text'
2537
2531
  | 'move.backward'
2538
2532
  | 'move.block'
2539
- | 'move.forward'
2540
- | 'split.block',
2533
+ | 'move.forward',
2541
2534
  'insert.span'
2542
2535
  >
2543
2536
  text: string
@@ -2570,8 +2563,7 @@ export declare function createCodeEditorBehaviors(
2570
2563
  | 'insert.text'
2571
2564
  | 'move.backward'
2572
2565
  | 'move.block'
2573
- | 'move.forward'
2574
- | 'split.block',
2566
+ | 'move.forward',
2575
2567
  'insert.text'
2576
2568
  >
2577
2569
  text: string
@@ -2597,8 +2589,7 @@ export declare function createCodeEditorBehaviors(
2597
2589
  | 'insert.text'
2598
2590
  | 'move.backward'
2599
2591
  | 'move.block'
2600
- | 'move.forward'
2601
- | 'split.block',
2592
+ | 'move.forward',
2602
2593
  'move.backward'
2603
2594
  >
2604
2595
  distance: number
@@ -2624,8 +2615,7 @@ export declare function createCodeEditorBehaviors(
2624
2615
  | 'insert.text'
2625
2616
  | 'move.backward'
2626
2617
  | 'move.block'
2627
- | 'move.forward'
2628
- | 'split.block',
2618
+ | 'move.forward',
2629
2619
  'move.block'
2630
2620
  >
2631
2621
  at: [KeyedSegment]
@@ -2652,8 +2642,7 @@ export declare function createCodeEditorBehaviors(
2652
2642
  | 'insert.text'
2653
2643
  | 'move.backward'
2654
2644
  | 'move.block'
2655
- | 'move.forward'
2656
- | 'split.block',
2645
+ | 'move.forward',
2657
2646
  'move.forward'
2658
2647
  >
2659
2648
  distance: number
@@ -2679,38 +2668,11 @@ export declare function createCodeEditorBehaviors(
2679
2668
  | 'insert.text'
2680
2669
  | 'move.backward'
2681
2670
  | 'move.block'
2682
- | 'move.forward'
2683
- | 'split.block',
2671
+ | 'move.forward',
2684
2672
  'select'
2685
2673
  >
2686
2674
  at: EditorSelection
2687
2675
  }
2688
- | {
2689
- type: StrictExtract<
2690
- | 'delete'
2691
- | 'select'
2692
- | 'annotation.add'
2693
- | 'annotation.remove'
2694
- | 'block.set'
2695
- | 'block.unset'
2696
- | 'decorator.add'
2697
- | 'decorator.remove'
2698
- | 'delete.backward'
2699
- | 'delete.block'
2700
- | 'delete.forward'
2701
- | 'history.redo'
2702
- | 'history.undo'
2703
- | 'insert.inline object'
2704
- | 'insert.block'
2705
- | 'insert.span'
2706
- | 'insert.text'
2707
- | 'move.backward'
2708
- | 'move.block'
2709
- | 'move.forward'
2710
- | 'split.block',
2711
- 'split.block'
2712
- >
2713
- }
2714
2676
  | {
2715
2677
  type: StrictExtract<
2716
2678
  | 'serialize'
@@ -2719,6 +2681,7 @@ export declare function createCodeEditorBehaviors(
2719
2681
  | 'deserialize'
2720
2682
  | 'deserialization.failure'
2721
2683
  | 'deserialization.success'
2684
+ | 'split'
2722
2685
  | 'annotation.toggle'
2723
2686
  | 'decorator.toggle'
2724
2687
  | 'delete.text'
@@ -2752,6 +2715,7 @@ export declare function createCodeEditorBehaviors(
2752
2715
  | 'deserialize'
2753
2716
  | 'deserialization.failure'
2754
2717
  | 'deserialization.success'
2718
+ | 'split'
2755
2719
  | 'annotation.toggle'
2756
2720
  | 'decorator.toggle'
2757
2721
  | 'delete.text'
@@ -2784,6 +2748,7 @@ export declare function createCodeEditorBehaviors(
2784
2748
  | 'deserialize'
2785
2749
  | 'deserialization.failure'
2786
2750
  | 'deserialization.success'
2751
+ | 'split'
2787
2752
  | 'annotation.toggle'
2788
2753
  | 'decorator.toggle'
2789
2754
  | 'delete.text'
@@ -2815,6 +2780,7 @@ export declare function createCodeEditorBehaviors(
2815
2780
  | 'deserialize'
2816
2781
  | 'deserialization.failure'
2817
2782
  | 'deserialization.success'
2783
+ | 'split'
2818
2784
  | 'annotation.toggle'
2819
2785
  | 'decorator.toggle'
2820
2786
  | 'delete.text'
@@ -2849,6 +2815,7 @@ export declare function createCodeEditorBehaviors(
2849
2815
  | 'deserialize'
2850
2816
  | 'deserialization.failure'
2851
2817
  | 'deserialization.success'
2818
+ | 'split'
2852
2819
  | 'annotation.toggle'
2853
2820
  | 'decorator.toggle'
2854
2821
  | 'delete.text'
@@ -2881,6 +2848,7 @@ export declare function createCodeEditorBehaviors(
2881
2848
  | 'deserialize'
2882
2849
  | 'deserialization.failure'
2883
2850
  | 'deserialization.success'
2851
+ | 'split'
2884
2852
  | 'annotation.toggle'
2885
2853
  | 'decorator.toggle'
2886
2854
  | 'delete.text'
@@ -2917,6 +2885,7 @@ export declare function createCodeEditorBehaviors(
2917
2885
  | 'deserialize'
2918
2886
  | 'deserialization.failure'
2919
2887
  | 'deserialization.success'
2888
+ | 'split'
2920
2889
  | 'annotation.toggle'
2921
2890
  | 'decorator.toggle'
2922
2891
  | 'delete.text'
@@ -2953,6 +2922,7 @@ export declare function createCodeEditorBehaviors(
2953
2922
  | 'deserialize'
2954
2923
  | 'deserialization.failure'
2955
2924
  | 'deserialization.success'
2925
+ | 'split'
2956
2926
  | 'annotation.toggle'
2957
2927
  | 'decorator.toggle'
2958
2928
  | 'delete.text'
@@ -2987,6 +2957,7 @@ export declare function createCodeEditorBehaviors(
2987
2957
  | 'deserialize'
2988
2958
  | 'deserialization.failure'
2989
2959
  | 'deserialization.success'
2960
+ | 'split'
2990
2961
  | 'annotation.toggle'
2991
2962
  | 'decorator.toggle'
2992
2963
  | 'delete.text'
@@ -3021,6 +2992,7 @@ export declare function createCodeEditorBehaviors(
3021
2992
  | 'deserialize'
3022
2993
  | 'deserialization.failure'
3023
2994
  | 'deserialization.success'
2995
+ | 'split'
3024
2996
  | 'annotation.toggle'
3025
2997
  | 'decorator.toggle'
3026
2998
  | 'delete.text'
@@ -3050,6 +3022,7 @@ export declare function createCodeEditorBehaviors(
3050
3022
  | 'deserialize'
3051
3023
  | 'deserialization.failure'
3052
3024
  | 'deserialization.success'
3025
+ | 'split'
3053
3026
  | 'annotation.toggle'
3054
3027
  | 'decorator.toggle'
3055
3028
  | 'delete.text'
@@ -3077,6 +3050,7 @@ export declare function createCodeEditorBehaviors(
3077
3050
  | 'deserialize'
3078
3051
  | 'deserialization.failure'
3079
3052
  | 'deserialization.success'
3053
+ | 'split'
3080
3054
  | 'annotation.toggle'
3081
3055
  | 'decorator.toggle'
3082
3056
  | 'delete.text'
@@ -3104,6 +3078,7 @@ export declare function createCodeEditorBehaviors(
3104
3078
  | 'deserialize'
3105
3079
  | 'deserialization.failure'
3106
3080
  | 'deserialization.success'
3081
+ | 'split'
3107
3082
  | 'annotation.toggle'
3108
3083
  | 'decorator.toggle'
3109
3084
  | 'delete.text'
@@ -3132,6 +3107,7 @@ export declare function createCodeEditorBehaviors(
3132
3107
  | 'deserialize'
3133
3108
  | 'deserialization.failure'
3134
3109
  | 'deserialization.success'
3110
+ | 'split'
3135
3111
  | 'annotation.toggle'
3136
3112
  | 'decorator.toggle'
3137
3113
  | 'delete.text'
@@ -3160,6 +3136,7 @@ export declare function createCodeEditorBehaviors(
3160
3136
  | 'deserialize'
3161
3137
  | 'deserialization.failure'
3162
3138
  | 'deserialization.success'
3139
+ | 'split'
3163
3140
  | 'annotation.toggle'
3164
3141
  | 'decorator.toggle'
3165
3142
  | 'delete.text'
@@ -3188,6 +3165,7 @@ export declare function createCodeEditorBehaviors(
3188
3165
  | 'deserialize'
3189
3166
  | 'deserialization.failure'
3190
3167
  | 'deserialization.success'
3168
+ | 'split'
3191
3169
  | 'annotation.toggle'
3192
3170
  | 'decorator.toggle'
3193
3171
  | 'delete.text'
@@ -3216,6 +3194,7 @@ export declare function createCodeEditorBehaviors(
3216
3194
  | 'deserialize'
3217
3195
  | 'deserialization.failure'
3218
3196
  | 'deserialization.success'
3197
+ | 'split'
3219
3198
  | 'annotation.toggle'
3220
3199
  | 'decorator.toggle'
3221
3200
  | 'delete.text'
@@ -3244,6 +3223,7 @@ export declare function createCodeEditorBehaviors(
3244
3223
  | 'deserialize'
3245
3224
  | 'deserialization.failure'
3246
3225
  | 'deserialization.success'
3226
+ | 'split'
3247
3227
  | 'annotation.toggle'
3248
3228
  | 'decorator.toggle'
3249
3229
  | 'delete.text'
@@ -3272,6 +3252,7 @@ export declare function createCodeEditorBehaviors(
3272
3252
  | 'deserialize'
3273
3253
  | 'deserialization.failure'
3274
3254
  | 'deserialization.success'
3255
+ | 'split'
3275
3256
  | 'annotation.toggle'
3276
3257
  | 'decorator.toggle'
3277
3258
  | 'delete.text'
@@ -3300,6 +3281,35 @@ export declare function createCodeEditorBehaviors(
3300
3281
  | 'deserialize'
3301
3282
  | 'deserialization.failure'
3302
3283
  | 'deserialization.success'
3284
+ | 'split'
3285
+ | 'annotation.toggle'
3286
+ | 'decorator.toggle'
3287
+ | 'delete.text'
3288
+ | 'insert.blocks'
3289
+ | 'insert.break'
3290
+ | 'insert.soft break'
3291
+ | 'list item.add'
3292
+ | 'list item.remove'
3293
+ | 'list item.toggle'
3294
+ | 'move.block down'
3295
+ | 'move.block up'
3296
+ | 'select.previous block'
3297
+ | 'select.next block'
3298
+ | 'style.add'
3299
+ | 'style.remove'
3300
+ | 'style.toggle',
3301
+ 'split'
3302
+ >
3303
+ }
3304
+ | {
3305
+ type: StrictExtract<
3306
+ | 'serialize'
3307
+ | 'serialization.failure'
3308
+ | 'serialization.success'
3309
+ | 'deserialize'
3310
+ | 'deserialization.failure'
3311
+ | 'deserialization.success'
3312
+ | 'split'
3303
3313
  | 'annotation.toggle'
3304
3314
  | 'decorator.toggle'
3305
3315
  | 'delete.text'
@@ -3328,6 +3338,7 @@ export declare function createCodeEditorBehaviors(
3328
3338
  | 'deserialize'
3329
3339
  | 'deserialization.failure'
3330
3340
  | 'deserialization.success'
3341
+ | 'split'
3331
3342
  | 'annotation.toggle'
3332
3343
  | 'decorator.toggle'
3333
3344
  | 'delete.text'
@@ -3356,6 +3367,7 @@ export declare function createCodeEditorBehaviors(
3356
3367
  | 'deserialize'
3357
3368
  | 'deserialization.failure'
3358
3369
  | 'deserialization.success'
3370
+ | 'split'
3359
3371
  | 'annotation.toggle'
3360
3372
  | 'decorator.toggle'
3361
3373
  | 'delete.text'
@@ -3669,6 +3681,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
3669
3681
  | 'deserialize'
3670
3682
  | 'deserialization.failure'
3671
3683
  | 'deserialization.success'
3684
+ | 'split'
3672
3685
  | 'delete'
3673
3686
  | 'select'
3674
3687
  | '*'
@@ -3690,7 +3703,6 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
3690
3703
  | 'move.backward'
3691
3704
  | 'move.block'
3692
3705
  | 'move.forward'
3693
- | 'split.block'
3694
3706
  | 'annotation.toggle'
3695
3707
  | 'decorator.toggle'
3696
3708
  | 'delete.text'
@@ -3760,8 +3772,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
3760
3772
  | 'insert.text'
3761
3773
  | 'move.backward'
3762
3774
  | 'move.block'
3763
- | 'move.forward'
3764
- | 'split.block',
3775
+ | 'move.forward',
3765
3776
  'annotation.add'
3766
3777
  >
3767
3778
  annotation: {
@@ -3792,8 +3803,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
3792
3803
  | 'insert.text'
3793
3804
  | 'move.backward'
3794
3805
  | 'move.block'
3795
- | 'move.forward'
3796
- | 'split.block',
3806
+ | 'move.forward',
3797
3807
  'annotation.remove'
3798
3808
  >
3799
3809
  annotation: {
@@ -3821,8 +3831,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
3821
3831
  | 'insert.text'
3822
3832
  | 'move.backward'
3823
3833
  | 'move.block'
3824
- | 'move.forward'
3825
- | 'split.block',
3834
+ | 'move.forward',
3826
3835
  'block.set'
3827
3836
  >
3828
3837
  at: [KeyedSegment]
@@ -3849,8 +3858,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
3849
3858
  | 'insert.text'
3850
3859
  | 'move.backward'
3851
3860
  | 'move.block'
3852
- | 'move.forward'
3853
- | 'split.block',
3861
+ | 'move.forward',
3854
3862
  'block.unset'
3855
3863
  >
3856
3864
  at: [KeyedSegment]
@@ -3877,8 +3885,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
3877
3885
  | 'insert.text'
3878
3886
  | 'move.backward'
3879
3887
  | 'move.block'
3880
- | 'move.forward'
3881
- | 'split.block',
3888
+ | 'move.forward',
3882
3889
  'decorator.add'
3883
3890
  >
3884
3891
  decorator: string
@@ -3908,8 +3915,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
3908
3915
  | 'insert.text'
3909
3916
  | 'move.backward'
3910
3917
  | 'move.block'
3911
- | 'move.forward'
3912
- | 'split.block',
3918
+ | 'move.forward',
3913
3919
  'decorator.remove'
3914
3920
  >
3915
3921
  decorator: string
@@ -3935,8 +3941,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
3935
3941
  | 'insert.text'
3936
3942
  | 'move.backward'
3937
3943
  | 'move.block'
3938
- | 'move.forward'
3939
- | 'split.block',
3944
+ | 'move.forward',
3940
3945
  'delete'
3941
3946
  >
3942
3947
  at: NonNullable<EditorSelection>
@@ -3962,8 +3967,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
3962
3967
  | 'insert.text'
3963
3968
  | 'move.backward'
3964
3969
  | 'move.block'
3965
- | 'move.forward'
3966
- | 'split.block',
3970
+ | 'move.forward',
3967
3971
  'delete.backward'
3968
3972
  >
3969
3973
  unit: TextUnit
@@ -3989,8 +3993,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
3989
3993
  | 'insert.text'
3990
3994
  | 'move.backward'
3991
3995
  | 'move.block'
3992
- | 'move.forward'
3993
- | 'split.block',
3996
+ | 'move.forward',
3994
3997
  'delete.block'
3995
3998
  >
3996
3999
  at: [KeyedSegment]
@@ -4016,8 +4019,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4016
4019
  | 'insert.text'
4017
4020
  | 'move.backward'
4018
4021
  | 'move.block'
4019
- | 'move.forward'
4020
- | 'split.block',
4022
+ | 'move.forward',
4021
4023
  'delete.forward'
4022
4024
  >
4023
4025
  unit: TextUnit
@@ -4043,8 +4045,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4043
4045
  | 'insert.text'
4044
4046
  | 'move.backward'
4045
4047
  | 'move.block'
4046
- | 'move.forward'
4047
- | 'split.block',
4048
+ | 'move.forward',
4048
4049
  'history.redo'
4049
4050
  >
4050
4051
  }
@@ -4069,8 +4070,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4069
4070
  | 'insert.text'
4070
4071
  | 'move.backward'
4071
4072
  | 'move.block'
4072
- | 'move.forward'
4073
- | 'split.block',
4073
+ | 'move.forward',
4074
4074
  'history.undo'
4075
4075
  >
4076
4076
  }
@@ -4095,8 +4095,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4095
4095
  | 'insert.text'
4096
4096
  | 'move.backward'
4097
4097
  | 'move.block'
4098
- | 'move.forward'
4099
- | 'split.block',
4098
+ | 'move.forward',
4100
4099
  'insert.inline object'
4101
4100
  >
4102
4101
  inlineObject: {
@@ -4127,8 +4126,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4127
4126
  | 'insert.text'
4128
4127
  | 'move.backward'
4129
4128
  | 'move.block'
4130
- | 'move.forward'
4131
- | 'split.block',
4129
+ | 'move.forward',
4132
4130
  'insert.block'
4133
4131
  >
4134
4132
  block: BlockWithOptionalKey
@@ -4156,8 +4154,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4156
4154
  | 'insert.text'
4157
4155
  | 'move.backward'
4158
4156
  | 'move.block'
4159
- | 'move.forward'
4160
- | 'split.block',
4157
+ | 'move.forward',
4161
4158
  'insert.span'
4162
4159
  >
4163
4160
  text: string
@@ -4190,8 +4187,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4190
4187
  | 'insert.text'
4191
4188
  | 'move.backward'
4192
4189
  | 'move.block'
4193
- | 'move.forward'
4194
- | 'split.block',
4190
+ | 'move.forward',
4195
4191
  'insert.text'
4196
4192
  >
4197
4193
  text: string
@@ -4217,8 +4213,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4217
4213
  | 'insert.text'
4218
4214
  | 'move.backward'
4219
4215
  | 'move.block'
4220
- | 'move.forward'
4221
- | 'split.block',
4216
+ | 'move.forward',
4222
4217
  'move.backward'
4223
4218
  >
4224
4219
  distance: number
@@ -4244,8 +4239,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4244
4239
  | 'insert.text'
4245
4240
  | 'move.backward'
4246
4241
  | 'move.block'
4247
- | 'move.forward'
4248
- | 'split.block',
4242
+ | 'move.forward',
4249
4243
  'move.block'
4250
4244
  >
4251
4245
  at: [KeyedSegment]
@@ -4272,8 +4266,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4272
4266
  | 'insert.text'
4273
4267
  | 'move.backward'
4274
4268
  | 'move.block'
4275
- | 'move.forward'
4276
- | 'split.block',
4269
+ | 'move.forward',
4277
4270
  'move.forward'
4278
4271
  >
4279
4272
  distance: number
@@ -4299,38 +4292,11 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4299
4292
  | 'insert.text'
4300
4293
  | 'move.backward'
4301
4294
  | 'move.block'
4302
- | 'move.forward'
4303
- | 'split.block',
4295
+ | 'move.forward',
4304
4296
  'select'
4305
4297
  >
4306
4298
  at: EditorSelection
4307
4299
  }
4308
- | {
4309
- type: StrictExtract<
4310
- | 'delete'
4311
- | 'select'
4312
- | 'annotation.add'
4313
- | 'annotation.remove'
4314
- | 'block.set'
4315
- | 'block.unset'
4316
- | 'decorator.add'
4317
- | 'decorator.remove'
4318
- | 'delete.backward'
4319
- | 'delete.block'
4320
- | 'delete.forward'
4321
- | 'history.redo'
4322
- | 'history.undo'
4323
- | 'insert.inline object'
4324
- | 'insert.block'
4325
- | 'insert.span'
4326
- | 'insert.text'
4327
- | 'move.backward'
4328
- | 'move.block'
4329
- | 'move.forward'
4330
- | 'split.block',
4331
- 'split.block'
4332
- >
4333
- }
4334
4300
  | {
4335
4301
  type: StrictExtract<
4336
4302
  | 'serialize'
@@ -4339,6 +4305,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4339
4305
  | 'deserialize'
4340
4306
  | 'deserialization.failure'
4341
4307
  | 'deserialization.success'
4308
+ | 'split'
4342
4309
  | 'annotation.toggle'
4343
4310
  | 'decorator.toggle'
4344
4311
  | 'delete.text'
@@ -4372,6 +4339,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4372
4339
  | 'deserialize'
4373
4340
  | 'deserialization.failure'
4374
4341
  | 'deserialization.success'
4342
+ | 'split'
4375
4343
  | 'annotation.toggle'
4376
4344
  | 'decorator.toggle'
4377
4345
  | 'delete.text'
@@ -4404,6 +4372,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4404
4372
  | 'deserialize'
4405
4373
  | 'deserialization.failure'
4406
4374
  | 'deserialization.success'
4375
+ | 'split'
4407
4376
  | 'annotation.toggle'
4408
4377
  | 'decorator.toggle'
4409
4378
  | 'delete.text'
@@ -4435,6 +4404,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4435
4404
  | 'deserialize'
4436
4405
  | 'deserialization.failure'
4437
4406
  | 'deserialization.success'
4407
+ | 'split'
4438
4408
  | 'annotation.toggle'
4439
4409
  | 'decorator.toggle'
4440
4410
  | 'delete.text'
@@ -4469,6 +4439,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4469
4439
  | 'deserialize'
4470
4440
  | 'deserialization.failure'
4471
4441
  | 'deserialization.success'
4442
+ | 'split'
4472
4443
  | 'annotation.toggle'
4473
4444
  | 'decorator.toggle'
4474
4445
  | 'delete.text'
@@ -4501,6 +4472,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4501
4472
  | 'deserialize'
4502
4473
  | 'deserialization.failure'
4503
4474
  | 'deserialization.success'
4475
+ | 'split'
4504
4476
  | 'annotation.toggle'
4505
4477
  | 'decorator.toggle'
4506
4478
  | 'delete.text'
@@ -4537,6 +4509,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4537
4509
  | 'deserialize'
4538
4510
  | 'deserialization.failure'
4539
4511
  | 'deserialization.success'
4512
+ | 'split'
4540
4513
  | 'annotation.toggle'
4541
4514
  | 'decorator.toggle'
4542
4515
  | 'delete.text'
@@ -4573,6 +4546,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4573
4546
  | 'deserialize'
4574
4547
  | 'deserialization.failure'
4575
4548
  | 'deserialization.success'
4549
+ | 'split'
4576
4550
  | 'annotation.toggle'
4577
4551
  | 'decorator.toggle'
4578
4552
  | 'delete.text'
@@ -4607,6 +4581,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4607
4581
  | 'deserialize'
4608
4582
  | 'deserialization.failure'
4609
4583
  | 'deserialization.success'
4584
+ | 'split'
4610
4585
  | 'annotation.toggle'
4611
4586
  | 'decorator.toggle'
4612
4587
  | 'delete.text'
@@ -4641,6 +4616,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4641
4616
  | 'deserialize'
4642
4617
  | 'deserialization.failure'
4643
4618
  | 'deserialization.success'
4619
+ | 'split'
4644
4620
  | 'annotation.toggle'
4645
4621
  | 'decorator.toggle'
4646
4622
  | 'delete.text'
@@ -4670,6 +4646,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4670
4646
  | 'deserialize'
4671
4647
  | 'deserialization.failure'
4672
4648
  | 'deserialization.success'
4649
+ | 'split'
4673
4650
  | 'annotation.toggle'
4674
4651
  | 'decorator.toggle'
4675
4652
  | 'delete.text'
@@ -4697,6 +4674,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4697
4674
  | 'deserialize'
4698
4675
  | 'deserialization.failure'
4699
4676
  | 'deserialization.success'
4677
+ | 'split'
4700
4678
  | 'annotation.toggle'
4701
4679
  | 'decorator.toggle'
4702
4680
  | 'delete.text'
@@ -4724,6 +4702,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4724
4702
  | 'deserialize'
4725
4703
  | 'deserialization.failure'
4726
4704
  | 'deserialization.success'
4705
+ | 'split'
4727
4706
  | 'annotation.toggle'
4728
4707
  | 'decorator.toggle'
4729
4708
  | 'delete.text'
@@ -4752,6 +4731,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4752
4731
  | 'deserialize'
4753
4732
  | 'deserialization.failure'
4754
4733
  | 'deserialization.success'
4734
+ | 'split'
4755
4735
  | 'annotation.toggle'
4756
4736
  | 'decorator.toggle'
4757
4737
  | 'delete.text'
@@ -4780,6 +4760,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4780
4760
  | 'deserialize'
4781
4761
  | 'deserialization.failure'
4782
4762
  | 'deserialization.success'
4763
+ | 'split'
4783
4764
  | 'annotation.toggle'
4784
4765
  | 'decorator.toggle'
4785
4766
  | 'delete.text'
@@ -4808,6 +4789,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4808
4789
  | 'deserialize'
4809
4790
  | 'deserialization.failure'
4810
4791
  | 'deserialization.success'
4792
+ | 'split'
4811
4793
  | 'annotation.toggle'
4812
4794
  | 'decorator.toggle'
4813
4795
  | 'delete.text'
@@ -4836,6 +4818,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4836
4818
  | 'deserialize'
4837
4819
  | 'deserialization.failure'
4838
4820
  | 'deserialization.success'
4821
+ | 'split'
4839
4822
  | 'annotation.toggle'
4840
4823
  | 'decorator.toggle'
4841
4824
  | 'delete.text'
@@ -4864,6 +4847,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4864
4847
  | 'deserialize'
4865
4848
  | 'deserialization.failure'
4866
4849
  | 'deserialization.success'
4850
+ | 'split'
4867
4851
  | 'annotation.toggle'
4868
4852
  | 'decorator.toggle'
4869
4853
  | 'delete.text'
@@ -4892,6 +4876,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4892
4876
  | 'deserialize'
4893
4877
  | 'deserialization.failure'
4894
4878
  | 'deserialization.success'
4879
+ | 'split'
4895
4880
  | 'annotation.toggle'
4896
4881
  | 'decorator.toggle'
4897
4882
  | 'delete.text'
@@ -4920,6 +4905,35 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4920
4905
  | 'deserialize'
4921
4906
  | 'deserialization.failure'
4922
4907
  | 'deserialization.success'
4908
+ | 'split'
4909
+ | 'annotation.toggle'
4910
+ | 'decorator.toggle'
4911
+ | 'delete.text'
4912
+ | 'insert.blocks'
4913
+ | 'insert.break'
4914
+ | 'insert.soft break'
4915
+ | 'list item.add'
4916
+ | 'list item.remove'
4917
+ | 'list item.toggle'
4918
+ | 'move.block down'
4919
+ | 'move.block up'
4920
+ | 'select.previous block'
4921
+ | 'select.next block'
4922
+ | 'style.add'
4923
+ | 'style.remove'
4924
+ | 'style.toggle',
4925
+ 'split'
4926
+ >
4927
+ }
4928
+ | {
4929
+ type: StrictExtract<
4930
+ | 'serialize'
4931
+ | 'serialization.failure'
4932
+ | 'serialization.success'
4933
+ | 'deserialize'
4934
+ | 'deserialization.failure'
4935
+ | 'deserialization.success'
4936
+ | 'split'
4923
4937
  | 'annotation.toggle'
4924
4938
  | 'decorator.toggle'
4925
4939
  | 'delete.text'
@@ -4948,6 +4962,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4948
4962
  | 'deserialize'
4949
4963
  | 'deserialization.failure'
4950
4964
  | 'deserialization.success'
4965
+ | 'split'
4951
4966
  | 'annotation.toggle'
4952
4967
  | 'decorator.toggle'
4953
4968
  | 'delete.text'
@@ -4976,6 +4991,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
4976
4991
  | 'deserialize'
4977
4992
  | 'deserialization.failure'
4978
4993
  | 'deserialization.success'
4994
+ | 'split'
4979
4995
  | 'annotation.toggle'
4980
4996
  | 'decorator.toggle'
4981
4997
  | 'delete.text'
@@ -5289,6 +5305,7 @@ export declare function createLinkBehaviors(
5289
5305
  | 'deserialize'
5290
5306
  | 'deserialization.failure'
5291
5307
  | 'deserialization.success'
5308
+ | 'split'
5292
5309
  | 'delete'
5293
5310
  | 'select'
5294
5311
  | '*'
@@ -5310,7 +5327,6 @@ export declare function createLinkBehaviors(
5310
5327
  | 'move.backward'
5311
5328
  | 'move.block'
5312
5329
  | 'move.forward'
5313
- | 'split.block'
5314
5330
  | 'annotation.toggle'
5315
5331
  | 'decorator.toggle'
5316
5332
  | 'delete.text'
@@ -5380,8 +5396,7 @@ export declare function createLinkBehaviors(
5380
5396
  | 'insert.text'
5381
5397
  | 'move.backward'
5382
5398
  | 'move.block'
5383
- | 'move.forward'
5384
- | 'split.block',
5399
+ | 'move.forward',
5385
5400
  'annotation.add'
5386
5401
  >
5387
5402
  annotation: {
@@ -5412,8 +5427,7 @@ export declare function createLinkBehaviors(
5412
5427
  | 'insert.text'
5413
5428
  | 'move.backward'
5414
5429
  | 'move.block'
5415
- | 'move.forward'
5416
- | 'split.block',
5430
+ | 'move.forward',
5417
5431
  'annotation.remove'
5418
5432
  >
5419
5433
  annotation: {
@@ -5441,8 +5455,7 @@ export declare function createLinkBehaviors(
5441
5455
  | 'insert.text'
5442
5456
  | 'move.backward'
5443
5457
  | 'move.block'
5444
- | 'move.forward'
5445
- | 'split.block',
5458
+ | 'move.forward',
5446
5459
  'block.set'
5447
5460
  >
5448
5461
  at: [KeyedSegment]
@@ -5469,8 +5482,7 @@ export declare function createLinkBehaviors(
5469
5482
  | 'insert.text'
5470
5483
  | 'move.backward'
5471
5484
  | 'move.block'
5472
- | 'move.forward'
5473
- | 'split.block',
5485
+ | 'move.forward',
5474
5486
  'block.unset'
5475
5487
  >
5476
5488
  at: [KeyedSegment]
@@ -5497,8 +5509,7 @@ export declare function createLinkBehaviors(
5497
5509
  | 'insert.text'
5498
5510
  | 'move.backward'
5499
5511
  | 'move.block'
5500
- | 'move.forward'
5501
- | 'split.block',
5512
+ | 'move.forward',
5502
5513
  'decorator.add'
5503
5514
  >
5504
5515
  decorator: string
@@ -5528,8 +5539,7 @@ export declare function createLinkBehaviors(
5528
5539
  | 'insert.text'
5529
5540
  | 'move.backward'
5530
5541
  | 'move.block'
5531
- | 'move.forward'
5532
- | 'split.block',
5542
+ | 'move.forward',
5533
5543
  'decorator.remove'
5534
5544
  >
5535
5545
  decorator: string
@@ -5555,8 +5565,7 @@ export declare function createLinkBehaviors(
5555
5565
  | 'insert.text'
5556
5566
  | 'move.backward'
5557
5567
  | 'move.block'
5558
- | 'move.forward'
5559
- | 'split.block',
5568
+ | 'move.forward',
5560
5569
  'delete'
5561
5570
  >
5562
5571
  at: NonNullable<EditorSelection>
@@ -5582,8 +5591,7 @@ export declare function createLinkBehaviors(
5582
5591
  | 'insert.text'
5583
5592
  | 'move.backward'
5584
5593
  | 'move.block'
5585
- | 'move.forward'
5586
- | 'split.block',
5594
+ | 'move.forward',
5587
5595
  'delete.backward'
5588
5596
  >
5589
5597
  unit: TextUnit
@@ -5609,8 +5617,7 @@ export declare function createLinkBehaviors(
5609
5617
  | 'insert.text'
5610
5618
  | 'move.backward'
5611
5619
  | 'move.block'
5612
- | 'move.forward'
5613
- | 'split.block',
5620
+ | 'move.forward',
5614
5621
  'delete.block'
5615
5622
  >
5616
5623
  at: [KeyedSegment]
@@ -5636,8 +5643,7 @@ export declare function createLinkBehaviors(
5636
5643
  | 'insert.text'
5637
5644
  | 'move.backward'
5638
5645
  | 'move.block'
5639
- | 'move.forward'
5640
- | 'split.block',
5646
+ | 'move.forward',
5641
5647
  'delete.forward'
5642
5648
  >
5643
5649
  unit: TextUnit
@@ -5663,8 +5669,7 @@ export declare function createLinkBehaviors(
5663
5669
  | 'insert.text'
5664
5670
  | 'move.backward'
5665
5671
  | 'move.block'
5666
- | 'move.forward'
5667
- | 'split.block',
5672
+ | 'move.forward',
5668
5673
  'history.redo'
5669
5674
  >
5670
5675
  }
@@ -5689,8 +5694,7 @@ export declare function createLinkBehaviors(
5689
5694
  | 'insert.text'
5690
5695
  | 'move.backward'
5691
5696
  | 'move.block'
5692
- | 'move.forward'
5693
- | 'split.block',
5697
+ | 'move.forward',
5694
5698
  'history.undo'
5695
5699
  >
5696
5700
  }
@@ -5715,8 +5719,7 @@ export declare function createLinkBehaviors(
5715
5719
  | 'insert.text'
5716
5720
  | 'move.backward'
5717
5721
  | 'move.block'
5718
- | 'move.forward'
5719
- | 'split.block',
5722
+ | 'move.forward',
5720
5723
  'insert.inline object'
5721
5724
  >
5722
5725
  inlineObject: {
@@ -5747,8 +5750,7 @@ export declare function createLinkBehaviors(
5747
5750
  | 'insert.text'
5748
5751
  | 'move.backward'
5749
5752
  | 'move.block'
5750
- | 'move.forward'
5751
- | 'split.block',
5753
+ | 'move.forward',
5752
5754
  'insert.block'
5753
5755
  >
5754
5756
  block: BlockWithOptionalKey
@@ -5776,8 +5778,7 @@ export declare function createLinkBehaviors(
5776
5778
  | 'insert.text'
5777
5779
  | 'move.backward'
5778
5780
  | 'move.block'
5779
- | 'move.forward'
5780
- | 'split.block',
5781
+ | 'move.forward',
5781
5782
  'insert.span'
5782
5783
  >
5783
5784
  text: string
@@ -5810,8 +5811,7 @@ export declare function createLinkBehaviors(
5810
5811
  | 'insert.text'
5811
5812
  | 'move.backward'
5812
5813
  | 'move.block'
5813
- | 'move.forward'
5814
- | 'split.block',
5814
+ | 'move.forward',
5815
5815
  'insert.text'
5816
5816
  >
5817
5817
  text: string
@@ -5837,8 +5837,7 @@ export declare function createLinkBehaviors(
5837
5837
  | 'insert.text'
5838
5838
  | 'move.backward'
5839
5839
  | 'move.block'
5840
- | 'move.forward'
5841
- | 'split.block',
5840
+ | 'move.forward',
5842
5841
  'move.backward'
5843
5842
  >
5844
5843
  distance: number
@@ -5864,8 +5863,7 @@ export declare function createLinkBehaviors(
5864
5863
  | 'insert.text'
5865
5864
  | 'move.backward'
5866
5865
  | 'move.block'
5867
- | 'move.forward'
5868
- | 'split.block',
5866
+ | 'move.forward',
5869
5867
  'move.block'
5870
5868
  >
5871
5869
  at: [KeyedSegment]
@@ -5892,8 +5890,7 @@ export declare function createLinkBehaviors(
5892
5890
  | 'insert.text'
5893
5891
  | 'move.backward'
5894
5892
  | 'move.block'
5895
- | 'move.forward'
5896
- | 'split.block',
5893
+ | 'move.forward',
5897
5894
  'move.forward'
5898
5895
  >
5899
5896
  distance: number
@@ -5919,38 +5916,11 @@ export declare function createLinkBehaviors(
5919
5916
  | 'insert.text'
5920
5917
  | 'move.backward'
5921
5918
  | 'move.block'
5922
- | 'move.forward'
5923
- | 'split.block',
5919
+ | 'move.forward',
5924
5920
  'select'
5925
5921
  >
5926
5922
  at: EditorSelection
5927
5923
  }
5928
- | {
5929
- type: StrictExtract<
5930
- | 'delete'
5931
- | 'select'
5932
- | 'annotation.add'
5933
- | 'annotation.remove'
5934
- | 'block.set'
5935
- | 'block.unset'
5936
- | 'decorator.add'
5937
- | 'decorator.remove'
5938
- | 'delete.backward'
5939
- | 'delete.block'
5940
- | 'delete.forward'
5941
- | 'history.redo'
5942
- | 'history.undo'
5943
- | 'insert.inline object'
5944
- | 'insert.block'
5945
- | 'insert.span'
5946
- | 'insert.text'
5947
- | 'move.backward'
5948
- | 'move.block'
5949
- | 'move.forward'
5950
- | 'split.block',
5951
- 'split.block'
5952
- >
5953
- }
5954
5924
  | {
5955
5925
  type: StrictExtract<
5956
5926
  | 'serialize'
@@ -5959,6 +5929,7 @@ export declare function createLinkBehaviors(
5959
5929
  | 'deserialize'
5960
5930
  | 'deserialization.failure'
5961
5931
  | 'deserialization.success'
5932
+ | 'split'
5962
5933
  | 'annotation.toggle'
5963
5934
  | 'decorator.toggle'
5964
5935
  | 'delete.text'
@@ -5992,6 +5963,7 @@ export declare function createLinkBehaviors(
5992
5963
  | 'deserialize'
5993
5964
  | 'deserialization.failure'
5994
5965
  | 'deserialization.success'
5966
+ | 'split'
5995
5967
  | 'annotation.toggle'
5996
5968
  | 'decorator.toggle'
5997
5969
  | 'delete.text'
@@ -6024,6 +5996,7 @@ export declare function createLinkBehaviors(
6024
5996
  | 'deserialize'
6025
5997
  | 'deserialization.failure'
6026
5998
  | 'deserialization.success'
5999
+ | 'split'
6027
6000
  | 'annotation.toggle'
6028
6001
  | 'decorator.toggle'
6029
6002
  | 'delete.text'
@@ -6055,6 +6028,7 @@ export declare function createLinkBehaviors(
6055
6028
  | 'deserialize'
6056
6029
  | 'deserialization.failure'
6057
6030
  | 'deserialization.success'
6031
+ | 'split'
6058
6032
  | 'annotation.toggle'
6059
6033
  | 'decorator.toggle'
6060
6034
  | 'delete.text'
@@ -6089,6 +6063,7 @@ export declare function createLinkBehaviors(
6089
6063
  | 'deserialize'
6090
6064
  | 'deserialization.failure'
6091
6065
  | 'deserialization.success'
6066
+ | 'split'
6092
6067
  | 'annotation.toggle'
6093
6068
  | 'decorator.toggle'
6094
6069
  | 'delete.text'
@@ -6121,6 +6096,7 @@ export declare function createLinkBehaviors(
6121
6096
  | 'deserialize'
6122
6097
  | 'deserialization.failure'
6123
6098
  | 'deserialization.success'
6099
+ | 'split'
6124
6100
  | 'annotation.toggle'
6125
6101
  | 'decorator.toggle'
6126
6102
  | 'delete.text'
@@ -6157,6 +6133,7 @@ export declare function createLinkBehaviors(
6157
6133
  | 'deserialize'
6158
6134
  | 'deserialization.failure'
6159
6135
  | 'deserialization.success'
6136
+ | 'split'
6160
6137
  | 'annotation.toggle'
6161
6138
  | 'decorator.toggle'
6162
6139
  | 'delete.text'
@@ -6193,6 +6170,7 @@ export declare function createLinkBehaviors(
6193
6170
  | 'deserialize'
6194
6171
  | 'deserialization.failure'
6195
6172
  | 'deserialization.success'
6173
+ | 'split'
6196
6174
  | 'annotation.toggle'
6197
6175
  | 'decorator.toggle'
6198
6176
  | 'delete.text'
@@ -6227,6 +6205,7 @@ export declare function createLinkBehaviors(
6227
6205
  | 'deserialize'
6228
6206
  | 'deserialization.failure'
6229
6207
  | 'deserialization.success'
6208
+ | 'split'
6230
6209
  | 'annotation.toggle'
6231
6210
  | 'decorator.toggle'
6232
6211
  | 'delete.text'
@@ -6261,6 +6240,7 @@ export declare function createLinkBehaviors(
6261
6240
  | 'deserialize'
6262
6241
  | 'deserialization.failure'
6263
6242
  | 'deserialization.success'
6243
+ | 'split'
6264
6244
  | 'annotation.toggle'
6265
6245
  | 'decorator.toggle'
6266
6246
  | 'delete.text'
@@ -6290,6 +6270,7 @@ export declare function createLinkBehaviors(
6290
6270
  | 'deserialize'
6291
6271
  | 'deserialization.failure'
6292
6272
  | 'deserialization.success'
6273
+ | 'split'
6293
6274
  | 'annotation.toggle'
6294
6275
  | 'decorator.toggle'
6295
6276
  | 'delete.text'
@@ -6317,6 +6298,7 @@ export declare function createLinkBehaviors(
6317
6298
  | 'deserialize'
6318
6299
  | 'deserialization.failure'
6319
6300
  | 'deserialization.success'
6301
+ | 'split'
6320
6302
  | 'annotation.toggle'
6321
6303
  | 'decorator.toggle'
6322
6304
  | 'delete.text'
@@ -6344,6 +6326,7 @@ export declare function createLinkBehaviors(
6344
6326
  | 'deserialize'
6345
6327
  | 'deserialization.failure'
6346
6328
  | 'deserialization.success'
6329
+ | 'split'
6347
6330
  | 'annotation.toggle'
6348
6331
  | 'decorator.toggle'
6349
6332
  | 'delete.text'
@@ -6372,6 +6355,7 @@ export declare function createLinkBehaviors(
6372
6355
  | 'deserialize'
6373
6356
  | 'deserialization.failure'
6374
6357
  | 'deserialization.success'
6358
+ | 'split'
6375
6359
  | 'annotation.toggle'
6376
6360
  | 'decorator.toggle'
6377
6361
  | 'delete.text'
@@ -6400,6 +6384,7 @@ export declare function createLinkBehaviors(
6400
6384
  | 'deserialize'
6401
6385
  | 'deserialization.failure'
6402
6386
  | 'deserialization.success'
6387
+ | 'split'
6403
6388
  | 'annotation.toggle'
6404
6389
  | 'decorator.toggle'
6405
6390
  | 'delete.text'
@@ -6428,6 +6413,7 @@ export declare function createLinkBehaviors(
6428
6413
  | 'deserialize'
6429
6414
  | 'deserialization.failure'
6430
6415
  | 'deserialization.success'
6416
+ | 'split'
6431
6417
  | 'annotation.toggle'
6432
6418
  | 'decorator.toggle'
6433
6419
  | 'delete.text'
@@ -6456,6 +6442,7 @@ export declare function createLinkBehaviors(
6456
6442
  | 'deserialize'
6457
6443
  | 'deserialization.failure'
6458
6444
  | 'deserialization.success'
6445
+ | 'split'
6459
6446
  | 'annotation.toggle'
6460
6447
  | 'decorator.toggle'
6461
6448
  | 'delete.text'
@@ -6484,6 +6471,7 @@ export declare function createLinkBehaviors(
6484
6471
  | 'deserialize'
6485
6472
  | 'deserialization.failure'
6486
6473
  | 'deserialization.success'
6474
+ | 'split'
6487
6475
  | 'annotation.toggle'
6488
6476
  | 'decorator.toggle'
6489
6477
  | 'delete.text'
@@ -6512,6 +6500,7 @@ export declare function createLinkBehaviors(
6512
6500
  | 'deserialize'
6513
6501
  | 'deserialization.failure'
6514
6502
  | 'deserialization.success'
6503
+ | 'split'
6515
6504
  | 'annotation.toggle'
6516
6505
  | 'decorator.toggle'
6517
6506
  | 'delete.text'
@@ -6540,6 +6529,35 @@ export declare function createLinkBehaviors(
6540
6529
  | 'deserialize'
6541
6530
  | 'deserialization.failure'
6542
6531
  | 'deserialization.success'
6532
+ | 'split'
6533
+ | 'annotation.toggle'
6534
+ | 'decorator.toggle'
6535
+ | 'delete.text'
6536
+ | 'insert.blocks'
6537
+ | 'insert.break'
6538
+ | 'insert.soft break'
6539
+ | 'list item.add'
6540
+ | 'list item.remove'
6541
+ | 'list item.toggle'
6542
+ | 'move.block down'
6543
+ | 'move.block up'
6544
+ | 'select.previous block'
6545
+ | 'select.next block'
6546
+ | 'style.add'
6547
+ | 'style.remove'
6548
+ | 'style.toggle',
6549
+ 'split'
6550
+ >
6551
+ }
6552
+ | {
6553
+ type: StrictExtract<
6554
+ | 'serialize'
6555
+ | 'serialization.failure'
6556
+ | 'serialization.success'
6557
+ | 'deserialize'
6558
+ | 'deserialization.failure'
6559
+ | 'deserialization.success'
6560
+ | 'split'
6543
6561
  | 'annotation.toggle'
6544
6562
  | 'decorator.toggle'
6545
6563
  | 'delete.text'
@@ -6568,6 +6586,7 @@ export declare function createLinkBehaviors(
6568
6586
  | 'deserialize'
6569
6587
  | 'deserialization.failure'
6570
6588
  | 'deserialization.success'
6589
+ | 'split'
6571
6590
  | 'annotation.toggle'
6572
6591
  | 'decorator.toggle'
6573
6592
  | 'delete.text'
@@ -6596,6 +6615,7 @@ export declare function createLinkBehaviors(
6596
6615
  | 'deserialize'
6597
6616
  | 'deserialization.failure'
6598
6617
  | 'deserialization.success'
6618
+ | 'split'
6599
6619
  | 'annotation.toggle'
6600
6620
  | 'decorator.toggle'
6601
6621
  | 'delete.text'
@@ -6951,6 +6971,7 @@ export declare function createMarkdownBehaviors(
6951
6971
  | 'deserialize'
6952
6972
  | 'deserialization.failure'
6953
6973
  | 'deserialization.success'
6974
+ | 'split'
6954
6975
  | 'delete'
6955
6976
  | 'select'
6956
6977
  | '*'
@@ -6972,7 +6993,6 @@ export declare function createMarkdownBehaviors(
6972
6993
  | 'move.backward'
6973
6994
  | 'move.block'
6974
6995
  | 'move.forward'
6975
- | 'split.block'
6976
6996
  | 'annotation.toggle'
6977
6997
  | 'decorator.toggle'
6978
6998
  | 'delete.text'
@@ -7042,8 +7062,7 @@ export declare function createMarkdownBehaviors(
7042
7062
  | 'insert.text'
7043
7063
  | 'move.backward'
7044
7064
  | 'move.block'
7045
- | 'move.forward'
7046
- | 'split.block',
7065
+ | 'move.forward',
7047
7066
  'annotation.add'
7048
7067
  >
7049
7068
  annotation: {
@@ -7074,8 +7093,7 @@ export declare function createMarkdownBehaviors(
7074
7093
  | 'insert.text'
7075
7094
  | 'move.backward'
7076
7095
  | 'move.block'
7077
- | 'move.forward'
7078
- | 'split.block',
7096
+ | 'move.forward',
7079
7097
  'annotation.remove'
7080
7098
  >
7081
7099
  annotation: {
@@ -7103,8 +7121,7 @@ export declare function createMarkdownBehaviors(
7103
7121
  | 'insert.text'
7104
7122
  | 'move.backward'
7105
7123
  | 'move.block'
7106
- | 'move.forward'
7107
- | 'split.block',
7124
+ | 'move.forward',
7108
7125
  'block.set'
7109
7126
  >
7110
7127
  at: [KeyedSegment]
@@ -7131,8 +7148,7 @@ export declare function createMarkdownBehaviors(
7131
7148
  | 'insert.text'
7132
7149
  | 'move.backward'
7133
7150
  | 'move.block'
7134
- | 'move.forward'
7135
- | 'split.block',
7151
+ | 'move.forward',
7136
7152
  'block.unset'
7137
7153
  >
7138
7154
  at: [KeyedSegment]
@@ -7159,8 +7175,7 @@ export declare function createMarkdownBehaviors(
7159
7175
  | 'insert.text'
7160
7176
  | 'move.backward'
7161
7177
  | 'move.block'
7162
- | 'move.forward'
7163
- | 'split.block',
7178
+ | 'move.forward',
7164
7179
  'decorator.add'
7165
7180
  >
7166
7181
  decorator: string
@@ -7190,8 +7205,7 @@ export declare function createMarkdownBehaviors(
7190
7205
  | 'insert.text'
7191
7206
  | 'move.backward'
7192
7207
  | 'move.block'
7193
- | 'move.forward'
7194
- | 'split.block',
7208
+ | 'move.forward',
7195
7209
  'decorator.remove'
7196
7210
  >
7197
7211
  decorator: string
@@ -7217,8 +7231,7 @@ export declare function createMarkdownBehaviors(
7217
7231
  | 'insert.text'
7218
7232
  | 'move.backward'
7219
7233
  | 'move.block'
7220
- | 'move.forward'
7221
- | 'split.block',
7234
+ | 'move.forward',
7222
7235
  'delete'
7223
7236
  >
7224
7237
  at: NonNullable<EditorSelection>
@@ -7244,8 +7257,7 @@ export declare function createMarkdownBehaviors(
7244
7257
  | 'insert.text'
7245
7258
  | 'move.backward'
7246
7259
  | 'move.block'
7247
- | 'move.forward'
7248
- | 'split.block',
7260
+ | 'move.forward',
7249
7261
  'delete.backward'
7250
7262
  >
7251
7263
  unit: TextUnit
@@ -7271,8 +7283,7 @@ export declare function createMarkdownBehaviors(
7271
7283
  | 'insert.text'
7272
7284
  | 'move.backward'
7273
7285
  | 'move.block'
7274
- | 'move.forward'
7275
- | 'split.block',
7286
+ | 'move.forward',
7276
7287
  'delete.block'
7277
7288
  >
7278
7289
  at: [KeyedSegment]
@@ -7298,8 +7309,7 @@ export declare function createMarkdownBehaviors(
7298
7309
  | 'insert.text'
7299
7310
  | 'move.backward'
7300
7311
  | 'move.block'
7301
- | 'move.forward'
7302
- | 'split.block',
7312
+ | 'move.forward',
7303
7313
  'delete.forward'
7304
7314
  >
7305
7315
  unit: TextUnit
@@ -7325,8 +7335,7 @@ export declare function createMarkdownBehaviors(
7325
7335
  | 'insert.text'
7326
7336
  | 'move.backward'
7327
7337
  | 'move.block'
7328
- | 'move.forward'
7329
- | 'split.block',
7338
+ | 'move.forward',
7330
7339
  'history.redo'
7331
7340
  >
7332
7341
  }
@@ -7351,8 +7360,7 @@ export declare function createMarkdownBehaviors(
7351
7360
  | 'insert.text'
7352
7361
  | 'move.backward'
7353
7362
  | 'move.block'
7354
- | 'move.forward'
7355
- | 'split.block',
7363
+ | 'move.forward',
7356
7364
  'history.undo'
7357
7365
  >
7358
7366
  }
@@ -7377,8 +7385,7 @@ export declare function createMarkdownBehaviors(
7377
7385
  | 'insert.text'
7378
7386
  | 'move.backward'
7379
7387
  | 'move.block'
7380
- | 'move.forward'
7381
- | 'split.block',
7388
+ | 'move.forward',
7382
7389
  'insert.inline object'
7383
7390
  >
7384
7391
  inlineObject: {
@@ -7409,8 +7416,7 @@ export declare function createMarkdownBehaviors(
7409
7416
  | 'insert.text'
7410
7417
  | 'move.backward'
7411
7418
  | 'move.block'
7412
- | 'move.forward'
7413
- | 'split.block',
7419
+ | 'move.forward',
7414
7420
  'insert.block'
7415
7421
  >
7416
7422
  block: BlockWithOptionalKey
@@ -7438,8 +7444,7 @@ export declare function createMarkdownBehaviors(
7438
7444
  | 'insert.text'
7439
7445
  | 'move.backward'
7440
7446
  | 'move.block'
7441
- | 'move.forward'
7442
- | 'split.block',
7447
+ | 'move.forward',
7443
7448
  'insert.span'
7444
7449
  >
7445
7450
  text: string
@@ -7472,8 +7477,7 @@ export declare function createMarkdownBehaviors(
7472
7477
  | 'insert.text'
7473
7478
  | 'move.backward'
7474
7479
  | 'move.block'
7475
- | 'move.forward'
7476
- | 'split.block',
7480
+ | 'move.forward',
7477
7481
  'insert.text'
7478
7482
  >
7479
7483
  text: string
@@ -7499,8 +7503,7 @@ export declare function createMarkdownBehaviors(
7499
7503
  | 'insert.text'
7500
7504
  | 'move.backward'
7501
7505
  | 'move.block'
7502
- | 'move.forward'
7503
- | 'split.block',
7506
+ | 'move.forward',
7504
7507
  'move.backward'
7505
7508
  >
7506
7509
  distance: number
@@ -7526,8 +7529,7 @@ export declare function createMarkdownBehaviors(
7526
7529
  | 'insert.text'
7527
7530
  | 'move.backward'
7528
7531
  | 'move.block'
7529
- | 'move.forward'
7530
- | 'split.block',
7532
+ | 'move.forward',
7531
7533
  'move.block'
7532
7534
  >
7533
7535
  at: [KeyedSegment]
@@ -7554,8 +7556,7 @@ export declare function createMarkdownBehaviors(
7554
7556
  | 'insert.text'
7555
7557
  | 'move.backward'
7556
7558
  | 'move.block'
7557
- | 'move.forward'
7558
- | 'split.block',
7559
+ | 'move.forward',
7559
7560
  'move.forward'
7560
7561
  >
7561
7562
  distance: number
@@ -7581,38 +7582,11 @@ export declare function createMarkdownBehaviors(
7581
7582
  | 'insert.text'
7582
7583
  | 'move.backward'
7583
7584
  | 'move.block'
7584
- | 'move.forward'
7585
- | 'split.block',
7585
+ | 'move.forward',
7586
7586
  'select'
7587
7587
  >
7588
7588
  at: EditorSelection
7589
7589
  }
7590
- | {
7591
- type: StrictExtract<
7592
- | 'delete'
7593
- | 'select'
7594
- | 'annotation.add'
7595
- | 'annotation.remove'
7596
- | 'block.set'
7597
- | 'block.unset'
7598
- | 'decorator.add'
7599
- | 'decorator.remove'
7600
- | 'delete.backward'
7601
- | 'delete.block'
7602
- | 'delete.forward'
7603
- | 'history.redo'
7604
- | 'history.undo'
7605
- | 'insert.inline object'
7606
- | 'insert.block'
7607
- | 'insert.span'
7608
- | 'insert.text'
7609
- | 'move.backward'
7610
- | 'move.block'
7611
- | 'move.forward'
7612
- | 'split.block',
7613
- 'split.block'
7614
- >
7615
- }
7616
7590
  | {
7617
7591
  type: StrictExtract<
7618
7592
  | 'serialize'
@@ -7621,6 +7595,7 @@ export declare function createMarkdownBehaviors(
7621
7595
  | 'deserialize'
7622
7596
  | 'deserialization.failure'
7623
7597
  | 'deserialization.success'
7598
+ | 'split'
7624
7599
  | 'annotation.toggle'
7625
7600
  | 'decorator.toggle'
7626
7601
  | 'delete.text'
@@ -7654,6 +7629,7 @@ export declare function createMarkdownBehaviors(
7654
7629
  | 'deserialize'
7655
7630
  | 'deserialization.failure'
7656
7631
  | 'deserialization.success'
7632
+ | 'split'
7657
7633
  | 'annotation.toggle'
7658
7634
  | 'decorator.toggle'
7659
7635
  | 'delete.text'
@@ -7686,6 +7662,7 @@ export declare function createMarkdownBehaviors(
7686
7662
  | 'deserialize'
7687
7663
  | 'deserialization.failure'
7688
7664
  | 'deserialization.success'
7665
+ | 'split'
7689
7666
  | 'annotation.toggle'
7690
7667
  | 'decorator.toggle'
7691
7668
  | 'delete.text'
@@ -7717,6 +7694,7 @@ export declare function createMarkdownBehaviors(
7717
7694
  | 'deserialize'
7718
7695
  | 'deserialization.failure'
7719
7696
  | 'deserialization.success'
7697
+ | 'split'
7720
7698
  | 'annotation.toggle'
7721
7699
  | 'decorator.toggle'
7722
7700
  | 'delete.text'
@@ -7751,6 +7729,7 @@ export declare function createMarkdownBehaviors(
7751
7729
  | 'deserialize'
7752
7730
  | 'deserialization.failure'
7753
7731
  | 'deserialization.success'
7732
+ | 'split'
7754
7733
  | 'annotation.toggle'
7755
7734
  | 'decorator.toggle'
7756
7735
  | 'delete.text'
@@ -7783,6 +7762,7 @@ export declare function createMarkdownBehaviors(
7783
7762
  | 'deserialize'
7784
7763
  | 'deserialization.failure'
7785
7764
  | 'deserialization.success'
7765
+ | 'split'
7786
7766
  | 'annotation.toggle'
7787
7767
  | 'decorator.toggle'
7788
7768
  | 'delete.text'
@@ -7819,6 +7799,7 @@ export declare function createMarkdownBehaviors(
7819
7799
  | 'deserialize'
7820
7800
  | 'deserialization.failure'
7821
7801
  | 'deserialization.success'
7802
+ | 'split'
7822
7803
  | 'annotation.toggle'
7823
7804
  | 'decorator.toggle'
7824
7805
  | 'delete.text'
@@ -7855,6 +7836,7 @@ export declare function createMarkdownBehaviors(
7855
7836
  | 'deserialize'
7856
7837
  | 'deserialization.failure'
7857
7838
  | 'deserialization.success'
7839
+ | 'split'
7858
7840
  | 'annotation.toggle'
7859
7841
  | 'decorator.toggle'
7860
7842
  | 'delete.text'
@@ -7889,6 +7871,7 @@ export declare function createMarkdownBehaviors(
7889
7871
  | 'deserialize'
7890
7872
  | 'deserialization.failure'
7891
7873
  | 'deserialization.success'
7874
+ | 'split'
7892
7875
  | 'annotation.toggle'
7893
7876
  | 'decorator.toggle'
7894
7877
  | 'delete.text'
@@ -7923,6 +7906,7 @@ export declare function createMarkdownBehaviors(
7923
7906
  | 'deserialize'
7924
7907
  | 'deserialization.failure'
7925
7908
  | 'deserialization.success'
7909
+ | 'split'
7926
7910
  | 'annotation.toggle'
7927
7911
  | 'decorator.toggle'
7928
7912
  | 'delete.text'
@@ -7952,6 +7936,7 @@ export declare function createMarkdownBehaviors(
7952
7936
  | 'deserialize'
7953
7937
  | 'deserialization.failure'
7954
7938
  | 'deserialization.success'
7939
+ | 'split'
7955
7940
  | 'annotation.toggle'
7956
7941
  | 'decorator.toggle'
7957
7942
  | 'delete.text'
@@ -7979,6 +7964,7 @@ export declare function createMarkdownBehaviors(
7979
7964
  | 'deserialize'
7980
7965
  | 'deserialization.failure'
7981
7966
  | 'deserialization.success'
7967
+ | 'split'
7982
7968
  | 'annotation.toggle'
7983
7969
  | 'decorator.toggle'
7984
7970
  | 'delete.text'
@@ -8006,6 +7992,7 @@ export declare function createMarkdownBehaviors(
8006
7992
  | 'deserialize'
8007
7993
  | 'deserialization.failure'
8008
7994
  | 'deserialization.success'
7995
+ | 'split'
8009
7996
  | 'annotation.toggle'
8010
7997
  | 'decorator.toggle'
8011
7998
  | 'delete.text'
@@ -8034,6 +8021,7 @@ export declare function createMarkdownBehaviors(
8034
8021
  | 'deserialize'
8035
8022
  | 'deserialization.failure'
8036
8023
  | 'deserialization.success'
8024
+ | 'split'
8037
8025
  | 'annotation.toggle'
8038
8026
  | 'decorator.toggle'
8039
8027
  | 'delete.text'
@@ -8062,6 +8050,7 @@ export declare function createMarkdownBehaviors(
8062
8050
  | 'deserialize'
8063
8051
  | 'deserialization.failure'
8064
8052
  | 'deserialization.success'
8053
+ | 'split'
8065
8054
  | 'annotation.toggle'
8066
8055
  | 'decorator.toggle'
8067
8056
  | 'delete.text'
@@ -8090,6 +8079,7 @@ export declare function createMarkdownBehaviors(
8090
8079
  | 'deserialize'
8091
8080
  | 'deserialization.failure'
8092
8081
  | 'deserialization.success'
8082
+ | 'split'
8093
8083
  | 'annotation.toggle'
8094
8084
  | 'decorator.toggle'
8095
8085
  | 'delete.text'
@@ -8118,6 +8108,7 @@ export declare function createMarkdownBehaviors(
8118
8108
  | 'deserialize'
8119
8109
  | 'deserialization.failure'
8120
8110
  | 'deserialization.success'
8111
+ | 'split'
8121
8112
  | 'annotation.toggle'
8122
8113
  | 'decorator.toggle'
8123
8114
  | 'delete.text'
@@ -8146,6 +8137,7 @@ export declare function createMarkdownBehaviors(
8146
8137
  | 'deserialize'
8147
8138
  | 'deserialization.failure'
8148
8139
  | 'deserialization.success'
8140
+ | 'split'
8149
8141
  | 'annotation.toggle'
8150
8142
  | 'decorator.toggle'
8151
8143
  | 'delete.text'
@@ -8174,6 +8166,7 @@ export declare function createMarkdownBehaviors(
8174
8166
  | 'deserialize'
8175
8167
  | 'deserialization.failure'
8176
8168
  | 'deserialization.success'
8169
+ | 'split'
8177
8170
  | 'annotation.toggle'
8178
8171
  | 'decorator.toggle'
8179
8172
  | 'delete.text'
@@ -8202,6 +8195,35 @@ export declare function createMarkdownBehaviors(
8202
8195
  | 'deserialize'
8203
8196
  | 'deserialization.failure'
8204
8197
  | 'deserialization.success'
8198
+ | 'split'
8199
+ | 'annotation.toggle'
8200
+ | 'decorator.toggle'
8201
+ | 'delete.text'
8202
+ | 'insert.blocks'
8203
+ | 'insert.break'
8204
+ | 'insert.soft break'
8205
+ | 'list item.add'
8206
+ | 'list item.remove'
8207
+ | 'list item.toggle'
8208
+ | 'move.block down'
8209
+ | 'move.block up'
8210
+ | 'select.previous block'
8211
+ | 'select.next block'
8212
+ | 'style.add'
8213
+ | 'style.remove'
8214
+ | 'style.toggle',
8215
+ 'split'
8216
+ >
8217
+ }
8218
+ | {
8219
+ type: StrictExtract<
8220
+ | 'serialize'
8221
+ | 'serialization.failure'
8222
+ | 'serialization.success'
8223
+ | 'deserialize'
8224
+ | 'deserialization.failure'
8225
+ | 'deserialization.success'
8226
+ | 'split'
8205
8227
  | 'annotation.toggle'
8206
8228
  | 'decorator.toggle'
8207
8229
  | 'delete.text'
@@ -8230,6 +8252,7 @@ export declare function createMarkdownBehaviors(
8230
8252
  | 'deserialize'
8231
8253
  | 'deserialization.failure'
8232
8254
  | 'deserialization.success'
8255
+ | 'split'
8233
8256
  | 'annotation.toggle'
8234
8257
  | 'decorator.toggle'
8235
8258
  | 'delete.text'
@@ -8258,6 +8281,7 @@ export declare function createMarkdownBehaviors(
8258
8281
  | 'deserialize'
8259
8282
  | 'deserialization.failure'
8260
8283
  | 'deserialization.success'
8284
+ | 'split'
8261
8285
  | 'annotation.toggle'
8262
8286
  | 'decorator.toggle'
8263
8287
  | 'delete.text'
@@ -13796,9 +13820,6 @@ export declare type SyntheticBehaviorEvent =
13796
13820
  type: StrictExtract_2<SyntheticBehaviorEventType, 'select'>
13797
13821
  at: EditorSelection_2
13798
13822
  }
13799
- | {
13800
- type: StrictExtract_2<SyntheticBehaviorEventType, 'split.block'>
13801
- }
13802
13823
 
13803
13824
  declare type SyntheticBehaviorEventNamespace =
13804
13825
  ExtractNamespace<SyntheticBehaviorEventType>
@@ -13830,7 +13851,6 @@ declare const syntheticBehaviorEventTypes: readonly [
13830
13851
  'move.block',
13831
13852
  'move.forward',
13832
13853
  'select',
13833
- 'split.block',
13834
13854
  ]
13835
13855
 
13836
13856
  declare type TextBlockWithOptionalKey = Omit<PortableTextTextBlock, '_key'> & {