import { SideSheetProps } from "../SideSheet/SideSheet.types.js"; import { CommentData } from "./Comment.js"; import { FC, ReactNode } from "react"; //#region src/organisms/Comments/Comments.d.ts type DistributiveOmit = T extends unknown ? Omit : never; type CommentsProps = { comments: CommentData[]; readonly?: boolean; onAddComment?: ({ text, mentions }: { text: string; mentions: string[]; }) => void; onEditComment?: ({ id, text, mentions }: { id: string; text: string; mentions: string[]; }) => void; onDeleteComment?: (commentId: string) => void; subHeaderElements?: ReactNode; emptyContent?: ReactNode; users?: string[]; } & DistributiveOmit; declare const Comments: FC; //#endregion export { Comments, CommentsProps };