@atlaskit/editor-core 195.0.9 → 195.1.6

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.
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
2
3
  import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
3
4
  import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
@@ -189,10 +190,19 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
189
190
  sharedState: FeatureFlags;
190
191
  }, FeatureFlags>>];
191
192
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
192
- }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
193
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
194
+ dependencies: [];
195
+ actions: {
196
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
197
+ };
198
+ sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
199
+ }, undefined>>];
193
200
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
194
201
  commands: {
195
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
202
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
203
+ (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;
204
+ (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;
205
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
196
206
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
197
207
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
198
208
  };
@@ -395,10 +405,19 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
395
405
  sharedState: FeatureFlags;
396
406
  }, FeatureFlags>>];
397
407
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
398
- }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
408
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
409
+ dependencies: [];
410
+ actions: {
411
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
412
+ };
413
+ sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
414
+ }, undefined>>];
399
415
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
400
416
  commands: {
401
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
417
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
418
+ (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;
419
+ (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;
420
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
402
421
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
403
422
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
404
423
  };
@@ -650,11 +669,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
650
669
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
651
670
  }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
652
671
  sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
653
- commands: {
672
+ actions: {
654
673
  registerComponent: ({ name, component, }: {
655
674
  name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
656
675
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
657
- }) => import("@atlaskit/editor-common/types").EditorCommand;
676
+ }) => void;
658
677
  };
659
678
  }, undefined>>];
660
679
  commands: {
@@ -839,10 +858,19 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
839
858
  sharedState: FeatureFlags;
840
859
  }, FeatureFlags>>];
841
860
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
842
- }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
861
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
862
+ dependencies: [];
863
+ actions: {
864
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
865
+ };
866
+ sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
867
+ }, undefined>>];
843
868
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
844
869
  commands: {
845
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
870
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
871
+ (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;
872
+ (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;
873
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
846
874
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
847
875
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
848
876
  };
@@ -919,11 +947,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
919
947
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
920
948
  }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
921
949
  sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
922
- commands: {
950
+ actions: {
923
951
  registerComponent: ({ name, component, }: {
924
952
  name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
925
953
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
926
- }) => import("@atlaskit/editor-common/types").EditorCommand;
954
+ }) => void;
927
955
  };
928
956
  }, undefined>>];
929
957
  sharedState: import("@atlaskit/editor-plugins/block-type").BlockTypeState | undefined;
@@ -983,20 +1011,20 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
983
1011
  sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginState | undefined;
984
1012
  }, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
985
1013
  sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
986
- commands: {
1014
+ actions: {
987
1015
  registerComponent: ({ name, component, }: {
988
1016
  name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
989
1017
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
990
- }) => import("@atlaskit/editor-common/types").EditorCommand;
1018
+ }) => void;
991
1019
  };
992
1020
  }, undefined>>];
993
1021
  }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
994
1022
  sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
995
- commands: {
1023
+ actions: {
996
1024
  registerComponent: ({ name, component, }: {
997
1025
  name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
998
1026
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
999
- }) => import("@atlaskit/editor-common/types").EditorCommand;
1027
+ }) => void;
1000
1028
  };
1001
1029
  }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
1002
1030
  sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginState | undefined;
@@ -1272,10 +1300,19 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1272
1300
  sharedState: FeatureFlags;
1273
1301
  }, FeatureFlags>>];
1274
1302
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1275
- }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
1303
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
1304
+ dependencies: [];
1305
+ actions: {
1306
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
1307
+ };
1308
+ sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
1309
+ }, undefined>>];
1276
1310
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1277
1311
  commands: {
1278
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1312
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
1313
+ (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;
1314
+ (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;
1315
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1279
1316
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1280
1317
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1281
1318
  };
@@ -1476,10 +1513,19 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1476
1513
  sharedState: FeatureFlags;
1477
1514
  }, FeatureFlags>>];
1478
1515
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1479
- }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
1516
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
1517
+ dependencies: [];
1518
+ actions: {
1519
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
1520
+ };
1521
+ sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
1522
+ }, undefined>>];
1480
1523
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1481
1524
  commands: {
1482
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1525
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
1526
+ (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;
1527
+ (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;
1528
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1483
1529
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1484
1530
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1485
1531
  };
@@ -1899,10 +1945,19 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
1899
1945
  sharedState: FeatureFlags;
1900
1946
  }, FeatureFlags>>];
