@atlaskit/editor-core 198.6.6 → 198.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 198.6.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#153270](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/153270)
8
+ [`311428de27cbc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/311428de27cbc) -
9
+ [ux] [ED-25068] Implement inline drop zone and drop target (edge case excluded) behind FG
10
+
11
+ ## 198.6.7
12
+
13
+ ### Patch Changes
14
+
15
+ - [#153147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/153147)
16
+ [`b5698cb5073d6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b5698cb5073d6) -
17
+ NOISSUE: Remove legacy context unit test
18
+ - [`656886f933139`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/656886f933139) -
19
+ Cleanup FF platform_editor_af_provider_from_plugin_config
20
+ - Updated dependencies
21
+
3
22
  ## 198.6.6
4
23
 
5
24
  ### Patch Changes
@@ -8,7 +8,6 @@ exports.useProviders = void 0;
8
8
  var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
9
9
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
10
10
  var _react = require("react");
11
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
11
  /**
13
12
  * This hook is used to replace the old approach of using the `providerFactory`.
14
13
  *
@@ -78,11 +77,9 @@ var useProviders = exports.useProviders = function useProviders(_ref) {
78
77
  }
79
78
  }, [emojiProvider, editorApi]);
80
79
  (0, _react.useEffect)(function () {
81
- if ((0, _platformFeatureFlags.fg)('platform_editor_af_provider_from_plugin_config')) {
82
- if (autoformattingProvider) {
83
- var _editorApi$customAuto;
84
- editorApi === null || editorApi === void 0 || (_editorApi$customAuto = editorApi.customAutoformat) === null || _editorApi$customAuto === void 0 || _editorApi$customAuto.actions.setProvider(autoformattingProvider);
85
- }
80
+ if (autoformattingProvider) {
81
+ var _editorApi$customAuto;
82
+ editorApi === null || editorApi === void 0 || (_editorApi$customAuto = editorApi.customAutoformat) === null || _editorApi$customAuto === void 0 || _editorApi$customAuto.actions.setProvider(autoformattingProvider);
86
83
  }
87
84
  }, [autoformattingProvider, editorApi]);
88
85
  (0, _react.useEffect)(function () {
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = handleProviders;
7
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
8
7
  /**
9
8
  *
10
9
  * Utility to set all the providers on a provider factory
@@ -15,18 +14,14 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
14
  * @param quickInsertProvider
16
15
  */
