superdoc 2.28.0-next.8 → 2.28.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.
Files changed (64) hide show
  1. package/dist/chunks/{FindReplaceSurface-8V8AjgR4.cjs → FindReplaceSurface-BRs3JrCq.cjs} +1 -1
  2. package/dist/chunks/{FindReplaceSurface-RUiTFDt3.es.js → FindReplaceSurface-Dm043CZP.es.js} +1 -1
  3. package/dist/chunks/{PasswordPromptSurface-B5DHV6qr.cjs → PasswordPromptSurface-BpqP4pUa.cjs} +1 -1
  4. package/dist/chunks/{PasswordPromptSurface-BDpxqdzp.es.js → PasswordPromptSurface-DGjmN7A-.es.js} +1 -1
  5. package/dist/chunks/{PdfViewer-omriDChK.cjs → PdfViewer-Cg072l5d.cjs} +1 -1
  6. package/dist/chunks/{PdfViewer-DjdsIh6n.es.js → PdfViewer-JHXZQZ9x.es.js} +1 -1
  7. package/dist/chunks/{_plugin-vue_export-helper-BUdjGKyl.cjs → _plugin-vue_export-helper-6MBoygIY.cjs} +9 -0
  8. package/dist/chunks/{_plugin-vue_export-helper-7ZiLY07t.es.js → _plugin-vue_export-helper-CsJQtMvr.es.js} +4 -1
  9. package/dist/chunks/{create-super-doc-ui-C4Ka5Ph3.es.js → create-super-doc-ui-BbjHD1ul.es.js} +184 -28
  10. package/dist/chunks/{create-super-doc-ui-B4c55pFy.cjs → create-super-doc-ui-BfgYblyI.cjs} +195 -27
  11. package/dist/collaboration-upgrade-engine.cjs +1 -1
  12. package/dist/collaboration-upgrade-engine.es.js +1 -1
  13. package/dist/document-api/src/contract/operation-definitions.d.ts +2 -2
  14. package/dist/document-api/src/lists/lists.types.d.ts +1 -0
  15. package/dist/document-api/src/sections/sections.types.d.ts +5 -1
  16. package/dist/document-api/src/types/clipboard.d.ts +5 -1
  17. package/dist/document-api/src/types/receipt.d.ts +2 -1
  18. package/dist/layout-engine/contracts/src/index.d.ts +5 -1
  19. package/dist/layout-engine/contracts/src/run-helpers.d.ts +1 -0
  20. package/dist/layout-engine/layout-bridge/src/index.d.ts +1 -0
  21. package/dist/layout-engine/layout-bridge/src/place-inline-drawings.d.ts +9 -0
  22. package/dist/layout-engine/layout-engine/src/layout-drawing.d.ts +2 -1
  23. package/dist/layout-engine/layout-engine/src/paginator.d.ts +1 -0
  24. package/dist/layout-engine/style-engine/src/ooxml/index.d.ts +1 -1
  25. package/dist/public/ui-react.cjs +1 -1
  26. package/dist/public/ui-react.es.js +1 -1
  27. package/dist/public/ui-vue.cjs +1 -1
  28. package/dist/public/ui-vue.es.js +1 -1
  29. package/dist/public/ui.cjs +3 -2
  30. package/dist/public/ui.es.js +3 -2
  31. package/dist/shared/font-system/src/resolver.d.ts +3 -3
  32. package/dist/style.css +1 -1
  33. package/dist/style.layered.css +1 -1
  34. package/dist/superdoc/src/components/CommentsLayer/FloatingComments.vue.d.ts +11 -0
  35. package/dist/superdoc/src/components/CommentsLayer/PdfCommentsLayer.vue.d.ts +4 -0
  36. package/dist/superdoc/src/composables/use-high-contrast-mode.d.ts +8 -4
  37. package/dist/superdoc/src/composables/use-superdoc-instance.d.ts +7 -0
  38. package/dist/superdoc/src/core/SuperDoc.d.ts +1 -5
  39. package/dist/superdoc/src/core/collaboration/helpers.d.ts +0 -5
  40. package/dist/superdoc/src/core/collaboration/resolve-v2-collaboration-target.d.ts +2 -1
  41. package/dist/superdoc/src/core/create-app.d.ts +2 -6
  42. package/dist/superdoc/src/core/editor-runtime/types.d.ts +2 -0
  43. package/dist/superdoc/src/core/editor-runtime/v2/v2-editor-runtime-adapter.d.ts +2 -0
  44. package/dist/superdoc/src/core/types/index.d.ts +14 -0
  45. package/dist/superdoc/src/core/v2-integration/internal-vue-runtime.d.ts +1 -0
  46. package/dist/superdoc/src/core/v2-integration/v2-integration.d.ts +104 -84
  47. package/dist/superdoc/src/helpers/v2-review-mutation-impact.d.ts +2 -0
  48. package/dist/superdoc/src/internal/diagnostics/translate-diagnostic.d.ts +5 -0
  49. package/dist/superdoc/src/internal/toolbar/built-in/constants.d.ts +0 -48
  50. package/dist/superdoc/src/internal/toolbar/built-in-toolbar.d.ts +4 -1
  51. package/dist/superdoc/src/internal/toolbar/compatibility-catalog.d.ts +16 -0
  52. package/dist/superdoc/src/public/ui/types.d.ts +39 -1
  53. package/dist/superdoc/src/public/ui.d.cts +12 -0
  54. package/dist/superdoc/src/public/ui.d.ts +1 -1
  55. package/dist/superdoc/src/stores/comments-store.d.ts +7 -97
  56. package/dist/superdoc/src/stores/superdoc-store.d.ts +21 -291
  57. package/dist/superdoc.cjs +262 -1462
  58. package/dist/superdoc.es.js +538 -12833
  59. package/dist-cdn/style.layered.css +1 -1
  60. package/dist-cdn/superdoc.min.css +1 -1
  61. package/dist-cdn/superdoc.min.js +42 -42
  62. package/package.json +4 -3
  63. package/dist/superdoc/src/core/collaboration/collaboration.d.ts +0 -18
  64. package/dist/superdoc/src/helpers/group-changes.d.ts +0 -1
