superdoc 2.28.0 → 2.29.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/chunks/{PdfViewer-JHXZQZ9x.es.js → PdfViewer-D4lVeOJu.es.js} +3 -2
  2. package/dist/chunks/{PdfViewer-Cg072l5d.cjs → PdfViewer-boENOZdF.cjs} +3 -2
  3. package/dist/chunks/{create-super-doc-ui-BfgYblyI.cjs → create-super-doc-ui-0OA8hCNb.cjs} +201 -23
  4. package/dist/chunks/{create-super-doc-ui-BbjHD1ul.es.js → create-super-doc-ui-Duf65d0b.es.js} +180 -20
  5. package/dist/chunks/is-finite-number-BEXgTRgc.cjs +11 -0
  6. package/dist/chunks/is-finite-number-BpL4F38c.es.js +6 -0
  7. package/dist/collaboration-upgrade-engine.cjs +1 -1
  8. package/dist/collaboration-upgrade-engine.es.js +1 -1
  9. package/dist/document-api/src/capabilities/html-markdown-support.d.ts +3 -3
  10. package/dist/document-api/src/index.d.ts +1 -1
  11. package/dist/document-api/src/lists/lists.d.ts +79 -79
  12. package/dist/document-api/src/write/write.d.ts +10 -9
  13. package/dist/layout-engine/painters/dom/src/page-content.d.ts +1 -1
  14. package/dist/layout-engine/painters/dom/src/persistent-page-surface.d.ts +2 -0
  15. package/dist/public/ui-react.cjs +1 -1
  16. package/dist/public/ui-react.es.js +1 -1
  17. package/dist/public/ui-vue.cjs +1 -1
  18. package/dist/public/ui-vue.es.js +1 -1
  19. package/dist/public/ui.cjs +1 -1
  20. package/dist/public/ui.es.js +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/style.layered.css +1 -1
  23. package/dist/superdoc/src/SuperDoc.vue.d.ts +5 -3
  24. package/dist/superdoc/src/components/CommentsLayer/CommentDialog.vue.d.ts +1670 -24
  25. package/dist/superdoc/src/components/CommentsLayer/CommentHeader.vue.d.ts +2 -2
  26. package/dist/superdoc/src/components/CommentsLayer/CommentInput.vue.d.ts +2 -2
  27. package/dist/superdoc/src/components/CommentsLayer/FloatingComments.vue.d.ts +21 -8
  28. package/dist/superdoc/src/components/general/Avatar.vue.d.ts +7 -0
  29. package/dist/superdoc/src/components/surfaces/SurfaceDialog.vue.d.ts +27 -9
  30. package/dist/superdoc/src/components/surfaces/SurfaceExternalMount.vue.d.ts +53 -16
  31. package/dist/superdoc/src/composables/use-link-popover.d.ts +3 -3
  32. package/dist/superdoc/src/composables/use-superdoc-instance.d.ts +4 -1
  33. package/dist/superdoc/src/core/SuperDoc.d.ts +1 -1
  34. package/dist/superdoc/src/core/collaboration/permissions.d.ts +1 -0
  35. package/dist/superdoc/src/core/types/index.d.ts +9 -4
  36. package/dist/superdoc/src/helpers/is-finite-number.d.ts +1 -0
  37. package/dist/superdoc/src/internal/diagnostics/diagnostic-dedupe.d.ts +2 -2
  38. package/dist/superdoc/src/internal/toolbar/built-in/AIWriter.vue.d.ts +2 -2
  39. package/dist/superdoc/src/internal/toolbar/built-in/LinkInput.vue.d.ts +181 -36
  40. package/dist/superdoc/src/internal/toolbar/built-in/LinkedStyle.vue.d.ts +39 -10
  41. package/dist/superdoc/src/internal/toolbar/built-in/PageNumberMenu.vue.d.ts +133 -22
  42. package/dist/superdoc/src/internal/toolbar/built-in/SdTooltip.vue.d.ts +62 -23
  43. package/dist/superdoc/src/internal/toolbar/built-in/ToolbarButton.vue.d.ts +101 -16
  44. package/dist/superdoc/src/internal/toolbar/built-in/ToolbarButtonIcon.vue.d.ts +31 -10
  45. package/dist/superdoc/src/internal/toolbar/built-in/ToolbarComboBox.vue.d.ts +82 -11
  46. package/dist/superdoc/src/internal/toolbar/built-in/ToolbarDropdown.vue.d.ts +122 -33
  47. package/dist/superdoc/src/internal/toolbar/built-in/use-toolbar-item.d.ts +0 -1
  48. package/dist/superdoc/src/stores/comments-store.d.ts +151 -28
  49. package/dist/superdoc/src/stores/superdoc-store.d.ts +454 -85
  50. package/dist/superdoc.cjs +319 -401
  51. package/dist/superdoc.es.js +247 -330
  52. package/dist-cdn/style.layered.css +1 -1
  53. package/dist-cdn/superdoc.min.css +1 -1
  54. package/dist-cdn/superdoc.min.js +42 -42
  55. package/package.json +2 -2
  56. package/dist/superdoc/src/internal/toolbar/built-in/OverflowMenu.vue.d.ts +0 -104
@@ -130,23 +130,43 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
130
130
  };
131
131
  hasOverlapId: (id: any) => any;
132
132
  getPendingComment: ({ selection, documentId, parentCommentId, ...options }: {
133
- selection: Object;
134
- documentId: string;
135
- parentCommentId: string;
136
- }) => Object;
133
+ selection?: Object | undefined;
134
+ documentId?: string | null | undefined;
135
+ parentCommentId?: string | null | undefined;
136
+ }) => ReturnType<any>;
137
137
  showAddComment: (superdoc: any, targetClientY?: null) => any;
138
138
  addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
139
139
  superdoc: any;
140
140
  comment: any;
141
141
  skipEditorUpdate?: boolean | undefined;
