import * as react_jsx_runtime from 'react/jsx-runtime';

type ToolbarButtonType = "undo" | "redo" | "formatBlock" | "fontName" | "fontSize" | "bold" | "italic" | "underline" | "strikethrough" | "foreColor" | "backColor" | "justifyLeft" | "justifyCenter" | "justifyRight" | "justifyFull" | "insertUnorderedList" | "insertOrderedList" | "indent" | "outdent" | "createLink" | "insertImage" | "insertVideo" | "insertTable" | "insertHorizontalRule" | "modeToggle";
interface ToolbarSection {
    name: string;
    buttons: ToolbarButtonType[];
}
interface ToolbarConfig {
    sections?: ToolbarSection[];
    hiddenButtons?: ToolbarButtonType[];
    showSeparators?: boolean;
}
interface RichTextEditorProps {
    initialValue?: string;
    onChange?: (content: string) => void;
    onFocus?: () => void;
    onBlur?: () => void;
    onImageUpload?: (file: File) => Promise<string>;
    placeholder?: string;
    toolbarConfig?: ToolbarConfig;
    disableImages?: boolean;
    disableVideos?: boolean;
    disableTables?: boolean;
    showToolbar?: boolean;
    className?: string;
    height?: string;
    minHeight?: string;
    maxHeight?: string;
    theme?: "light" | "dark";
    airMode?: boolean;
    enableCodeView?: boolean;
    enableFullscreen?: boolean;
}

declare const RichTextEditor: ({ initialValue, onChange, onFocus, onBlur, onImageUpload, placeholder, toolbarConfig, disableImages, disableVideos, disableTables, showToolbar, className, height, minHeight, maxHeight, theme, airMode, enableCodeView, enableFullscreen, }: RichTextEditorProps) => react_jsx_runtime.JSX.Element;

export { RichTextEditor, type RichTextEditorProps };
