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