superdoc 2.28.0-next.12 → 2.28.0-next.13

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.
@@ -135,7 +135,6 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
135
135
  superdoc: any;
136
136
  }) => Promise<any>;
137
137
  removePendingComment: (superdoc: any) => void;
138
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
139
138
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
140
139
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
141
140
  commentItems?: never[] | undefined;
@@ -150,12 +149,6 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
150
149
  reason?: undefined;
151
150
  };
152
151
  clearReviewDirectory: () => void;
153
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
154
- comments: any[];
155
- documentId: string;
156
- replacedFile?: boolean | undefined;
157
- }) => void;
158
- translateCommentsForExport: () => any[];
159
152
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
160
153
  retainMissingTrackedChangeGeometry?: boolean;
161
154
  retainedTrackedChangeIds?: Iterable<string>;
@@ -165,23 +158,12 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
165
158
  superdoc: Object;
166
159
  params: Object;
167
160
  }) => void;
168
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
169
- superdoc: any;
170
- editor: any;
171
- changeIds: any;
172
- broadcastChanges?: boolean | undefined;
173
- }) => void;
174
161
  syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
175
162
  syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
176
163
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
177
164
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
178
165
  peekInstantSidebarAlignment: () => null;
179
166
  clearInstantSidebarAlignment: () => void;
180
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
181
- superdoc: any;
182
- editor: any;
183
- broadcastChanges?: boolean | undefined;
184
- }) => void;
185
167
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
186
168
  superdoc: Object;
187
169
  editor: Object;
@@ -403,7 +385,6 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
403
385
  superdoc: any;
404
386
  }) => Promise<any>;
405
387
  removePendingComment: (superdoc: any) => void;
406
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
407
388
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
408
389
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
409
390
  commentItems?: never[] | undefined;
@@ -418,12 +399,6 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
418
399
  reason?: undefined;
419
400
  };
420
401
  clearReviewDirectory: () => void;
421
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
422
- comments: any[];
423
- documentId: string;
424
- replacedFile?: boolean | undefined;
425
- }) => void;
426
- translateCommentsForExport: () => any[];
427
402
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
428
403
  retainMissingTrackedChangeGeometry?: boolean;
429
404
  retainedTrackedChangeIds?: Iterable<string>;
@@ -433,23 +408,12 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
433
408
  superdoc: Object;
434
409
  params: Object;
435
410
  }) => void;
436
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
437
- superdoc: any;
438
- editor: any;
439
- changeIds: any;
440
- broadcastChanges?: boolean | undefined;
441
- }) => void;
442
411
  syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
443
412
  syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
444
413
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
445
414
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
446
415
  peekInstantSidebarAlignment: () => null;
447
416
  clearInstantSidebarAlignment: () => void;
448
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
449
- superdoc: any;
450
- editor: any;
451
- broadcastChanges?: boolean | undefined;
452
- }) => void;
453
417
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
454
418
  superdoc: Object;
455
419
  editor: Object;
@@ -671,7 +635,6 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
671
635
  superdoc: any;
672
636
  }) => Promise<any>;
673
637
  removePendingComment: (superdoc: any) => void;
674
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
675
638
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
676
639
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
677
640
  commentItems?: never[] | undefined;
@@ -686,12 +649,6 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
686
649
  reason?: undefined;
687
650
  };
688
651
  clearReviewDirectory: () => void;
689
- processLoadedDocxComments: ({ superdoc, editor, comments, documentId, replacedFile }: {
690
- comments: any[];
691
- documentId: string;
692
- replacedFile?: boolean | undefined;
693
- }) => void;
694
- translateCommentsForExport: () => any[];
695
652
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
696
653
  retainMissingTrackedChangeGeometry?: boolean;
697
654
  retainedTrackedChangeIds?: Iterable<string>;
@@ -701,23 +658,12 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
701
658
  superdoc: Object;
702
659
  params: Object;
703
660
  }) => void;
704
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
705
- superdoc: any;
706
- editor: any;
707
- changeIds: any;
708
- broadcastChanges?: boolean | undefined;
709
- }) => void;
710
661
  syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
711
662
  syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
712
663
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
713
664
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
714
665
  peekInstantSidebarAlignment: () => null;
715
666
  clearInstantSidebarAlignment: () => void;
716
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
717
- superdoc: any;
718
- editor: any;
719
- broadcastChanges?: boolean | undefined;
720
- }) => void;
721
667
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
722
668
  superdoc: Object;
723
669
  editor: Object;
@@ -802,4 +748,4 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
802
748
  liveAnchorKeys?: null | undefined;
803
749
  }) => any;
804
750
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
805
- }, "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">>;
751
+ }, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
@@ -164,7 +164,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
164
164
  superdoc: any;
165
165
  }) => Promise<any>;
166
166
  removePendingComment: (superdoc: any) => void;
167
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
168
167
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
169
168
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
170
169
  commentItems?: never[] | undefined;
@@ -179,12 +178,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
179
178
  reason?: undefined;
180
179
  };
181
180
  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
181
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
189
182
  retainMissingTrackedChangeGeometry?: boolean;
190
183
  retainedTrackedChangeIds?: Iterable<string>;
@@ -194,23 +187,12 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
194
187
  superdoc: Object;
195
188
  params: Object;
196
189
  }) => void;
197
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
198
- superdoc: any;
199
- editor: any;
200
- changeIds: any;
201
- broadcastChanges?: boolean | undefined;
202
- }) => void;
203
190
  syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
204
191
  syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
205
192
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
206
193
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
207
194
  peekInstantSidebarAlignment: () => null;
208
195
  clearInstantSidebarAlignment: () => void;
209
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
210
- superdoc: any;
211
- editor: any;
212
- broadcastChanges?: boolean | undefined;
213
- }) => void;
214
196
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
215
197
  superdoc: Object;
216
198
  editor: Object;
@@ -432,7 +414,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
432
414
  superdoc: any;
433
415
  }) => Promise<any>;
434
416
  removePendingComment: (superdoc: any) => void;
435
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
436
417
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
437
418
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
438
419
  commentItems?: never[] | undefined;
@@ -447,12 +428,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
447
428
  reason?: undefined;
448
429
  };
449
430
  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
431
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
457
432
  retainMissingTrackedChangeGeometry?: boolean;
458
433
  retainedTrackedChangeIds?: Iterable<string>;
@@ -462,23 +437,12 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
462
437
  superdoc: Object;
463
438
  params: Object;
464
439
  }) => void;
465
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
466
- superdoc: any;
467
- editor: any;
468
- changeIds: any;
469
- broadcastChanges?: boolean | undefined;
470
- }) => void;
471
440
  syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
472
441
  syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
473
442
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
474
443
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
475
444
  peekInstantSidebarAlignment: () => null;
476
445
  clearInstantSidebarAlignment: () => void;
477
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
478
- superdoc: any;
479
- editor: any;
480
- broadcastChanges?: boolean | undefined;
481
- }) => void;
482
446
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
483
447
  superdoc: Object;
484
448
  editor: Object;
@@ -700,7 +664,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
700
664
  superdoc: any;
701
665
  }) => Promise<any>;
702
666
  removePendingComment: (superdoc: any) => void;
703
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
704
667
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
705
668
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
706
669
  commentItems?: never[] | undefined;
@@ -715,12 +678,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
715
678
  reason?: undefined;
716
679
  };
717
680
  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
681
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
725
682
  retainMissingTrackedChangeGeometry?: boolean;
726
683
  retainedTrackedChangeIds?: Iterable<string>;
@@ -730,23 +687,12 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
730
687
  superdoc: Object;
731
688
  params: Object;
732
689
  }) => void;
733
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
734
- superdoc: any;
735
- editor: any;
736
- changeIds: any;
737
- broadcastChanges?: boolean | undefined;
738
- }) => void;
739
690
  syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
740
691
  syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
741
692
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
742
693
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
743
694
  peekInstantSidebarAlignment: () => null;
744
695
  clearInstantSidebarAlignment: () => void;
745
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
746
- superdoc: any;
747
- editor: any;
748
- broadcastChanges?: boolean | undefined;
749
- }) => void;
750
696
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
751
697
  superdoc: Object;
752
698
  editor: Object;
@@ -831,7 +777,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
831
777
  liveAnchorKeys?: null | undefined;
832
778
  }) => any;
833
779
  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">>;
780
+ }, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
835
781
  documents: Ref<StoreDocument[], StoreDocument[]>;
836
782
  documentBounds: Ref<unknown[], unknown[]>;
837
783
  pages: Record<string, PageEntry[]>;
@@ -999,7 +945,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
999
945
  superdoc: any;
1000
946
  }) => Promise<any>;
1001
947
  removePendingComment: (superdoc: any) => void;
1002
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
1003
948
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
1004
949
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
1005
950
  commentItems?: never[] | undefined;
@@ -1014,12 +959,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1014
959
  reason?: undefined;
1015
960
  };
1016
961
  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
962
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
1024
963
  retainMissingTrackedChangeGeometry?: boolean;
1025
964
  retainedTrackedChangeIds?: Iterable<string>;
@@ -1029,23 +968,12 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1029
968
  superdoc: Object;
1030
969
  params: Object;
1031
970
  }) => void;
1032
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
1033
- superdoc: any;
1034
- editor: any;
1035
- changeIds: any;
1036
- broadcastChanges?: boolean | undefined;
1037
- }) => void;
1038
971
  syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
