@atlaskit/editor-core 198.2.2 → 198.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/appearance-editor-chromeless/package.json +15 -0
  3. package/appearance-editor-comment/package.json +15 -0
  4. package/dist/cjs/composable-editor/hooks/useEditorMeasuresConstructor.js +1 -16
  5. package/dist/cjs/composable-editor/hooks/useMeasureEditorMountTime.js +1 -1
  6. package/dist/cjs/ui/Appearance/Comment/Toolbar.js +1 -1
  7. package/dist/cjs/ui/Appearance/FullPage/MainToolbar.js +1 -1
  8. package/dist/cjs/version-wrapper.js +1 -1
  9. package/dist/es2019/composable-editor/hooks/useEditorMeasuresConstructor.js +1 -16
  10. package/dist/es2019/composable-editor/hooks/useMeasureEditorMountTime.js +1 -1
  11. package/dist/es2019/ui/Appearance/Comment/Toolbar.js +1 -1
  12. package/dist/es2019/ui/Appearance/FullPage/MainToolbar.js +1 -1
  13. package/dist/es2019/version-wrapper.js +1 -1
  14. package/dist/esm/composable-editor/hooks/useEditorMeasuresConstructor.js +1 -16
  15. package/dist/esm/composable-editor/hooks/useMeasureEditorMountTime.js +1 -1
  16. package/dist/esm/ui/Appearance/Comment/Toolbar.js +1 -1
  17. package/dist/esm/ui/Appearance/FullPage/MainToolbar.js +1 -1
  18. package/dist/esm/version-wrapper.js +1 -1
  19. package/dist/types/composable-editor/hooks/useEditorMeasuresConstructor.d.ts +1 -11
  20. package/dist/types/create-editor/create-universal-preset.d.ts +11 -0
  21. package/dist/types/editor-appearances/ChromelessEditor.d.ts +1 -1
  22. package/dist/types/editor-appearances/CommentEditor.d.ts +1 -1
  23. package/dist/types/presets/default.d.ts +10 -0
  24. package/dist/types/presets/universal.d.ts +11 -0
  25. package/dist/types/presets/useUniversalPreset.d.ts +11 -0
  26. package/dist/types-ts4.5/composable-editor/hooks/useEditorMeasuresConstructor.d.ts +1 -11
  27. package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +11 -0
  28. package/dist/types-ts4.5/editor-appearances/ChromelessEditor.d.ts +1 -1
  29. package/dist/types-ts4.5/editor-appearances/CommentEditor.d.ts +1 -1
  30. package/dist/types-ts4.5/presets/default.d.ts +10 -0
  31. package/dist/types-ts4.5/presets/universal.d.ts +11 -0
  32. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +11 -0
  33. package/package.json +3 -1
  34. package/dist/cjs/composable-editor/utils/editorMeasureTTICallback.js +0 -45
  35. package/dist/es2019/composable-editor/utils/editorMeasureTTICallback.js +0 -41
  36. package/dist/esm/composable-editor/utils/editorMeasureTTICallback.js +0 -39
  37. package/dist/types/composable-editor/utils/editorMeasureTTICallback.d.ts +0 -5
  38. package/dist/types-ts4.5/composable-editor/utils/editorMeasureTTICallback.d.ts +0 -5
@@ -346,6 +346,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
346
346
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
347
347
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
348
348
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
349
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
349
350
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
350
351
  };
351
352
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -691,6 +692,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
691
692
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
692
693
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
693
694
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
695
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
694
696
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
695
697
  };
696
698
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -1691,6 +1693,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1691
1693
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
1692
1694
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1693
1695
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1696
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
1694
1697
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1695
1698
  };
1696
1699
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -2419,6 +2422,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2419
2422
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
2420
2423
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2421
2424
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2425
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
2422
2426
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2423
2427
  };
2424
2428
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -3298,6 +3302,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3298
3302
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
3299
3303
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3300
3304
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3305
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
3301
3306
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3302
3307
  };
3303
3308
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -3743,6 +3748,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3743
3748
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
3744
3749
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3745
3750
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3751
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
3746
3752
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3747
3753
  };
3748
3754
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -4482,6 +4488,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4482
4488
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
4483
4489
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4484
4490
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4491
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
4485
4492
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4486
4493
  };
4487
4494
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -4829,6 +4836,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4829
4836
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
4830
4837
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4831
4838
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4839
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
4832
4840
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4833
4841
  };
4834
4842
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -5414,6 +5422,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5414
5422
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
5415
5423
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5416
5424
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
5425
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
5417
5426
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5418
5427
  };
5419
5428
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -5986,6 +5995,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5986
5995
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
5987
5996
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5988
5997
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
5998
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
5989
5999
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5990
6000
  };
5991
6001
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -6331,6 +6341,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6331
6341
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
6332
6342
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
6333
6343
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
6344
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
6334
6345
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
6335
6346
  };