142
142
  broadcastChanges?: boolean | undefined;
143
- }) => void;
143
+ }) => {
144
+ ok: boolean;
145
+ reason?: string;
146
+ detail?: string;
147
+ code?: string;
148
+ } | Promise<{
149
+ ok: boolean;
150
+ reason?: string;
151
+ detail?: string;
152
+ code?: string;
153
+ }>;
144
154
  addHydratedComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
145
155
  superdoc: any;
146
156
  comment: any;
147
157
  skipEditorUpdate?: boolean | undefined;
148
158
  broadcastChanges?: boolean | undefined;
149
- }) => void;
159
+ }) => {
160
+ ok: boolean;
161
+ reason?: string;
162
+ detail?: string;
163
+ code?: string;
164
+ } | Promise<{
165
+ ok: boolean;
166
+ reason?: string;
167
+ detail?: string;
168
+ code?: string;
169
+ }>;
150
170
  cancelComment: (superdoc: any) => void;
151
171
  deleteComment: ({ commentId: commentIdToDelete, superdoc }: {
152
172
  commentId: any;
@@ -183,8 +203,17 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
183
203
  clearInstantSidebarAlignment: () => void;
184
204
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
185
205
  superdoc: Object;
186
- editor: Object;
187
- }) => void;
206
+ comment: Object;
207
+ decision: string;
208
+ }) => {
209
+ ok: boolean;
210
+ success?: boolean;
211
+ reason?: string;
212
+ } | Promise<{
213
+ ok: boolean;
214
+ success?: boolean;
215
+ reason?: string;
216
+ }>;
188
217
  v2CommentsAdapter: import('vue').ShallowRef<null, null>;
189
218
  setV2CommentsAdapter: (adapter: any) => void;
190
219
  getV2CommentsAdapter: (superdoc: any) => any;
@@ -215,7 +244,19 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
215
244
  };
216
245
  isV2EditorActive: (superdoc: any) => boolean;
217
246
  replyCommentV2: ({ superdoc, parentCommentId, text, mentions, trackedChangeTarget }?: {
218
- mentions?: never[] | undefined;
247
+ superdoc?: Object | undefined;
248
+ parentCommentId?: string | null | undefined;
249
+ text?: string | undefined;
250
+ mentions?: {
251
+ name?: string | null;
252
+ email?: string | null;
253
+ }[] | undefined;
254
+ trackedChangeTarget?: {
255
+ kind: "trackedChange";
256
+ trackedChangeId: string;
257
+ story?: unknown;
258
+ side?: "source" | "destination";
259
+ } | undefined;
219
260
  }) => Promise<any>;
220
261
  editCommentV2: ({ superdoc, commentId, text }?: {}) => Promise<any>;
221
262
  resolveCommentV2: ({ superdoc, commentId }?: {}) => Promise<any>;
@@ -265,7 +306,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
265
306
  liveAnchorKeys?: null | undefined;
266
307
  }) => any;
267
308
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
268
- }, "suppressInternalExternal" | "activeComment" | "activeFloatingCommentInstanceId" | "floatingCommentsOffset" | "pendingComment" | "currentCommentText" | "currentCommentMentions" | "isDebugging" | "editingCommentId" | "editorCommentPositions" | "isCommentHighlighted" | "v2CommentsAdapter" | "COMMENT_EVENTS" | "hasInitializedComments" | "hasSyncedCollaborationComments" | "commentDialogs" | "overlappingComments" | "overlappedIds" | "commentsList" | "reviewDirectoryList" | "isCommentsListVisible" | "isReviewDirectoryActive" | "isReviewDirectoryLoading" | "generalCommentIds" | "editorCommentIds" | "commentsParentElement" | "hasInitializedLocations" | "committedReviewPresentations" | "sortedConversations" | "visibleConversations" | "skipSelectionUpdate" | "isFloatingCommentsReady" | "instantSidebarAlignmentTargetY" | "instantSidebarAlignmentThreadId" | "instantSidebarAlignmentInstanceId" | "viewingVisibility" | "v2TrackedChangesAdapter">, Pick<{
309
+ }, "COMMENT_EVENTS" | "isDebugging" | "hasInitializedComments" | "hasSyncedCollaborationComments" | "editingCommentId" | "activeComment" | "activeFloatingCommentInstanceId" | "commentDialogs" | "overlappingComments" | "overlappedIds" | "suppressInternalExternal" | "pendingComment" | "currentCommentText" | "currentCommentMentions" | "commentsList" | "reviewDirectoryList" | "isCommentsListVisible" | "isReviewDirectoryActive" | "isReviewDirectoryLoading" | "generalCommentIds" | "editorCommentIds" | "commentsParentElement" | "editorCommentPositions" | "hasInitializedLocations" | "isCommentHighlighted" | "floatingCommentsOffset" | "committedReviewPresentations" | "sortedConversations" | "visibleConversations" | "skipSelectionUpdate" | "isFloatingCommentsReady" | "instantSidebarAlignmentTargetY" | "instantSidebarAlignmentThreadId" | "instantSidebarAlignmentInstanceId" | "viewingVisibility" | "v2CommentsAdapter" | "v2TrackedChangesAdapter">, Pick<{
269
310
  COMMENT_EVENTS: {
270
311
  readonly RESOLVED: "resolved";
271
312
  readonly NEW: "new";
@@ -368,23 +409,43 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
368
409
  };
369
410
  hasOverlapId: (id: any) => any;
370
411
  getPendingComment: ({ selection, documentId, parentCommentId, ...options }: {
371
- selection: Object;
372
- documentId: string;
373
- parentCommentId: string;
374
- }) => Object;
412
+ selection?: Object | undefined;
413
+ documentId?: string | null | undefined;
414
+ parentCommentId?: string | null | undefined;
415
+ }) => ReturnType<any>;
375
416
  showAddComment: (superdoc: any, targetClientY?: null) => any;
376
417
  addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
