@atlaskit/editor-core 192.6.0 → 192.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -566,9 +566,13 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
566
566
  };
567
567
  }, {
568
568
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
569
- } | undefined>>];
569
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
570
+ pluginConfiguration: FeatureFlags;
571
+ sharedState: FeatureFlags;
572
+ }, FeatureFlags>>];
570
573
  actions: {
571
574
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
575
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
572
576
  };
573
577
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>];
574
578
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -680,9 +684,13 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
680
684
  };
681
685
  }, {
682
686
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
683
- } | undefined>>];
687
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
688
+ pluginConfiguration: FeatureFlags;
689
+ sharedState: FeatureFlags;
690
+ }, FeatureFlags>>];
684
691
  actions: {
685
692
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
693
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
686
694
  };
687
695
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
688
696
  sharedState: {
@@ -1334,9 +1342,13 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1334
1342
  };
1335
1343
  }, {
1336
1344
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1337
- } | undefined>>];
1345
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1346
+ pluginConfiguration: FeatureFlags;
1347
+ sharedState: FeatureFlags;
1348
+ }, FeatureFlags>>];
1338
1349
  actions: {
1339
1350
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1351
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1340
1352
  };
1341
1353
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
1342
1354
  pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
@@ -1694,9 +1706,13 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1694
1706
  };
1695
1707
  }, {
1696
1708
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1697
- } | undefined>>];
1709
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1710
+ pluginConfiguration: FeatureFlags;
1711
+ sharedState: FeatureFlags;
1712
+ }, FeatureFlags>>];
1698
1713
  actions: {
1699
1714
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1715
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1700
1716
  };
1701
1717
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>];
1702
1718
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -2322,9 +2338,13 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2322
2338
  };
2323
2339
  }, {
2324
2340
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2325
- } | undefined>>];
2341
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2342
+ pluginConfiguration: FeatureFlags;
2343
+ sharedState: FeatureFlags;
2344
+ }, FeatureFlags>>];
2326
2345
  actions: {
2327
2346
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2347
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
2328
2348
  };
2329
2349
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>];
2330
2350
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -2900,9 +2920,13 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2900
2920
  };
2901
2921
  }, {
2902
2922
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2903
- } | undefined>>];
2923
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2924
+ pluginConfiguration: FeatureFlags;
2925
+ sharedState: FeatureFlags;
2926
+ }, FeatureFlags>>];
2904
2927
  actions: {
2905
2928
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2929
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
2906
2930
  };
2907
2931
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>];
2908
2932
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -3179,9 +3203,13 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3179
3203
  };
3180
3204
  }, {
3181
3205
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3182
- } | undefined>>];
3206
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3207
+ pluginConfiguration: FeatureFlags;
3208
+ sharedState: FeatureFlags;
3209
+ }, FeatureFlags>>];
3183
3210
  actions: {
3184
3211
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3212
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3185
3213
  };
3186
3214
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clearMarksOnEmptyDoc", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockType", {
3187
3215
  pluginConfiguration: import("@atlaskit/editor-plugin-block-type").BlockTypePluginOptions | undefined;
@@ -3819,9 +3847,13 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3819
3847
  };
3820
3848
  }, {
3821
3849
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3822
- } | undefined>>];
3850
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3851
+ pluginConfiguration: FeatureFlags;
3852
+ sharedState: FeatureFlags;
3853
+ }, FeatureFlags>>];
3823
3854
  actions: {
3824
3855
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3856
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3825
3857
  };
3826
3858
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>];
3827
3859
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -3933,9 +3965,13 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3933
3965
  };
3934
3966
  }, {
3935
3967
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3936
- } | undefined>>];
3968
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3969
+ pluginConfiguration: FeatureFlags;
3970
+ sharedState: FeatureFlags;
3971
+ }, FeatureFlags>>];
3937
3972
  actions: {
3938
3973
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3974
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3939
3975
  };
3940
3976
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
3941
3977
  sharedState: {
@@ -552,9 +552,13 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
552
552
  };
553
553
  }, {
554
554
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
555
- } | undefined>>];
555
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
556
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
557
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
558
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
556
559
  actions: {
557
560
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
561
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
558
562
  };
559
563
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>];
560
564
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -666,9 +670,13 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
666
670
  };
667
671
  }, {
668
672
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
669
- } | undefined>>];
673
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
674
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
675
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
676
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
670
677
  actions: {
671
678
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
679
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
672
680
  };
673
681
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
674
682
  sharedState: {
@@ -1320,9 +1328,13 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1320
1328
  };
1321
1329
  }, {
1322
1330
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1323
- } | undefined>>];
1331
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1332
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
1333
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
1334
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
1324
1335
  actions: {
1325
1336
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1337
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1326
1338
  };
1327
1339
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
1328
1340
  pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
