@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.
@@ -10,6 +10,7 @@ export { default as cs } from './cs';
10
10
  export { default as da } from './da';
11
11
  export { default as en } from './en';
12
12
  export { default as en_GB } from './en_GB';
13
+ export { default as en_ZZ } from './en_ZZ';
13
14
  export { default as nl } from './nl';
14
15
  export { default as et } from './et';
15
16
  export { default as fi } from './fi';
@@ -12,6 +12,7 @@ declare const _default: {
12
12
  da: string;
13
13
  en: string;
14
14
  en_GB: string;
15
+ en_ZZ: string;
15
16
  et: string;
16
17
  fi: string;
17
18
  fr: string;
@@ -336,7 +336,6 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
336
336
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
337
337
  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;
338
338
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
339
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
340
339
  };
341
340
  commands: {
342
341
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -346,7 +345,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
346
345
  ];
347
346
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
348
347
  commands: {
349
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
348
+ moveToLayout: (start: number, to: number, options?: {
349
+ moveToEnd?: boolean | undefined;
350
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
350
351
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
351
352
  (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;
352
353
  (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;
@@ -758,7 +759,6 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
758
759
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
759
760
  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;
760
761
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
761
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
762
762
  };
763
763
  commands: {
764
764
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -768,7 +768,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
768
768
  ];
769
769
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
770
770
  commands: {
771
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
771
+ moveToLayout: (start: number, to: number, options?: {
772
+ moveToEnd?: boolean | undefined;
773
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
772
774
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
773
775
  (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;
774
776
  (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;
@@ -985,7 +987,32 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
985
987
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
986
988
  pluginConfiguration: FeatureFlags;
987
989
  sharedState: FeatureFlags;
988
- }, FeatureFlags>>
990
+ }, FeatureFlags>>,
991
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
992
+ actions: {
993
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
994
+ stopMessage: (messageId: string) => Promise<boolean>;
995
+ };
996
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
997
+ dependencies: [
998
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
999
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
1000
+ sharedState: {
1001
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
1002
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
1003
+ performanceTracking: PerformanceTracking | undefined;
1004
+ };
1005
+ dependencies: [
1006
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1007
+ pluginConfiguration: FeatureFlags;
1008
+ sharedState: FeatureFlags;
1009
+ }, FeatureFlags>>
1010
+ ];
1011
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1012
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
1013
+ ];
1014
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
1015
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
989
1016
  ];
990
1017
  actions: {
991
1018
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -1136,7 +1163,6 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1136
1163
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
1137
1164
  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;
1138
1165
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
1139
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
1140
1166
  };
1141
1167
  commands: {
1142
1168
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -1475,7 +1501,6 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1475
1501
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
1476
1502
  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;
1477
1503
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
1478
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
1479
1504
  };
1480
1505
  commands: {
1481
1506
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -1485,7 +1510,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1485
1510
  ];
1486
1511
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1487
1512
  commands: {
1488
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
1513
+ moveToLayout: (start: number, to: number, options?: {
1514
+ moveToEnd?: boolean | undefined;
1515
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1489
1516
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
1490
1517
  (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;
1491
1518
  (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;
@@ -2173,7 +2200,6 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
2173
2200
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
2174
2201
  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;
2175
2202
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2176
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2177
2203
  };
2178
2204
  commands: {
2179
2205
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2183,7 +2209,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
2183
2209
  ];
2184
2210
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2185
2211
  commands: {
2186
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
2212
+ moveToLayout: (start: number, to: number, options?: {
2213
+ moveToEnd?: boolean | undefined;
2214
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2187
2215
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
2188
2216
  (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;
2189
2217
  (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;
@@ -2600,7 +2628,6 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
2600
2628
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
2601
2629
  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;
2602
2630
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
2603
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
2604
2631
  };
2605
2632
  commands: {
2606
2633
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -2610,7 +2637,9 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
2610
2637
  ];
2611
2638
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2612
2639
  commands: {
2613
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
2640
+ moveToLayout: (start: number, to: number, options?: {
2641
+ moveToEnd?: boolean | undefined;
2642
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
2614
2643
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
2615
2644
  (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;
2616
2645
  (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;
@@ -2827,7 +2856,32 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
2827
2856
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2828
2857
  pluginConfiguration: FeatureFlags;
2829
2858
  sharedState: FeatureFlags;
2830
- }, FeatureFlags>>
2859
+ }, FeatureFlags>>,
2860
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
2861
+ actions: {
2862
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
2863
+ stopMessage: (messageId: string) => Promise<boolean>;
2864
+ };
2865
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
2866
+ dependencies: [
2867
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
2868
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
2869
+ sharedState: {
2870
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
2871
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
2872
+ performanceTracking: PerformanceTracking | undefined;
2873
+ };
2874
+ dependencies: [
2875
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
2876
+ pluginConfiguration: FeatureFlags;
2877
+ sharedState: FeatureFlags;
2878
+ }, FeatureFlags>>
2879
+ ];
2880
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2881
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
2882
+ ];
2883
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
2884
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
2831
2885
  ];
2832
2886
  actions: {
2833
2887
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -3013,7 +3067,32 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
3013
3067
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3014
3068
  pluginConfiguration: FeatureFlags;
3015
3069
  sharedState: FeatureFlags;
3016
- }, FeatureFlags>>
3070
+ }, FeatureFlags>>,
3071
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
3072
+ actions: {
3073
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
3074
+ stopMessage: (messageId: string) => Promise<boolean>;
3075
+ };
3076
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
3077
+ dependencies: [
3078
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
3079
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
3080
+ sharedState: {
3081
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
3082
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
3083
+ performanceTracking: PerformanceTracking | undefined;
3084
+ };
3085
+ dependencies: [
3086
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3087
+ pluginConfiguration: FeatureFlags;
3088
+ sharedState: FeatureFlags;
3089
+ }, FeatureFlags>>
3090
+ ];
3091
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
3092
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
3093
+ ];
3094
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
3095
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
3017
3096
  ];
3018
3097
  actions: {
3019
3098
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -3427,7 +3506,6 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3427
3506
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
3428
3507
  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;
3429
3508
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3430
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3431
3509
  };
3432
3510
  commands: {
3433
3511
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3437,7 +3515,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3437
3515
  ];
3438
3516
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3439
3517
  commands: {
3440
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
3518
+ moveToLayout: (start: number, to: number, options?: {
3519
+ moveToEnd?: boolean | undefined;
3520
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3441
3521
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
3442
3522
  (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;
3443
3523
  (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;
@@ -3849,7 +3929,6 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3849
3929
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
3850
3930
  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;
3851
3931
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
3852
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
3853
3932
  };
3854
3933
  commands: {
3855
3934
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -3859,7 +3938,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3859
3938
  ];
3860
3939
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3861
3940
  commands: {
3862
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
3941
+ moveToLayout: (start: number, to: number, options?: {
3942
+ moveToEnd?: boolean | undefined;
3943
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
3863
3944
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
3864
3945
  (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;
3865
3946
  (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;
@@ -4076,7 +4157,32 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4076
4157
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4077
4158
  pluginConfiguration: FeatureFlags;
4078
4159
  sharedState: FeatureFlags;
4079
- }, FeatureFlags>>
4160
+ }, FeatureFlags>>,
4161
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
4162
+ actions: {
4163
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
4164
+ stopMessage: (messageId: string) => Promise<boolean>;
4165
+ };
4166
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
4167
+ dependencies: [
4168
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
4169
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
4170
+ sharedState: {
4171
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
4172
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
4173
+ performanceTracking: PerformanceTracking | undefined;
4174
+ };
4175
+ dependencies: [
4176
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4177
+ pluginConfiguration: FeatureFlags;
4178
+ sharedState: FeatureFlags;
4179
+ }, FeatureFlags>>
4180
+ ];
4181
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
4182
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
4183
+ ];
4184
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
4185
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
4080
4186
  ];
4081
4187
  actions: {
4082
4188
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -4227,7 +4333,6 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4227
4333
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
4228
4334
  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;
4229
4335
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4230
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4231
4336
  };
4232
4337
  commands: {
4233
4338
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4566,7 +4671,6 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4566
4671
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
4567
4672
  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;
4568
4673
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
4569
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
4570
4674
  };
4571
4675
  commands: {
4572
4676
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -4576,7 +4680,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
4576
4680
  ];
4577
4681
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4578
4682
  commands: {
4579
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
4683
+ moveToLayout: (start: number, to: number, options?: {
4684
+ moveToEnd?: boolean | undefined;
4685
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
4580
4686
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
4581
4687
  (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;
4582
4688
  (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;
@@ -5264,7 +5370,6 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
5264
5370
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
5265
5371
  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;
5266
5372
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5267
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5268
5373
  };
5269
5374
  commands: {
5270
5375
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5274,7 +5379,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
5274
5379
  ];
5275
5380
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
5276
5381
  commands: {
5277
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
5382
+ moveToLayout: (start: number, to: number, options?: {
5383
+ moveToEnd?: boolean | undefined;
5384
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5278
5385
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
5279
5386
  (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;
5280
5387
  (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;
@@ -5691,7 +5798,6 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
5691
5798
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugins/type-ahead").TypeAheadInputMethod) => boolean;
5692
5799
  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;
5693
5800
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
5694
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
5695
5801
  };
5696
5802
  commands: {
5697
5803
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -5701,7 +5807,9 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
5701
5807
  ];
5702
5808
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
5703
5809
  commands: {
5704
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
5810
+ moveToLayout: (start: number, to: number, options?: {
5811
+ moveToEnd?: boolean | undefined;
5812
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
5705
5813
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
5706
5814
  (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;
5707
5815
  (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;
@@ -5918,7 +6026,32 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
5918
6026
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
5919
6027
  pluginConfiguration: FeatureFlags;
5920
6028
  sharedState: FeatureFlags;
5921
- }, FeatureFlags>>
6029
+ }, FeatureFlags>>,
6030
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
6031
+ actions: {
6032
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
6033
+ stopMessage: (messageId: string) => Promise<boolean>;
6034
+ };
6035
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
6036
+ dependencies: [
6037
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
6038
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
6039
+ sharedState: {
6040
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
6041
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
6042
+ performanceTracking: PerformanceTracking | undefined;
6043
+ };
6044
+ dependencies: [
6045
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
6046
+ pluginConfiguration: FeatureFlags;
6047
+ sharedState: FeatureFlags;
6048
+ }, FeatureFlags>>
6049
+ ];
6050
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
6051
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
6052
+ ];
6053
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
6054
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
5922
6055
  ];
5923
6056
  actions: {
5924
6057
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -6104,7 +6237,32 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
6104
6237
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
6105
6238
  pluginConfiguration: FeatureFlags;
6106
6239
  sharedState: FeatureFlags;
6107
- }, FeatureFlags>>
6240
+ }, FeatureFlags>>,
6241
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"engagementPlatform", {
6242
+ actions: {
6243
+ startMessage: (messageId: string, variationId?: string | undefined) => Promise<boolean>;
6244
+ stopMessage: (messageId: string) => Promise<boolean>;
6245
+ };
6246
+ pluginConfiguration: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig;
6247
+ dependencies: [
6248
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
6249
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
6250
+ sharedState: {
6251
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
6252
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
6253
+ performanceTracking: PerformanceTracking | undefined;
6254
+ };
6255
+ dependencies: [
6256
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
6257
+ pluginConfiguration: FeatureFlags;
6258
+ sharedState: FeatureFlags;
6259
+ }, FeatureFlags>>
6260
+ ];
6261
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
6262
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
6263
+ ];
6264
+ sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
6265
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
6108
6266
  ];
6109
6267
  actions: {
6110
6268
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;