import { LitElement } from 'lit'; import { CommentThread, User } from '../../types/comment.types'; import { CommentsController } from '../../controllers/comments.controller'; /** * A single comment thread card: root comment, nested replies, resolve toggle, * delete, and an inline reply composer. Hovering/clicking the card links to * the pin on the canvas via the CommentsController. */ export declare class SfxCommentThread extends LitElement { thread: CommentThread; controller: CommentsController; getUsers?: (q: string) => User[] | Promise; /** Max users listed in the @mention menu (see `AnnotatorConfig.mentionLimit`). */ mentionLimit?: number; onAttach?: (files: File[]) => unknown; active: boolean; /** Spotlight (background tint) when the linked pin/marker is hovered on the media. */ highlighted: boolean; private replying; private editing; /** Known users (resolved from `getUsers`), used to highlight multi-word * @mentions and to render them with the user's nickname when present. */ private mentionUsers; private _i18n; protected willUpdate(changed: Map): void; static styles: import('lit').CSSResult[]; private renderBody; /** * Resolve a stored user snapshot (e.g. a comment author) to their CURRENT * roster entry by id, so a rename in `getUsers` shows the fresh name. Live * fields win, but anything the roster omits (e.g. a lightweight roster with no * `avatarUrl`) falls back to the stored snapshot rather than being dropped. * Returns the stored snapshot unchanged when the user has left the roster. */ private liveUser; private avatar; private renderAttachments; private onMenuSelect; render(): import('lit-html').TemplateResult<1>; } //# sourceMappingURL=comment-thread.d.ts.map