/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ /// import type { Provider } from '@lexical/yjs'; import type { LexicalCommand } from 'lexical'; import type { Doc } from 'yjs'; import { Comments, wpAndTaskIdType } from '../../commenting'; export declare const INSERT_INLINE_COMMAND: LexicalCommand; export default function CommentPlugin({ providerFactory, handleSaveComments, showComments, setShowComments, userName, userEmail, mentionItems, mentionedEmails, setmentionedEmails, wpAndTaskId, setShowCommentInput, showCommentInput, commentId }: { providerFactory?: (id: string, yjsDocMap: Map) => Provider; handleSaveComments: (comments: Comments) => void; setShowComments: any; showComments: boolean; userName: string; userEmail: string; mentionItems: any; mentionedEmails: any; setmentionedEmails: any; wpAndTaskId: wpAndTaskIdType; showCommentInput: boolean; setShowCommentInput: any; commentId?: string | any; }): JSX.Element;