import { CommentThread } from "../../../../editor/common/languages.js"; import { ResourceWithCommentThreads, ICommentThreadChangedEvent } from "../common/commentModel.js"; import { Disposable } from "../../../../base/common/lifecycle.js"; export declare function threadHasMeaningfulComments(thread: CommentThread): boolean; export interface ICommentsModel { hasCommentThreads(): boolean; getMessage(): string; readonly resourceCommentThreads: ResourceWithCommentThreads[]; readonly commentThreadsMap: Map; } export declare class CommentsModel extends Disposable implements ICommentsModel { readonly _serviceBrand: undefined; private _resourceCommentThreads; get resourceCommentThreads(): ResourceWithCommentThreads[]; readonly commentThreadsMap: Map; constructor(); private updateResourceCommentThreads; setCommentThreads(uniqueOwner: string, owner: string, ownerLabel: string, commentThreads: CommentThread[]): void; deleteCommentsByOwner(uniqueOwner?: string): void; updateCommentThreads(event: ICommentThreadChangedEvent): boolean; hasCommentThreads(): boolean; getMessage(): string; private groupByResource; private static _compareURIs; }