1901
1947
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1902
- }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
1948
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
1949
+ dependencies: [];
1950
+ actions: {
1951
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
1952
+ };
1953
+ sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
1954
+ }, undefined>>];
1903
1955
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1904
1956
  commands: {
1905
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1957
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
1958
+ (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;
1959
+ (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;
1960
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1906
1961
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1907
1962
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1908
1963
  };
@@ -2105,10 +2160,19 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2105
2160
  sharedState: FeatureFlags;
2106
2161
  }, FeatureFlags>>];
2107
2162
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2108
- }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
2163
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
2164
+ dependencies: [];
2165
+ actions: {
2166
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
2167
+ };
2168
+ sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
2169
+ }, undefined>>];
2109
2170
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2110
2171
  commands: {
2111
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2172
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
2173
+ (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;
2174
+ (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;
2175
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2112
2176
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2113
2177
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2114
2178
  };
@@ -2360,11 +2424,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2360
2424
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2361
2425
  }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
2362
2426
  sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
2363
- commands: {
2427
+ actions: {
2364
2428
  registerComponent: ({ name, component, }: {
2365
2429
  name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
2366
2430
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
2367
- }) => import("@atlaskit/editor-common/types").EditorCommand;
2431
+ }) => void;
2368
2432
  };
2369
2433
  }, undefined>>];
2370
2434
  commands: {
@@ -2549,10 +2613,19 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2549
2613
  sharedState: FeatureFlags;
2550
2614
  }, FeatureFlags>>];
2551
2615
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2552
- }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
2616
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
2617
+ dependencies: [];
2618
+ actions: {
2619
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
2620
+ };
2621
+ sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
2622
+ }, undefined>>];
2553
2623
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2554
2624
  commands: {
2555
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2625
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
2626
+ (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;
2627
+ (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;
2628
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2556
2629
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2557
2630
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2558
2631
  };
@@ -2629,11 +2702,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2629
2702
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2630
2703
  }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
2631
2704
  sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
2632
- commands: {
2705
+ actions: {
2633
2706
  registerComponent: ({ name, component, }: {
2634
2707
  name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
2635
2708
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
2636
- }) => import("@atlaskit/editor-common/types").EditorCommand;
2709
+ }) => void;
2637
2710
  };
2638
2711
  }, undefined>>];
2639
2712
  sharedState: import("@atlaskit/editor-plugins/block-type").BlockTypeState | undefined;
@@ -2693,20 +2766,20 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2693
2766
  sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginState | undefined;
2694
2767
  }, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
2695
2768
  sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
2696
- commands: {
2769
+ actions: {
2697
2770
  registerComponent: ({ name, component, }: {
2698
2771
  name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
2699
2772
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
2700
- }) => import("@atlaskit/editor-common/types").EditorCommand;
2773
+ }) => void;
2701
2774
  };
2702
2775
  }, undefined>>];
2703
2776
  }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
2704
2777
  sharedState: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginState | undefined;
2705
- commands: {
2778
+ actions: {
2706
2779
  registerComponent: ({ name, component, }: {
2707
2780
  name: import("@atlaskit/editor-plugins/primary-toolbar").ToolbarElementNames;
2708
2781
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
2709
- }) => import("@atlaskit/editor-common/types").EditorCommand;
2782
+ }) => void;
2710
2783
  };
2711
2784
  }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
2712
2785
  sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginState | undefined;
@@ -2982,10 +3055,19 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2982
3055
  sharedState: FeatureFlags;
2983
3056
  }, FeatureFlags>>];
2984
3057
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2985
- }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
3058
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
3059
+ dependencies: [];
3060
+ actions: {
3061
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
3062
+ };
3063
+ sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
3064
+ }, undefined>>];
2986
3065
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2987
3066
  commands: {
2988
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3067
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
3068
+ (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;
3069
+ (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;
3070
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2989
3071
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2990
3072
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2991
3073
  };
@@ -3186,10 +3268,19 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3186
3268
  sharedState: FeatureFlags;
3187
3269
  }, FeatureFlags>>];
3188
3270
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
3189
- }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
3271
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
3272
+ dependencies: [];
3273
+ actions: {
3274
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
3275
+ };
3276
+ sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
3277
+ }, undefined>>];
3190
3278
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3191
3279
  commands: {
3192
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3280
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
3281
+ (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;
3282
+ (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;
3283
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3193
3284
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3194
3285
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3195
3286
  };