@atlaskit/editor-core 205.4.1 → 205.5.0

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.
@@ -493,7 +493,32 @@ export default function createUniversalPresetInternal({ appearance, props, featu
493
493
  sharedState: {
494
494
  contents: import("react").ReactNode[] | undefined;
495
495
  } | undefined;
496
- }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>];
496
+ }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
497
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
498
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
499
+ sharedState: {
500
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
501
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
502
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
503
+ };
504
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
505
+ pluginConfiguration: FeatureFlags;
506
+ sharedState: FeatureFlags;
507
+ }, FeatureFlags>>];
508
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
509
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
510
+ sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
511
+ commands: {
512
+ setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
513
+ startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
514
+ stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
515
+ handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
516
+ newSelection?: import("prosemirror-state").Selection | undefined;
517
+ shouldStartTimer?: boolean | undefined;
518
+ shouldPersistActiveSession?: boolean | undefined;
519
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
520
+ };
521
+ }, undefined>>];
497
522
  sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
498
523
  actions: {
499
524
  isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
@@ -549,7 +574,32 @@ export default function createUniversalPresetInternal({ appearance, props, featu
549
574
  sharedState: {
550
575
  contents: import("react").ReactNode[] | undefined;
551
576
  } | undefined;
552
- }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>];
577
+ }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
578
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
579
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
580
+ sharedState: {
581
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
582
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
583
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
584
+ };
585
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
586
+ pluginConfiguration: FeatureFlags;
587
+ sharedState: FeatureFlags;
588
+ }, FeatureFlags>>];
589
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
590
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
591
+ sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
592
+ commands: {
593
+ setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
594
+ startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
595
+ stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
596
+ handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
597
+ newSelection?: import("prosemirror-state").Selection | undefined;
598
+ shouldStartTimer?: boolean | undefined;
599
+ shouldPersistActiveSession?: boolean | undefined;
600
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
601
+ };
602
+ }, undefined>>];
553
603
  sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
554
604
  actions: {
555
605
  isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
@@ -574,6 +624,31 @@ export default function createUniversalPresetInternal({ appearance, props, featu
574
624
  commands: {
575
625
  setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
576
626
  };
627
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
628
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
629
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
630
+ sharedState: {
631
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
632
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
633
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
634
+ };
635
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
636
+ pluginConfiguration: FeatureFlags;
637
+ sharedState: FeatureFlags;
638
+ }, FeatureFlags>>];
639
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
640
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
641
+ sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
642
+ commands: {
643
+ setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
644
+ startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
645
+ stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
646
+ handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
647
+ newSelection?: import("prosemirror-state").Selection | undefined;
648
+ shouldStartTimer?: boolean | undefined;
649
+ shouldPersistActiveSession?: boolean | undefined;
650
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
651
+ };
577
652
  }, undefined>>];
578
653
  sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
579
654
  actions: {
@@ -896,7 +971,32 @@ export default function createUniversalPresetInternal({ appearance, props, featu
896
971
  sharedState: {
897
972
  contents: import("react").ReactNode[] | undefined;
898
973
  } | undefined;
899
- }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>];
974
+ }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
975
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
976
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
977
+ sharedState: {
978
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
979
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
980
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
981
+ };
982
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
983
+ pluginConfiguration: FeatureFlags;
984
+ sharedState: FeatureFlags;
985
+ }, FeatureFlags>>];
986
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
987
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
988
+ sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
989
+ commands: {
990
+ setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
991
+ startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
992
+ stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
993
+ handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
994
+ newSelection?: import("prosemirror-state").Selection | undefined;
995
+ shouldStartTimer?: boolean | undefined;
996
+ shouldPersistActiveSession?: boolean | undefined;
997
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
998
+ };
999
+ }, undefined>>];
900
1000
  sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
901
1001
  actions: {
902
1002
  isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
@@ -982,7 +1082,32 @@ export default function createUniversalPresetInternal({ appearance, props, featu
982
1082
  sharedState: {
983
1083
  contents: import("react").ReactNode[] | undefined;
984
1084
  } | undefined;
985
- }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>];
1085
+ }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
1086
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
1087
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
1088
+ sharedState: {
1089
+ createAnalyticsEvent: CreateUIAnalyticsEvent | null;
1090
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
1091
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
1092
+ };
1093
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1094
+ pluginConfiguration: FeatureFlags;
1095
+ sharedState: FeatureFlags;
1096
+ }, FeatureFlags>>];
1097
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1098
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
1099
+ sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
1100
+ commands: {
1101
+ setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
1102
+ startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
1103
+ stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
1104
+ handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
1105
+ newSelection?: import("prosemirror-state").Selection | undefined;
1106
+ shouldStartTimer?: boolean | undefined;
1107
+ shouldPersistActiveSession?: boolean | undefined;
1108
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
1109
+ };
1110
+ }, undefined>>];
986
1111
  sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