@@ -107,17 +107,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
107
107
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
108
108
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
109
109
  getCommentPosition: (commentOrId: Object | string) => Object | null;
110
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
111
- separator?: string | undefined;
112
- trim?: boolean | undefined;
113
- }) => string | null;
114
- getCommentAnchorData: (commentOrId: Object | string, options?: {
115
- separator?: string | undefined;
116
- trim?: boolean | undefined;
117
- }) => {
118
- position: Object;
119
- anchoredText: string | null;
120
- } | null;
121
110
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
122
111
  key: string | null;
123
112
  entry: any;
@@ -164,7 +153,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
164
153
  superdoc: any;
165
154
  }) => Promise<any>;
166
155
  removePendingComment: (superdoc: any) => void;
167
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
168
156
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
169
157
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
170
158
  commentItems?: never[] | undefined;
@@ -179,38 +167,20 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
179
167
  reason?: undefined;
180
168
  };
181
169
  clearReviewDirectory: () => void;
182
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
183
- comments: any[];
184
- documentId: string;
185
- replacedFile?: boolean | undefined;
186
- }) => void;
187
- translateCommentsForExport: () => any[];
188
170
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
189
171
  retainMissingTrackedChangeGeometry?: boolean;
190
172
  retainedTrackedChangeIds?: Iterable<string>;
191
173
  }) => void;
192
174
  clearEditorCommentPositions: () => void;
193
- handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState, trackedChangeIdentityIndex, }: {
175
+ handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
194
176
  superdoc: Object;
195
177
  params: Object;
196
178
  }) => void;
197
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
198
- superdoc: any;
199
- editor: any;
200
- changeIds: any;
201
- broadcastChanges?: boolean | undefined;
202
- }) => void;
203
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
204
- syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
179
+ syncResolvedCommentsWithDocument: () => number;
205
180
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
206
181
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
207
182
  peekInstantSidebarAlignment: () => null;
208
183
  clearInstantSidebarAlignment: () => void;
209
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
210
- superdoc: any;
211
- editor: any;
212
- broadcastChanges?: boolean | undefined;
213
- }) => void;
214
184
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
215
185
  superdoc: Object;
216
186
  editor: Object;
@@ -375,17 +345,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
375
345
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
376
346
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
377
347
  getCommentPosition: (commentOrId: Object | string) => Object | null;
378
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
379
- separator?: string | undefined;
380
- trim?: boolean | undefined;
381
- }) => string | null;
382
- getCommentAnchorData: (commentOrId: Object | string, options?: {
383
- separator?: string | undefined;
384
- trim?: boolean | undefined;
385
- }) => {
386
- position: Object;
387
- anchoredText: string | null;
388
- } | null;
389
348
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
390
349
  key: string | null;
391
350
  entry: any;
@@ -432,7 +391,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
432
391
  superdoc: any;
433
392
  }) => Promise<any>;
434
393
  removePendingComment: (superdoc: any) => void;
435
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
436
394
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
437
395
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
438
396
  commentItems?: never[] | undefined;
@@ -447,38 +405,20 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
447
405
  reason?: undefined;
448
406
  };
449
407
  clearReviewDirectory: () => void;
450
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
451
- comments: any[];
452
- documentId: string;
453
- replacedFile?: boolean | undefined;
454
- }) => void;
455
- translateCommentsForExport: () => any[];
456
408
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
457
409
  retainMissingTrackedChangeGeometry?: boolean;
458
410
  retainedTrackedChangeIds?: Iterable<string>;
459
411
  }) => void;
460
412
  clearEditorCommentPositions: () => void;
461
- handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState, trackedChangeIdentityIndex, }: {
413
+ handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
462
414
  superdoc: Object;
463
415
  params: Object;
464
416
  }) => void;
465
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
466
- superdoc: any;
467
- editor: any;
468
- changeIds: any;
469
- broadcastChanges?: boolean | undefined;
470
- }) => void;
471
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
472
- syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
417
+ syncResolvedCommentsWithDocument: () => number;
473
418
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
474
419
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
475
420
  peekInstantSidebarAlignment: () => null;
476
421
  clearInstantSidebarAlignment: () => void;
477
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
478
- superdoc: any;
479
- editor: any;
480
- broadcastChanges?: boolean | undefined;
481
- }) => void;
482
422
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
483
423
  superdoc: Object;
484
424
  editor: Object;
@@ -643,17 +583,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
643
583
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
644
584
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
645
585
  getCommentPosition: (commentOrId: Object | string) => Object | null;
646
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
647
- separator?: string | undefined;
648
- trim?: boolean | undefined;
649
- }) => string | null;
650
- getCommentAnchorData: (commentOrId: Object | string, options?: {
651
- separator?: string | undefined;
652
- trim?: boolean | undefined;
653
- }) => {
654
- position: Object;
655
- anchoredText: string | null;
656
- } | null;
657
586
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
658
587
  key: string | null;
659
588
  entry: any;
@@ -700,7 +629,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
700
629
  superdoc: any;
701
630
  }) => Promise<any>;
702
631
  removePendingComment: (superdoc: any) => void;
703
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
704
632
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
705
633
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
706
634
  commentItems?: never[] | undefined;
@@ -715,38 +643,20 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
715
643
  reason?: undefined;
716
644
  };
717
645
  clearReviewDirectory: () => void;
718
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
719
- comments: any[];
720
- documentId: string;
721
- replacedFile?: boolean | undefined;
722
- }) => void;
723
- translateCommentsForExport: () => any[];
724
646
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
725
647
  retainMissingTrackedChangeGeometry?: boolean;
726
648
  retainedTrackedChangeIds?: Iterable<string>;
727
649
  }) => void;
728
650
  clearEditorCommentPositions: () => void;
729
- handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState, trackedChangeIdentityIndex, }: {
651
+ handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
730
652
  superdoc: Object;
731
653
  params: Object;
732
654
  }) => void;
733
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
734
- superdoc: any;
735
- editor: any;
736
- changeIds: any;
737
- broadcastChanges?: boolean | undefined;
738
- }) => void;
739
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
740
- syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
655
+ syncResolvedCommentsWithDocument: () => number;
741
656
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
742
657
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
743
658
  peekInstantSidebarAlignment: () => null;
