@atlaskit/editor-core 201.1.0 → 201.1.2

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.
@@ -282,7 +282,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
282
282
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
283
283
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
284
284
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
285
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
286
285
  };
287
286
  commands: {
288
287
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -291,7 +290,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
291
290
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
292
291
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
293
292
  commands: {
294
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
293
+ moveToLayout: (start: number, to: number, options?: {
294
+ moveToEnd?: boolean | undefined;
295
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
295
296
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
296
297
  (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;
297
298
  (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;
@@ -636,7 +637,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
636
637
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
637
638
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
638
639
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
639
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
640
640
  };
641
641
  commands: {
642
642
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -645,7 +645,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
645
645
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
646
646
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
647
647
  commands: {
648
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
648
+ moveToLayout: (start: number, to: number, options?: {
649
+ moveToEnd?: boolean | undefined;
650
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
649
651
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
650
652
  (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;
651
653
  (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;
@@ -829,7 +831,27 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
829
831
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
830
832
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
831
833
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
832
- }, import("@atlaskit/editor-common/types").FeatureFlags>>];
834
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
835
+ actions: {
836
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
837
+ stopMessage: (messageId: string) => Promise<boolean>;
838
+ };
839
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
840
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
841
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
842
+ sharedState: {
843
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
844
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
845
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
846
+ };
847
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
848
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
849
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
850
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
851
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
852
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
853
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
854
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
833
855
  actions: {
834
856
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
835
857
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -985,7 +1007,27 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
985
1007
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
986
1008
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
987
1009
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
988
- }, import("@atlaskit/editor-common/types").FeatureFlags>>];
1010
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
1011
+ actions: {
1012
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
1013
+ stopMessage: (messageId: string) => Promise<boolean>;
1014
+ };
1015
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
1016
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
1017
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
1018
+ sharedState: {
1019
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
1020
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
1021
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
1022
+ };
1023
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1024
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
1025
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
1026
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
1027
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1028
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
1029
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
1030
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
989
1031
  actions: {
990
1032
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
991
1033
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -1663,7 +1705,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1663
1705
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
1664
1706
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
1665
1707
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
1666
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
1667
1708
  };
1668
1709
  commands: {
1669
1710
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -1672,7 +1713,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1672
1713
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
1673
1714
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1674
1715
  commands: {
1675
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
1716
+ moveToLayout: (start: number, to: number, options?: {
1717
+ moveToEnd?: boolean | undefined;
1718
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1676
1719
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
1677
1720
  (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;
1678
1721
  (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;
@@ -1970,7 +2013,27 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1970
2013
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1971
2014
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
1972
2015
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
1973
- }, import("@atlaskit/editor-common/types").FeatureFlags>>];
2016
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
2017
+ actions: {
2018
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
2019
+ stopMessage: (messageId: string) => Promise<boolean>;
2020
+ };
2021
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
2022
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
2023
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
2024
+ sharedState: {
2025
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
2026
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
2027
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
2028
+ };
2029
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2030
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
2031
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
2032
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
2033
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2034
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
2035
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
2036
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
1974
2037
  actions: {
1975
2038
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1976
2039
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -2415,7 +2478,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2415
2478
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
2416
2479
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
2417
2480
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2418
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2419
2481
  };
2420
2482
  commands: {
2421
2483
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2424,7 +2486,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2424
2486
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
2425
2487
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2426
2488
  commands: {
2427
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
2489
+ moveToLayout: (start: number, to: number, options?: {
2490
+ moveToEnd?: boolean | undefined;
2491
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2428
2492
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
2429
2493
  (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;
2430
2494
  (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;
@@ -2608,7 +2672,27 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2608
2672
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2609
2673
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
2610
2674
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
2611
- }, import("@atlaskit/editor-common/types").FeatureFlags>>];
2675
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
2676
+ actions: {
2677
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
2678
+ stopMessage: (messageId: string) => Promise<boolean>;
2679
+ };
2680
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
2681
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
2682
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
2683
+ sharedState: {
2684
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
2685
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
2686
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
2687
+ };
2688
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2689
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
2690
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
2691
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
2692
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2693
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
2694
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
2695
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
2612
2696
  actions: {
2613
2697
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2614
2698
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -2704,7 +2788,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2704
2788
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
2705
2789
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
2706
2790
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2707
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2708
2791
  };
2709
2792
  commands: {
2710
2793
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3314,7 +3397,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3314
3397
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
3315
3398
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
3316
3399
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3317
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3318
3400
  };
3319
3401
  commands: {
3320
3402
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3323,7 +3405,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3323
3405
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
3324
3406
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3325
3407
  commands: {
3326
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
3408
+ moveToLayout: (start: number, to: number, options?: {
3409
+ moveToEnd?: boolean | undefined;
3410
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3327
3411
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
3328
3412
  (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;
3329
3413
  (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;
@@ -3507,7 +3591,27 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3507
3591
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3508
3592
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
3509
3593
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
3510
- }, import("@atlaskit/editor-common/types").FeatureFlags>>];
3594
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
3595
+ actions: {
3596
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
3597
+ stopMessage: (messageId: string) => Promise<boolean>;
3598
+ };
3599
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
3600
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
3601
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
3602
+ sharedState: {
3603
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
3604
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
3605
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
3606
+ };
3607
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3608
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
3609
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
3610
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
3611
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
3612
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
3613
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
3614
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
3511
3615
  actions: {
3512
3616
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3513
3617
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -3771,7 +3875,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3771
3875
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
3772
3876
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
3773
3877
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3774
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3775
3878
  };
3776
3879
  commands: {
3777
3880
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3780,7 +3883,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3780
3883
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
3781
3884
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3782
3885
  commands: {
3783
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
3886
+ moveToLayout: (start: number, to: number, options?: {
3887
+ moveToEnd?: boolean | undefined;
3888
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3784
3889
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
3785
3890
  (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;
3786
3891
  (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;
@@ -3964,7 +4069,27 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3964
4069
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3965
4070
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
3966
4071
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
3967
- }, import("@atlaskit/editor-common/types").FeatureFlags>>];
4072
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
4073
+ actions: {
4074
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
4075
+ stopMessage: (messageId: string) => Promise<boolean>;
4076
+ };
4077
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
4078
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
4079
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
4080
+ sharedState: {
4081
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
4082
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
4083
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
4084
+ };
4085
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4086
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
4087
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
4088
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
4089
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
4090
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
4091
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
4092
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
3968
4093
  actions: {
3969
4094
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3970
4095
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -4069,7 +4194,27 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4069
4194
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4070
4195
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
4071
4196
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
4072
- }, import("@atlaskit/editor-common/types").FeatureFlags>>];
4197
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
4198
+ actions: {
4199
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
4200
+ stopMessage: (messageId: string) => Promise<boolean>;
4201
+ };
4202
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
4203
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
4204
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
4205
+ sharedState: {
4206
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
4207
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
4208
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
4209
+ };
4210
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4211
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
4212
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
4213
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
4214
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
4215
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
4216
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
4217
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
4073
4218
  actions: {
4074
4219
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4075
4220
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -4528,7 +4673,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4528
4673
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
4529
4674
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
4530
4675
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4531
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4532
4676
  };
4533
4677
  commands: {
4534
4678
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4537,7 +4681,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4537
4681
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
4538
4682
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4539
4683
  commands: {
4540
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
4684
+ moveToLayout: (start: number, to: number, options?: {
4685
+ moveToEnd?: boolean | undefined;
4686
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4541
4687
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
4542
4688
  (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;
4543
4689
  (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;
@@ -4877,7 +5023,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4877
5023
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
4878
5024
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
4879
5025
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4880
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4881
5026
  };
4882
5027
  commands: {
4883
5028
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4886,7 +5031,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4886
5031
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
4887
5032
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4888
5033
  commands: {
4889
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
5034
+ moveToLayout: (start: number, to: number, options?: {
5035
+ moveToEnd?: boolean | undefined;
5036
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4890
5037
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
4891
5038
  (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;
4892
5039
  (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;
@@ -5070,7 +5217,27 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5070
5217
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
5071
5218
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
5072
5219
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
5073
- }, import("@atlaskit/editor-common/types").FeatureFlags>>];
5220
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
5221
+ actions: {
5222
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
5223
+ stopMessage: (messageId: string) => Promise<boolean>;
5224
+ };
5225
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
5226
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
5227
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
5228
+ sharedState: {
5229
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
5230
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
5231
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
5232
+ };
5233
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
5234
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
5235
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
5236
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
5237
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
5238
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
5239
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
5240
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
5074
5241
  actions: {
5075
5242
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
5076
5243
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -5197,7 +5364,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5197
5364
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
5198
5365
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
5199
5366
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5200
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5201
5367
  };
5202
5368
  commands: {
5203
5369
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5475,7 +5641,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5475
5641
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
5476
5642
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
5477
5643
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5478
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5479
5644
  };
5480
5645
  commands: {
5481
5646
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5484,7 +5649,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5484
5649
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
5485
5650
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
5486
5651
  commands: {
5487
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
5652
+ moveToLayout: (start: number, to: number, options?: {
5653
+ moveToEnd?: boolean | undefined;
5654
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5488
5655
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
5489
5656
  (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;
5490
5657
  (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;
@@ -6056,7 +6223,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6056
6223
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
6057
6224
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
6058
6225
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
6059
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
6060
6226
  };
6061
6227
  commands: {
6062
6228
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -6065,7 +6231,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6065
6231
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
6066
6232
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
6067
6233
  commands: {
6068
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
6234
+ moveToLayout: (start: number, to: number, options?: {
6235
+ moveToEnd?: boolean | undefined;
6236
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
6069
6237
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
6070
6238
  (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;
6071
6239
  (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;
@@ -6410,7 +6578,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6410
6578
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
6411
6579
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
6412
6580
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
6413
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
6414
6581
  };
6415
6582
  commands: {
6416
6583
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -6419,7 +6586,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6419
6586
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
6420
6587
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
6421
6588
  commands: {
6422
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
6589
+ moveToLayout: (start: number, to: number, options?: {
6590
+ moveToEnd?: boolean | undefined;
6591
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
6423
6592
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
6424
6593
  (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;
6425
6594
  (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;
@@ -6603,7 +6772,27 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6603
6772
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
6604
6773
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
6605
6774
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
6606
- }, import("@atlaskit/editor-common/types").FeatureFlags>>];
6775
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
6776
+ actions: {
6777
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
6778
+ stopMessage: (messageId: string) => Promise<boolean>;
6779
+ };
6780
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
6781
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
6782
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
6783
+ sharedState: {
6784
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
6785
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
6786
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
6787
+ };
6788
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
6789
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
6790
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
6791
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
6792
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
6793
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
6794
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
6795
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
6607
6796
  actions: {
6608
6797
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
6609
6798
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -6759,7 +6948,27 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6759
6948
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
6760
6949
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
6761
6950
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
6762
- }, import("@atlaskit/editor-common/types").FeatureFlags>>];
6951
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
6952
+ actions: {
6953
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
6954
+ stopMessage: (messageId: string) => Promise<boolean>;
6955
+ };
6956
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
6957
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
6958
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
6959
+ sharedState: {
6960
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
6961
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
6962
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
6963
+ };
6964
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
6965
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
6966
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
6967
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
6968
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
6969
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
6970
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
6971
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
6763
6972
  actions: {
6764
6973
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
6765
6974
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;