import { ReactNode } from 'react'; export interface CommentConfiguration { disableMarkAsRead?: boolean; disableDeleteThread?: boolean; disableEditComment?: boolean; disableDeleteComment?: boolean; disableMarkAsResolved?: boolean; } export interface CommentProps { comments?: Record; resolvedComments?: string[]; author?: string; badgeKey?: string; defaultShowPanel?: boolean; closeOnItemClick?: boolean; configuration?: CommentConfiguration; onCommentItemClick?: (...args: unknown[]) => void; handleMarkAsUnread?: (id: string) => Promise; handleMarkAsRead?: (id: string) => Promise; handleCommentEdit?: (...args: unknown[]) => Promise; handleSaveComment?: (...args: unknown[]) => Promise; handleMarkAsResolved?: (cellId: string, commentsForCell: unknown[]) => Promise; handleUnresolve?: (cellId: string) => Promise; handleCommentDelete?: (id: unknown, comment: unknown) => Promise; handleThreadDelete?: (cellId: string, data: unknown) => Promise; handleFetchResolvedComments?: () => Promise<{ comments?: Record; resolvedComments?: string[]; }>; } export interface CommentsProviderProps { commentProps?: CommentProps; children: ReactNode; } export interface CommentsPanelProps { className?: string; style?: React.CSSProperties; onClose?: () => void; visibleSortOptions?: string[]; } //# sourceMappingURL=CommentsPanel.types.d.ts.map