@@ -1680,9 +1692,13 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1680
1692
  };
1681
1693
  }, {
1682
1694
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1683
- } | undefined>>];
1695
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1696
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
1697
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
1698
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
1684
1699
  actions: {
1685
1700
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1701
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1686
1702
  };
1687
1703
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>];
1688
1704
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -2308,9 +2324,13 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2308
2324
  };
2309
2325
  }, {
2310
2326
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2311
- } | undefined>>];
2327
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2328
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
2329
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
2330
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
2312
2331
  actions: {
2313
2332
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2333
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
2314
2334
  };
2315
2335
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>];
2316
2336
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -2886,9 +2906,13 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2886
2906
  };
2887
2907
  }, {
2888
2908
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2889
- } | undefined>>];
2909
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2910
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
2911
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
2912
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
2890
2913
  actions: {
2891
2914
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2915
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
2892
2916
  };
2893
2917
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>];
2894
2918
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -3165,9 +3189,13 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3165
3189
  };
3166
3190
  }, {
3167
3191
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3168
- } | undefined>>];
3192
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3193
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
3194
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
3195
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
3169
3196
  actions: {
3170
3197
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3198
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3171
3199
  };
3172
3200
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clearMarksOnEmptyDoc", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockType", {
3173
3201
  pluginConfiguration: import("@atlaskit/editor-plugin-block-type").BlockTypePluginOptions | undefined;
@@ -3805,9 +3833,13 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3805
3833
  };
3806
3834
  }, {
3807
3835
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3808
- } | undefined>>];
3836
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3837
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
3838
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
3839
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
3809
3840
  actions: {
3810
3841
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3842
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3811
3843
  };
3812
3844
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>];
3813
3845
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -3919,9 +3951,13 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3919
3951
  };
3920
3952
  }, {
3921
3953
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3922
- } | undefined>>];
3954
+ } | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3955
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
3956
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
3957
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
3923
3958
  actions: {
3924
3959
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3960
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3925
3961
  };
3926
3962
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
3927
3963
  sharedState: {
@@ -751,10 +751,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
751
751
  };
752
752
  }, {
753
753
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
754
- } | undefined>>
754
+ } | undefined>>,
755
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
756
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
757
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
758
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>
755
759
  ];
756
760
  actions: {
757
761
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
762
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
758
763
  };
759
764
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>
760
765
  ];
@@ -889,10 +894,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
889
894
  };
890
895
  }, {
891
896
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
892
- } | undefined>>
897
+ } | undefined>>,
898
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
899
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
900
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
901
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>
893
902
  ];
894
903
  actions: {
895
904
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
905
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
896
906
  };
897
907
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
898
908
  ];
@@ -1685,10 +1695,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
1685
1695
  };
1686
1696
  }, {
1687
1697
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1688
- } | undefined>>
1698
+ } | undefined>>,
1699
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1700
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
1701
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
1702
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>
1689
1703
  ];
1690
1704
  actions: {
1691
1705
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1706
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1692
1707
  };
1693
1708
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
1694
1709
  import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
@@ -2126,10 +2141,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2126
2141
  };
2127
2142
  }, {
2128
2143
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2129
- } | undefined>>
2144
+ } | undefined>>,
2145
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2146
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
2147
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
2148
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>
2130
2149
  ];
2131
2150
  actions: {
2132
2151
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2152
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
2133
2153
  };
2134
2154
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>
2135
2155
  ];
@@ -2883,10 +2903,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2883
2903
  };
2884
2904
  }, {
2885
2905
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2886
- } | undefined>>
2906
+ } | undefined>>,
2907
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2908
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
2909
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
2910
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>
2887
2911
  ];
2888
2912
  actions: {
2889
2913
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2914
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
2890
2915
  };
2891
2916
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>
2892
2917
  ];
@@ -3600,10 +3625,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3600
3625
  };
3601
3626
  }, {
3602
3627
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3603
- } | undefined>>
3628
+ } | undefined>>,
3629
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3630
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
3631
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
3632
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>
3604
3633
  ];
3605
3634
  actions: {
3606
3635
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3636
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3607
3637
  };
3608
3638
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>
3609
3639
  ];
@@ -3933,10 +3963,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3933
3963
  };
3934
3964
  }, {
3935
3965
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3936
- } | undefined>>
3966
+ } | undefined>>,
3967
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3968
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
3969
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
3970
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>
3937
3971
  ];
3938
3972
  actions: {
3939
3973
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3974
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3940
3975
  };
3941
3976
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
3942
3977
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clearMarksOnEmptyDoc", {}, undefined>,
@@ -4715,10 +4750,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
4715
4750
  };
4716
4751
  }, {
4717
4752
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
4718
- } | undefined>>
4753
+ } | undefined>>,
4754
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4755
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
4756
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
4757
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>
4719
4758
  ];
