@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.
@@ -51,6 +51,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
51
51
  import("@atlaskit/editor-common/preset").MaybePluginName<"emoji">,
52
52
  import("@atlaskit/editor-common/preset").MaybePluginName<"mention">,
53
53
  import("@atlaskit/editor-common/preset").MaybePluginName<"caption">,
54
+ import("@atlaskit/editor-common/preset").MaybePluginName<"mediaInsert">,
54
55
  import("@atlaskit/editor-common/preset").MaybePluginName<"media">,
55
56
  import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">,
56
57
  import("@atlaskit/editor-common/preset").MaybePluginName<"grid">,
@@ -359,11 +360,22 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
359
360
  }, FeatureFlags>>
360
361
  ];
361
362
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
362
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
363
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
364
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
365
+ dependencies: [
366
+ ];
367
+ actions: {
368
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
369
+ };
370
+ sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
371
+ }, undefined>>
363
372
  ];
364
373
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
365
374
  commands: {
366
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
375
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
376
+ (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;
377
+ (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;
378
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
367
379
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
368
380
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
369
381
  };
@@ -614,11 +626,22 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
614
626
  }, FeatureFlags>>
615
627
  ];
616
628
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
617
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
629
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
630
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
631
+ dependencies: [
632
+ ];
633
+ actions: {
634
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
635
+ };
636
+ sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
637
+ }, undefined>>
618
638
  ];
619
639
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
620
640
  commands: {
621
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
641
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
642
+ (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;
643
+ (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;
644
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
622
645
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
623
646
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
624
647
  };
@@ -958,11 +981,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
958
981
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
959
982
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
960
983
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
961
- commands: {
984
+ actions: {
962
985
  registerComponent: ({ name, component, }: {
963
986
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
964
987
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
965
- }) => import("@atlaskit/editor-common/types").EditorCommand;
988
+ }) => void;
966
989
  };
967
990
  }, undefined>>
968
991
  ];
@@ -1055,11 +1078,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1055
1078
  }, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>>,
1056
1079
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
1057
1080
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
1058
- commands: {
1081
+ actions: {
1059
1082
  registerComponent: ({ name, component, }: {
1060
1083
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
1061
1084
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
1062
- }) => import("@atlaskit/editor-common/types").EditorCommand;
1085
+ }) => void;
1063
1086
  };
1064
1087
  }, undefined>>
1065
1088
  ];
@@ -1080,11 +1103,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1080
1103
  dependencies: [
1081
1104
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
1082
1105
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
1083
- commands: {
1106
+ actions: {
1084
1107
  registerComponent: ({ name, component, }: {
1085
1108
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
1086
1109
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
1087
- }) => import("@atlaskit/editor-common/types").EditorCommand;
1110
+ }) => void;
1088
1111
  };
1089
1112
  }, undefined>>
1090
1113
  ];
@@ -1271,11 +1294,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1271
1294
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
1272
1295
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
1273
1296
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
1274
- commands: {
1297
+ actions: {
1275
1298
  registerComponent: ({ name, component, }: {
1276
1299
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
1277
1300
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
1278
- }) => import("@atlaskit/editor-common/types").EditorCommand;
1301
+ }) => void;
1279
1302
  };
1280
1303
  }, undefined>>
1281
1304
  ];
@@ -1539,11 +1562,22 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1539
1562
  }, FeatureFlags>>
1540
1563
  ];
1541
1564
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1542
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
1565
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
1566
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
1567
+ dependencies: [
1568
+ ];
1569
+ actions: {
1570
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
1571
+ };
1572
+ sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
1573
+ }, undefined>>
1543
1574
  ];
1544
1575
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1545
1576
  commands: {
1546
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1577
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
1578
+ (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;
1579
+ (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;
1580
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1547
1581
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1548
1582
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1549
1583
  };
@@ -2167,11 +2201,22 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2167
2201
  }, FeatureFlags>>
2168
2202
  ];
2169
2203
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2170
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
2204
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
2205
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
2206
+ dependencies: [
2207
+ ];
2208
+ actions: {
2209
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
2210
+ };
2211
+ sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
2212
+ }, undefined>>
2171
2213
  ];
2172
2214
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2173
2215
  commands: {
2174
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2216
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
2217
+ (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;
2218
+ (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;
2219
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2175
2220
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2176
2221
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2177
2222
  };
@@ -2804,6 +2849,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2804
2849
  }, undefined>>
2805
2850
  ];
2806
2851
  }, undefined> | undefined,
2852
+ import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"mediaInsert", {}, undefined> | undefined,
2807
2853
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
2808
2854
  pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
2809
2855
  dependencies: [
@@ -3015,11 +3061,22 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3015
3061
  }, FeatureFlags>>
3016
3062
  ];
3017
3063
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
3018
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
3064
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
3065
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
3066
+ dependencies: [
3067
+ ];
3068
+ actions: {
3069
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
3070
+ };
3071
+ sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
3072
+ }, undefined>>
3019
3073
  ];