1039
972
  syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
1040
973
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
1041
974
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
1042
975
  peekInstantSidebarAlignment: () => null;
1043
976
  clearInstantSidebarAlignment: () => void;
1044
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
1045
- superdoc: any;
1046
- editor: any;
1047
- broadcastChanges?: boolean | undefined;
1048
- }) => void;
1049
977
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
1050
978
  superdoc: Object;
1051
979
  editor: Object;
@@ -1267,7 +1195,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1267
1195
  superdoc: any;
1268
1196
  }) => Promise<any>;
1269
1197
  removePendingComment: (superdoc: any) => void;
1270
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
1271
1198
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
1272
1199
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
1273
1200
  commentItems?: never[] | undefined;
@@ -1282,12 +1209,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1282
1209
  reason?: undefined;
1283
1210
  };
1284
1211
  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
1212
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
1292
1213
  retainMissingTrackedChangeGeometry?: boolean;
1293
1214
  retainedTrackedChangeIds?: Iterable<string>;
@@ -1297,23 +1218,12 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1297
1218
  superdoc: Object;
1298
1219
  params: Object;
1299
1220
  }) => void;
1300
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
1301
- superdoc: any;
1302
- editor: any;
1303
- changeIds: any;
1304
- broadcastChanges?: boolean | undefined;
1305
- }) => void;
1306
1221
  syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
1307
1222
  syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
1308
1223
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
1309
1224
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
1310
1225
  peekInstantSidebarAlignment: () => null;
1311
1226
  clearInstantSidebarAlignment: () => void;
1312
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
1313
- superdoc: any;
1314
- editor: any;
1315
- broadcastChanges?: boolean | undefined;
1316
- }) => void;
1317
1227
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
1318
1228
  superdoc: Object;
1319
1229
  editor: Object;
@@ -1535,7 +1445,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1535
1445
  superdoc: any;
1536
1446
  }) => Promise<any>;
1537
1447
  removePendingComment: (superdoc: any) => void;
1538
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
1539
1448
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
1540
1449
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
1541
1450
  commentItems?: never[] | undefined;
@@ -1550,12 +1459,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1550
1459
  reason?: undefined;
1551
1460
  };
1552
1461
  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
1462
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
1560
1463
  retainMissingTrackedChangeGeometry?: boolean;
1561
1464
  retainedTrackedChangeIds?: Iterable<string>;
@@ -1565,23 +1468,12 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1565
1468
  superdoc: Object;
1566
1469
  params: Object;
1567
1470
  }) => void;
1568
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
1569
- superdoc: any;
1570
- editor: any;
1571
- changeIds: any;
1572
- broadcastChanges?: boolean | undefined;
1573
- }) => void;
1574
1471
  syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
1575
1472
  syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
1576
1473
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
1577
1474
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
1578
1475
  peekInstantSidebarAlignment: () => null;
1579
1476
  clearInstantSidebarAlignment: () => void;
1580
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
1581
- superdoc: any;
1582
- editor: any;
1583
- broadcastChanges?: boolean | undefined;
1584
- }) => void;
1585
1477
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
1586
1478
  superdoc: Object;
1587
1479
  editor: Object;
@@ -1666,7 +1558,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1666
1558
  liveAnchorKeys?: null | undefined;
1667
1559
  }) => any;
1668
1560
  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">>;
1561
+ }, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
1670
1562
  documents: Ref<StoreDocument[], StoreDocument[]>;
1671
1563
  documentBounds: Ref<unknown[], unknown[]>;
1672
1564
  pages: Record<string, PageEntry[]>;
@@ -1834,7 +1726,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1834
1726
  superdoc: any;
1835
1727
  }) => Promise<any>;
1836
1728
  removePendingComment: (superdoc: any) => void;
1837
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
1838
1729
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
1839
1730
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
1840
1731
  commentItems?: never[] | undefined;
@@ -1849,12 +1740,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1849
1740
  reason?: undefined;
1850
1741
  };
1851
1742
  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
1743
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
1859
1744
  retainMissingTrackedChangeGeometry?: boolean;
1860
1745
  retainedTrackedChangeIds?: Iterable<string>;
@@ -1864,23 +1749,12 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1864
1749
  superdoc: Object;
1865
1750
  params: Object;
1866
1751
  }) => void;
1867
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
1868
- superdoc: any;
1869
- editor: any;
1870
- changeIds: any;
1871
- broadcastChanges?: boolean | undefined;
1872
- }) => void;
1873
1752
  syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
1874
1753
  syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
1875
1754
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
1876
1755
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
1877
1756
  peekInstantSidebarAlignment: () => null;
1878
1757
  clearInstantSidebarAlignment: () => void;