17
16
  function handleProviders(providerFactory, _ref, extensionProvider, quickInsertProvider) {
18
- var emojiProvider = _ref.emojiProvider,
19
- mentionProvider = _ref.mentionProvider,
20
- taskDecisionProvider = _ref.taskDecisionProvider,
17
+ var mentionProvider = _ref.mentionProvider,
21
18
  contextIdentifierProvider = _ref.contextIdentifierProvider,
22
19
  collabEditProvider = _ref.collabEditProvider,
23
20
  activityProvider = _ref.activityProvider,
24
21
  presenceProvider = _ref.presenceProvider,
25
22
  macroProvider = _ref.macroProvider,
26
23
  imageUploadProvider = _ref.imageUploadProvider,
27
- autoformattingProvider = _ref.autoformattingProvider,
28
24
  searchProvider = _ref.searchProvider;
29
- providerFactory.setProvider('emojiProvider', emojiProvider);
30
25
  providerFactory.setProvider('mentionProvider', mentionProvider);
31
26
  providerFactory.setProvider('contextIdentifierProvider', contextIdentifierProvider);
32
27
  providerFactory.setProvider('imageUploadProvider', imageUploadProvider);
@@ -35,9 +30,6 @@ function handleProviders(providerFactory, _ref, extensionProvider, quickInsertPr
35
30
  providerFactory.setProvider('searchProvider', searchProvider);
36
31
  providerFactory.setProvider('presenceProvider', presenceProvider);
37
32
  providerFactory.setProvider('macroProvider', macroProvider);
38
- if (!(0, _platformFeatureFlags.fg)('platform_editor_af_provider_from_plugin_config')) {
39
- providerFactory.setProvider('autoformattingProvider', autoformattingProvider);
40
- }
41
33
  if (extensionProvider) {
42
34
  providerFactory.setProvider('extensionProvider', Promise.resolve(extensionProvider));
43
35
  }
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "198.6.6";
8
+ var version = exports.version = "198.6.8";
@@ -1,5 +1,4 @@
1
1
  import { useEffect } from 'react';
2
- import { fg } from '@atlaskit/platform-feature-flags';
3
2
  /**
4
3
  * This hook is used to replace the old approach of using the `providerFactory`.
5
4
  *
@@ -49,11 +48,9 @@ export const useProviders = ({
49
48
  }
50
49
  }, [emojiProvider, editorApi]);
51
50
  useEffect(() => {
52
- if (fg('platform_editor_af_provider_from_plugin_config')) {
53
- if (autoformattingProvider) {
54
- var _editorApi$customAuto;
55
- editorApi === null || editorApi === void 0 ? void 0 : (_editorApi$customAuto = editorApi.customAutoformat) === null || _editorApi$customAuto === void 0 ? void 0 : _editorApi$customAuto.actions.setProvider(autoformattingProvider);
56
- }
51
+ if (autoformattingProvider) {
52
+ var _editorApi$customAuto;
53
+ editorApi === null || editorApi === void 0 ? void 0 : (_editorApi$customAuto = editorApi.customAutoformat) === null || _editorApi$customAuto === void 0 ? void 0 : _editorApi$customAuto.actions.setProvider(autoformattingProvider);
57
54
  }
58
55
  }, [autoformattingProvider, editorApi]);
59
56
  useEffect(() => {
@@ -1,5 +1,3 @@
1
- import { fg } from '@atlaskit/platform-feature-flags';
2
-
3
1
  /**
4
2
  *
5
3
  * Utility to set all the providers on a provider factory
@@ -10,19 +8,15 @@ import { fg } from '@atlaskit/platform-feature-flags';
10
8
  * @param quickInsertProvider
11
9
  */
12
10
  export default function handleProviders(providerFactory, {
13
- emojiProvider,
14
11
  mentionProvider,
15
- taskDecisionProvider,
16
12
  contextIdentifierProvider,
17
13
  collabEditProvider,
18
14
  activityProvider,
19
15
  presenceProvider,
20
16
  macroProvider,
21
17
  imageUploadProvider,
22
- autoformattingProvider,
23
18
  searchProvider
24
19
  }, extensionProvider, quickInsertProvider) {
25
- providerFactory.setProvider('emojiProvider', emojiProvider);
26
20
  providerFactory.setProvider('mentionProvider', mentionProvider);
27
21
  providerFactory.setProvider('contextIdentifierProvider', contextIdentifierProvider);
28
22
  providerFactory.setProvider('imageUploadProvider', imageUploadProvider);
@@ -31,9 +25,6 @@ export default function handleProviders(providerFactory, {
31
25
  providerFactory.setProvider('searchProvider', searchProvider);
32
26
  providerFactory.setProvider('presenceProvider', presenceProvider);
33
27
  providerFactory.setProvider('macroProvider', macroProvider);
34
- if (!fg('platform_editor_af_provider_from_plugin_config')) {
35
- providerFactory.setProvider('autoformattingProvider', autoformattingProvider);
36
- }
37
28
  if (extensionProvider) {
38
29
  providerFactory.setProvider('extensionProvider', Promise.resolve(extensionProvider));
39
30
  }
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "198.6.6";
2
+ export const version = "198.6.8";
@@ -1,7 +1,6 @@
1
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
2
  import _regeneratorRuntime from "@babel/runtime/regenerator";
3
3
  import { useEffect } from 'react';
4
- import { fg } from '@atlaskit/platform-feature-flags';
5
4
  /**
6
5
  * This hook is used to replace the old approach of using the `providerFactory`.
7
6
  *
@@ -71,11 +70,9 @@ export var useProviders = function useProviders(_ref) {
71
70
  }
72
71
  }, [emojiProvider, editorApi]);
73
72
  useEffect(function () {
74
- if (fg('platform_editor_af_provider_from_plugin_config')) {
75
- if (autoformattingProvider) {
76
- var _editorApi$customAuto;
77
- editorApi === null || editorApi === void 0 || (_editorApi$customAuto = editorApi.customAutoformat) === null || _editorApi$customAuto === void 0 || _editorApi$customAuto.actions.setProvider(autoformattingProvider);
78
- }
73
+ if (autoformattingProvider) {
74
+ var _editorApi$customAuto;
75
+ editorApi === null || editorApi === void 0 || (_editorApi$customAuto = editorApi.customAutoformat) === null || _editorApi$customAuto === void 0 || _editorApi$customAuto.actions.setProvider(autoformattingProvider);
79
76
  }
80
77
  }, [autoformattingProvider, editorApi]);
81
78
  useEffect(function () {
@@ -1,5 +1,3 @@
1
- import { fg } from '@atlaskit/platform-feature-flags';
2
-
3
1
  /**
4
2
  *
5
3
  * Utility to set all the providers on a provider factory
@@ -10,18 +8,14 @@ import { fg } from '@atlaskit/platform-feature-flags';
10
8
  * @param quickInsertProvider
11
9
  */
12
10
  export default function handleProviders(providerFactory, _ref, extensionProvider, quickInsertProvider) {
13
- var emojiProvider = _ref.emojiProvider,
14
- mentionProvider = _ref.mentionProvider,
15
- taskDecisionProvider = _ref.taskDecisionProvider,
11
+ var mentionProvider = _ref.mentionProvider,
16
12
  contextIdentifierProvider = _ref.contextIdentifierProvider,
17
13
  collabEditProvider = _ref.collabEditProvider,
18
14
  activityProvider = _ref.activityProvider,
19
15
  presenceProvider = _ref.presenceProvider,
20
16
  macroProvider = _ref.macroProvider,
21
17
  imageUploadProvider = _ref.imageUploadProvider,
22
- autoformattingProvider = _ref.autoformattingProvider,
23
18
  searchProvider = _ref.searchProvider;
24
- providerFactory.setProvider('emojiProvider', emojiProvider);
25
19
  providerFactory.setProvider('mentionProvider', mentionProvider);
26
20
  providerFactory.setProvider('contextIdentifierProvider', contextIdentifierProvider);
27
21
  providerFactory.setProvider('imageUploadProvider', imageUploadProvider);
@@ -30,9 +24,6 @@ export default function handleProviders(providerFactory, _ref, extensionProvider
30
24
  providerFactory.setProvider('searchProvider', searchProvider);
31
25
  providerFactory.setProvider('presenceProvider', presenceProvider);
32
26
  providerFactory.setProvider('macroProvider', macroProvider);
33
- if (!fg('platform_editor_af_provider_from_plugin_config')) {
34
- providerFactory.setProvider('autoformattingProvider', autoformattingProvider);
35
- }
36
27
  if (extensionProvider) {
37
28
  providerFactory.setProvider('extensionProvider', Promise.resolve(extensionProvider));
38
29
  }
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "198.6.6";
2
+ export var version = "198.6.8";
@@ -9,4 +9,4 @@ import type { ProviderFactory, Providers, QuickInsertProvider } from '@atlaskit/
9
9
  * @param extensionProvider
10
10
  * @param quickInsertProvider
11
11
  */
12
- export default function handleProviders(providerFactory: ProviderFactory, { emojiProvider, mentionProvider, taskDecisionProvider, contextIdentifierProvider, collabEditProvider, activityProvider, presenceProvider, macroProvider, imageUploadProvider, autoformattingProvider, searchProvider, }: Providers, extensionProvider?: ExtensionProvider, quickInsertProvider?: Promise<QuickInsertProvider>): void;
12
+ export default function handleProviders(providerFactory: ProviderFactory, { mentionProvider, contextIdentifierProvider, collabEditProvider, activityProvider, presenceProvider, macroProvider, imageUploadProvider, searchProvider, }: Providers, extensionProvider?: ExtensionProvider, quickInsertProvider?: Promise<QuickInsertProvider>): void;
@@ -290,12 +290,12 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
290
290
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
291
291
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
292
292
  commands: {
293
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
293
294
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
294
295
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
295
296
  (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
297
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
297
298
  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;
299
299
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
300
300
  };
301
301
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -643,12 +643,12 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
643
643
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
644
644
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
645
645
  commands: {
646
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
646
647
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
647
648
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
648
649
  (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;
649
650
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
650
651
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
651
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
652
652
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
653
653
  };
654
654
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -1651,12 +1651,12 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1651
1651
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
1652
1652
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1653
1653
  commands: {
1654
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
1654
1655
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
1655
1656
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
1656
1657
  (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;
1657
1658
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1658
1659
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1659
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
1660
1660
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1661
1661
  };
1662
1662
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -2387,12 +2387,12 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2387
2387
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
2388
2388
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2389
2389
  commands: {
2390
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
2390
2391
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
2391
2392
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
2392
2393
  (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;
2393
2394
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2394
2395
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2395
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
2396
2396
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2397
2397
  };
2398
2398
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -3274,12 +3274,12 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3274
3274
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
3275
3275
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3276
3276
  commands: {
3277
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
3277
3278
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
3278
3279
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
3279
3280
  (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;
3280
3281
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3281
3282
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3282
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
3283
3283
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3284
3284
  };
3285
3285
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -3724,12 +3724,12 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3724
3724
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
3725
3725
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3726
3726
  commands: {
3727
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
3727
3728
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
3728
3729
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
3729
3730
  (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;
3730
3731
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3731
3732
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3732
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
3733
3733
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3734
3734
  };
3735
3735
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -4468,12 +4468,12 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4468
4468
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
4469
4469
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4470
4470
  commands: {
4471
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
4471
4472
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
4472
4473
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
4473
4474
  (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;
4474
4475
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4475
4476
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4476
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
4477
4477
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4478
4478
  };
4479
4479
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -4816,12 +4816,12 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4816
4816
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
4817
4817
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4818
4818
  commands: {
4819
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
4819
4820
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
4820
4821
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
4821
4822
  (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;
4822
4823
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4823
4824
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4824
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
4825
4825
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4826
4826
  };
4827
4827
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -5406,12 +5406,12 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5406
5406
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
5407
5407
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
5408
5408
  commands: {
5409
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
5409
5410
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
5410
5411
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
5411
5412
  (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;
5412
5413
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5413
5414
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
5414
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
5415
5415
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5416
5416
  };
5417
5417
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -5986,12 +5986,12 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5986
5986
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
5987
5987
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
5988
5988
  commands: {
5989
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
5989
5990
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
5990
5991
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
5991
5992
  (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;
5992
5993
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5993
5994
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
5994
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
5995
5995
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5996
5996
  };
5997
5997
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -6339,12 +6339,12 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6339
6339
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
6340
6340
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
6341
6341
  commands: {
6342
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
6342
6343
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
6343
6344
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
6344
6345
  (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;
6345
6346
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
6346
6347
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
6347
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
6348
6348
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
6349
6349
  };
6350
6350
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -266,12 +266,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
266
266
  }, QuickInsertPluginOptions | undefined>>];
267
267
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
268
268
  commands: {
269
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
269
270
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
270
271
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
271
272
  (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;
272
273
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
273
274
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
274
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
275
275
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
276
276
  };
277
277
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -614,12 +614,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
614
614
  }, QuickInsertPluginOptions | undefined>>];
615
615
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
616
616
  commands: {
617
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
617
618
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
618
619
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
619
620
  (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;
620
621
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
621
622
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
622
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
623
623
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
624
624
  };
625
625
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -1204,12 +1204,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1204
1204
  }, QuickInsertPluginOptions | undefined>>];
1205
1205
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1206
1206
  commands: {
1207
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
1207
1208
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
1208
1209
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
1209
1210
  (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;
1210
1211
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1211
1212
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1212
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
1213
1213
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1214
1214
  };
1215
1215
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -1784,12 +1784,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1784
1784
  }, QuickInsertPluginOptions | undefined>>];
1785
1785
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1786
1786
  commands: {
1787
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
1787
1788
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
1788
1789
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
1789
1790
  (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;
1790
1791
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1791
1792
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1792
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
1793
1793
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1794
1794
  };
1795
1795
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -2137,12 +2137,12 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
2137
2137
  }, QuickInsertPluginOptions | undefined>>];
2138
2138
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2139
2139
  commands: {
2140
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
2140
2141
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
2141
2142
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
2142
2143
  (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;
2143
2144
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2144
2145
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2145
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
2146
2146
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2147
2147
  };
2148
2148
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -2789,12 +2789,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2789
2789
  }, QuickInsertPluginOptions | undefined>>];
2790
2790
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2791
2791
  commands: {
2792
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
2792
2793
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
2793
2794
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
2794
2795
  (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;
2795
2796
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2796
2797
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2797
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
2798
2798
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2799
2799
  };
2800
2800
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -3137,12 +3137,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3137
3137
  }, QuickInsertPluginOptions | undefined>>];
3138
3138
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3139
3139
  commands: {
3140
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
3140
3141
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
3141
3142
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
3142
3143
  (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;
3143
3144
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3144
3145
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3145
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
3146
3146
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3147
3147
  };
3148
3148
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -3727,12 +3727,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3727
3727
  }, QuickInsertPluginOptions | undefined>>];
3728
3728
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3729
3729
  commands: {
3730
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
3730
3731
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
3731
3732
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
3732
3733
  (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;
3733
3734
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3734
3735
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3735
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
3736
3736
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3737
3737
  };
3738
3738
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -4307,12 +4307,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4307
4307
  }, QuickInsertPluginOptions | undefined>>];
4308
4308
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4309
4309
  commands: {
4310
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
4310
4311
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
4311
4312
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
4312
4313
  (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;
4313
4314
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4314
4315
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4315
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
4316
4316
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4317
4317
  };
4318
4318
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -4660,12 +4660,12 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4660
4660
  }, QuickInsertPluginOptions | undefined>>];
4661
4661
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4662
4662
  commands: {
4663
+ moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
4663
4664
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
4664
4665
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
4665
4666
  (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;
4666
4667
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4667
4668
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4668
- hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
4669
4669
  setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4670
4670
  };
4671
4671
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {