import { Editor } from "slate"; import { UnknownObject } from "../../types/misc/AnyObject"; import { Modify } from "../../types/misc/types"; import { TElement } from "../element/TElement"; import { TDescendant } from "../node/TDescendant"; import { TNode } from "../node/TNode"; import { TNodeEntry } from "../node/TNodeEntry"; import { TOperation } from "../types/TOperation"; export type Value = TElement[]; /** * A helper type for getting the value of an editor. */ export type ValueOf = E["children"]; export type TEditor = Modify | null; isInline: (element: N) => boolean; isVoid: (element: N) => boolean; normalizeNode: (entry: TNodeEntry) => void; apply: (operation: TOperation) => void; getFragment: () => N[]; insertFragment: (fragment: N[]) => void; insertNode: (node: N | N[]) => void; }> & UnknownObject; //# sourceMappingURL=TEditor.d.ts.map