@atlaskit/editor-core 203.2.1 → 203.2.2

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 (27) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/composable-editor/core-editor.js +2 -0
  3. package/dist/cjs/composable-editor/temp_useTrackDangerousPlugins.js +35 -0
  4. package/dist/cjs/create-editor/ReactEditorViewNext.js +1 -1
  5. package/dist/cjs/ui/ContentStyles/layout.js +1 -1
  6. package/dist/cjs/version-wrapper.js +1 -1
  7. package/dist/es2019/composable-editor/core-editor.js +2 -0
  8. package/dist/es2019/composable-editor/temp_useTrackDangerousPlugins.js +27 -0
  9. package/dist/es2019/create-editor/ReactEditorViewNext.js +1 -1
  10. package/dist/es2019/ui/ContentStyles/layout.js +1 -0
  11. package/dist/es2019/version-wrapper.js +1 -1
  12. package/dist/esm/composable-editor/core-editor.js +2 -0
  13. package/dist/esm/composable-editor/temp_useTrackDangerousPlugins.js +29 -0
  14. package/dist/esm/create-editor/ReactEditorViewNext.js +1 -1
  15. package/dist/esm/ui/ContentStyles/layout.js +1 -1
  16. package/dist/esm/version-wrapper.js +1 -1
  17. package/dist/types/composable-editor/temp_useTrackDangerousPlugins.d.ts +3 -0
  18. package/dist/types/create-editor/create-universal-preset.d.ts +236 -18
  19. package/dist/types/presets/default.d.ts +174 -14
  20. package/dist/types/presets/universal.d.ts +236 -18
  21. package/dist/types/presets/useUniversalPreset.d.ts +236 -18
  22. package/dist/types-ts4.5/composable-editor/temp_useTrackDangerousPlugins.d.ts +3 -0
  23. package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +268 -18
  24. package/dist/types-ts4.5/presets/default.d.ts +198 -14
  25. package/dist/types-ts4.5/presets/universal.d.ts +268 -18
  26. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +268 -18
  27. package/package.json +19 -8
@@ -350,7 +350,21 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
350
350
  query?: string | undefined;
351
351
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
352
352
  };
353
- }, TypeAheadPluginOptions | undefined>];
353
+ }, TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
354
+ sharedState: {
355
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
356
+ isVisible: boolean;
357
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
358
+ mouseData: {
359
+ isSelecting: boolean;
360
+ };
361
+ };
362
+ actions: {
363
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
364
+ };
365
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
366
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
367
+ }, undefined>>];
354
368
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
355
369
  commands: {
356
370
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -708,7 +722,21 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
708
722
  query?: string | undefined;
709
723
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
710
724
  };
711
- }, TypeAheadPluginOptions | undefined>];
725
+ }, TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
726
+ sharedState: {
727
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
728
+ isVisible: boolean;
729
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
730
+ mouseData: {
731
+ isSelecting: boolean;
732
+ };
733
+ };
734
+ actions: {
735
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
736
+ };
737
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
738
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
739
+ }, undefined>>];
712
740
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
713
741
  commands: {
714
742
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -1346,7 +1374,21 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1346
1374
  query?: string | undefined;
1347
1375
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
1348
1376
  };
1349
- }, TypeAheadPluginOptions | undefined>];
1377
+ }, TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
1378
+ sharedState: {
1379
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
1380
+ isVisible: boolean;
1381
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
1382
+ mouseData: {
1383
+ isSelecting: boolean;
1384
+ };
1385
+ };
1386
+ actions: {
1387
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
1388
+ };
1389
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
1390
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
1391
+ }, undefined>>];
1350
1392
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
1351
1393
  commands: {
1352
1394
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -1372,7 +1414,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1372
1414
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
1373
1415
  };
1374
1416
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
1375
- }, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>];
1417
+ }, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
1418
+ sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
1419
+ actions: {
1420
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
1421
+ };
1422
+ }, undefined>>];
1376
1423
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
1377
1424
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
1378
1425
  }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
@@ -1948,7 +1995,21 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1948
1995
  query?: string | undefined;
1949
1996
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
1950
1997
  };
1951
- }, TypeAheadPluginOptions | undefined>];
1998
+ }, TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
1999
+ sharedState: {
2000
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
2001
+ isVisible: boolean;
2002
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
2003
+ mouseData: {
2004
+ isSelecting: boolean;
2005
+ };
2006
+ };
2007
+ actions: {
2008
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
2009
+ };
2010
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
2011
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
2012
+ }, undefined>>];
1952
2013
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
1953
2014
  commands: {
1954
2015
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -1974,7 +2035,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1974
2035
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
1975
2036
  };
