superdoc 2.28.0-next.16 → 2.28.0-next.18

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 (31) hide show
  1. package/dist/chunks/{create-super-doc-ui-DfSPIhxs.cjs → create-super-doc-ui-DOnTWcx7.cjs} +55 -17
  2. package/dist/chunks/{create-super-doc-ui-J7aMU_wd.es.js → create-super-doc-ui-gI3fiM_P.es.js} +50 -18
  3. package/dist/collaboration-upgrade-engine.cjs +1 -1
  4. package/dist/collaboration-upgrade-engine.es.js +1 -1
  5. package/dist/document-api/src/contract/operation-definitions.d.ts +2 -2
  6. package/dist/document-api/src/types/receipt.d.ts +1 -1
  7. package/dist/public/ui-react.cjs +1 -1
  8. package/dist/public/ui-react.es.js +1 -1
  9. package/dist/public/ui-vue.cjs +1 -1
  10. package/dist/public/ui-vue.es.js +1 -1
  11. package/dist/public/ui.cjs +3 -2
  12. package/dist/public/ui.es.js +3 -2
  13. package/dist/shared/font-system/src/resolver.d.ts +3 -3
  14. package/dist/style.css +1 -1
  15. package/dist/style.layered.css +1 -1
  16. package/dist/superdoc/src/core/collaboration/helpers.d.ts +0 -5
  17. package/dist/superdoc/src/core/editor-runtime/types.d.ts +2 -0
  18. package/dist/superdoc/src/core/editor-runtime/v2/v2-editor-runtime-adapter.d.ts +2 -0
  19. package/dist/superdoc/src/helpers/v2-review-mutation-impact.d.ts +2 -0
  20. package/dist/superdoc/src/public/ui/types.d.ts +11 -0
  21. package/dist/superdoc/src/public/ui.d.cts +4 -0
  22. package/dist/superdoc/src/public/ui.d.ts +1 -1
  23. package/dist/superdoc/src/stores/comments-store.d.ts +4 -37
  24. package/dist/superdoc/src/stores/superdoc-store.d.ts +12 -111
  25. package/dist/superdoc.cjs +62 -139
  26. package/dist/superdoc.es.js +62 -139
  27. package/dist-cdn/style.layered.css +1 -1
  28. package/dist-cdn/superdoc.min.css +1 -1
  29. package/dist-cdn/superdoc.min.js +42 -42
  30. package/package.json +2 -2
  31. package/dist/superdoc/src/core/collaboration/collaboration.d.ts +0 -18
@@ -78,17 +78,6 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
78
78
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
79
79
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
80
80
  getCommentPosition: (commentOrId: Object | string) => Object | null;
81
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
82
- separator?: string | undefined;
83
- trim?: boolean | undefined;
84
- }) => string | null;
85
- getCommentAnchorData: (commentOrId: Object | string, options?: {
86
- separator?: string | undefined;
87
- trim?: boolean | undefined;
88
- }) => {
89
- position: Object;
90
- anchoredText: string | null;
91
- } | null;
92
81
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
93
82
  key: string | null;
94
83
  entry: any;
@@ -158,7 +147,7 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
158
147
  superdoc: Object;
159
148
  params: Object;
160
149
  }) => void;
161
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
150
+ syncResolvedCommentsWithDocument: () => number;
162
151
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
163
152
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
164
153
  peekInstantSidebarAlignment: () => null;
@@ -327,17 +316,6 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
327
316
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
328
317
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
329
318
  getCommentPosition: (commentOrId: Object | string) => Object | null;
330
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
331
- separator?: string | undefined;
332
- trim?: boolean | undefined;
333
- }) => string | null;
334
- getCommentAnchorData: (commentOrId: Object | string, options?: {
335
- separator?: string | undefined;
336
- trim?: boolean | undefined;
337
- }) => {
338
- position: Object;
339
- anchoredText: string | null;
340
- } | null;
341
319
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
342
320
  key: string | null;
