@atlaskit/editor-core 201.0.0 → 201.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -333,7 +333,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
333
333
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
334
334
  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;
335
335
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
336
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
337
336
  };
338
337
  commands: {
339
338
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -342,7 +341,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
342
341
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
343
342
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
344
343
  commands: {
345
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
344
+ moveToLayout: (start: number, to: number, options?: {
345
+ moveToEnd?: boolean | undefined;
346
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
346
347
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
347
348
  (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;
348
349
  (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;
@@ -687,7 +688,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
687
688
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
688
689
  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;
689
690
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
690
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
691
691
  };
692
692
  commands: {
693
693
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -696,7 +696,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
696
696
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
697
697
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
698
698
  commands: {
699
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
699
+ moveToLayout: (start: number, to: number, options?: {
700
+ moveToEnd?: boolean | undefined;
701
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
700
702
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
701
703
  (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;
702
704
  (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;
@@ -880,7 +882,27 @@ export default function createUniversalPresetInternal({ appearance, props, featu
880
882
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
881
883
  pluginConfiguration: FeatureFlags;
882
884
  sharedState: FeatureFlags;
883
- }, FeatureFlags>>];
885
+ }, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
886
+ actions: {
887
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
888
+ stopMessage: (messageId: string) => Promise<boolean>;
889
+ };
890
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
891
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
892
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
893
+ sharedState: {
894
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
895
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
896
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
897
+ };
898
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
899
+ pluginConfiguration: FeatureFlags;
900
+ sharedState: FeatureFlags;
901
+ }, FeatureFlags>>];
902
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
903
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
904
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
905
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
884
906
  actions: {
885
907
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
886
908
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -1036,7 +1058,27 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1036
1058
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1037
1059
  pluginConfiguration: FeatureFlags;
1038
1060
  sharedState: FeatureFlags;
1039
- }, FeatureFlags>>];
1061
+ }, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
1062
+ actions: {
1063
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
1064
+ stopMessage: (messageId: string) => Promise<boolean>;
1065
+ };
1066
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
1067
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
1068
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
1069
+ sharedState: {
1070
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
1071
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
1072
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
1073
+ };
1074
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1075
+ pluginConfiguration: FeatureFlags;
1076
+ sharedState: FeatureFlags;
1077
+ }, FeatureFlags>>];
1078
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1079
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
1080
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
1081
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
1040
1082
  actions: {
1041
1083
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1042
1084
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -1714,7 +1756,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1714
1756
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
1715
1757
  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;
1716
1758
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
1717
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
1718
1759
  };
1719
1760
  commands: {
1720
1761
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -1723,7 +1764,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1723
1764
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
1724
1765
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1725
1766
  commands: {
1726
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
1767
+ moveToLayout: (start: number, to: number, options?: {
1768
+ moveToEnd?: boolean | undefined;
1769
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1727
1770
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
1728
1771
  (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;
1729
1772
  (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;
@@ -2021,7 +2064,27 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2021
2064
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2022
2065
  pluginConfiguration: FeatureFlags;
2023
2066
  sharedState: FeatureFlags;
2024
- }, FeatureFlags>>];
2067
+ }, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
2068
+ actions: {
2069
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
2070
+ stopMessage: (messageId: string) => Promise<boolean>;
2071
+ };
2072
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
2073
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
2074
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
2075
+ sharedState: {
2076
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
2077
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
2078
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
2079
+ };
2080
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2081
+ pluginConfiguration: FeatureFlags;
2082
+ sharedState: FeatureFlags;
2083
+ }, FeatureFlags>>];
2084
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2085
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
2086
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
2087
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
2025
2088
  actions: {
2026
2089
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2027
2090
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -2466,7 +2529,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2466
2529
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
2467
2530
  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;
2468
2531
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2469
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2470
2532
  };
2471
2533
  commands: {
2472
2534
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2475,7 +2537,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2475
2537
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
2476
2538
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2477
2539
  commands: {
2478
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
2540
+ moveToLayout: (start: number, to: number, options?: {
2541
+ moveToEnd?: boolean | undefined;
2542
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2479
2543
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
2480
2544
  (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;
2481
2545
  (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;
@@ -2659,7 +2723,27 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2659
2723
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2660
2724
  pluginConfiguration: FeatureFlags;
2661
2725
  sharedState: FeatureFlags;
2662
- }, FeatureFlags>>];
2726
+ }, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
2727
+ actions: {
2728
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
2729
+ stopMessage: (messageId: string) => Promise<boolean>;
2730
+ };
2731
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
2732
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
2733
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
2734
+ sharedState: {
2735
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
2736
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
2737
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
2738
+ };
2739
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2740
+ pluginConfiguration: FeatureFlags;
2741
+ sharedState: FeatureFlags;
2742
+ }, FeatureFlags>>];
2743
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2744
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
2745
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
2746
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
2663
2747
  actions: {
2664
2748
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2665
2749
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -2755,7 +2839,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2755
2839
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
2756
2840
  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;
2757
2841
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2758
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2759
2842
  };
2760
2843
  commands: {
2761
2844
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3365,7 +3448,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3365
3448
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
3366
3449
  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;
3367
3450
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3368
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3369
3451
  };
3370
3452
  commands: {
3371
3453
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3374,7 +3456,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3374
3456
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
3375
3457
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3376
3458
  commands: {
3377
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
3459
+ moveToLayout: (start: number, to: number, options?: {
3460
+ moveToEnd?: boolean | undefined;
3461
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3378
3462
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
3379
3463
  (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;
3380
3464
  (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;
@@ -3558,7 +3642,27 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3558
3642
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3559
3643
  pluginConfiguration: FeatureFlags;
3560
3644
  sharedState: FeatureFlags;
3561
- }, FeatureFlags>>];
3645
+ }, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
3646
+ actions: {
3647
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
3648
+ stopMessage: (messageId: string) => Promise<boolean>;
3649
+ };
3650
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
3651
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
3652
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
3653
+ sharedState: {
3654
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
3655
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
3656
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
3657
+ };
3658
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3659
+ pluginConfiguration: FeatureFlags;
3660
+ sharedState: FeatureFlags;
3661
+ }, FeatureFlags>>];
3662
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
3663
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
3664
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
3665
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
3562
3666
  actions: {
3563
3667
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3564
3668
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -3822,7 +3926,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3822
3926
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
3823
3927
  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;
3824
3928
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3825
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3826
3929
  };
3827
3930
  commands: {
3828
3931
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3831,7 +3934,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3831
3934
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
3832
3935
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3833
3936
  commands: {
3834
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
3937
+ moveToLayout: (start: number, to: number, options?: {
3938
+ moveToEnd?: boolean | undefined;
3939
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3835
3940
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
3836
3941
  (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;
3837
3942
  (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;
@@ -4015,7 +4120,27 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4015
4120
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4016
4121
  pluginConfiguration: FeatureFlags;
4017
4122
  sharedState: FeatureFlags;
4018
- }, FeatureFlags>>];
4123
+ }, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
4124
+ actions: {
4125
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
4126
+ stopMessage: (messageId: string) => Promise<boolean>;
4127
+ };
4128
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
4129
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
4130
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
4131
+ sharedState: {
4132
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
4133
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
4134
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
4135
+ };
4136
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4137
+ pluginConfiguration: FeatureFlags;
4138
+ sharedState: FeatureFlags;
4139
+ }, FeatureFlags>>];
4140
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
4141
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
4142
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
4143
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
4019
4144
  actions: {
4020
4145
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4021
4146
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -4120,7 +4245,27 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4120
4245
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4121
4246
  pluginConfiguration: FeatureFlags;
4122
4247
  sharedState: FeatureFlags;
4123
- }, FeatureFlags>>];
4248
+ }, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
4249
+ actions: {
4250
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
4251
+ stopMessage: (messageId: string) => Promise<boolean>;
4252
+ };
4253
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
4254
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
4255
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
4256
+ sharedState: {
4257
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
4258
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
4259
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
4260
+ };
4261
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4262
+ pluginConfiguration: FeatureFlags;
4263
+ sharedState: FeatureFlags;
4264
+ }, FeatureFlags>>];
4265
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
4266
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
4267
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
4268
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
4124
4269
  actions: {
4125
4270
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4126
4271
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -4579,7 +4724,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4579
4724
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
4580
4725
  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;
4581
4726
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4582
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4583
4727
  };
4584
4728
  commands: {
4585
4729
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4588,7 +4732,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4588
4732
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
4589
4733
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4590
4734
  commands: {
4591
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
4735
+ moveToLayout: (start: number, to: number, options?: {
4736
+ moveToEnd?: boolean | undefined;
4737
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4592
4738
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
4593
4739
  (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;
4594
4740
  (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;
@@ -4928,7 +5074,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4928
5074
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
4929
5075
  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;
4930
5076
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4931
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4932
5077
  };
4933
5078
  commands: {
4934
5079
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4937,7 +5082,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4937
5082
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
4938
5083
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4939
5084
  commands: {
4940
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
5085
+ moveToLayout: (start: number, to: number, options?: {
5086
+ moveToEnd?: boolean | undefined;
5087
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4941
5088
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
4942
5089
  (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;
4943
5090
  (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;
@@ -5121,7 +5268,27 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5121
5268
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
5122
5269
  pluginConfiguration: FeatureFlags;
5123
5270
  sharedState: FeatureFlags;
5124
- }, FeatureFlags>>];
5271
+ }, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
5272
+ actions: {
5273
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
5274
+ stopMessage: (messageId: string) => Promise<boolean>;
5275
+ };
5276
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
5277
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
5278
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
5279
+ sharedState: {
5280
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
5281
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
5282
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
5283
+ };
5284
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
5285
+ pluginConfiguration: FeatureFlags;
5286
+ sharedState: FeatureFlags;
5287
+ }, FeatureFlags>>];
5288
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
5289
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
5290
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
5291
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
5125
5292
  actions: {
5126
5293
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
5127
5294
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -5248,7 +5415,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5248
5415
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
5249
5416
  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;
5250
5417
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5251
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5252
5418
  };
5253
5419
  commands: {
5254
5420
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5526,7 +5692,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5526
5692
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
5527
5693
  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;
5528
5694
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5529
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5530
5695
  };
5531
5696
  commands: {
5532
5697
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5535,7 +5700,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5535
5700
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
5536
5701
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
5537
5702
  commands: {
5538
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
5703
+ moveToLayout: (start: number, to: number, options?: {
5704
+ moveToEnd?: boolean | undefined;
5705
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5539
5706
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
5540
5707
  (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;
5541
5708
  (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;
@@ -6107,7 +6274,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6107
6274
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
6108
6275
  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;
6109
6276
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
6110
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
6111
6277
  };
6112
6278
  commands: {
6113
6279
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -6116,7 +6282,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6116
6282
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
6117
6283
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
6118
6284
  commands: {
6119
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
6285
+ moveToLayout: (start: number, to: number, options?: {
6286
+ moveToEnd?: boolean | undefined;
6287
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
6120
6288
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
6121
6289
  (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;
6122
6290
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
@@ -6461,7 +6629,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6461
6629
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
6462
6630
  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;
6463
6631
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
6464
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
6465
6632
  };
6466
6633
  commands: {
6467
6634
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -6470,7 +6637,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6470
6637
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
6471
6638
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
6472
6639
  commands: {
6473
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
6640
+ moveToLayout: (start: number, to: number, options?: {
6641
+ moveToEnd?: boolean | undefined;
6642
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
6474
6643
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
6475
6644
  (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;
6476
6645
  (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;
@@ -6654,7 +6823,27 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6654
6823
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
6655
6824
  pluginConfiguration: FeatureFlags;
6656
6825
  sharedState: FeatureFlags;
6657
- }, FeatureFlags>>];
6826
+ }, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
6827
+ actions: {
6828
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
6829
+ stopMessage: (messageId: string) => Promise<boolean>;
6830
+ };
6831
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
6832
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
6833
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
6834
+ sharedState: {
6835
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
6836
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
6837
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
6838
+ };
6839
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
6840
+ pluginConfiguration: FeatureFlags;
6841
+ sharedState: FeatureFlags;
6842
+ }, FeatureFlags>>];
6843
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
6844
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
6845
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
6846
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
6658
6847
  actions: {
6659
6848
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
6660
6849
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -6810,7 +6999,27 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6810
6999
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
6811
7000
  pluginConfiguration: FeatureFlags;
6812
7001
  sharedState: FeatureFlags;
6813
- }, FeatureFlags>>];
7002
+ }, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
7003
+ actions: {
7004
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
7005
+ stopMessage: (messageId: string) => Promise<boolean>;
7006
+ };
7007
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
7008
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
7009
+ pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
7010
+ sharedState: {
7011
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
7012
+ attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
7013
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
7014
+ };
7015
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
7016
+ pluginConfiguration: FeatureFlags;
7017
+ sharedState: FeatureFlags;
7018
+ }, FeatureFlags>>];
7019
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
7020
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
7021
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
7022
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>];
6814
7023
  actions: {
6815
7024
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
6816
7025
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;