/// <reference types="react" />
import { BraftEditorProps, EditorState, HooksType } from 'braft-editor';
import { Locale } from '../locale/interface';
export interface TagProps {
    fieldName: string;
    htmlValue: string;
}
export interface IHooksType extends HooksType {
    'before-preview': (editorState: EditorState) => string;
}
export interface IBraftEditorProps extends Omit<BraftEditorProps, 'value' | 'defaultValue' | 'hooks' | 'onChange'> {
    value?: string;
    defaultValue?: string;
    maxLength?: number;
    className?: string;
    tagList?: TagProps[];
    componentBelowControlBar?: React.ReactNode | (({ onChoseTags }: {
        onChoseTags: Function;
    }) => React.ReactNode);
    hooks?: IHooksType;
    simple?: boolean;
    onChange?: (html: string, editorState: EditorState) => void;
}
export interface KeyProps {
    tagList: TagProps[];
    onClick: Function;
    locales: Locale;
}