343
321
  entry: any;
@@ -407,7 +385,7 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
407
385
  superdoc: Object;
408
386
  params: Object;
409
387
  }) => void;
410
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
388
+ syncResolvedCommentsWithDocument: () => number;
411
389
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
412
390
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
413
391
  peekInstantSidebarAlignment: () => null;
@@ -576,17 +554,6 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
576
554
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
577
555
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
578
556
  getCommentPosition: (commentOrId: Object | string) => Object | null;
579
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
580
- separator?: string | undefined;
581
- trim?: boolean | undefined;
582
- }) => string | null;
583
- getCommentAnchorData: (commentOrId: Object | string, options?: {
584
- separator?: string | undefined;
585
- trim?: boolean | undefined;
586
- }) => {
587
- position: Object;
588
- anchoredText: string | null;
589
- } | null;
590
557
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
591
558
  key: string | null;
592
559
  entry: any;
@@ -656,7 +623,7 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
656
623
  superdoc: Object;
657
624
  params: Object;
658
625
  }) => void;
659
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
626
+ syncResolvedCommentsWithDocument: () => number;
660
627
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
661
628
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
662
629
  peekInstantSidebarAlignment: () => null;
@@ -745,4 +712,4 @@ export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<
745
712
  liveAnchorKeys?: null | undefined;
746
713
  }) => any;
747
714
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
748
- }, "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" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "decideTrackedChangeFromSidebar" | "setV2CommentsAdapter" | "getV2CommentsAdapter" | "applyReviewWindowFromV2" | "reconcileCommentsFromV2" | "announceV2CommentCreated" | "dropCommentsFromMutationImpact" | "isV2EditorActive" | "replyCommentV2" | "editCommentV2" | "resolveCommentV2" | "reopenCommentV2" | "setV2TrackedChangesAdapter" | "getV2TrackedChangesAdapter" | "getV2TrackedChangeRowCount" | "reconcileTrackedChangeMutationFromV2" | "reconcileTrackedChangesFromV2" | "remapTrackedChangeIdentities">>;
715
+ }, "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">>;
@@ -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;
@@ -187,7 +176,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
187
176
  superdoc: Object;
188
177
  params: Object;
189
178
  }) => void;
190
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
179
+ syncResolvedCommentsWithDocument: () => number;
191
180
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
192
181
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
193
182
  peekInstantSidebarAlignment: () => null;
@@ -356,17 +345,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
356
345
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
357
346
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
358
347
  getCommentPosition: (commentOrId: Object | string) => Object | null;
359
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
360
- separator?: string | undefined;
361
- trim?: boolean | undefined;
362
- }) => string | null;
363
- getCommentAnchorData: (commentOrId: Object | string, options?: {
364
- separator?: string | undefined;
365
- trim?: boolean | undefined;
366
- }) => {
367
- position: Object;
368
- anchoredText: string | null;
369
- } | null;
370
348
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
371
349
  key: string | null;
372
350
  entry: any;
@@ -436,7 +414,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
436
414
  superdoc: Object;
437
415
  params: Object;
438
416
  }) => void;
439
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
417
+ syncResolvedCommentsWithDocument: () => number;
440
418
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
441
419
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
442
420
  peekInstantSidebarAlignment: () => null;
@@ -605,17 +583,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
605
583
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
606
584
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
607
585
  getCommentPosition: (commentOrId: Object | string) => Object | null;
608
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
609
- separator?: string | undefined;
610
- trim?: boolean | undefined;
611
- }) => string | null;
612
- getCommentAnchorData: (commentOrId: Object | string, options?: {
613
- separator?: string | undefined;
614
- trim?: boolean | undefined;
615
- }) => {
616
- position: Object;
617
- anchoredText: string | null;
618
- } | null;
619
586
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
620
587
  key: string | null;
621
588
  entry: any;
