import React from "react";
import type { PendingImage } from "../../../lib/helpers/pendingImageUpload";
import "react-quill-new/dist/quill.snow.css";
interface RichTextEditorProps {
    value: string;
    onChange: (content: string) => void;
    placeholder?: string;
    blogSlug?: string;
    className?: string;
    onPendingImagesChange?: (images: PendingImage[]) => void;
    testId?: string;
    /** When provided, link hover will fetch preview via this callback. If omitted or fetch fails, fallback tooltip (URL only) is shown. */
    fetchLinkPreview?: (url: string) => Promise<{
        title: string | null;
    }>;
}
declare const RichTextEditor: React.FC<RichTextEditorProps>;
export default RichTextEditor;
//# sourceMappingURL=index.d.ts.map