4720
4759
  actions: {
4721
4760
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4761
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
4722
4762
  };
4723
4763
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>
4724
4764
  ];
@@ -4853,10 +4893,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
4853
4893
  };
4854
4894
  }, {
4855
4895
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
4856
- } | undefined>>
4896
+ } | undefined>>,
4897
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4898
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
4899
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
4900
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>
4857
4901
  ];
4858
4902
  actions: {
4859
4903
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4904
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
4860
4905
  };
4861
4906
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
4862
4907
  ];
@@ -603,10 +603,15 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
603
603
  };
604
604
  }, {
605
605
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
606
- } | undefined>>
606
+ } | undefined>>,
607
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
608
+ pluginConfiguration: FeatureFlags;
609
+ sharedState: FeatureFlags;
610
+ }, FeatureFlags>>
607
611
  ];
608
612
  actions: {
609
613
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
614
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
610
615
  };
611
616
  }, AnnotationProviders | undefined>
612
617
  ];
@@ -936,10 +941,15 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
936
941
  };
937
942
  }, {
938
943
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
939
- } | undefined>>
944
+ } | undefined>>,
945
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
946
+ pluginConfiguration: FeatureFlags;
947
+ sharedState: FeatureFlags;
948
+ }, FeatureFlags>>
940
949
  ];
941
950
  actions: {
942
951
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
952
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
943
953
  };
944
954
  }, AnnotationProviders | undefined>>,
945
955
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clearMarksOnEmptyDoc", {}, undefined>,
@@ -1718,10 +1728,15 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1718
1728
  };
1719
1729
  }, {
1720
1730
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1721
- } | undefined>>
1731
+ } | undefined>>,
1732
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1733
+ pluginConfiguration: FeatureFlags;
1734
+ sharedState: FeatureFlags;
1735
+ }, FeatureFlags>>
1722
1736
  ];
1723
1737
  actions: {
1724
1738
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1739
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1725
1740
  };
1726
1741
  }, AnnotationProviders | undefined>
1727
1742
  ];
@@ -1856,10 +1871,15 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1856
1871
  };
1857
1872
  }, {
1858
1873
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1859
- } | undefined>>
1874
+ } | undefined>>,
1875
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1876
+ pluginConfiguration: FeatureFlags;
1877
+ sharedState: FeatureFlags;
1878
+ }, FeatureFlags>>
1860
1879
  ];
1861
1880
  actions: {
1862
1881
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1882
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1863
1883
  };
1864
1884
  }, AnnotationProviders | undefined>>
1865
1885
  ];
@@ -2447,10 +2467,15 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2447
2467
  };
2448
2468
  }, {
2449
2469
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2450
- } | undefined>>
2470
+ } | undefined>>,
2471
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2472
+ pluginConfiguration: FeatureFlags;
2473
+ sharedState: FeatureFlags;
2474
+ }, FeatureFlags>>
2451
2475
  ];
2452
2476
  actions: {
2453
2477
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2478
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
2454
2479
  };
2455
2480
  }, AnnotationProviders | undefined>
2456
2481
  ];
@@ -2780,10 +2805,15 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2780
2805
  };
2781
2806
  }, {
2782
2807
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2783
- } | undefined>>
2808
+ } | undefined>>,
2809
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2810
+ pluginConfiguration: FeatureFlags;
2811
+ sharedState: FeatureFlags;
2812
+ }, FeatureFlags>>
2784
2813
  ];
2785
2814
  actions: {
2786
2815
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2816
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
2787
2817
  };
2788
2818
  }, AnnotationProviders | undefined>>,
2789
2819
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clearMarksOnEmptyDoc", {}, undefined>,
@@ -3562,10 +3592,15 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3562
3592
  };
3563
3593
  }, {
3564
3594
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3565
- } | undefined>>
3595
+ } | undefined>>,
3596
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3597
+ pluginConfiguration: FeatureFlags;
3598
+ sharedState: FeatureFlags;
3599
+ }, FeatureFlags>>
3566
3600
  ];
3567
3601
  actions: {
3568
3602
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3603
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3569
3604
  };
3570
3605
  }, AnnotationProviders | undefined>
3571
3606
  ];
@@ -3700,10 +3735,15 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3700
3735
  };
3701
3736
  }, {
3702
3737
  mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3703
- } | undefined>>
3738
+ } | undefined>>,
3739
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3740
+ pluginConfiguration: FeatureFlags;
3741
+ sharedState: FeatureFlags;
3742
+ }, FeatureFlags>>
3704
3743
  ];
3705
3744
  actions: {
3706
3745
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3746
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3707
3747
  };
3708
3748
  }, AnnotationProviders | undefined>>
3709
3749
  ];