import Quill, { QuillOptions } from 'quill';
export { default as Quill } from 'quill';
import * as react from 'react';

interface ReactQuillProps {
    value?: string;
    defaultValue?: string;
    onChange?: (content: string) => void;
    options?: QuillOptions;
    readOnly?: boolean;
    placeholder?: string;
    theme?: string;
    modules?: QuillOptions['modules'];
    formats?: string[];
    style?: React.CSSProperties;
    className?: string;
}

interface ReactQuillRef {
    getEditor: () => Quill | null;
}
declare const ReactQuill: react.ForwardRefExoticComponent<ReactQuillProps & react.RefAttributes<ReactQuillRef>>;

export { type ReactQuillProps, ReactQuill as default };