@@ -685,7 +652,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
685
652
  superdoc: Object;
686
653
  params: Object;
687
654
  }) => void;
688
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
655
+ syncResolvedCommentsWithDocument: () => number;
689
656
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
690
657
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
691
658
  peekInstantSidebarAlignment: () => null;
@@ -774,7 +741,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
774
741
  liveAnchorKeys?: null | undefined;
775
742
  }) => any;
776
743
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
777
- }, "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" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "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">>;
778
745
  documents: Ref<StoreDocument[], StoreDocument[]>;
779
746
  documentBounds: Ref<unknown[], unknown[]>;
780
747
  pages: Record<string, PageEntry[]>;
@@ -885,17 +852,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
885
852
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
886
853
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
887
854
  getCommentPosition: (commentOrId: Object | string) => Object | null;
888
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
889
- separator?: string | undefined;
890
- trim?: boolean | undefined;
891
- }) => string | null;
892
- getCommentAnchorData: (commentOrId: Object | string, options?: {
893
- separator?: string | undefined;
894
- trim?: boolean | undefined;
895
- }) => {
896
- position: Object;
897
- anchoredText: string | null;
898
- } | null;
899
855
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
900
856
  key: string | null;
901
857
  entry: any;
@@ -965,7 +921,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
965
921
  superdoc: Object;
966
922
  params: Object;
967
923
  }) => void;
968
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
924
+ syncResolvedCommentsWithDocument: () => number;
969
925
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
970
926
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
971
927
  peekInstantSidebarAlignment: () => null;
@@ -1134,17 +1090,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1134
1090
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
1135
1091
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
1136
1092
  getCommentPosition: (commentOrId: Object | string) => Object | null;
1137
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
1138
- separator?: string | undefined;
1139
- trim?: boolean | undefined;
1140
- }) => string | null;
1141
- getCommentAnchorData: (commentOrId: Object | string, options?: {
1142
- separator?: string | undefined;
1143
- trim?: boolean | undefined;
1144
- }) => {
1145
- position: Object;
1146
- anchoredText: string | null;
1147
- } | null;
1148
1093
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
1149
1094
  key: string | null;
1150
1095
  entry: any;
@@ -1214,7 +1159,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1214
1159
  superdoc: Object;
1215
1160
  params: Object;
1216
1161
  }) => void;
1217
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
1162
+ syncResolvedCommentsWithDocument: () => number;
1218
1163
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
1219
1164
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
1220
1165
  peekInstantSidebarAlignment: () => null;
@@ -1383,17 +1328,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1383
1328
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
1384
1329
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
1385
1330
  getCommentPosition: (commentOrId: Object | string) => Object | null;
1386
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
1387
- separator?: string | undefined;
1388
- trim?: boolean | undefined;
1389
- }) => string | null;
1390
- getCommentAnchorData: (commentOrId: Object | string, options?: {
1391
- separator?: string | undefined;
1392
- trim?: boolean | undefined;
1393
- }) => {
1394
- position: Object;
1395
- anchoredText: string | null;
1396
- } | null;
1397
1331
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
1398
1332
  key: string | null;
1399
1333
  entry: any;
@@ -1463,7 +1397,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1463
1397
  superdoc: Object;
1464
1398
  params: Object;
1465
1399
  }) => void;
1466
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
1400
+ syncResolvedCommentsWithDocument: () => number;
1467
1401
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
1468
1402
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
1469
1403
  peekInstantSidebarAlignment: () => null;
@@ -1552,7 +1486,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1552
1486
  liveAnchorKeys?: null | undefined;
1553
1487
  }) => any;
1554
1488
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
1555
- }, "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" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "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">>;
1556
1490
  documents: Ref<StoreDocument[], StoreDocument[]>;
1557
1491
  documentBounds: Ref<unknown[], unknown[]>;
1558
1492
  pages: Record<string, PageEntry[]>;