1976
2037
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
1977
- }, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>];
2038
+ }, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
2039
+ sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
2040
+ actions: {
2041
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
2042
+ };
2043
+ }, undefined>>];
1978
2044
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
1979
2045
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
1980
2046
  }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
@@ -2311,7 +2377,21 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
2311
2377
  query?: string | undefined;
2312
2378
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
2313
2379
  };
2314
- }, TypeAheadPluginOptions | undefined>];
2380
+ }, TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
2381
+ sharedState: {
2382
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
2383
+ isVisible: boolean;
2384
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
2385
+ mouseData: {
2386
+ isSelecting: boolean;
2387
+ };
2388
+ };
2389
+ actions: {
2390
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
2391
+ };
2392
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
2393
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
2394
+ }, undefined>>];
2315
2395
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
2316
2396
  commands: {
2317
2397
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -3033,7 +3113,21 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3033
3113
  query?: string | undefined;
3034
3114
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
3035
3115
  };
3036
- }, TypeAheadPluginOptions | undefined>];
3116
+ }, TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
3117
+ sharedState: {
3118
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
3119
+ isVisible: boolean;
3120
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
3121
+ mouseData: {
3122
+ isSelecting: boolean;
3123
+ };
3124
+ };
3125
+ actions: {
3126
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
3127
+ };
3128
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
3129
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
3130
+ }, undefined>>];
3037
3131
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
3038
3132
  commands: {
3039
3133
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -3391,7 +3485,21 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3391
3485
  query?: string | undefined;
3392
3486
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
3393
3487
  };
3394
- }, TypeAheadPluginOptions | undefined>];
3488
+ }, TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
3489
+ sharedState: {
3490
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
3491
+ isVisible: boolean;
3492
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
3493
+ mouseData: {
3494
+ isSelecting: boolean;
3495
+ };
3496
+ };
3497
+ actions: {
3498
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
3499
+ };
3500
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
3501
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
3502
+ }, undefined>>];
3395
3503
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
3396
3504
  commands: {
3397
3505
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -4029,7 +4137,21 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4029
4137
  query?: string | undefined;
4030
4138
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
4031
4139
  };
4032
- }, TypeAheadPluginOptions | undefined>];
4140
+ }, TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
4141
+ sharedState: {
4142
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
4143
+ isVisible: boolean;
4144
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
4145
+ mouseData: {
4146
+ isSelecting: boolean;
4147
+ };
4148
+ };
4149
+ actions: {
4150
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
4151
+ };
4152
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
4153
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
4154
+ }, undefined>>];
4033
4155
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
4034
4156
  commands: {
4035
4157
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -4055,7 +4177,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4055
4177
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
4056
4178
  };
4057
4179
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
4058
- }, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>];
4180
+ }, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
4181
+ sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
4182
+ actions: {
4183
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
4184
+ };
4185
+ }, undefined>>];
4059
4186
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
4060
4187
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
4061
4188
  }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
@@ -4631,7 +4758,21 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4631
4758
  query?: string | undefined;
4632
4759
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
4633
4760
  };
4634
- }, TypeAheadPluginOptions | undefined>];
4761
+ }, TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
4762
+ sharedState: {
4763
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
4764
+ isVisible: boolean;
4765
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
4766
+ mouseData: {
4767
+ isSelecting: boolean;
4768
+ };
4769
+ };
4770
+ actions: {
4771
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
4772
+ };
4773
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
4774
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
4775
+ }, undefined>>];
4635
4776
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
4636
4777
  commands: {
4637
4778
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -4657,7 +4798,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4657
4798
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
4658
4799
  };
4659
4800
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
4660
- }, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>];
4801
+ }, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
4802
+ sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
4803
+ actions: {
4804
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
4805
+ };
4806
+ }, undefined>>];
4661
4807
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
4662
4808
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
4663
4809
  }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
@@ -4994,7 +5140,21 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4994
5140
  query?: string | undefined;
4995
5141
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
4996
5142
  };
4997
- }, TypeAheadPluginOptions | undefined>];
5143
+ }, TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
5144
+ sharedState: {
5145
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
5146
+ isVisible: boolean;
5147
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
5148
+ mouseData: {
5149
+ isSelecting: boolean;
5150
+ };
5151
+ };
5152
+ actions: {
5153
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
5154
+ };
5155
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
5156
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
5157
+ }, undefined>>];
4998
5158
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
4999
5159
  commands: {
5000
5160
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;