/** * 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 { LexicalCommand, LexicalEditor, NodeKey, RangeSelection } from 'lexical'; import './index.css'; import * as React from 'react'; import { type Comment, type Comments, type Thread } from './commenting'; export declare const INSERT_INLINE_COMMAND: LexicalCommand; export declare function AddCommentBox({ anchorKey, editor, onAddComment, }: { anchorKey: NodeKey; editor: LexicalEditor; onAddComment: () => void; }): React.JSX.Element; export declare function CommentInputBox({ editor, cancelAddComment, submitAddComment, }: { cancelAddComment: () => void; editor: LexicalEditor; submitAddComment: (commentOrThread: Comment | Thread, isInlineComment: boolean, thread?: Thread, selection?: RangeSelection | null) => void; }): React.JSX.Element; export declare function CommentsPanelListComment({ comment, deleteComment, thread, }: { comment: Comment; deleteComment: (commentOrThread: Comment | Thread, thread?: Thread) => void; thread?: Thread; }): React.JSX.Element; export declare function CommentsPanel({ heading, activeIDs, deleteCommentOrThread, comments, submitAddComment, markNodeMap, setShowComments, }: { heading: string; activeIDs: Array; comments: Comments; deleteCommentOrThread: (commentOrThread: Comment | Thread, thread?: Thread) => void; markNodeMap: Map>; submitAddComment: (commentOrThread: Comment | Thread, isInlineComment: boolean, thread?: Thread) => void; setShowComments: (value: boolean) => void; }): React.JSX.Element; //# sourceMappingURL=index.d.ts.map