import { TEditor, Value } from "../../slate/editor/TEditor"; import { TazeEditor } from "../../types/taze/TazeEditor"; import { PluginOptions, TazePlugin } from "../../types/plugin/TazePlugin"; import { WithTazeOptions } from "../../plugins/withTaze"; import { OverrideByKey, TazePluginComponent } from "../../types"; export interface CreateTazeEditorOptions = TEditor> extends Omit>, "plugins"> { editor?: E; plugins?: TazePlugin[]; components?: Record; overrideByKey?: OverrideByKey; normalizeInitialValue?: boolean; } /** * Create a Taze editor with: * - `createTEditor` or custom `editor` * - `withTaze` * - custom `components` */ export declare const createTazeEditor: & { children: V; operations: import("../..").TOperation[]; marks: Record | null; isInline: (element: N) => boolean; isVoid: (element: N_1) => boolean; normalizeNode: (entry: import("../..").TNodeEntry) => void; apply: (operation: import("../..").TOperation) => void; getFragment: () => N_4[]; insertFragment: (fragment: N_5[]) => void; insertNode: (node: N_6 | N_6[]) => void; } & import("../../types").UnknownObject & Pick & import("slate-react").ReactEditor & { key: any; id: string; plugins: import("../../types").WithTazePlugin<{}, V, TazeEditor, any>[]; pluginsByKey: Record, any>>; } = Omit & { children: V; operations: import("../..").TOperation[]; marks: Record | null; isInline: (element: N) => boolean; isVoid: (element: N_1) => boolean; normalizeNode: (entry: import("../..").TNodeEntry) => void; apply: (operation: import("../..").TOperation) => void; getFragment: () => N_4[]; insertFragment: (fragment: N_5[]) => void; insertNode: (node: N_6 | N_6[]) => void; } & import("../../types").UnknownObject & Pick & import("slate-react").ReactEditor & { key: any; id: string; plugins: import("../../types").WithTazePlugin<{}, V, TazeEditor, any>[]; pluginsByKey: Record, any>>; }>({ editor, plugins, components, overrideByKey, normalizeInitialValue, ...withTazeOptions }?: CreateTazeEditorOptions) => E & Omit & { children: V; operations: import("../..").TOperation[]; marks: Record | null; isInline: (element: N) => boolean; isVoid: (element: N_1) => boolean; normalizeNode: (entry: import("../..").TNodeEntry) => void; apply: (operation: import("../..").TOperation) => void; getFragment: () => N_4[]; insertFragment: (fragment: N_5[]) => void; insertNode: (node: N_6 | N_6[]) => void; } & import("../../types").UnknownObject & Pick & import("slate-react").ReactEditor & { key: any; id: string; plugins: import("../../types").WithTazePlugin<{}, V, TazeEditor, any>[]; pluginsByKey: Record, any>>; }; //# sourceMappingURL=createTazeEditor.d.ts.map