import { BaseEditor, Descendant, Selection, Point, Range, Ancestor, Path } from 'slate';
import { EditorWithEssentials } from './baseEditor';
import { ReactEditor, RenderElementProps } from 'slate-react';
import { HistoryEditor } from 'slate-history';
export declare type Editor = EditorWithEssentials<ReactEditor & HistoryEditor & BaseEditor>;
export declare type EditorElement = {
    [K in string]: unknown;
} & {
    type: string;
    children: Array<Descendant>;
};
export declare type EditorText = {
    [K in string]: unknown;
} & {
    text: string;
};
export declare type EditorDescendant = Descendant;
export declare type EditorAncestor = Ancestor;
export declare type EditorSelection = Selection;
export declare type EditorRange = Range;
export declare type EditorPath = Path;
export declare type EditorPoint = Point;
export declare type EditorRenderElementProps = RenderElementProps;
declare module 'slate' {
    interface CustomTypes {
        Editor: Editor;
        Element: EditorElement;
        Text: EditorText;
    }
}
//# sourceMappingURL=slate-types.d.ts.map