6336
6347
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -295,6 +295,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
295
295
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
296
296
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
297
297
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
298
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
298
299
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
299
300
  };
300
301
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -640,6 +641,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
640
641
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
641
642
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
642
643
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
644
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
643
645
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
644
646
  };
645
647
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -1640,6 +1642,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1640
1642
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
1641
1643
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1642
1644
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1645
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
1643
1646
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1644
1647
  };
1645
1648
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -2368,6 +2371,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2368
2371
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
2369
2372
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2370
2373
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2374
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
2371
2375
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2372
2376
  };
2373
2377
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -3247,6 +3251,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
3247
3251
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
3248
3252
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3249
3253
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3254
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
3250
3255
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3251
3256
  };
3252
3257
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -3692,6 +3697,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
3692
3697
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
3693
3698
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3694
3699
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3700
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
3695
3701
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3696
3702
  };
3697
3703
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -4431,6 +4437,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
4431
4437
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
4432
4438
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4433
4439
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4440
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
4434
4441
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4435
4442
  };
4436
4443
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -4778,6 +4785,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
4778
4785
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
4779
4786
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4780
4787
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4788
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
4781
4789
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4782
4790
  };
4783
4791
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -5363,6 +5371,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5363
5371
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
5364
5372
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5365
5373
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
5374
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
5366
5375
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5367
5376
  };
5368
5377
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -5935,6 +5944,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5935
5944
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
5936
5945
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5937
5946
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
5947
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
5938
5948
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5939
5949
  };
5940
5950
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -6280,6 +6290,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
6280
6290
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
6281
6291
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
6282
6292
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
6293
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
6283
6294
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
6284
6295
  };
6285
6296
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -2,19 +2,9 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
6
- import type { ExperienceStore } from '@atlaskit/editor-common/ufo';
7
- import type { EditorProps } from '../../types/editor-props';
8
- import type { PerformanceTracking } from '../../types/performance-tracking';
9
5
  /**
10
6
  *
11
7
  * Hook to be used for running analytics on mounting the editor.
12
8
  * Should run once.
13
- * WARNING: Consider any changes to also make to `src/editor.tsx`
14
- *
15
- * @param performanceTracking
16
- * @param featureFlags
17
- * @param getExperienceStore function to retrieve the Editor's current ExperienceStore
18
- * @param createAnalyticsEvent
19
9
  */
20
- export default function useEditorConstructor(performanceTracking: PerformanceTracking | undefined, featureFlags: EditorProps['featureFlags'], getExperienceStore: () => ExperienceStore | undefined, createAnalyticsEvent: CreateUIAnalyticsEvent): void;
10
+ export default function useEditorConstructor(): void;
@@ -438,6 +438,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
438
438
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
439
439
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
440
440
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
441
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
441
442
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
442
443
  };
443
444
  }, undefined>>,
@@ -855,6 +856,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
855
856
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
856
857
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
857
858
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
859
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
858
860
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
859
861
  };
860
862
  }, undefined>>,
@@ -2055,6 +2057,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2055
2057
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
2056
2058
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2057
2059
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2060
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
2058
2061
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2059
2062
  };
2060
2063
  }, undefined>>,
@@ -2930,6 +2933,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2930
2933
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
2931
2934
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2932
2935
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2936
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
2933
2937
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2934
2938
  };
2935
2939
  }, undefined>>,
@@ -3988,6 +3992,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3988
3992
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
3989
3993
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3990
3994
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3995
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
3991
3996
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3992
3997
  };
3993
3998
  }, undefined>>,
@@ -4525,6 +4530,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4525
4530
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
4526
4531
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4527
4532
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4533
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
4528
4534
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4529
4535
  };
4530
4536
  }, undefined>>,
@@ -5426,6 +5432,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5426
5432
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
5427
5433
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5428
5434
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
5435
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
5429
5436
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5430
5437
  };
5431
5438
  }, undefined>>,
@@ -5846,6 +5853,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5846
5853
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
5847
5854
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5848
5855
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
5856
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
5849
5857
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5850
5858
  };
5851
5859
  }, undefined>>,
@@ -6550,6 +6558,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6550
6558
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
6551
6559
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
6552
6560
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
6561
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
6553
6562
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
6554
6563
  };
6555
6564
  }, undefined>>,
@@ -7238,6 +7247,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
7238
7247
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
7239
7248
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
7240
7249
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
7250
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
7241
7251
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
7242
7252
  };
7243
7253
  }, undefined>>,
@@ -7655,6 +7665,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
7655
7665
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
7656
7666
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
7657
7667
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
7668
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
7658
7669
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
7659
7670
  };