377
418
  superdoc: any;
378
419
  comment: any;
379
420
  skipEditorUpdate?: boolean | undefined;
380
421
  broadcastChanges?: boolean | undefined;
381
- }) => void;
422
+ }) => {
423
+ ok: boolean;
424
+ reason?: string;
425
+ detail?: string;
426
+ code?: string;
427
+ } | Promise<{
428
+ ok: boolean;
429
+ reason?: string;
430
+ detail?: string;
431
+ code?: string;
432
+ }>;
382
433
  addHydratedComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
383
434
  superdoc: any;
384
435
  comment: any;
385
436
  skipEditorUpdate?: boolean | undefined;
386
437
  broadcastChanges?: boolean | undefined;
387
- }) => void;
438
+ }) => {
439
+ ok: boolean;
440
+ reason?: string;
441
+ detail?: string;
442
+ code?: string;
443
+ } | Promise<{
444
+ ok: boolean;
445
+ reason?: string;
446
+ detail?: string;
447
+ code?: string;
448
+ }>;
388
449
  cancelComment: (superdoc: any) => void;
389
450
  deleteComment: ({ commentId: commentIdToDelete, superdoc }: {
390
451
  commentId: any;
@@ -421,8 +482,17 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
421
482
  clearInstantSidebarAlignment: () => void;
422
483
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
423
484
  superdoc: Object;
424
- editor: Object;
425
- }) => void;
485
+ comment: Object;
486
+ decision: string;
487
+ }) => {
488
+ ok: boolean;
489
+ success?: boolean;
490
+ reason?: string;
491
+ } | Promise<{
492
+ ok: boolean;
493
+ success?: boolean;
494
+ reason?: string;
495
+ }>;
426
496
  v2CommentsAdapter: import('vue').ShallowRef<null, null>;
427
497
  setV2CommentsAdapter: (adapter: any) => void;
428
498
  getV2CommentsAdapter: (superdoc: any) => any;
@@ -453,7 +523,19 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
453
523
  };
454
524
  isV2EditorActive: (superdoc: any) => boolean;
455
525
  replyCommentV2: ({ superdoc, parentCommentId, text, mentions, trackedChangeTarget }?: {
456
- mentions?: never[] | undefined;
526
+ superdoc?: Object | undefined;
527
+ parentCommentId?: string | null | undefined;
528
+ text?: string | undefined;
529
+ mentions?: {
530
+ name?: string | null;
531
+ email?: string | null;
532
+ }[] | undefined;
533
+ trackedChangeTarget?: {
534
+ kind: "trackedChange";
535
+ trackedChangeId: string;
536
+ story?: unknown;
537
+ side?: "source" | "destination";
538
+ } | undefined;
457
539
  }) => Promise<any>;
458
540
  editCommentV2: ({ superdoc, commentId, text }?: {}) => Promise<any>;
459
541
  resolveCommentV2: ({ superdoc, commentId }?: {}) => Promise<any>;
@@ -606,23 +688,43 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
606
688
  };
607
689
  hasOverlapId: (id: any) => any;
608
690
  getPendingComment: ({ selection, documentId, parentCommentId, ...options }: {
609
- selection: Object;
610
- documentId: string;
611
- parentCommentId: string;
612
- }) => Object;
691
+ selection?: Object | undefined;
692
+ documentId?: string | null | undefined;
693
+ parentCommentId?: string | null | undefined;
694
+ }) => ReturnType<any>;
613
695
  showAddComment: (superdoc: any, targetClientY?: null) => any;
614
696
  addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
615
697
  superdoc: any;
616
698
  comment: any;
617
699
  skipEditorUpdate?: boolean | undefined;
618
700
  broadcastChanges?: boolean | undefined;
619
- }) => void;
701
+ }) => {
702
+ ok: boolean;
703
+ reason?: string;
704
+ detail?: string;
705
+ code?: string;
706
+ } | Promise<{
707
+ ok: boolean;
708
+ reason?: string;
709
+ detail?: string;
710
+ code?: string;
711
+ }>;
620
712
  addHydratedComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
621
713
  superdoc: any;
622
714
  comment: any;
623
715
  skipEditorUpdate?: boolean | undefined;
624
716
  broadcastChanges?: boolean | undefined;
625
- }) => void;
717
+ }) => {
718
+ ok: boolean;
719
+ reason?: string;
720
+ detail?: string;
721
+ code?: string;
722
+ } | Promise<{
723
+ ok: boolean;
724
+ reason?: string;
725
+ detail?: string;
726
+ code?: string;
727
+ }>;
626
728
  cancelComment: (superdoc: any) => void;
627
729
  deleteComment: ({ commentId: commentIdToDelete, superdoc }: {
628
730
  commentId: any;
@@ -659,8 +761,17 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
659
761
  clearInstantSidebarAlignment: () => void;
660
762
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
661
763
  superdoc: Object;
662
- editor: Object;
663
- }) => void;
764
+ comment: Object;
765
+ decision: string;
766
+ }) => {
767
+ ok: boolean;
768
+ success?: boolean;
769
+ reason?: string;
770
+ } | Promise<{
771
+ ok: boolean;
772
+ success?: boolean;
773
+ reason?: string;
774
+ }>;
664
775
  v2CommentsAdapter: import('vue').ShallowRef<null, null>;
665
776
  setV2CommentsAdapter: (adapter: any) => void;
666
777
  getV2CommentsAdapter: (superdoc: any) => any;
@@ -691,7 +802,19 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
691
802
  };
692
803
  isV2EditorActive: (superdoc: any) => boolean;
693
804
  replyCommentV2: ({ superdoc, parentCommentId, text, mentions, trackedChangeTarget }?: {
694
- mentions?: never[] | undefined;
805
+ superdoc?: Object | undefined;
806
+ parentCommentId?: string | null | undefined;
807
+ text?: string | undefined;
808
+ mentions?: {
809
+ name?: string | null;
810
+ email?: string | null;
811
+ }[] | undefined;
812
+ trackedChangeTarget?: {
813
+ kind: "trackedChange";
814
+ trackedChangeId: string;
815
+ story?: unknown;
816
+ side?: "source" | "destination";
817
+ } | undefined;
695
818
  }) => Promise<any>;