987
1112
  actions: {
988
1113
  isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
@@ -441,7 +441,32 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
441
441
  sharedState: {
442
442
  contents: import("react").ReactNode[] | undefined;
443
443
  } | undefined;
444
- }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>];
444
+ }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
445
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
446
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
447
+ sharedState: {
448
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
449
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
450
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
451
+ };
452
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
453
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
454
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
455
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
456
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
457
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
458
+ sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
459
+ commands: {
460
+ setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
461
+ startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
462
+ stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
463
+ handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
464
+ newSelection?: import("prosemirror-state").Selection | undefined;
465
+ shouldStartTimer?: boolean | undefined;
466
+ shouldPersistActiveSession?: boolean | undefined;
467
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
468
+ };
469
+ }, undefined>>];
445
470
  sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
446
471
  actions: {
447
472
  isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
@@ -497,7 +522,32 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
497
522
  sharedState: {
498
523
  contents: import("react").ReactNode[] | undefined;
499
524
  } | undefined;
500
- }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>];
525
+ }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
526
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
527
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
528
+ sharedState: {
529
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
530
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
531
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
532
+ };
533
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
534
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
535
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
536
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
537
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
538
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
539
+ sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
540
+ commands: {
541
+ setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
542
+ startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
543
+ stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
544
+ handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
545
+ newSelection?: import("prosemirror-state").Selection | undefined;
546
+ shouldStartTimer?: boolean | undefined;
547
+ shouldPersistActiveSession?: boolean | undefined;
548
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
549
+ };
550
+ }, undefined>>];
501
551
  sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
502
552
  actions: {
503
553
  isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
@@ -522,6 +572,31 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
522
572
  commands: {
523
573
  setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
524
574
  };
575
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
576
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
577
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
578
+ sharedState: {
579
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
580
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
581
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
582
+ };
583
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
584
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
585
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
586
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
587
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
588
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
589
+ sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
590
+ commands: {
591
+ setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
592
+ startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
593
+ stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
594
+ handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
595
+ newSelection?: import("prosemirror-state").Selection | undefined;
596
+ shouldStartTimer?: boolean | undefined;
597
+ shouldPersistActiveSession?: boolean | undefined;
598
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
599
+ };
525
600
  }, undefined>>];
526
601
  sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
527
602
  actions: {
@@ -844,7 +919,32 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
844
919
  sharedState: {
845
920
  contents: import("react").ReactNode[] | undefined;
846
921
  } | undefined;
847
- }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>];
922
+ }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
923
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
924
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
925
+ sharedState: {
926
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
927
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
928
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
929
+ };
930
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
931
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
932
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
933
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
934
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
935
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
936
+ sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
937
+ commands: {
938
+ setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
939
+ startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
940
+ stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
941
+ handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
942
+ newSelection?: import("prosemirror-state").Selection | undefined;
943
+ shouldStartTimer?: boolean | undefined;
944
+ shouldPersistActiveSession?: boolean | undefined;
945
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
946
+ };
947
+ }, undefined>>];
848
948
  sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
849
949
  actions: {
850
950
  isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
@@ -930,7 +1030,32 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
930
1030
  sharedState: {
931
1031
  contents: import("react").ReactNode[] | undefined;
932
1032
  } | undefined;
933
- }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>];
1033
+ }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
1034
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
1035
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
1036
+ sharedState: {
1037
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
1038
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
1039
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
1040
+ };
1041
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1042
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
1043
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
1044
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>];
1045
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1046
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
1047
+ sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
1048
+ commands: {
1049
+ setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
1050
+ startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
1051
+ stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
1052
+ handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
1053
+ newSelection?: import("prosemirror-state").Selection | undefined;
1054
+ shouldStartTimer?: boolean | undefined;
1055
+ shouldPersistActiveSession?: boolean | undefined;
1056
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
1057
+ };
1058
+ }, undefined>>];
934
1059
  sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