744
659
  clearInstantSidebarAlignment: () => void;
745
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
746
- superdoc: any;
747
- editor: any;
748
- broadcastChanges?: boolean | undefined;
749
- }) => void;
750
660
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
751
661
  superdoc: Object;
752
662
  editor: Object;
@@ -831,7 +741,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
831
741
  liveAnchorKeys?: null | undefined;
832
742
  }) => any;
833
743
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
834
- }, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "cancelImportedTrackedChangeBootstrap" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "processLoadedDocxComments" | "translateCommentsForExport" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "refreshTrackedChangeCommentsByIds" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "syncTrackedChangeComments" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
744
+ }, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
835
745
  documents: Ref<StoreDocument[], StoreDocument[]>;
836
746
  documentBounds: Ref<unknown[], unknown[]>;
837
747
  pages: Record<string, PageEntry[]>;
@@ -942,17 +852,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
942
852
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
943
853
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
944
854
  getCommentPosition: (commentOrId: Object | string) => Object | null;
945
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
946
- separator?: string | undefined;
947
- trim?: boolean | undefined;
948
- }) => string | null;
949
- getCommentAnchorData: (commentOrId: Object | string, options?: {
950
- separator?: string | undefined;
951
- trim?: boolean | undefined;
952
- }) => {
953
- position: Object;
954
- anchoredText: string | null;
955
- } | null;
956
855
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
957
856
  key: string | null;
958
857
  entry: any;
@@ -999,7 +898,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
999
898
  superdoc: any;
1000
899
  }) => Promise<any>;
1001
900
  removePendingComment: (superdoc: any) => void;
1002
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
1003
901
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
1004
902
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
1005
903
  commentItems?: never[] | undefined;
@@ -1014,38 +912,20 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1014
912
  reason?: undefined;
1015
913
  };
1016
914
  clearReviewDirectory: () => void;
1017
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
1018
- comments: any[];
1019
- documentId: string;
1020
- replacedFile?: boolean | undefined;
1021
- }) => void;
1022
- translateCommentsForExport: () => any[];
1023
915
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
1024
916
  retainMissingTrackedChangeGeometry?: boolean;
1025
917
  retainedTrackedChangeIds?: Iterable<string>;
1026
918
  }) => void;
1027
919
  clearEditorCommentPositions: () => void;
1028
- handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState, trackedChangeIdentityIndex, }: {
920
+ handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
1029
921
  superdoc: Object;
1030
922
  params: Object;
1031
923
  }) => void;
1032
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
1033
- superdoc: any;
1034
- editor: any;
1035
- changeIds: any;
1036
- broadcastChanges?: boolean | undefined;
1037
- }) => void;
1038
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
1039
- syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
924
+ syncResolvedCommentsWithDocument: () => number;
1040
925
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
1041
926
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
1042
927
  peekInstantSidebarAlignment: () => null;
1043
928
  clearInstantSidebarAlignment: () => void;
1044
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
1045
- superdoc: any;
1046
- editor: any;
1047
- broadcastChanges?: boolean | undefined;
1048
- }) => void;
1049
929
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
1050
930
  superdoc: Object;
1051
931
  editor: Object;
@@ -1210,17 +1090,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1210
1090
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
1211
1091
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
1212
1092
  getCommentPosition: (commentOrId: Object | string) => Object | null;
1213
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
1214
- separator?: string | undefined;
1215
- trim?: boolean | undefined;
1216
- }) => string | null;
1217
- getCommentAnchorData: (commentOrId: Object | string, options?: {
1218
- separator?: string | undefined;
1219
- trim?: boolean | undefined;
1220
- }) => {
1221
- position: Object;
1222
- anchoredText: string | null;
1223
- } | null;
1224
1093
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
1225
1094
  key: string | null;
1226
1095
  entry: any;
@@ -1267,7 +1136,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1267
1136
  superdoc: any;
1268
1137
  }) => Promise<any>;
1269
1138
  removePendingComment: (superdoc: any) => void;
1270
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
1271
1139
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
1272
1140
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
1273
1141
  commentItems?: never[] | undefined;