696
819
  editCommentV2: ({ superdoc, commentId, text }?: {}) => Promise<any>;
697
820
  resolveCommentV2: ({ superdoc, commentId }?: {}) => Promise<any>;
@@ -771,7 +894,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
771
894
  getPageBounds: (documentId: string, page: number) => {
772
895
  top: number;
773
896
  } | undefined;
774
- }, "user" | "pages" | "isInternal" | "users" | "measurementUnit" | "isReady" | "activeZoom" | "zoomMode" | "viewportMetrics" | "documents" | "commentsStore" | "documentBounds" | "documentUsers" | "documentScroll" | "selectionPosition" | "activeSelection" | "modules">, Pick<{
897
+ }, "user" | "pages" | "isInternal" | "measurementUnit" | "commentsStore" | "documents" | "documentBounds" | "documentUsers" | "users" | "activeZoom" | "zoomMode" | "viewportMetrics" | "documentScroll" | "selectionPosition" | "activeSelection" | "isReady" | "modules">, Pick<{
775
898
  commentsStore: import('pinia').Store<"comments", Pick<{
776
899
  COMMENT_EVENTS: {
777
900
  readonly RESOLVED: "resolved";
@@ -875,23 +998,43 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
875
998
  };
876
999
  hasOverlapId: (id: any) => any;
877
1000
  getPendingComment: ({ selection, documentId, parentCommentId, ...options }: {
878
- selection: Object;
879
- documentId: string;
880
- parentCommentId: string;
881
- }) => Object;
1001
+ selection?: Object | undefined;
1002
+ documentId?: string | null | undefined;
1003
+ parentCommentId?: string | null | undefined;
1004
+ }) => ReturnType<any>;
882
1005
  showAddComment: (superdoc: any, targetClientY?: null) => any;
883
1006
  addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
884
1007
  superdoc: any;
885
1008
  comment: any;
886
1009
  skipEditorUpdate?: boolean | undefined;
887
1010
  broadcastChanges?: boolean | undefined;
888
- }) => void;
1011
+ }) => {
1012
+ ok: boolean;
1013
+ reason?: string;
1014
+ detail?: string;
1015
+ code?: string;
1016
+ } | Promise<{
1017
+ ok: boolean;
1018
+ reason?: string;
1019
+ detail?: string;
1020
+ code?: string;
1021
+ }>;
889
1022
  addHydratedComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
890
1023
  superdoc: any;
891
1024
  comment: any;
892
1025
  skipEditorUpdate?: boolean | undefined;
893
1026
  broadcastChanges?: boolean | undefined;
894
- }) => void;
1027
+ }) => {
1028
+ ok: boolean;
1029
+ reason?: string;
1030
+ detail?: string;
1031
+ code?: string;
1032
+ } | Promise<{
1033
+ ok: boolean;
1034
+ reason?: string;
1035
+ detail?: string;
1036
+ code?: string;
1037
+ }>;
895
1038
  cancelComment: (superdoc: any) => void;
896
1039
  deleteComment: ({ commentId: commentIdToDelete, superdoc }: {
897
1040
  commentId: any;
@@ -928,8 +1071,17 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
928
1071
  clearInstantSidebarAlignment: () => void;
929
1072
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
930
1073
  superdoc: Object;
931
- editor: Object;
932
- }) => void;
1074
+ comment: Object;
1075
+ decision: string;
1076
+ }) => {
1077
+ ok: boolean;
1078
+ success?: boolean;
1079
+ reason?: string;
1080
+ } | Promise<{
1081
+ ok: boolean;
1082
+ success?: boolean;
1083
+ reason?: string;
1084
+ }>;
933
1085
  v2CommentsAdapter: import('vue').ShallowRef<null, null>;
934
1086
  setV2CommentsAdapter: (adapter: any) => void;
935
1087
  getV2CommentsAdapter: (superdoc: any) => any;
@@ -960,7 +1112,19 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
960
1112
  };
961
1113
  isV2EditorActive: (superdoc: any) => boolean;
962
1114
  replyCommentV2: ({ superdoc, parentCommentId, text, mentions, trackedChangeTarget }?: {
963
- mentions?: never[] | undefined;
1115
+ superdoc?: Object | undefined;
1116
+ parentCommentId?: string | null | undefined;
1117
+ text?: string | undefined;
1118
+ mentions?: {
1119
+ name?: string | null;
1120
+ email?: string | null;
1121
+ }[] | undefined;
1122
+ trackedChangeTarget?: {
1123
+ kind: "trackedChange";
1124
+ trackedChangeId: string;
1125
+ story?: unknown;
1126
+ side?: "source" | "destination";
1127
+ } | undefined;
964
1128
  }) => Promise<any>;
965
1129
  editCommentV2: ({ superdoc, commentId, text }?: {}) => Promise<any>;
966
1130
  resolveCommentV2: ({ superdoc, commentId }?: {}) => Promise<any>;
@@ -1010,7 +1174,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1010
1174
  liveAnchorKeys?: null | undefined;
1011
1175
  }) => any;