3020
3074
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3021
3075
  commands: {
3022
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3076
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
3077
+ (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;
3078
+ (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;
3079
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3023
3080
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3024
3081
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3025
3082
  };
@@ -3482,11 +3539,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3482
3539
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
3483
3540
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
3484
3541
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
3485
- commands: {
3542
+ actions: {
3486
3543
  registerComponent: ({ name, component, }: {
3487
3544
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
3488
3545
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
3489
- }) => import("@atlaskit/editor-common/types").EditorCommand;
3546
+ }) => void;
3490
3547
  };
3491
3548
  }, undefined>>
3492
3549
  ];
@@ -3500,11 +3557,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3500
3557
  dependencies: [
3501
3558
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
3502
3559
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
3503
- commands: {
3560
+ actions: {
3504
3561
  registerComponent: ({ name, component, }: {
3505
3562
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
3506
3563
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
3507
- }) => import("@atlaskit/editor-common/types").EditorCommand;
3564
+ }) => void;
3508
3565
  };
3509
3566
  }, undefined>>
3510
3567
  ];
@@ -3740,11 +3797,22 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3740
3797
  }, FeatureFlags>>
3741
3798
  ];
3742
3799
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
3743
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
3800
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
3801
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
3802
+ dependencies: [
3803
+ ];
3804
+ actions: {
3805
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
3806
+ };
3807
+ sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
3808
+ }, undefined>>
3744
3809
  ];
3745
3810
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3746
3811
  commands: {
3747
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3812
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
3813
+ (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;
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;
3815
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3748
3816
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3749
3817
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3750
3818
  };
@@ -3998,11 +4066,22 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3998
4066
  }, FeatureFlags>>
3999
4067
  ];
4000
4068
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
4001
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
4069
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
4070
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
4071
+ dependencies: [
4072
+ ];
4073
+ actions: {
4074
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
4075
+ };
4076
+ sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
4077
+ }, undefined>>
4002
4078
  ];
4003
4079
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4004
4080
  commands: {
4005
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4081
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
4082
+ (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;
4083
+ (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;
4084
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4006
4085
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4007
4086
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4008
4087
  };
@@ -4305,11 +4384,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
4305
4384
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
4306
4385
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
4307
4386
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
4308
- commands: {
4387
+ actions: {
4309
4388
  registerComponent: ({ name, component, }: {
4310
4389
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
4311
4390
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
4312
- }) => import("@atlaskit/editor-common/types").EditorCommand;
4391
+ }) => void;
4313
4392
  };
4314
4393
  }, undefined>>
4315
4394
  ];
@@ -4539,11 +4618,22 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
4539
4618
  }, FeatureFlags>>
4540
4619
  ];
4541
4620
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
4542
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
4621
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
4622
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
4623
+ dependencies: [
4624
+ ];
4625
+ actions: {
4626
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
4627
+ };
4628
+ sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
4629
+ }, undefined>>
4543
4630
  ];
4544
4631
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4545
4632
  commands: {
4546
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4633
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
4634
+ (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;
4635
+ (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;
4636
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4547
4637
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4548
4638
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4549
4639
  };
@@ -4637,11 +4727,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
4637
4727
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
4638
4728
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
4639
4729
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
4640
- commands: {
4730
+ actions: {
4641
4731
  registerComponent: ({ name, component, }: {
4642
4732
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
4643
4733
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
4644
- }) => import("@atlaskit/editor-common/types").EditorCommand;
4734
+ }) => void;
4645
4735
  };
4646
4736
  }, undefined>>
4647
4737
  ];
@@ -4711,22 +4801,22 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
4711
4801
  }, undefined>,
4712
4802
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
4713
4803
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
4714
- commands: {
4804
+ actions: {
4715
4805
  registerComponent: ({ name, component, }: {
4716
4806
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
4717
4807
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
4718
- }) => import("@atlaskit/editor-common/types").EditorCommand;
4808
+ }) => void;
4719
4809
  };
4720
4810
  }, undefined>>
4721
4811
  ];
4722
4812
  }, undefined> | undefined,
4723
4813
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
4724
4814
  sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
4725
- commands: {
4815
+ actions: {
4726
4816
  registerComponent: ({ name, component, }: {
4727
4817
  name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
4728
4818
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
4729
- }) => import("@atlaskit/editor-common/types").EditorCommand;
4819
+ }) => void;
4730
4820
  };
4731
4821
  }, undefined> | undefined,
4732
4822
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
@@ -5067,11 +5157,22 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
5067
5157
  }, FeatureFlags>>
5068
5158
  ];
5069
5159
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
5070
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
5160
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
5161
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
5162
+ dependencies: [
5163
+ ];
5164
+ actions: {
5165
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
5166
+ };
5167
+ sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
5168
+ }, undefined>>
5071
5169
  ];
5072
5170
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
5073
5171
  commands: {
5074
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5172
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
5173
+ (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;
5174
+ (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;
5175
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5075
5176
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
5076
5177
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5077
5178
  };
@@ -5322,11 +5423,22 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
5322
5423
  }, FeatureFlags>>
5323
5424
  ];
5324
5425
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
5325
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
5426
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
5427
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
5428
+ dependencies: [
5429
+ ];
5430
+ actions: {
5431
+ ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
5432
+ };
5433
+ sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
5434
+ }, undefined>>
5326
5435
  ];
5327
5436
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
5328
5437
  commands: {
5329
- moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5438
+ moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
5439
+ (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;
5440
+ (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;
5441
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5330
5442
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
5331
5443
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
5332
5444
  };