@@ -1282,38 +1150,20 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1282
1150
  reason?: undefined;
1283
1151
  };
1284
1152
  clearReviewDirectory: () => void;
1285
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
1286
- comments: any[];
1287
- documentId: string;
1288
- replacedFile?: boolean | undefined;
1289
- }) => void;
1290
- translateCommentsForExport: () => any[];
1291
1153
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
1292
1154
  retainMissingTrackedChangeGeometry?: boolean;
1293
1155
  retainedTrackedChangeIds?: Iterable<string>;
1294
1156
  }) => void;
1295
1157
  clearEditorCommentPositions: () => void;
1296
- handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState, trackedChangeIdentityIndex, }: {
1158
+ handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
1297
1159
  superdoc: Object;
1298
1160
  params: Object;
1299
1161
  }) => void;
1300
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
1301
- superdoc: any;
1302
- editor: any;
1303
- changeIds: any;
1304
- broadcastChanges?: boolean | undefined;
1305
- }) => void;
1306
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
1307
- syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
1162
+ syncResolvedCommentsWithDocument: () => number;
1308
1163
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
1309
1164
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
1310
1165
  peekInstantSidebarAlignment: () => null;
1311
1166
  clearInstantSidebarAlignment: () => void;
1312
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
1313
- superdoc: any;
1314
- editor: any;
1315
- broadcastChanges?: boolean | undefined;
1316
- }) => void;
1317
1167
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
1318
1168
  superdoc: Object;
1319
1169
  editor: Object;
@@ -1478,17 +1328,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1478
1328
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
1479
1329
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
1480
1330
  getCommentPosition: (commentOrId: Object | string) => Object | null;
1481
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
1482
- separator?: string | undefined;
1483
- trim?: boolean | undefined;
1484
- }) => string | null;
1485
- getCommentAnchorData: (commentOrId: Object | string, options?: {
1486
- separator?: string | undefined;
1487
- trim?: boolean | undefined;
1488
- }) => {
1489
- position: Object;
1490
- anchoredText: string | null;
1491
- } | null;
1492
1331
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
1493
1332
  key: string | null;
1494
1333
  entry: any;
@@ -1535,7 +1374,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1535
1374
  superdoc: any;
1536
1375
  }) => Promise<any>;
1537
1376
  removePendingComment: (superdoc: any) => void;
1538
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
1539
1377
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
1540
1378
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
1541
1379
  commentItems?: never[] | undefined;
@@ -1550,38 +1388,20 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1550
1388
  reason?: undefined;
1551
1389
  };
1552
1390
  clearReviewDirectory: () => void;
1553
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
1554
- comments: any[];
1555
- documentId: string;
1556
- replacedFile?: boolean | undefined;
1557
- }) => void;
1558
- translateCommentsForExport: () => any[];
1559
1391
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
1560
1392
  retainMissingTrackedChangeGeometry?: boolean;
1561
1393
  retainedTrackedChangeIds?: Iterable<string>;
1562
1394
  }) => void;
1563
1395
  clearEditorCommentPositions: () => void;
1564
- handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState, trackedChangeIdentityIndex, }: {
1396
+ handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
1565
1397
  superdoc: Object;
1566
1398
  params: Object;
1567
1399
  }) => void;
1568
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
1569
- superdoc: any;
1570
- editor: any;
1571
- changeIds: any;
1572
- broadcastChanges?: boolean | undefined;
1573
- }) => void;
1574
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
1575
- syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
1400
+ syncResolvedCommentsWithDocument: () => number;
1576
1401
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
1577
1402
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
1578
1403
  peekInstantSidebarAlignment: () => null;
1579
1404
  clearInstantSidebarAlignment: () => void;
1580
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
1581
- superdoc: any;
1582
- editor: any;
1583
- broadcastChanges?: boolean | undefined;
1584
- }) => void;
1585
1405
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
1586
1406
  superdoc: Object;
1587
1407
  editor: Object;
@@ -1666,7 +1486,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1666
1486
  liveAnchorKeys?: null | undefined;
1667
1487
  }) => any;
