import * as languages from "../../../../editor/common/languages.js"; import { Action } from "../../../../base/common/actions.js"; import { Disposable } from "../../../../base/common/lifecycle.js"; import { URI } from "../../../../base/common/uri.js"; import { IMarkdownRendererExtraOptions } from "../../../../platform/markdown/browser/markdownRenderer.js"; import { IMarkdownRendererService } from "../../../../platform/markdown/browser/markdownRenderer.service.js"; import { IInstantiationService } from "../../../../platform/instantiation/common/instantiation.js"; import { ICommentService } from "./commentService.service.js"; import { LayoutableEditor } from "./simpleCommentEditor.js"; import { Event } from "../../../../base/common/event.js"; import { INotificationService } from "../../../../platform/notification/common/notification.service.js"; import { IContextMenuService } from "../../../../platform/contextview/browser/contextView.service.js"; import { ICommentThreadWidget } from "../common/commentThreadWidget.js"; import { SubmenuEntryActionViewItem } from "../../../../platform/actions/browser/menuEntryActionViewItem.js"; import { IContextKeyService } from "../../../../platform/contextkey/common/contextkey.service.js"; import { ActionViewItem, IActionViewItemOptions } from "../../../../base/browser/ui/actionbar/actionViewItems.js"; import { IConfigurationService } from "../../../../platform/configuration/common/configuration.service.js"; import { IRange } from "../../../../editor/common/core/range.js"; import { ICellRange } from "../../notebook/common/notebookRange.js"; import { IKeybindingService } from "../../../../platform/keybinding/common/keybinding.service.js"; import { IHoverService } from "../../../../platform/hover/browser/hover.service.js"; import { ITextModelService } from "../../../../editor/common/services/resolverService.service.js"; export declare class CommentNode extends Disposable { private readonly parentEditor; private commentThread; comment: languages.Comment; private pendingEdit; private owner; private resource; private parentThread; private readonly markdownRendererOptions; private instantiationService; private commentService; private notificationService; private contextMenuService; private configurationService; private hoverService; private keybindingService; private readonly textModelService; private readonly markdownRendererService; private _domNode; private _body; private _avatar; private readonly _md; private _plainText; private _clearTimeout; private _editAction; private _commentEditContainer; private _commentDetailsContainer; private _actionsToolbarContainer; private readonly _reactionsActionBar; private readonly _reactionActions; private _reactionActionsContainer?; private _commentEditor; private _commentEditorModel; private _editorHeight; private _isPendingLabel; private _timestamp; private _timestampWidget; private _contextKeyService; private _commentContextValue; private _commentMenus; private _scrollable; private _scrollableElement; private readonly _actionRunner; private readonly toolbar; private _commentFormActions; private _commentEditorActions; private readonly _onDidClick; get domNode(): HTMLElement; isEditing: boolean; constructor(parentEditor: LayoutableEditor, commentThread: languages.CommentThread, comment: languages.Comment, pendingEdit: languages.PendingComment | undefined, owner: string, resource: URI, parentThread: ICommentThreadWidget, markdownRendererOptions: IMarkdownRendererExtraOptions, instantiationService: IInstantiationService, commentService: ICommentService, notificationService: INotificationService, contextMenuService: IContextMenuService, contextKeyService: IContextKeyService, configurationService: IConfigurationService, hoverService: IHoverService, keybindingService: IKeybindingService, textModelService: ITextModelService, markdownRendererService: IMarkdownRendererService); private activeCommentListeners; private createScroll; private updateCommentBody; private updateCommentUserIcon; get onDidClick(): Event>; private createTimestamp; private updateTimestamp; private createHeader; private getToolbarActions; private get commentNodeContext(); private createToolbar; private createActionsToolbar; actionViewItemProvider(action: Action, options: IActionViewItemOptions): ActionViewItem | SubmenuEntryActionViewItem; submitComment(): Promise; private createReactionPicker; private createReactionsContainer; get commentBodyValue(): string; private createCommentEditor; private calculateEditorHeight; getPendingEdit(): languages.PendingComment | undefined; private removeCommentEditor; layout(widthInPixel?: number): void; switchToEditMode(): Promise; private readonly _editModeDisposables; private createCommentWidgetFormActions; private createCommentWidgetEditorActions; setFocus(focused: boolean, visible?: boolean): void; update(newComment: languages.Comment): Promise; private onContextMenu; focus(): void; dispose(): void; }