1012
1176
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
1013
- }, "suppressInternalExternal" | "activeComment" | "activeFloatingCommentInstanceId" | "floatingCommentsOffset" | "pendingComment" | "currentCommentText" | "currentCommentMentions" | "isDebugging" | "editingCommentId" | "editorCommentPositions" | "isCommentHighlighted" | "v2CommentsAdapter" | "COMMENT_EVENTS" | "hasInitializedComments" | "hasSyncedCollaborationComments" | "commentDialogs" | "overlappingComments" | "overlappedIds" | "commentsList" | "reviewDirectoryList" | "isCommentsListVisible" | "isReviewDirectoryActive" | "isReviewDirectoryLoading" | "generalCommentIds" | "editorCommentIds" | "commentsParentElement" | "hasInitializedLocations" | "committedReviewPresentations" | "sortedConversations" | "visibleConversations" | "skipSelectionUpdate" | "isFloatingCommentsReady" | "instantSidebarAlignmentTargetY" | "instantSidebarAlignmentThreadId" | "instantSidebarAlignmentInstanceId" | "viewingVisibility" | "v2TrackedChangesAdapter">, Pick<{
1177
+ }, "COMMENT_EVENTS" | "isDebugging" | "hasInitializedComments" | "hasSyncedCollaborationComments" | "editingCommentId" | "activeComment" | "activeFloatingCommentInstanceId" | "commentDialogs" | "overlappingComments" | "overlappedIds" | "suppressInternalExternal" | "pendingComment" | "currentCommentText" | "currentCommentMentions" | "commentsList" | "reviewDirectoryList" | "isCommentsListVisible" | "isReviewDirectoryActive" | "isReviewDirectoryLoading" | "generalCommentIds" | "editorCommentIds" | "commentsParentElement" | "editorCommentPositions" | "hasInitializedLocations" | "isCommentHighlighted" | "floatingCommentsOffset" | "committedReviewPresentations" | "sortedConversations" | "visibleConversations" | "skipSelectionUpdate" | "isFloatingCommentsReady" | "instantSidebarAlignmentTargetY" | "instantSidebarAlignmentThreadId" | "instantSidebarAlignmentInstanceId" | "viewingVisibility" | "v2CommentsAdapter" | "v2TrackedChangesAdapter">, Pick<{
1014
1178
  COMMENT_EVENTS: {
1015
1179
  readonly RESOLVED: "resolved";
1016
1180
  readonly NEW: "new";
@@ -1113,23 +1277,43 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1113
1277
  };
1114
1278
  hasOverlapId: (id: any) => any;
1115
1279
  getPendingComment: ({ selection, documentId, parentCommentId, ...options }: {
1116
- selection: Object;
1117
- documentId: string;
1118
- parentCommentId: string;
1119
- }) => Object;
1280
+ selection?: Object | undefined;
1281
+ documentId?: string | null | undefined;
1282
+ parentCommentId?: string | null | undefined;
1283
+ }) => ReturnType<any>;
1120
1284
  showAddComment: (superdoc: any, targetClientY?: null) => any;
1121
1285
  addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
1122
1286
  superdoc: any;
1123
1287
  comment: any;
1124
1288
  skipEditorUpdate?: boolean | undefined;
1125
1289
  broadcastChanges?: boolean | undefined;
1126
- }) => void;
1290
+ }) => {
1291
+ ok: boolean;
1292
+ reason?: string;
1293
+ detail?: string;
1294
+ code?: string;
1295
+ } | Promise<{
1296
+ ok: boolean;
1297
+ reason?: string;
1298
+ detail?: string;
1299
+ code?: string;
1300
+ }>;
1127
1301
  addHydratedComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
1128
1302
  superdoc: any;
1129
1303
  comment: any;
1130
1304
  skipEditorUpdate?: boolean | undefined;
1131
1305
  broadcastChanges?: boolean | undefined;
1132
- }) => void;
1306
+ }) => {
1307
+ ok: boolean;
1308
+ reason?: string;
1309
+ detail?: string;
1310
+ code?: string;
1311
+ } | Promise<{
1312
+ ok: boolean;
1313
+ reason?: string;
1314
+ detail?: string;
1315
+ code?: string;
1316
+ }>;
1133
1317
  cancelComment: (superdoc: any) => void;
1134
1318
  deleteComment: ({ commentId: commentIdToDelete, superdoc }: {
1135
1319
  commentId: any;
@@ -1166,8 +1350,17 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1166
1350
  clearInstantSidebarAlignment: () => void;
1167
1351
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
1168
1352
  superdoc: Object;
1169
- editor: Object;
1170
- }) => void;
1353
+ comment: Object;
1354
+ decision: string;
1355
+ }) => {
1356
+ ok: boolean;
1357
+ success?: boolean;
1358
+ reason?: string;
1359
+ } | Promise<{
1360
+ ok: boolean;
1361
+ success?: boolean;
1362
+ reason?: string;
1363
+ }>;
1171
1364
  v2CommentsAdapter: import('vue').ShallowRef<null, null>;
1172
1365
  setV2CommentsAdapter: (adapter: any) => void;
1173
1366
  getV2CommentsAdapter: (superdoc: any) => any;
@@ -1198,7 +1391,19 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1198
1391
  };
1199
1392
  isV2EditorActive: (superdoc: any) => boolean;
1200
1393
  replyCommentV2: ({ superdoc, parentCommentId, text, mentions, trackedChangeTarget }?: {
1201
- mentions?: never[] | undefined;
1394
+ superdoc?: Object | undefined;
1395
+ parentCommentId?: string | null | undefined;
1396
+ text?: string | undefined;
1397
+ mentions?: {
1398
+ name?: string | null;
1399
+ email?: string | null;
1400
+ }[] | undefined;
1401
+ trackedChangeTarget?: {
1402
+ kind: "trackedChange";
1403
+ trackedChangeId: string;
1404
+ story?: unknown;
1405
+ side?: "source" | "destination";
1406
+ } | undefined;
1202
1407
  }) => Promise<any>;
1203
1408
  editCommentV2: ({ superdoc, commentId, text }?: {}) => Promise<any>;
1204
1409
  resolveCommentV2: ({ superdoc, commentId }?: {}) => Promise<any>;
@@ -1351,23 +1556,43 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1351
1556
  };
1352
1557
  hasOverlapId: (id: any) => any;