@@ -1663,17 +1597,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1663
1597
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
1664
1598
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
1665
1599
  getCommentPosition: (commentOrId: Object | string) => Object | null;
1666
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
1667
- separator?: string | undefined;
1668
- trim?: boolean | undefined;
1669
- }) => string | null;
1670
- getCommentAnchorData: (commentOrId: Object | string, options?: {
1671
- separator?: string | undefined;
1672
- trim?: boolean | undefined;
1673
- }) => {
1674
- position: Object;
1675
- anchoredText: string | null;
1676
- } | null;
1677
1600
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
1678
1601
  key: string | null;
1679
1602
  entry: any;
@@ -1743,7 +1666,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1743
1666
  superdoc: Object;
1744
1667
  params: Object;
1745
1668
  }) => void;
1746
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
1669
+ syncResolvedCommentsWithDocument: () => number;
1747
1670
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
1748
1671
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
1749
1672
  peekInstantSidebarAlignment: () => null;
@@ -1912,17 +1835,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1912
1835
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
1913
1836
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
1914
1837
  getCommentPosition: (commentOrId: Object | string) => Object | null;
1915
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
1916
- separator?: string | undefined;
1917
- trim?: boolean | undefined;
1918
- }) => string | null;
1919
- getCommentAnchorData: (commentOrId: Object | string, options?: {
1920
- separator?: string | undefined;
1921
- trim?: boolean | undefined;
1922
- }) => {
1923
- position: Object;
1924
- anchoredText: string | null;
1925
- } | null;
1926
1838
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
1927
1839
  key: string | null;
1928
1840
  entry: any;
@@ -1992,7 +1904,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1992
1904
  superdoc: Object;
1993
1905
  params: Object;
1994
1906
  }) => void;
1995
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
1907
+ syncResolvedCommentsWithDocument: () => number;
1996
1908
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
1997
1909
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
1998
1910
  peekInstantSidebarAlignment: () => null;
@@ -2161,17 +2073,6 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2161
2073
  getTrackedChangeThread: (parentComment: any) => any[] | readonly never[];
2162
2074
  getCommentPositionKey: (commentOrId: Object | string | null | undefined) => string | null;
2163
2075
  getCommentPosition: (commentOrId: Object | string) => Object | null;
2164
- getCommentAnchoredText: (commentOrId: Object | string, options?: {
2165
- separator?: string | undefined;
2166
- trim?: boolean | undefined;
2167
- }) => string | null;
2168
- getCommentAnchorData: (commentOrId: Object | string, options?: {
2169
- separator?: string | undefined;
2170
- trim?: boolean | undefined;
2171
- }) => {
2172
- position: Object;
2173
- anchoredText: string | null;
2174
- } | null;
2175
2076
  resolveCommentPositionEntry: (commentOrId: any, preferredId: any) => {
2176
2077
  key: string | null;
2177
2078
  entry: any;
@@ -2241,7 +2142,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2241
2142
  superdoc: Object;
2242
2143
  params: Object;
2243
2144
  }) => void;
2244
- syncResolvedCommentsWithDocument: ({ editor }?: {}) => number;
2145
+ syncResolvedCommentsWithDocument: () => number;
2245
2146
  setActiveFloatingCommentInstance: (instanceId?: null) => void;
2246
2147
  requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void;
2247
2148
  peekInstantSidebarAlignment: () => null;
@@ -2330,7 +2231,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2330
2231
  liveAnchorKeys?: null | undefined;
2331
2232
  }) => any;
2332
2233
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
2333
- }, "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" | "setActiveFloatingCommentInstance" | "requestInstantSidebarAlignment" | "peekInstantSidebarAlignment" | "clearInstantSidebarAlignment" | "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">>;
2334
2235
  documents: Ref<StoreDocument[], StoreDocument[]>;
2335
2236
  documentBounds: Ref<unknown[], unknown[]>;
2336
2237
  pages: Record<string, PageEntry[]>;