import { RightRole } from '@edifice.io/client'; import { CommentOptions, CommentProps, CommentType, UserProfileResult } from '../types'; export declare const CommentContext: import('react').Context<{ displayedComments: CommentProps[] | undefined; defaultComments: CommentProps[] | undefined; editCommentId: string | null; replyToCommentId: string | null; profiles: (UserProfileResult | undefined)[]; options: Partial; type: CommentType; userRights?: Record; setEditCommentId: (value: string | null) => void; setReplyToCommentId: (value: string | null) => void; handleModifyComment: (commentId: string) => void; handleCreateComment: (content: string, replyTo?: string) => void; handleUpdateComment: (comment: string) => void; handleDeleteComment: (id: string) => void; handleReplyToComment: (commentId: string) => void; handleReset: () => void; } | null>;