import React from 'react';
import { CommonProps } from '@/fields/base-component/types';
import '@/common/field.global.less';
declare const Editor: React.ForwardRefExoticComponent<import("@/fields/base-component/types").FieldProps & {
    label?: string;
    placeholder?: string;
    maxLength?: number;
    value?: import("@udecode/slate-plugins-core").TNode<import("@udecode/slate-plugins-core").AnyObject>[];
    hideEditBtn?: boolean;
    editorWrapperCls?: string;
    onChange?: (value: import("@udecode/slate-plugins-core").TNode<import("@udecode/slate-plugins-core").AnyObject>[]) => void;
    watchChange?: boolean;
    onSave?: (value: import("@udecode/slate-plugins-core").TNode<import("@udecode/slate-plugins-core").AnyObject>[]) => void;
    oncancel?: (value: import("@udecode/slate-plugins-core").TNode<import("@udecode/slate-plugins-core").AnyObject>[]) => void;
} & CommonProps & React.RefAttributes<any>>;
export default Editor;
