import type { BuiltinEditorPlugins } from './BuiltinEditorPlugins';
import { Editor, Editor as SlateEditor } from 'slate';
export interface CreateEditorPublicOptions<E extends Editor = Editor> {
    plugins?: BuiltinEditorPlugins[];
    augmentEditor?: (baseEditor: Editor) => Editor | void;
    augmentEditorBuiltins?: (editor: E) => E | void;
}
export interface CreateEditorOptions<E extends Editor = Editor> extends CreateEditorPublicOptions<E> {
    defaultElementType: string;
    addEditorBuiltins: (augmentedBaseEditor: SlateEditor) => E | void;
}
export declare const createEditor: ({ plugins, defaultElementType, augmentEditorBuiltins, addEditorBuiltins, augmentEditor, }: CreateEditorOptions) => import("..").Editor;
export declare const initializeEditor: <E extends import("..").Editor>({ editor, plugins, augmentEditorBuiltins, addEditorBuiltins, augmentEditor, }: Omit<CreateEditorOptions<E>, "defaultElementType"> & {
    editor: Editor;
}) => E;
//# sourceMappingURL=createEditor.d.ts.map