1353
1558
  getPendingComment: ({ selection, documentId, parentCommentId, ...options }: {
1354
- selection: Object;
1355
- documentId: string;
1356
- parentCommentId: string;
1357
- }) => Object;
1559
+ selection?: Object | undefined;
1560
+ documentId?: string | null | undefined;
1561
+ parentCommentId?: string | null | undefined;
1562
+ }) => ReturnType<any>;
1358
1563
  showAddComment: (superdoc: any, targetClientY?: null) => any;
1359
1564
  addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
1360
1565
  superdoc: any;
1361
1566
  comment: any;
1362
1567
  skipEditorUpdate?: boolean | undefined;
1363
1568
  broadcastChanges?: boolean | undefined;
1364
- }) => void;
1569
+ }) => {
1570
+ ok: boolean;
1571
+ reason?: string;
1572
+ detail?: string;
1573
+ code?: string;
1574
+ } | Promise<{
1575
+ ok: boolean;
1576
+ reason?: string;
1577
+ detail?: string;
1578
+ code?: string;
1579
+ }>;
1365
1580
  addHydratedComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
1366
1581
  superdoc: any;
1367
1582
  comment: any;
1368
1583
  skipEditorUpdate?: boolean | undefined;
1369
1584
  broadcastChanges?: boolean | undefined;
1370
- }) => void;
1585
+ }) => {
1586
+ ok: boolean;
1587
+ reason?: string;
1588
+ detail?: string;
1589
+ code?: string;
1590
+ } | Promise<{
1591
+ ok: boolean;
1592
+ reason?: string;
1593
+ detail?: string;
1594
+ code?: string;
1595
+ }>;
1371
1596
  cancelComment: (superdoc: any) => void;
1372
1597
  deleteComment: ({ commentId: commentIdToDelete, superdoc }: {
1373
1598
  commentId: any;
@@ -1404,8 +1629,17 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1404
1629
  clearInstantSidebarAlignment: () => void;
1405
1630
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
1406
1631
  superdoc: Object;
1407
- editor: Object;
1408
- }) => void;
1632
+ comment: Object;
1633
+ decision: string;
1634
+ }) => {
1635
+ ok: boolean;
1636
+ success?: boolean;
1637
+ reason?: string;
1638
+ } | Promise<{
1639
+ ok: boolean;
1640
+ success?: boolean;
1641
+ reason?: string;
1642
+ }>;
1409
1643
  v2CommentsAdapter: import('vue').ShallowRef<null, null>;
1410
1644
  setV2CommentsAdapter: (adapter: any) => void;
1411
1645
  getV2CommentsAdapter: (superdoc: any) => any;
@@ -1436,7 +1670,19 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1436
1670
  };
1437
1671
  isV2EditorActive: (superdoc: any) => boolean;
1438
1672
  replyCommentV2: ({ superdoc, parentCommentId, text, mentions, trackedChangeTarget }?: {
1439
- mentions?: never[] | undefined;
1673
+ superdoc?: Object | undefined;
1674
+ parentCommentId?: string | null | undefined;
1675
+ text?: string | undefined;
1676
+ mentions?: {
1677
+ name?: string | null;
1678
+ email?: string | null;
1679
+ }[] | undefined;
1680
+ trackedChangeTarget?: {
1681
+ kind: "trackedChange";
1682
+ trackedChangeId: string;
1683
+ story?: unknown;
1684
+ side?: "source" | "destination";
1685
+ } | undefined;
1440
1686
  }) => Promise<any>;
1441
1687
  editCommentV2: ({ superdoc, commentId, text }?: {}) => Promise<any>;
1442
1688
  resolveCommentV2: ({ superdoc, commentId }?: {}) => Promise<any>;
@@ -1620,23 +1866,43 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1620
1866
  };
1621
1867
  hasOverlapId: (id: any) => any;
1622
1868
  getPendingComment: ({ selection, documentId, parentCommentId, ...options }: {
1623
- selection: Object;
1624
- documentId: string;
1625
- parentCommentId: string;
1626
- }) => Object;
1869
+ selection?: Object | undefined;
1870
+ documentId?: string | null | undefined;
1871
+ parentCommentId?: string | null | undefined;
1872
+ }) => ReturnType<any>;
1627
1873
  showAddComment: (superdoc: any, targetClientY?: null) => any;
1628
1874
  addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
1629
1875
  superdoc: any;
1630
1876
  comment: any;
1631
1877
  skipEditorUpdate?: boolean | undefined;
1632
1878
  broadcastChanges?: boolean | undefined;
1633
- }) => void;
1879
+ }) => {
1880
+ ok: boolean;
1881
+ reason?: string;
1882
+ detail?: string;
1883
+ code?: string;
1884
+ } | Promise<{
1885
+ ok: boolean;
1886
+ reason?: string;
1887
+ detail?: string;
1888
+ code?: string;
1889
+ }>;
1634
1890
  addHydratedComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
1635
1891
  superdoc: any;
1636
1892
  comment: any;
1637
1893
  skipEditorUpdate?: boolean | undefined;
1638
1894
  broadcastChanges?: boolean | undefined;
1639
- }) => void;
1895
+ }) => {
1896
+ ok: boolean;
1897
+ reason?: string;
1898
+ detail?: string;
1899
+ code?: string;
1900
+ } | Promise<{
1901
+ ok: boolean;
1902
+ reason?: string;
1903
+ detail?: string;
1904
+ code?: string;
1905
+ }>;
1640
1906
  cancelComment: (superdoc: any) => void;
1641
1907
  deleteComment: ({ commentId: commentIdToDelete, superdoc }: {
1642
1908
  commentId: any;
@@ -1673,8 +1939,17 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1673
1939
  clearInstantSidebarAlignment: () => void;
1674
1940
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
1675
1941
  superdoc: Object;
1676
- editor: Object;
1677
- }) => void;
1942
+ comment: Object;
1943
+ decision: string;
1944
+ }) => {
1945
+ ok: boolean;
1946
+ success?: boolean;
1947
+ reason?: string;
1948
+ } | Promise<{
1949
+ ok: boolean;
1950
+ success?: boolean;
1951
+ reason?: string;
1952
+ }>;
1678
1953
  v2CommentsAdapter: import('vue').ShallowRef<null, null>;