935
1060
  actions: {
936
1061
  isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
@@ -19,7 +19,7 @@ export declare const placeholderStyles: SerializedStyles;
19
19
  /**
20
20
  * fix layout issue of first block node
21
21
  */
22
- export declare const fixBlockControlStylesSSR: () => SerializedStyles | null;
22
+ export declare const fixBlockControlStylesSSR: () => SerializedStyles;
23
23
  type Props = ContentStylesProps & React.HTMLProps<HTMLDivElement>;
24
24
  export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
25
25
  declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1 @@
1
+ export declare const EditorINPMetrics: () => null;
@@ -607,7 +607,37 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
607
607
  sharedState: {
608
608
  contents: import("react").ReactNode[] | undefined;
609
609
  } | undefined;
610
- }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>
610
+ }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
611
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
612
+ dependencies: [
613
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
614
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
615
+ sharedState: {
616
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
617
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
618
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
619
+ };
620
+ dependencies: [
621
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
622
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
623
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
624
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>
625
+ ];
626
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
627
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
628
+ ];
629
+ sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
630
+ commands: {
631
+ setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
632
+ startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
633
+ stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
634
+ handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
635
+ newSelection?: import("prosemirror-state").Selection | undefined;
636
+ shouldStartTimer?: boolean | undefined;
637
+ shouldPersistActiveSession?: boolean | undefined;
638
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
639
+ };
640
+ }, undefined>>
611
641
  ];
612
642
  sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
613
643
  actions: {
@@ -673,7 +703,37 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
673
703
  sharedState: {
674
704
  contents: import("react").ReactNode[] | undefined;
675
705
  } | undefined;
676
- }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>
706
+ }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
707
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
708
+ dependencies: [
709
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
710
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
711
+ sharedState: {
712
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
713
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
714
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
715
+ };
716
+ dependencies: [
717
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
718
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
719
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
720
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>
721
+ ];
722
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
723
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
724
+ ];
725
+ sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
726
+ commands: {
727
+ setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
728
+ startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
729
+ stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
730
+ handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
731
+ newSelection?: import("prosemirror-state").Selection | undefined;
732
+ shouldStartTimer?: boolean | undefined;
733
+ shouldPersistActiveSession?: boolean | undefined;
734
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
735
+ };
736
+ }, undefined>>
677
737
  ];
678
738
  sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
679
739
  actions: {
@@ -700,6 +760,36 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
700
760
  commands: {
701
761
  setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
702
762
  };
763
+ }, undefined>>,
764
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
765
+ dependencies: [
766
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
767
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
768
+ sharedState: {
769
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
770
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
771
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
772
+ };
773
+ dependencies: [
774
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
775
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
776
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
777
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>
778
+ ];
779
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
780
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
781
+ ];
782
+ sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
783
+ commands: {
784
+ setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
785
+ startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
786
+ stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
787
+ handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
788
+ newSelection?: import("prosemirror-state").Selection | undefined;
789
+ shouldStartTimer?: boolean | undefined;
790
+ shouldPersistActiveSession?: boolean | undefined;
791
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
792
+ };
703
793
  }, undefined>>
704
794
  ];
705
795
  sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
@@ -1077,7 +1167,37 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1077
1167
  sharedState: {
1078
1168
  contents: import("react").ReactNode[] | undefined;
1079
1169
  } | undefined;
1080
- }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>
1170
+ }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
1171
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
1172
+ dependencies: [
1173
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
1174
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
1175
+ sharedState: {
1176
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
1177
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
1178
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
1179
+ };
1180
+ dependencies: [
1181
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1182
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
1183
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
1184
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>
1185
+ ];
1186
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1187
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
1188
+ ];
1189
+ sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
1190
+ commands: {
1191
+ setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
1192
+ startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
1193
+ stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
1194
+ handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
1195
+ newSelection?: import("prosemirror-state").Selection | undefined;
1196
+ shouldStartTimer?: boolean | undefined;
1197
+ shouldPersistActiveSession?: boolean | undefined;
1198
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
1199
+ };
1200
+ }, undefined>>
1081
1201
  ];
1082
1202
  sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
1083
1203
  actions: {
@@ -1176,7 +1296,37 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1176
1296
  sharedState: {
1177
1297
  contents: import("react").ReactNode[] | undefined;
1178
1298
  } | undefined;
1179
- }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>
1299
+ }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
1300
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
1301
+ dependencies: [
1302
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
1303
+ pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
1304
+ sharedState: {
1305
+ createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
1306
+ attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
1307
+ performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
1308
+ };
1309
+ dependencies: [
1310
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1311
+ pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
1312
+ sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
1313
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>
1314
+ ];
1315
+ actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1316
+ }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
1317
+ ];
1318
+ sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
1319
+ commands: {
1320
+ setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
1321
+ startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
1322
+ stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
1323
+ handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
1324
+ newSelection?: import("prosemirror-state").Selection | undefined;
1325
+ shouldStartTimer?: boolean | undefined;
1326
+ shouldPersistActiveSession?: boolean | undefined;
1327
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
1328
+ };
1329
+ }, undefined>>
1180
1330
  ];
1181
1331
  sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
1182
1332
  actions: {