import React from 'react';
import { TextEditorProps } from './component.js';
export interface EditorQuillHandle {
    insertText: (text: string) => void;
    getSelection: () => {
        index: number;
        length: number;
    } | null;
    setSelection: (index: number, length: number) => void;
}
export type EditorQuillProps = {
    value: string;
    handleOnChange: (val: string) => void;
} & TextEditorProps;
export declare const QuillEditor: React.ForwardRefExoticComponent<{
    value: string;
    handleOnChange: (val: string) => void;
} & {
    disableToolbar?: boolean;
    onEditorReady?: (insert: EditorQuillHandle["insertText"]) => void;
} & Partial<import("../index.js").InputProps> & React.RefAttributes<EditorQuillHandle>>;
