export const useCommentsStore: import('pinia').StoreDefinition<"comments", Pick<{ COMMENT_EVENTS: { readonly RESOLVED: "resolved"; readonly NEW: "new"; readonly ADD: "add"; readonly UPDATE: "update"; readonly DELETED: "deleted"; readonly PENDING: "pending"; readonly SELECTED: "selected"; readonly COMMENTS_LIST: "comments-list"; readonly CHANGE_ACCEPTED: "change-accepted"; readonly CHANGE_REJECTED: "change-rejected"; }; hasSyncedCollaborationComments: import('vue').Ref; editingCommentId: import('vue').Ref; activeComment: import('vue').Ref; activeFloatingCommentInstanceId: import('vue').Ref; suppressInternalExternal: import('vue').Ref; pendingComment: import('vue').Ref; currentCommentText: import('vue').Ref; currentCommentMentions: import('vue').Ref; commentsList: import('vue').Ref; reviewDirectoryList: import('vue').ShallowRef; isCommentsListVisible: import('vue').Ref; isReviewDirectoryActive: import('vue').Ref; isReviewDirectoryLoading: import('vue').Ref; generalCommentIds: import('vue').Ref; editorCommentIds: import('vue').Ref; commentsParentElement: import('vue').Ref; editorCommentPositions: import('vue').Ref<{}, {}>; hasInitializedLocations: import('vue').Ref; isCommentHighlighted: import('vue').Ref; floatingCommentsOffset: import('vue').Ref; committedReviewPresentations: import('vue').ShallowRef<{}, {}>; skipSelectionUpdate: import('vue').Ref; isFloatingCommentsReady: import('vue').Ref; instantSidebarAlignmentTargetY: import('vue').Ref; instantSidebarAlignmentThreadId: import('vue').Ref; instantSidebarAlignmentInstanceId: import('vue').Ref; getConfig: import('vue').ComputedRef<{ name: string; readOnly: boolean; allowResolve: boolean; showResolved: boolean; }>; documentsWithConverations: import('vue').ComputedRef; getGroupedComments: import('vue').ComputedRef<{ parentComments: any[]; resolvedComments: any[]; }>; getGroupedReviewDirectory: import('vue').ComputedRef<{ parentComments: any[]; resolvedComments: any[]; }>; hasOpenTrackedChanges: import('vue').ComputedRef; getFloatingComments: import('vue').ComputedRef; getFloatingCommentInstances: import('vue').ComputedRef<{ id: string; threadId: string | null; comment: any; positionKey: string | null; positionEntry: { pageIndex?: number | null; rects?: readonly ({ pageIndex?: number | null; left?: number; top?: number; right?: number; bottom?: number; } | null | undefined)[] | null; bounds?: Partial<{ left: number; top: number; right: number; bottom: number; width: number; height: number; }> | null; } | null; pageIndex: number | null; isPrimary: boolean; }[]>; getCommentAliasIds: (commentOrId: string | number | import('./helpers/comment-identity.js').CommentIdentityRow | null | undefined) => string[]; getTrackedChangeThread: (parentComment: any) => any[] | readonly never[]; getCommentPositionKey: (commentOrId: import('./helpers/comment-identity.js').CommentIdentityRow | string | null | undefined) => unknown; getCommentPosition: (commentOrId: Object | string) => Object | null; resolveCommentPositionEntry: (commentOrId: string | number | import('./helpers/comment-identity.js').CommentIdentityRow | null | undefined, preferredId?: unknown) => { key: string; entry: import('./helpers/comment-identity.js').CommentPositionEntry; } | { key: null; entry: null; }; getCommentDocumentId: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment) => string | null; belongsToDocument: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment, activeDocumentId: string | null | undefined, options?: import('./helpers/comment-document-scope.js').BelongsToDocumentOptions) => boolean; viewingVisibility: { documentMode: string; commentsVisible: boolean; trackChangesVisible: boolean; }; isViewingMode: import('vue').ComputedRef; shouldRenderReviewInViewing: import('vue').ComputedRef; init: (config?: Object) => void; setViewingVisibility: ({ documentMode, commentsVisible, trackChangesVisible }?: {}) => void; getComment: (id: unknown) => import('./helpers/comment-identity.js').CommentIdentityRow | null; setActiveComment: (superdoc: Object | undefined | null, id: string | undefined | null) => void; getPendingComment: ({ selection, documentId, parentCommentId, ...options }: { selection?: Object | undefined; documentId?: string | null | undefined; parentCommentId?: string | null | undefined; }) => ReturnType; showAddComment: (superdoc: any, targetClientY?: null) => any; addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: { superdoc: any; comment: any; skipEditorUpdate?: boolean | undefined; broadcastChanges?: boolean | undefined; }) => { ok: boolean; reason?: string; detail?: string; code?: string; } | Promise<{ ok: boolean; reason?: string; detail?: string; code?: string; }>; addHydratedComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: { superdoc: any; comment: any; skipEditorUpdate?: boolean | undefined; broadcastChanges?: boolean | undefined; }) => { ok: boolean; reason?: string; detail?: string; code?: string; } | Promise<{ ok: boolean; reason?: string; detail?: string; code?: string; }>; cancelComment: (superdoc: any) => void; deleteComment: ({ commentId: commentIdToDelete, superdoc }: { commentId: any; superdoc: any; }) => Promise; removePendingComment: (superdoc: any) => void; removeCommentsForDocument: (documentId: string | null | undefined) => void; setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: { commentItems?: never[] | undefined; trackedChangeItems?: never[] | undefined; }) => { ok: boolean; reason: string; count?: undefined; } | { ok: boolean; count: number; reason?: undefined; }; clearReviewDirectory: () => void; handleEditorLocationsUpdate: (allCommentPositions: Object, options?: { retainMissingTrackedChangeGeometry?: boolean; retainedTrackedChangeIds?: Iterable; }) => void; clearEditorCommentPositions: () => void; handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: { superdoc: Object; params: Object; }) => void; syncResolvedCommentsWithDocument: () => number; setActiveFloatingCommentInstance: (instanceId?: null) => void; requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void; peekInstantSidebarAlignment: () => null; clearInstantSidebarAlignment: () => void; decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: { superdoc: Object; comment: Object; decision: string; }) => { ok: boolean; success?: boolean; reason?: string; } | Promise<{ ok: boolean; success?: boolean; reason?: string; }>; v2CommentsAdapter: import('vue').ShallowRef; setV2CommentsAdapter: (adapter: any) => void; getV2CommentsAdapter: (superdoc: any) => any; applyReviewWindowFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, preparedReview, requestedCommentIds, requestedTrackedChangeIds, unresolvedCommentIds, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => { ok: boolean; geometryOnly: boolean; commentItems?: undefined; trackedItems?: undefined; reason?: undefined; detail?: undefined; } | { ok: boolean; commentItems: any; trackedItems: any; geometryOnly?: undefined; reason?: undefined; detail?: undefined; } | { ok: boolean; reason: any; geometryOnly?: undefined; commentItems?: undefined; trackedItems?: undefined; detail?: undefined; } | { ok: boolean; reason: string; detail: any; geometryOnly?: undefined; commentItems?: undefined; trackedItems?: undefined; }; reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: { preparedInputs?: null | undefined; pruneStale?: boolean | undefined; }) => { added: null; dropped: string; } | { added: any; dropped?: undefined; }; announceV2CommentCreated: ({ superdoc, commentId }?: {}) => Promise<{ ok: boolean; reason: string; detail?: undefined; comment?: undefined; } | { ok: boolean; reason: string; detail: any; comment?: undefined; } | { ok: boolean; comment: any; reason?: undefined; detail?: undefined; }>; dropCommentsFromMutationImpact: ({ superdoc, documentId, removedIds }?: {}) => { ok: boolean; removedIds: (string | null)[]; }; isV2EditorActive: (superdoc: any) => boolean; replyCommentV2: ({ superdoc, parentCommentId, text, mentions, trackedChangeTarget }?: { superdoc?: Object | undefined; parentCommentId?: string | null | undefined; text?: string | undefined; mentions?: { name?: string | null; email?: string | null; }[] | undefined; trackedChangeTarget?: { kind: "trackedChange"; trackedChangeId: string; story?: unknown; side?: import('./helpers/tracked-change-thread-index.js').TrackedChangeSideGroup; } | undefined; }) => Promise; editCommentV2: ({ superdoc, commentId, text }?: {}) => Promise; resolveCommentV2: ({ superdoc, commentId }?: {}) => Promise; reopenCommentV2: ({ superdoc, commentId }?: {}) => Promise; v2TrackedChangesAdapter: import('vue').ShallowRef; setV2TrackedChangesAdapter: (adapter: any) => void; getV2TrackedChangesAdapter: (superdoc: any) => any; getV2TrackedChangeRowCount: (documentId?: null) => number; reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, remappedPairs, allResolved, }?: { upsertIds?: never[] | undefined; removedIds?: never[] | undefined; remappedPairs?: never[] | undefined; }) => Promise<{ ok: boolean; reason: string; items?: undefined; resolvedIds?: undefined; unresolvedIds?: undefined; allResolved?: undefined; removedRows?: undefined; removedIds?: undefined; } | { ok: boolean; items: never[]; resolvedIds: never[]; unresolvedIds: never[]; allResolved: boolean; removedRows: number; reason?: undefined; removedIds?: undefined; } | { ok: boolean; items: never[]; resolvedIds: never[]; unresolvedIds: (string | null)[]; removedIds: (string | null)[]; reason?: undefined; allResolved?: undefined; removedRows?: undefined; }>; reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, preparedPresentation, previousPreparedPresentation, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: { pruneStale?: boolean | undefined; preparedParams?: null | undefined; preparedPresentation?: null | undefined; previousPreparedPresentation?: null | undefined; liveIds?: null | undefined; liveAnchorKeys?: null | undefined; }) => { liveIds: Set; liveAnchorKeys: Set; appliedCount: number; } | undefined; remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void; }, "COMMENT_EVENTS" | "hasSyncedCollaborationComments" | "editingCommentId" | "activeComment" | "activeFloatingCommentInstanceId" | "suppressInternalExternal" | "pendingComment" | "currentCommentText" | "currentCommentMentions" | "commentsList" | "reviewDirectoryList" | "isCommentsListVisible" | "isReviewDirectoryActive" | "isReviewDirectoryLoading" | "generalCommentIds" | "editorCommentIds" | "commentsParentElement" | "editorCommentPositions" | "hasInitializedLocations" | "isCommentHighlighted" | "floatingCommentsOffset" | "committedReviewPresentations" | "skipSelectionUpdate" | "isFloatingCommentsReady" | "instantSidebarAlignmentTargetY" | "instantSidebarAlignmentThreadId" | "instantSidebarAlignmentInstanceId" | "viewingVisibility" | "v2CommentsAdapter" | "v2TrackedChangesAdapter">, Pick<{ COMMENT_EVENTS: { readonly RESOLVED: "resolved"; readonly NEW: "new"; readonly ADD: "add"; readonly UPDATE: "update"; readonly DELETED: "deleted"; readonly PENDING: "pending"; readonly SELECTED: "selected"; readonly COMMENTS_LIST: "comments-list"; readonly CHANGE_ACCEPTED: "change-accepted"; readonly CHANGE_REJECTED: "change-rejected"; }; hasSyncedCollaborationComments: import('vue').Ref; editingCommentId: import('vue').Ref; activeComment: import('vue').Ref; activeFloatingCommentInstanceId: import('vue').Ref; suppressInternalExternal: import('vue').Ref; pendingComment: import('vue').Ref; currentCommentText: import('vue').Ref; currentCommentMentions: import('vue').Ref; commentsList: import('vue').Ref; reviewDirectoryList: import('vue').ShallowRef; isCommentsListVisible: import('vue').Ref; isReviewDirectoryActive: import('vue').Ref; isReviewDirectoryLoading: import('vue').Ref; generalCommentIds: import('vue').Ref; editorCommentIds: import('vue').Ref; commentsParentElement: import('vue').Ref; editorCommentPositions: import('vue').Ref<{}, {}>; hasInitializedLocations: import('vue').Ref; isCommentHighlighted: import('vue').Ref; floatingCommentsOffset: import('vue').Ref; committedReviewPresentations: import('vue').ShallowRef<{}, {}>; skipSelectionUpdate: import('vue').Ref; isFloatingCommentsReady: import('vue').Ref; instantSidebarAlignmentTargetY: import('vue').Ref; instantSidebarAlignmentThreadId: import('vue').Ref; instantSidebarAlignmentInstanceId: import('vue').Ref; getConfig: import('vue').ComputedRef<{ name: string; readOnly: boolean; allowResolve: boolean; showResolved: boolean; }>; documentsWithConverations: import('vue').ComputedRef; getGroupedComments: import('vue').ComputedRef<{ parentComments: any[]; resolvedComments: any[]; }>; getGroupedReviewDirectory: import('vue').ComputedRef<{ parentComments: any[]; resolvedComments: any[]; }>; hasOpenTrackedChanges: import('vue').ComputedRef; getFloatingComments: import('vue').ComputedRef; getFloatingCommentInstances: import('vue').ComputedRef<{ id: string; threadId: string | null; comment: any; positionKey: string | null; positionEntry: { pageIndex?: number | null; rects?: readonly ({ pageIndex?: number | null; left?: number; top?: number; right?: number; bottom?: number; } | null | undefined)[] | null; bounds?: Partial<{ left: number; top: number; right: number; bottom: number; width: number; height: number; }> | null; } | null; pageIndex: number | null; isPrimary: boolean; }[]>; getCommentAliasIds: (commentOrId: string | number | import('./helpers/comment-identity.js').CommentIdentityRow | null | undefined) => string[]; getTrackedChangeThread: (parentComment: any) => any[] | readonly never[]; getCommentPositionKey: (commentOrId: import('./helpers/comment-identity.js').CommentIdentityRow | string | null | undefined) => unknown; getCommentPosition: (commentOrId: Object | string) => Object | null; resolveCommentPositionEntry: (commentOrId: string | number | import('./helpers/comment-identity.js').CommentIdentityRow | null | undefined, preferredId?: unknown) => { key: string; entry: import('./helpers/comment-identity.js').CommentPositionEntry; } | { key: null; entry: null; }; getCommentDocumentId: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment) => string | null; belongsToDocument: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment, activeDocumentId: string | null | undefined, options?: import('./helpers/comment-document-scope.js').BelongsToDocumentOptions) => boolean; viewingVisibility: { documentMode: string; commentsVisible: boolean; trackChangesVisible: boolean; }; isViewingMode: import('vue').ComputedRef; shouldRenderReviewInViewing: import('vue').ComputedRef; init: (config?: Object) => void; setViewingVisibility: ({ documentMode, commentsVisible, trackChangesVisible }?: {}) => void; getComment: (id: unknown) => import('./helpers/comment-identity.js').CommentIdentityRow | null; setActiveComment: (superdoc: Object | undefined | null, id: string | undefined | null) => void; getPendingComment: ({ selection, documentId, parentCommentId, ...options }: { selection?: Object | undefined; documentId?: string | null | undefined; parentCommentId?: string | null | undefined; }) => ReturnType; showAddComment: (superdoc: any, targetClientY?: null) => any; addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: { superdoc: any; comment: any; skipEditorUpdate?: boolean | undefined; broadcastChanges?: boolean | undefined; }) => { ok: boolean; reason?: string; detail?: string; code?: string; } | Promise<{ ok: boolean; reason?: string; detail?: string; code?: string; }>; addHydratedComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: { superdoc: any; comment: any; skipEditorUpdate?: boolean | undefined; broadcastChanges?: boolean | undefined; }) => { ok: boolean; reason?: string; detail?: string; code?: string; } | Promise<{ ok: boolean; reason?: string; detail?: string; code?: string; }>; cancelComment: (superdoc: any) => void; deleteComment: ({ commentId: commentIdToDelete, superdoc }: { commentId: any; superdoc: any; }) => Promise; removePendingComment: (superdoc: any) => void; removeCommentsForDocument: (documentId: string | null | undefined) => void; setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: { commentItems?: never[] | undefined; trackedChangeItems?: never[] | undefined; }) => { ok: boolean; reason: string; count?: undefined; } | { ok: boolean; count: number; reason?: undefined; }; clearReviewDirectory: () => void; handleEditorLocationsUpdate: (allCommentPositions: Object, options?: { retainMissingTrackedChangeGeometry?: boolean; retainedTrackedChangeIds?: Iterable; }) => void; clearEditorCommentPositions: () => void; handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: { superdoc: Object; params: Object; }) => void; syncResolvedCommentsWithDocument: () => number; setActiveFloatingCommentInstance: (instanceId?: null) => void; requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void; peekInstantSidebarAlignment: () => null; clearInstantSidebarAlignment: () => void; decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: { superdoc: Object; comment: Object; decision: string; }) => { ok: boolean; success?: boolean; reason?: string; } | Promise<{ ok: boolean; success?: boolean; reason?: string; }>; v2CommentsAdapter: import('vue').ShallowRef; setV2CommentsAdapter: (adapter: any) => void; getV2CommentsAdapter: (superdoc: any) => any; applyReviewWindowFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, preparedReview, requestedCommentIds, requestedTrackedChangeIds, unresolvedCommentIds, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => { ok: boolean; geometryOnly: boolean; commentItems?: undefined; trackedItems?: undefined; reason?: undefined; detail?: undefined; } | { ok: boolean; commentItems: any; trackedItems: any; geometryOnly?: undefined; reason?: undefined; detail?: undefined; } | { ok: boolean; reason: any; geometryOnly?: undefined; commentItems?: undefined; trackedItems?: undefined; detail?: undefined; } | { ok: boolean; reason: string; detail: any; geometryOnly?: undefined; commentItems?: undefined; trackedItems?: undefined; }; reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: { preparedInputs?: null | undefined; pruneStale?: boolean | undefined; }) => { added: null; dropped: string; } | { added: any; dropped?: undefined; }; announceV2CommentCreated: ({ superdoc, commentId }?: {}) => Promise<{ ok: boolean; reason: string; detail?: undefined; comment?: undefined; } | { ok: boolean; reason: string; detail: any; comment?: undefined; } | { ok: boolean; comment: any; reason?: undefined; detail?: undefined; }>; dropCommentsFromMutationImpact: ({ superdoc, documentId, removedIds }?: {}) => { ok: boolean; removedIds: (string | null)[]; }; isV2EditorActive: (superdoc: any) => boolean; replyCommentV2: ({ superdoc, parentCommentId, text, mentions, trackedChangeTarget }?: { superdoc?: Object | undefined; parentCommentId?: string | null | undefined; text?: string | undefined; mentions?: { name?: string | null; email?: string | null; }[] | undefined; trackedChangeTarget?: { kind: "trackedChange"; trackedChangeId: string; story?: unknown; side?: import('./helpers/tracked-change-thread-index.js').TrackedChangeSideGroup; } | undefined; }) => Promise; editCommentV2: ({ superdoc, commentId, text }?: {}) => Promise; resolveCommentV2: ({ superdoc, commentId }?: {}) => Promise; reopenCommentV2: ({ superdoc, commentId }?: {}) => Promise; v2TrackedChangesAdapter: import('vue').ShallowRef; setV2TrackedChangesAdapter: (adapter: any) => void; getV2TrackedChangesAdapter: (superdoc: any) => any; getV2TrackedChangeRowCount: (documentId?: null) => number; reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, remappedPairs, allResolved, }?: { upsertIds?: never[] | undefined; removedIds?: never[] | undefined; remappedPairs?: never[] | undefined; }) => Promise<{ ok: boolean; reason: string; items?: undefined; resolvedIds?: undefined; unresolvedIds?: undefined; allResolved?: undefined; removedRows?: undefined; removedIds?: undefined; } | { ok: boolean; items: never[]; resolvedIds: never[]; unresolvedIds: never[]; allResolved: boolean; removedRows: number; reason?: undefined; removedIds?: undefined; } | { ok: boolean; items: never[]; resolvedIds: never[]; unresolvedIds: (string | null)[]; removedIds: (string | null)[]; reason?: undefined; allResolved?: undefined; removedRows?: undefined; }>; reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, preparedPresentation, previousPreparedPresentation, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: { pruneStale?: boolean | undefined; preparedParams?: null | undefined; preparedPresentation?: null | undefined; previousPreparedPresentation?: null | undefined; liveIds?: null | undefined; liveAnchorKeys?: null | undefined; }) => { liveIds: Set; liveAnchorKeys: Set; appliedCount: number; } | undefined; remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void; }, "getConfig" | "documentsWithConverations" | "getGroupedComments" | "getGroupedReviewDirectory" | "hasOpenTrackedChanges" | "getFloatingComments" | "getFloatingCommentInstances" | "isViewingMode" | "shouldRenderReviewInViewing">, Pick<{ COMMENT_EVENTS: { readonly RESOLVED: "resolved"; readonly NEW: "new"; readonly ADD: "add"; readonly UPDATE: "update"; readonly DELETED: "deleted"; readonly PENDING: "pending"; readonly SELECTED: "selected"; readonly COMMENTS_LIST: "comments-list"; readonly CHANGE_ACCEPTED: "change-accepted"; readonly CHANGE_REJECTED: "change-rejected"; }; hasSyncedCollaborationComments: import('vue').Ref; editingCommentId: import('vue').Ref; activeComment: import('vue').Ref; activeFloatingCommentInstanceId: import('vue').Ref; suppressInternalExternal: import('vue').Ref; pendingComment: import('vue').Ref; currentCommentText: import('vue').Ref; currentCommentMentions: import('vue').Ref; commentsList: import('vue').Ref; reviewDirectoryList: import('vue').ShallowRef; isCommentsListVisible: import('vue').Ref; isReviewDirectoryActive: import('vue').Ref; isReviewDirectoryLoading: import('vue').Ref; generalCommentIds: import('vue').Ref; editorCommentIds: import('vue').Ref; commentsParentElement: import('vue').Ref; editorCommentPositions: import('vue').Ref<{}, {}>; hasInitializedLocations: import('vue').Ref; isCommentHighlighted: import('vue').Ref; floatingCommentsOffset: import('vue').Ref; committedReviewPresentations: import('vue').ShallowRef<{}, {}>; skipSelectionUpdate: import('vue').Ref; isFloatingCommentsReady: import('vue').Ref; instantSidebarAlignmentTargetY: import('vue').Ref; instantSidebarAlignmentThreadId: import('vue').Ref; instantSidebarAlignmentInstanceId: import('vue').Ref; getConfig: import('vue').ComputedRef<{ name: string; readOnly: boolean; allowResolve: boolean; showResolved: boolean; }>; documentsWithConverations: import('vue').ComputedRef; getGroupedComments: import('vue').ComputedRef<{ parentComments: any[]; resolvedComments: any[]; }>; getGroupedReviewDirectory: import('vue').ComputedRef<{ parentComments: any[]; resolvedComments: any[]; }>; hasOpenTrackedChanges: import('vue').ComputedRef; getFloatingComments: import('vue').ComputedRef; getFloatingCommentInstances: import('vue').ComputedRef<{ id: string; threadId: string | null; comment: any; positionKey: string | null; positionEntry: { pageIndex?: number | null; rects?: readonly ({ pageIndex?: number | null; left?: number; top?: number; right?: number; bottom?: number; } | null | undefined)[] | null; bounds?: Partial<{ left: number; top: number; right: number; bottom: number; width: number; height: number; }> | null; } | null; pageIndex: number | null; isPrimary: boolean; }[]>; getCommentAliasIds: (commentOrId: string | number | import('./helpers/comment-identity.js').CommentIdentityRow | null | undefined) => string[]; getTrackedChangeThread: (parentComment: any) => any[] | readonly never[]; getCommentPositionKey: (commentOrId: import('./helpers/comment-identity.js').CommentIdentityRow | string | null | undefined) => unknown; getCommentPosition: (commentOrId: Object | string) => Object | null; resolveCommentPositionEntry: (commentOrId: string | number | import('./helpers/comment-identity.js').CommentIdentityRow | null | undefined, preferredId?: unknown) => { key: string; entry: import('./helpers/comment-identity.js').CommentPositionEntry; } | { key: null; entry: null; }; getCommentDocumentId: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment) => string | null; belongsToDocument: (comment: import('./helpers/comment-document-scope.js').DocumentScopedComment, activeDocumentId: string | null | undefined, options?: import('./helpers/comment-document-scope.js').BelongsToDocumentOptions) => boolean; viewingVisibility: { documentMode: string; commentsVisible: boolean; trackChangesVisible: boolean; }; isViewingMode: import('vue').ComputedRef; shouldRenderReviewInViewing: import('vue').ComputedRef; init: (config?: Object) => void; setViewingVisibility: ({ documentMode, commentsVisible, trackChangesVisible }?: {}) => void; getComment: (id: unknown) => import('./helpers/comment-identity.js').CommentIdentityRow | null; setActiveComment: (superdoc: Object | undefined | null, id: string | undefined | null) => void; getPendingComment: ({ selection, documentId, parentCommentId, ...options }: { selection?: Object | undefined; documentId?: string | null | undefined; parentCommentId?: string | null | undefined; }) => ReturnType; showAddComment: (superdoc: any, targetClientY?: null) => any; addComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: { superdoc: any; comment: any; skipEditorUpdate?: boolean | undefined; broadcastChanges?: boolean | undefined; }) => { ok: boolean; reason?: string; detail?: string; code?: string; } | Promise<{ ok: boolean; reason?: string; detail?: string; code?: string; }>; addHydratedComment: ({ superdoc, comment, skipEditorUpdate, broadcastChanges }: { superdoc: any; comment: any; skipEditorUpdate?: boolean | undefined; broadcastChanges?: boolean | undefined; }) => { ok: boolean; reason?: string; detail?: string; code?: string; } | Promise<{ ok: boolean; reason?: string; detail?: string; code?: string; }>; cancelComment: (superdoc: any) => void; deleteComment: ({ commentId: commentIdToDelete, superdoc }: { commentId: any; superdoc: any; }) => Promise; removePendingComment: (superdoc: any) => void; removeCommentsForDocument: (documentId: string | null | undefined) => void; setReviewDirectoryFromV2: ({ superdoc, commentItems, trackedChangeItems }?: { commentItems?: never[] | undefined; trackedChangeItems?: never[] | undefined; }) => { ok: boolean; reason: string; count?: undefined; } | { ok: boolean; count: number; reason?: undefined; }; clearReviewDirectory: () => void; handleEditorLocationsUpdate: (allCommentPositions: Object, options?: { retainMissingTrackedChangeGeometry?: boolean; retainedTrackedChangeIds?: Iterable; }) => void; clearEditorCommentPositions: () => void; handleTrackedChangeUpdate: ({ superdoc, params, broadcastChanges, trackedChangeIdentityIndex, }: { superdoc: Object; params: Object; }) => void; syncResolvedCommentsWithDocument: () => number; setActiveFloatingCommentInstance: (instanceId?: null) => void; requestInstantSidebarAlignment: (targetY?: null, threadId?: null, instanceId?: null) => void; peekInstantSidebarAlignment: () => null; clearInstantSidebarAlignment: () => void; decideTrackedChangeFromSidebar: ({ superdoc, comment, decision }: { superdoc: Object; comment: Object; decision: string; }) => { ok: boolean; success?: boolean; reason?: string; } | Promise<{ ok: boolean; success?: boolean; reason?: string; }>; v2CommentsAdapter: import('vue').ShallowRef; setV2CommentsAdapter: (adapter: any) => void; getV2CommentsAdapter: (superdoc: any) => any; applyReviewWindowFromV2: ({ superdoc, commentsAdapter, trackedChangesAdapter, documentId, commentItems, trackedChangeItems, preparedReview, requestedCommentIds, requestedTrackedChangeIds, unresolvedCommentIds, trackedList, sourceCoverageRevision, evaluatedRevision, patch, }?: {}) => { ok: boolean; geometryOnly: boolean; commentItems?: undefined; trackedItems?: undefined; reason?: undefined; detail?: undefined; } | { ok: boolean; commentItems: any; trackedItems: any; geometryOnly?: undefined; reason?: undefined; detail?: undefined; } | { ok: boolean; reason: any; geometryOnly?: undefined; commentItems?: undefined; trackedItems?: undefined; detail?: undefined; } | { ok: boolean; reason: string; detail: any; geometryOnly?: undefined; commentItems?: undefined; trackedItems?: undefined; }; reconcileCommentsFromV2: ({ superdoc, adapter, documentId, items, preparedInputs, pruneStale, hydrationGeneration, }?: { preparedInputs?: null | undefined; pruneStale?: boolean | undefined; }) => { added: null; dropped: string; } | { added: any; dropped?: undefined; }; announceV2CommentCreated: ({ superdoc, commentId }?: {}) => Promise<{ ok: boolean; reason: string; detail?: undefined; comment?: undefined; } | { ok: boolean; reason: string; detail: any; comment?: undefined; } | { ok: boolean; comment: any; reason?: undefined; detail?: undefined; }>; dropCommentsFromMutationImpact: ({ superdoc, documentId, removedIds }?: {}) => { ok: boolean; removedIds: (string | null)[]; }; isV2EditorActive: (superdoc: any) => boolean; replyCommentV2: ({ superdoc, parentCommentId, text, mentions, trackedChangeTarget }?: { superdoc?: Object | undefined; parentCommentId?: string | null | undefined; text?: string | undefined; mentions?: { name?: string | null; email?: string | null; }[] | undefined; trackedChangeTarget?: { kind: "trackedChange"; trackedChangeId: string; story?: unknown; side?: import('./helpers/tracked-change-thread-index.js').TrackedChangeSideGroup; } | undefined; }) => Promise; editCommentV2: ({ superdoc, commentId, text }?: {}) => Promise; resolveCommentV2: ({ superdoc, commentId }?: {}) => Promise; reopenCommentV2: ({ superdoc, commentId }?: {}) => Promise; v2TrackedChangesAdapter: import('vue').ShallowRef; setV2TrackedChangesAdapter: (adapter: any) => void; getV2TrackedChangesAdapter: (superdoc: any) => any; getV2TrackedChangeRowCount: (documentId?: null) => number; reconcileTrackedChangeMutationFromV2: ({ superdoc, adapter, documentId, upsertIds, removedIds, remappedPairs, allResolved, }?: { upsertIds?: never[] | undefined; removedIds?: never[] | undefined; remappedPairs?: never[] | undefined; }) => Promise<{ ok: boolean; reason: string; items?: undefined; resolvedIds?: undefined; unresolvedIds?: undefined; allResolved?: undefined; removedRows?: undefined; removedIds?: undefined; } | { ok: boolean; items: never[]; resolvedIds: never[]; unresolvedIds: never[]; allResolved: boolean; removedRows: number; reason?: undefined; removedIds?: undefined; } | { ok: boolean; items: never[]; resolvedIds: never[]; unresolvedIds: (string | null)[]; removedIds: (string | null)[]; reason?: undefined; allResolved?: undefined; removedRows?: undefined; }>; reconcileTrackedChangesFromV2: ({ superdoc, adapter, documentId, items, pruneStale, preparedParams, preparedPresentation, previousPreparedPresentation, liveIds: suppliedLiveIds, liveAnchorKeys: suppliedLiveAnchorKeys, hydrationGeneration, }?: { pruneStale?: boolean | undefined; preparedParams?: null | undefined; preparedPresentation?: null | undefined; previousPreparedPresentation?: null | undefined; liveIds?: null | undefined; liveAnchorKeys?: null | undefined; }) => { liveIds: Set; liveAnchorKeys: Set; appliedCount: number; } | undefined; remapTrackedChangeIdentities: (pairs?: any[], { documentId }?: {}) => void; }, "resolveCommentPositionEntry" | "getCommentAliasIds" | "getCommentPositionKey" | "belongsToDocument" | "getComment" | "getTrackedChangeThread" | "getCommentPosition" | "getCommentDocumentId" | "init" | "setViewingVisibility" | "setActiveComment" | "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">>;