1668
1488
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
1669
- }, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "cancelImportedTrackedChangeBootstrap" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "processLoadedDocxComments" | "translateCommentsForExport" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "refreshTrackedChangeCommentsByIds" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "syncTrackedChangeComments" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
1489
+ }, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
1670
1490
  documents: Ref<StoreDocument[], StoreDocument[]>;
1671
1491
  documentBounds: Ref<unknown[], unknown[]>;
1672
1492
  pages: Record<string, PageEntry[]>;
@@ -1777,17 +1597,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1777
1597
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
1778
1598
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
1779
1599
  getCommentPosition: (commentOrId: Object | string) => Object | null;
1780
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
1781
- separator?: string | undefined;
1782
- trim?: boolean | undefined;
1783
- }) => string | null;
1784
- getCommentAnchorData: (commentOrId: Object | string, options?: {
1785
- separator?: string | undefined;
1786
- trim?: boolean | undefined;
1787
- }) => {
1788
- position: Object;
1789
- anchoredText: string | null;
1790
- } | null;
1791
1600
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
1792
1601
  key: string | null;
1793
1602
  entry: any;
@@ -1834,7 +1643,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1834
1643
  superdoc: any;
1835
1644
  }) => Promise<any>;
1836
1645
  removePendingComment: (superdoc: any) => void;
1837
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
1838
1646
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
1839
1647
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
1840
1648
  commentItems?: never[] | undefined;
@@ -1849,38 +1657,20 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1849
1657
  reason?: undefined;
1850
1658
  };
1851
1659
  clearReviewDirectory: () => void;
1852
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
1853
- comments: any[];
1854
- documentId: string;
1855
- replacedFile?: boolean | undefined;
1856
- }) => void;
1857
- translateCommentsForExport: () => any[];
1858
1660
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
1859
1661
  retainMissingTrackedChangeGeometry?: boolean;
1860
1662
  retainedTrackedChangeIds?: Iterable<string>;
1861
1663
  }) => void;
1862
1664
  clearEditorCommentPositions: () => void;
1863
- handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState, trackedChangeIdentityIndex, }: {
1665
+ handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
1864
1666
  superdoc: Object;
1865
1667
  params: Object;
1866
1668
  }) => void;
1867
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
1868
- superdoc: any;
1869
- editor: any;
1870
- changeIds: any;
1871
- broadcastChanges?: boolean | undefined;
1872
- }) => void;
1873
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
1874
- syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
1669
+ syncResolvedCommentsWithDocument: () => number;
1875
1670
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
1876
1671
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
1877
1672
  peekInstantSidebarAlignment: () => null;
1878
1673
  clearInstantSidebarAlignment: () => void;
1879
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
1880
- superdoc: any;
1881
- editor: any;
1882
- broadcastChanges?: boolean | undefined;
1883
- }) => void;
1884
1674
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
1885
1675
  superdoc: Object;
1886
1676
  editor: Object;
@@ -2045,17 +1835,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2045
1835
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
2046
1836
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
2047
1837
  getCommentPosition: (commentOrId: Object | string) => Object | null;
2048
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
2049
- separator?: string | undefined;
2050
- trim?: boolean | undefined;
2051
- }) => string | null;
2052
- getCommentAnchorData: (commentOrId: Object | string, options?: {
2053
- separator?: string | undefined;
2054
- trim?: boolean | undefined;
2055
- }) => {
2056
- position: Object;
2057
- anchoredText: string | null;
2058
- } | null;
2059
1838
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
2060
1839
  key: string | null;
2061
1840
  entry: any;
@@ -2102,7 +1881,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2102
1881
  superdoc: any;
2103
1882
  }) => Promise<any>;
2104
1883
  removePendingComment: (superdoc: any) => void;
2105
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
2106
1884
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
2107
1885
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
2108
1886
  commentItems?: never[] | undefined;
@@ -2117,38 +1895,20 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2117
1895
  reason?: undefined;
2118
1896
  };
2119
1897
  clearReviewDirectory: () => void;
2120
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
2121
- comments: any[];
2122
- documentId: string;
2123
- replacedFile?: boolean | undefined;
2124
- }) => void;
2125
- translateCommentsForExport: () => any[];
2126
1898
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
2127
1899
  retainMissingTrackedChangeGeometry?: boolean;