1679
1954
  setV2CommentsAdapter: (adapter: any) => void;
1680
1955
  getV2CommentsAdapter: (superdoc: any) => any;
@@ -1705,7 +1980,19 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1705
1980
  };
1706
1981
  isV2EditorActive: (superdoc: any) => boolean;
1707
1982
  replyCommentV2: ({ superdoc, parentCommentId, text, mentions, trackedChangeTarget }?: {
1708
- mentions?: never[] | undefined;
1983
+ superdoc?: Object | undefined;
1984
+ parentCommentId?: string | null | undefined;
1985
+ text?: string | undefined;
1986
+ mentions?: {
1987
+ name?: string | null;
1988
+ email?: string | null;
1989
+ }[] | undefined;
1990
+ trackedChangeTarget?: {
1991
+ kind: "trackedChange";
1992
+ trackedChangeId: string;
1993
+ story?: unknown;
1994
+ side?: "source" | "destination";
1995
+ } | undefined;
1709
1996
  }) => Promise<any>;
1710
1997
  editCommentV2: ({ superdoc, commentId, text }?: {}) => Promise<any>;
1711
1998
  resolveCommentV2: ({ superdoc, commentId }?: {}) => Promise<any>;
@@ -1755,7 +2042,7 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1755
2042
  liveAnchorKeys?: null | undefined;
1756
2043
  }) => any;
1757
2044
  remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void;
1758
- }, "suppressInternalExternal" | "activeComment" | "activeFloatingCommentInstanceId" | "floatingCommentsOffset" | "pendingComment" | "currentCommentText" | "currentCommentMentions" | "isDebugging" | "editingCommentId" | "editorCommentPositions" | "isCommentHighlighted" | "v2CommentsAdapter" | "COMMENT_EVENTS" | "hasInitializedComments" | "hasSyncedCollaborationComments" | "commentDialogs" | "overlappingComments" | "overlappedIds" | "commentsList" | "reviewDirectoryList" | "isCommentsListVisible" | "isReviewDirectoryActive" | "isReviewDirectoryLoading" | "generalCommentIds" | "editorCommentIds" | "commentsParentElement" | "hasInitializedLocations" | "committedReviewPresentations" | "sortedConversations" | "visibleConversations" | "skipSelectionUpdate" | "isFloatingCommentsReady" | "instantSidebarAlignmentTargetY" | "instantSidebarAlignmentThreadId" | "instantSidebarAlignmentInstanceId" | "viewingVisibility" | "v2TrackedChangesAdapter">, Pick<{
2045
+ }, "COMMENT_EVENTS" | "isDebugging" | "hasInitializedComments" | "hasSyncedCollaborationComments" | "editingCommentId" | "activeComment" | "activeFloatingCommentInstanceId" | "commentDialogs" | "overlappingComments" | "overlappedIds" | "suppressInternalExternal" | "pendingComment" | "currentCommentText" | "currentCommentMentions" | "commentsList" | "reviewDirectoryList" | "isCommentsListVisible" | "isReviewDirectoryActive" | "isReviewDirectoryLoading" | "generalCommentIds" | "editorCommentIds" | "commentsParentElement" | "editorCommentPositions" | "hasInitializedLocations" | "isCommentHighlighted" | "floatingCommentsOffset" | "committedReviewPresentations" | "sortedConversations" | "visibleConversations" | "skipSelectionUpdate" | "isFloatingCommentsReady" | "instantSidebarAlignmentTargetY" | "instantSidebarAlignmentThreadId" | "instantSidebarAlignmentInstanceId" | "viewingVisibility" | "v2CommentsAdapter" | "v2TrackedChangesAdapter">, Pick<{
1759
2046
  COMMENT_EVENTS: {
1760
2047
  readonly RESOLVED: "resolved";
1761
2048
  readonly NEW: "new";
@@ -1858,23 +2145,43 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1858
2145
  };
1859
2146
  hasOverlapId: (id: any) => any;
1860
2147
  getPendingComment: ({ selection, documentId, parentCommentId, ...options }: {
1861
- selection: Object;
1862
- documentId: string;
1863
- parentCommentId: string;
1864
- }) => Object;
2148
+ selection?: Object | undefined;
2149
+ documentId?: string | null | undefined;
2150
+ parentCommentId?: string | null | undefined;
2151
+ }) => ReturnType<any>;
1865
2152
  showAddComment: (superdoc: any, targetClientY?: null) => any;
1866
2153
  addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
1867
2154
  superdoc: any;
1868
2155
  comment: any;
1869
2156
  skipEditorUpdate?: boolean | undefined;
1870
2157
  broadcastChanges?: boolean | undefined;
1871
- }) => void;
2158
+ }) => {
2159
+ ok: boolean;
2160
+ reason?: string;
2161
+ detail?: string;
2162
+ code?: string;
2163
+ } | Promise<{
2164
+ ok: boolean;
2165
+ reason?: string;
2166
+ detail?: string;
2167
+ code?: string;
2168
+ }>;
1872
2169
  addHydratedComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
1873
2170
  superdoc: any;
1874
2171
  comment: any;
1875
2172
  skipEditorUpdate?: boolean | undefined;
1876
2173
  broadcastChanges?: boolean | undefined;
1877
- }) => void;
2174
+ }) => {
2175
+ ok: boolean;
2176
+ reason?: string;
2177
+ detail?: string;
2178
+ code?: string;
2179
+ } | Promise<{
2180
+ ok: boolean;
2181
+ reason?: string;
2182
+ detail?: string;
2183
+ code?: string;
2184
+ }>;
1878
2185
  cancelComment: (superdoc: any) => void;