1879
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
1880
- superdoc: any;
1881
- editor: any;
1882
- broadcastChanges?: boolean | undefined;
1883
- }) => void;
1884
1758
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
1885
1759
  superdoc: Object;
1886
1760
  editor: Object;
@@ -2102,7 +1976,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2102
1976
  superdoc: any;
2103
1977
  }) => Promise<any>;
2104
1978
  removePendingComment: (superdoc: any) => void;
2105
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
2106
1979
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
2107
1980
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
2108
1981
  commentItems?: never[] | undefined;
@@ -2117,12 +1990,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2117
1990
  reason?: undefined;
2118
1991
  };
2119
1992
  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
1993
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
2127
1994
  retainMissingTrackedChangeGeometry?: boolean;
2128
1995
  retainedTrackedChangeIds?: Iterable<string>;
@@ -2132,23 +1999,12 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2132
1999
  superdoc: Object;
2133
2000
  params: Object;
2134
2001
  }) => void;
2135
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
2136
- superdoc: any;
2137
- editor: any;
2138
- changeIds: any;
2139
- broadcastChanges?: boolean | undefined;
2140
- }) => void;
2141
2002
  syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
2142
2003
  syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
2143
2004
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
2144
2005
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
2145
2006
  peekInstantSidebarAlignment: () => null;
2146
2007
  clearInstantSidebarAlignment: () => void;
2147
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
2148
- superdoc: any;
2149
- editor: any;
2150
- broadcastChanges?: boolean | undefined;
2151
- }) => void;
2152
2008
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
2153
2009
  superdoc: Object;
2154
2010
  editor: Object;
@@ -2370,7 +2226,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2370
2226
  superdoc: any;
2371
2227
  }) => Promise<any>;
2372
2228
  removePendingComment: (superdoc: any) => void;
2373
- cancelImportedTrackedChangeBootstrap: (documentId: string | null | undefined) => number;
2374
2229
  removeCommentsForDocument: (documentId: string | null | undefined) => void;
2375
2230
  setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: {
2376
2231
  commentItems?: never[] | undefined;
@@ -2385,12 +2240,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2385
2240
  reason?: undefined;
2386
2241
  };
2387
2242
  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
2243
  handleEditorLocationsUpdate: (allCommentPositions: Object, options?: {
2395
2244
  retainMissingTrackedChangeGeometry?: boolean;
2396
2245
  retainedTrackedChangeIds?: Iterable<string>;
@@ -2400,23 +2249,12 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2400
2249
  superdoc: Object;
2401
2250
  params: Object;
2402
2251
  }) => void;
2403
- refreshTrackedChangeCommentsByIds: ({ superdoc, editor, changeIds, broadcastChanges }: {
2404
- superdoc: any;
2405
- editor: any;
2406
- changeIds: any;
2407
- broadcastChanges?: boolean | undefined;
2408
- }) => void;
2409
2252
  syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
2410
2253
  syncTrackedChangePositionsWithDocument: ({ documentId, editor }?: {}) => number;
2411
2254
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
2412
2255
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
2413
2256
  peekInstantSidebarAlignment: () => null;
2414
2257
  clearInstantSidebarAlignment: () => void;
2415
- syncTrackedChangeComments: ({ superdoc, editor, broadcastChanges }: {
2416
- superdoc: any;
2417
- editor: any;
2418
- broadcastChanges?: boolean | undefined;
2419
- }) => void;
2420
2258
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
2421
2259
  superdoc: Object;
2422
2260
  editor: Object;
@@ -2501,7 +2339,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2501
2339
  liveAnchorKeys?: null | undefined;
2502
2340
  }) => any;
2503
2341
  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">>;
2342
+ }, "getCommentAliasIds" | "getTrackedChangeThread" | "getCommentPositionKey" | "getCommentPosition" | "getCommentAnchoredText" | "getCommentAnchorData" | "resolveCommentPositionEntry" | "getCommentDocumentId" | "belongsToDocument" | "init" | "setViewingVisibility" | "getComment" | "setActiveComment" | "getCommentLocation" | "hasOverlapId" | "getPendingComment" | "showAddComment" | "addComment" | "addHydratedComment" | "cancelComment" | "deleteComment" | "removePendingComment" | "removeCommentsForDocument" | "setReviewDirectoryFromV2" | "clearReviewDirectory" | "handleEditorLocationsUpdate" | "clearEditorCommentPositions" | "handleTrackedChangeUpdate" | "syncResolvedCommentsWithDocument" | "syncTrackedChangePositionsWithDocument" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
2505
2343
  documents: Ref<StoreDocument[], StoreDocument[]>;
2506
2344
  documentBounds: Ref<unknown[], unknown[]>;
2507
2345
  pages: Record<string, PageEntry[]>;