2128
1900
  retainedTrackedChangeIds?: Iterable<string>;
2129
1901
  }) => void;
2130
1902
  clearEditorCommentPositions: () => void;
2131
- handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState, trackedChangeIdentityIndex, }: {
1903
+ handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
2132
1904
  superdoc: Object;
2133
1905
  params: Object;
2134
1906
  }) => void;
2135
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
2136
- superdoc: any;
2137
- editor: any;
2138
- changeIds: any;
2139
- broadcastChanges?: boolean | undefined;
2140
- }) => void;
2141
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
2142
- syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
1907
+ syncResolvedCommentsWithDocument: () => number;
2143
1908
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
2144
1909
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
2145
1910
  peekInstantSidebarAlignment: () => null;
2146
1911
  clearInstantSidebarAlignment: () => void;
2147
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
2148
- superdoc: any;
2149
- editor: any;
2150
- broadcastChanges?: boolean | undefined;
2151
- }) => void;
2152
1912
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
2153
1913
  superdoc: Object;
2154
1914
  editor: Object;
@@ -2313,17 +2073,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2313
2073
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
2314
2074
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
2315
2075
  getCommentPosition: (commentOrId: Object | string) => Object | null;
2316
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
2317
- separator?: string | undefined;
2318
- trim?: boolean | undefined;
2319
- }) => string | null;
2320
- getCommentAnchorData: (commentOrId: Object | string, options?: {
2321
- separator?: string | undefined;
2322
- trim?: boolean | undefined;
2323
- }) => {
2324
- position: Object;
2325
- anchoredText: string | null;
2326
- } | null;
2327
2076
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
2328
2077
  key: string | null;
2329
2078
  entry: any;
@@ -2370,7 +2119,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2370
2119
  superdoc: any;
2371
2120
  }) => Promise<any>;
2372
2121
  removePendingComment: (superdoc: any) => void;
2373
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
2374
2122
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
2375
2123
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
2376
2124
  commentItems?: never[] | undefined;
@@ -2385,38 +2133,20 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2385
2133
  reason?: undefined;
2386
2134
  };
2387
2135
  clearReviewDirectory: () => void;
2388
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
2389
- comments: any[];
2390
- documentId: string;
2391
- replacedFile?: boolean | undefined;
2392
- }) => void;
2393
- translateCommentsForExport: () => any[];
2394
2136
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
2395
2137
  retainMissingTrackedChangeGeometry?: boolean;
2396
2138
  retainedTrackedChangeIds?: Iterable<string>;
2397
2139
  }) => void;
2398
2140
  clearEditorCommentPositions: () => void;
2399
- handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, documentState, trackedChangeIdentityIndex, }: {
2141
+ handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: {
2400
2142
  superdoc: Object;
2401
2143
  params: Object;
2402
2144
  }) => void;
2403
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
2404
- superdoc: any;
2405
- editor: any;
2406
- changeIds: any;
2407
- broadcastChanges?: boolean | undefined;
2408
- }) => void;
2409
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
2410
- syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
2145
+ syncResolvedCommentsWithDocument: () => number;
2411
2146
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
2412
2147
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
2413
2148
  peekInstantSidebarAlignment: () => null;
2414
2149
  clearInstantSidebarAlignment: () => void;
2415
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
2416
- superdoc: any;
2417
- editor: any;
2418
- broadcastChanges?: boolean | undefined;
2419
- }) => void;
2420
2150
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
2421
2151
  superdoc: Object;
2422
2152
  editor: Object;
@@ -2501,7 +2231,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2501
2231
  liveAnchorKeys?: null | undefined;
2502
2232
  }) => any;
2503
2233
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
2504
- }, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "cancelImportedTrackedChangeBootstrap" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "processLoadedDocxComments" | "translateCommentsForExport" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "refreshTrackedChangeCommentsByIds" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "syncTrackedChangeComments" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
2234
+ }, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
2505
2235
  documents: Ref<StoreDocument[], StoreDocument[]>;
2506
2236
  documentBounds: Ref<unknown[], unknown[]>;
2507
2237
  pages: Record<string, PageEntry[]>;