7660
7671
  }, undefined>>,
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { type EditorNextProps } from '../types/editor-props';
3
- export type ChromelessEditorProps = Pick<EditorNextProps, 'preset'>;
3
+ export type ChromelessEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'assistiveLabel' | 'disabled' | 'shouldFocus' | 'performanceTracking' | 'quickInsert' | 'secondaryToolbarComponents' | 'featureFlags' | 'onChange' | 'onDestroy' | 'onEditorReady' | 'onSave' | 'onCancel' | 'mentionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'extensionProviders'>;
4
4
  /**
5
5
  * Editor component based on `ComposableEditor` which sets the `appearance` to "chromeless".
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { type EditorNextProps } from '../types/editor-props';
3
- export type CommentEditorProps = Pick<EditorNextProps, 'preset'>;
3
+ export type CommentEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'assistiveLabel' | 'disabled' | 'shouldFocus' | 'performanceTracking' | 'quickInsert' | 'secondaryToolbarComponents' | 'featureFlags' | 'onChange' | 'onDestroy' | 'onEditorReady' | 'onSave' | 'onCancel' | 'mentionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'extensionProviders'>;
4
4
  /**
5
5
  * Editor component based on `ComposableEditor` which sets the `appearance` to "comment".
6
6
  *
@@ -350,6 +350,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
350
350
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
351
351
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
352
352
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
353
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
353
354
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
354
355
  };
355
356
  }, undefined>>,
@@ -770,6 +771,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
770
771
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
771
772
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
772
773
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
774
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
773
775
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
774
776
  };
775
777
  }, undefined>>,
@@ -1474,6 +1476,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1474
1476
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
1475
1477
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1476
1478
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1479
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
1477
1480
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1478
1481
  };
1479
1482
  }, undefined>>,
@@ -2162,6 +2165,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
2162
2165
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
2163
2166
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2164
2167
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2168
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
2165
2169
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2166
2170
  };
2167
2171
  }, undefined>>,
@@ -2579,6 +2583,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
2579
2583
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
2580
2584
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2581
2585
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2586
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
2582
2587
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2583
2588
  };
2584
2589
  }, undefined>>,
@@ -3388,6 +3393,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3388
3393
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
3389
3394
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3390
3395
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3396
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
3391
3397
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3392
3398
  };
3393
3399
  }, undefined>>,
@@ -3808,6 +3814,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3808
3814
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
3809
3815
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3810
3816
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3817
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
3811
3818
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3812
3819
  };
3813
3820
  }, undefined>>,
@@ -4512,6 +4519,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4512
4519
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
4513
4520
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4514
4521
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4522
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
4515
4523
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4516
4524
  };
4517
4525
  }, undefined>>,
@@ -5200,6 +5208,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
5200
5208
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
5201
5209
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5202
5210
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
5211
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
5203
5212
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5204
5213
  };
5205
5214
  }, undefined>>,
@@ -5617,6 +5626,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
5617
5626
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
5618
5627
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5619
5628
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
5629
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
5620
5630
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5621
5631
  };
5622
5632
  }, undefined>>,
@@ -489,6 +489,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
489
489
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
490
490
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
491
491
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
492
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
492
493
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
493
494
  };
494
495
  }, undefined>>,
@@ -906,6 +907,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
906
907
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
907
908
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
908
909
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
910
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
909
911
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
910
912
  };
911
913
  }, undefined>>,
@@ -2106,6 +2108,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2106
2108
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
2107
2109
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2108
2110
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2111
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
2109
2112
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2110
2113
  };
2111
2114
  }, undefined>>,
@@ -2981,6 +2984,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2981
2984
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
2982
2985
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2983
2986
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2987
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
2984
2988
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2985
2989
  };
2986
2990
  }, undefined>>,
@@ -4039,6 +4043,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4039
4043
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
4040
4044
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4041
4045
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4046
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
4042
4047
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4043
4048
  };
4044
4049
  }, undefined>>,
@@ -4576,6 +4581,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4576
4581
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
4577
4582
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4578
4583
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4584
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
4579
4585
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4580
4586
  };
4581
4587
  }, undefined>>,
@@ -5477,6 +5483,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5477
5483
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
5478
5484
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5479
5485
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
5486
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
5480
5487
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5481
5488
  };
5482
5489
  }, undefined>>,
@@ -5897,6 +5904,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5897
5904
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
5898
5905
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5899
5906
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
5907
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
5900
5908
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5901
5909
  };
5902
5910
  }, undefined>>,
@@ -6601,6 +6609,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6601
6609
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
6602
6610
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
6603
6611
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
6612
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
6604
6613
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
6605
6614
  };
6606
6615
  }, undefined>>,
@@ -7289,6 +7298,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
7289
7298
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
7290
7299
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
7291
7300
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
7301
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
7292
7302
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
7293
7303
  };
7294
7304
  }, undefined>>,
@@ -7706,6 +7716,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
7706
7716
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
7707
7717
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
7708
7718
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
7719
+ hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
7709
7720
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
7710
7721
  };
7711
7722
  }, undefined>>,