import type { IBaseComment, IThreadComment, IThreadCommentDataSource } from '@univerjs/thread-comment'; import { CollaborationSessionService } from '@univerjs-pro/collaboration-client'; import { UserManagerService } from '@univerjs/core'; import { HTTPService } from '@univerjs/network'; export declare class ThreadCommentServerDataSource implements IThreadCommentDataSource { private readonly _httpService; private readonly _userService; private readonly _sessionService; constructor(_httpService: HTTPService, _userService: UserManagerService, _sessionService: CollaborationSessionService); addComment(comment: IThreadComment): Promise; updateComment(comment: IThreadComment): Promise; resolveComment(comment: IThreadComment): Promise; deleteComment(unitId: string, subUnitId: string, threadId: string, commentId: string): Promise; listComments(unitId: string, subUnitId: string, threadIds: string[]): Promise; saveCommentToSnapshot(comment: IThreadComment): { id: string; threadId: string; ref: string; }; }