import { BaseEditor } from 'slate';
import { ReactEditor } from 'slate-react';
import { HistoryEditor } from 'slate-history';
export declare type CustomEditor = BaseEditor & ReactEditor & HistoryEditor;
export declare const ElementTypes: readonly ["paragraph", "block-quote", "bulleted-list", "heading-one", "heading-two", "list-item", "numbered-list"];
export declare const TextWrappers: string[];
export declare type ElementType = typeof ElementTypes[number];
export declare type ElementTextAlignType = 'left' | 'right' | 'center';
export interface CustomElement {
    type: ElementType;
    children: CustomText[];
    textAlign?: ElementTextAlignType;
}
export interface FormattedText {
    text: string;
    bold?: true;
    italic?: true;
    underline?: true;
    color?: string;
}
export declare type FormattedKey = keyof Omit<FormattedText, 'text'>;
export declare type CustomText = FormattedText;
export * from 'slate';
export * from 'slate-react';
export * from 'slate-history';
declare module 'slate' {
    interface CustomTypes {
        Editor: CustomEditor;
        Element: CustomElement;
        Text: CustomText;
    }
}
