import { UploadFile } from "antd"; interface RichTextEditorProps { initialHtml?: string; placeholder?: string; onChange?: (html: string, plainText: string) => void; onFilesChange?: (files: UploadFile[]) => void; minHeight?: string; showMediaUpload?: boolean; /** CRM: hide the emoji button on phones (the system keyboard has emoji). */ hideEmojiOnPhone?: boolean; /** * Controlled attachment list. When provided the editor renders it and reports * every change through onFilesChange; otherwise it keeps its own state. */ files?: UploadFile[]; /** false: the image picker rejects video (default true). */ acceptVideo?: boolean; /** true: one document max; attach-file is disabled while one is attached. */ singleDocument?: boolean; } export default function RichTextEditor({ initialHtml, placeholder, onChange, onFilesChange, minHeight, showMediaUpload, hideEmojiOnPhone, files, acceptVideo, singleDocument, }: RichTextEditorProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=RichTextEditor.d.ts.map