1879
2186
  deleteComment: ({ commentId: commentIdToDelete, superdoc }: {
1880
2187
  commentId: any;
@@ -1911,8 +2218,17 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1911
2218
  clearInstantSidebarAlignment: () => void;
1912
2219
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
1913
2220
  superdoc: Object;
1914
- editor: Object;
1915
- }) => void;
2221
+ comment: Object;
2222
+ decision: string;
2223
+ }) => {
2224
+ ok: boolean;
2225
+ success?: boolean;
2226
+ reason?: string;
2227
+ } | Promise<{
2228
+ ok: boolean;
2229
+ success?: boolean;
2230
+ reason?: string;
2231
+ }>;
1916
2232
  v2CommentsAdapter: import('vue').ShallowRef<null, null>;
1917
2233
  setV2CommentsAdapter: (adapter: any) => void;
1918
2234
  getV2CommentsAdapter: (superdoc: any) => any;
@@ -1943,7 +2259,19 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
1943
2259
  };
1944
2260
  isV2EditorActive: (superdoc: any) => boolean;
1945
2261
  replyCommentV2: ({ superdoc, parentCommentId, text, mentions, trackedChangeTarget }?: {
1946
- mentions?: never[] | undefined;
2262
+ superdoc?: Object | undefined;
2263
+ parentCommentId?: string | null | undefined;
2264
+ text?: string | undefined;
2265
+ mentions?: {
2266
+ name?: string | null;
2267
+ email?: string | null;
2268
+ }[] | undefined;
2269
+ trackedChangeTarget?: {
2270
+ kind: "trackedChange";
2271
+ trackedChangeId: string;
2272
+ story?: unknown;
2273
+ side?: "source" | "destination";
2274
+ } | undefined;
1947
2275
  }) => Promise<any>;
1948
2276
  editCommentV2: ({ superdoc, commentId, text }?: {}) => Promise<any>;
1949
2277
  resolveCommentV2: ({ superdoc, commentId }?: {}) => Promise<any>;
@@ -2096,23 +2424,43 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2096
2424
  };
2097
2425
  hasOverlapId: (id: any) => any;
2098
2426
  getPendingComment: ({ selection, documentId, parentCommentId, ...options }: {
2099
- selection: Object;
2100
- documentId: string;
2101
- parentCommentId: string;
2102
- }) => Object;
2427
+ selection?: Object | undefined;
2428
+ documentId?: string | null | undefined;
2429
+ parentCommentId?: string | null | undefined;
2430
+ }) => ReturnType<any>;
2103
2431
  showAddComment: (superdoc: any, targetClientY?: null) => any;
2104
2432
  addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
2105
2433
  superdoc: any;
2106
2434
  comment: any;
2107
2435
  skipEditorUpdate?: boolean | undefined;
2108
2436
  broadcastChanges?: boolean | undefined;
2109
- }) => void;
2437
+ }) => {
2438
+ ok: boolean;
2439
+ reason?: string;
2440
+ detail?: string;
2441
+ code?: string;
2442
+ } | Promise<{
2443
+ ok: boolean;
2444
+ reason?: string;
2445
+ detail?: string;
2446
+ code?: string;
2447
+ }>;
2110
2448
  addHydratedComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: {
2111
2449
  superdoc: any;
2112
2450
  comment: any;
2113
2451
  skipEditorUpdate?: boolean | undefined;
2114
2452
  broadcastChanges?: boolean | undefined;
2115
- }) => void;
2453
+ }) => {
2454
+ ok: boolean;
2455
+ reason?: string;
2456
+ detail?: string;
2457
+ code?: string;
2458
+ } | Promise<{
2459
+ ok: boolean;
2460
+ reason?: string;
2461
+ detail?: string;
2462
+ code?: string;
2463
+ }>;
2116
2464
  cancelComment: (superdoc: any) => void;
2117
2465
  deleteComment: ({ commentId: commentIdToDelete, superdoc }: {
2118
2466
  commentId: any;
@@ -2149,8 +2497,17 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2149
2497
  clearInstantSidebarAlignment: () => void;
2150
2498
  decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: {
2151
2499
  superdoc: Object;
2152
- editor: Object;
2153
- }) => void;
2500
+ comment: Object;
2501
+ decision: string;
2502
+ }) => {
2503
+ ok: boolean;
2504
+ success?: boolean;
2505
+ reason?: string;
2506
+ } | Promise<{
2507
+ ok: boolean;
2508
+ success?: boolean;
2509
+ reason?: string;
2510
+ }>;
2154
2511
  v2CommentsAdapter: import('vue').ShallowRef<null, null>;
2155
2512
  setV2CommentsAdapter: (adapter: any) => void;
2156
2513
  getV2CommentsAdapter: (superdoc: any) => any;
@@ -2181,7 +2538,19 @@ export declare const useSuperdocStore: import('pinia').StoreDefinition<"superdoc
2181
2538
  };
2182
2539
  isV2EditorActive: (superdoc: any) => boolean;
2183
2540
  replyCommentV2: ({ superdoc, parentCommentId, text, mentions, trackedChangeTarget }?: {
2184
- mentions?: never[] | undefined;
2541
+ superdoc?: Object | undefined;
2542
+ parentCommentId?: string | null | undefined;
2543
+ text?: string | undefined;
2544
+ mentions?: {
2545
+ name?: string | null;
2546
+ email?: string | null;
2547
+ }[] | undefined;
2548
+ trackedChangeTarget?: {
2549
+ kind: "trackedChange";
2550
+ trackedChangeId: string;
2551
+ story?: unknown;
2552
+ side?: "source" | "destination";
2553
+ } | undefined;
2185
2554
  }) => Promise<any>;
2186
2555
  editCommentV2: ({ superdoc, commentId, text }?: {}) => Promise<any>;
2187
2556
  resolveCommentV2: ({ superdoc, commentId }?: {}) => Promise<any>;