@uxf/wysiwyg 16.3.0 → 16.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/hooks.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import { PlateId, UxfEditor } from "./types";
2
2
  export declare const useUxfPlateEditorRef: (id?: PlateId) => {
3
3
  [x: string]: unknown;
4
+ redo: () => void;
5
+ undo: () => void;
4
6
  id: string;
5
7
  history: import("platejs").History;
6
8
  marks: import("platejs").EditorMarks | null;
@@ -55,8 +57,6 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
55
57
  shortcuts: import("platejs/react").Shortcuts;
56
58
  };
57
59
  selection: import("platejs").EditorSelection;
58
- redo: () => void;
59
- undo: () => void;
60
60
  dom: {
61
61
  composing: boolean;
62
62
  currentKeyboardEvent: KeyboardEventLike | null;
@@ -67,9 +67,9 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
67
67
  plugins: Record<string, any> & Record<string, import("platejs/react").AnyEditorPlatePlugin>;
68
68
  setOptions: <C extends import("platejs").AnyPluginConfig>(plugin: import("platejs").WithRequiredKey<C>, options: ((state: import("mutative").Draft<Partial<import("platejs").InferOptions<C>>>) => void) | Partial<import("platejs").InferOptions<C>>) => void;
69
69
  getInjectProps: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("platejs").InjectNodeProps<C>;
70
- getOption: <C extends import("platejs").AnyPluginConfig, StateType extends import("platejs").InferOptions<C>, TSelectors extends import("platejs").InferSelectors<C>, K$1 extends keyof StateType | keyof TSelectors | "state">(plugin: import("platejs").WithRequiredKey<C>, key: K$1, ...args: K$1 extends keyof TSelectors ? Parameters<TSelectors[K$1]> : []) => K$1 extends "state" ? StateType : K$1 extends keyof TSelectors ? ReturnType<TSelectors[K$1]> : K$1 extends keyof StateType ? StateType[K$1] : never;
70
+ getOption: <C extends import("platejs").AnyPluginConfig, StateType extends import("platejs").InferOptions<C>, TSelectors extends import("platejs").InferSelectors<C>, K$1 extends keyof StateType | keyof TSelectors | 'state'>(plugin: import("platejs").WithRequiredKey<C>, key: K$1, ...args: K$1 extends keyof TSelectors ? Parameters<TSelectors[K$1]> : []) => K$1 extends 'state' ? StateType : K$1 extends keyof TSelectors ? ReturnType<TSelectors[K$1]> : K$1 extends keyof StateType ? StateType[K$1] : never;
71
71
  getOptions: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("platejs").InferOptions<C>;
72
- getOptionsStore: <C extends import("platejs").AnyPluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("zustand-x").TStateApi<import("platejs").InferOptions<C>, [["zustand/mutative-x", never]], {}, import("platejs").InferSelectors<C>>;
72
+ getOptionsStore: <C extends import("platejs").AnyPluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("zustand-x").TStateApi<import("platejs").InferOptions<C>, [['zustand/mutative-x', never]], {}, import("platejs").InferSelectors<C>>;
73
73
  getPlugin: (<C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig<any, {}, {}, {}, {}>>(plugin: import("platejs").WithRequiredKey<C>) => C extends {
74
74
  node: any;
75
75
  } ? C : import("platejs").EditorPlugin<C>) & (<C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => C extends {
@@ -80,18 +80,18 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
80
80
  api: import("platejs").EditorApi & import("platejs").UnionToIntersection<import("platejs").InferApi<import("platejs/react").PlateCorePlugin>>;
81
81
  tf: import("platejs").EditorTransforms & import("platejs").UnionToIntersection<import("platejs").InferTransforms<import("platejs/react").PlateCorePlugin>>;
82
82
  transforms: import("platejs").EditorTransforms & import("platejs").UnionToIntersection<import("platejs").InferTransforms<import("platejs/react").PlateCorePlugin>>;
83
- getApi: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin?: import("platejs").WithRequiredKey<C>) => import("platejs/react").PlateEditor["api"] & import("platejs").InferApi<C>;
84
- getTransforms: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin?: import("platejs").WithRequiredKey<C>) => import("platejs/react").PlateEditor["tf"] & import("platejs").InferTransforms<C>;
85
- uid?: string | undefined;
83
+ getApi: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin?: import("platejs").WithRequiredKey<C>) => import("platejs/react").PlateEditor['api'] & import("platejs").InferApi<C>;
84
+ getTransforms: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin?: import("platejs").WithRequiredKey<C>) => import("platejs/react").PlateEditor['tf'] & import("platejs").InferTransforms<C>;
85
+ uid?: string;
86
86
  } & {
87
87
  api: {
88
88
  fragment: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(at?: import("platejs").At | null, options?: import("platejs").EditorFragmentOptions) => N[];
89
- getDirtyPaths: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(operation: import("platejs").Operation<N>) => import("platejs").Path[];
89
+ getDirtyPaths: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(operation: import("platejs").Operation<N>) => import("platejs").Path[];
90
90
  getFragment: (at?: import("platejs").At) => import("platejs").ElementOrTextIn<import("./types").WysiwygContent>[];
91
- isElementReadOnly: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N) => boolean;
91
+ isElementReadOnly: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N) => boolean;
92
92
  isSelected: (target: import("platejs").Path | import("platejs").TRange, options?: import("platejs").EditorIsSelectedOptions) => boolean;
93
- isVoid: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N) => boolean;
94
- markableVoid: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N) => boolean;
93
+ isVoid: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N) => boolean;
94
+ markableVoid: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N) => boolean;
95
95
  setNormalizing: (isNormalizing: boolean) => void;
96
96
  shouldMergeNodes: (prevNodeEntry: import("platejs").NodeEntry, curNodeEntry: import("platejs").NodeEntry, options?: {
97
97
  reverse?: boolean;
@@ -110,7 +110,7 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
110
110
  after: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorAfterOptions) => import("slate").BasePoint | undefined>;
111
111
  before: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorBeforeOptions) => import("platejs").Point | undefined>;
112
112
  edges: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => [import("slate").BasePoint, import("slate").BasePoint] | undefined>;
113
- elementReadOnly: import("platejs").OmitFirst<(<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options?: import("platejs").EditorElementReadOnlyOptions) => import("slate").NodeEntry<import("slate").BaseElement> | undefined)>;
113
+ elementReadOnly: import("platejs").OmitFirst<<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options?: import("platejs").EditorElementReadOnlyOptions) => import("slate").NodeEntry<import("slate").BaseElement> | undefined>;
114
114
  end: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorEndOptions) => import("slate").BasePoint | undefined>;
115
115
  hasBlocks: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
116
116
  hasInlines: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
@@ -118,7 +118,7 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
118
118
  hasTexts: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
119
119
  isBlock: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: any) => value is import("platejs").TElement>;
120
120
  isEdge: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point, at: import("platejs").TLocation) => boolean>;
121
- isEmpty: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, target?: import("platejs").At | null, options?: import("platejs").EditorEmptyOptions) => boolean)>;
121
+ isEmpty: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, target?: import("platejs").At | null, options?: import("platejs").EditorEmptyOptions) => boolean>;
122
122
  isEnd: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
123
123
  isNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
124
124
  isStart: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
@@ -137,23 +137,23 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
137
137
  start: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorStartOptions) => import("slate").BasePoint | undefined>;
138
138
  string: import("platejs").OmitFirst<(editor: import("platejs").Editor, at?: import("platejs").At | null, options?: import("platejs").EditorStringOptions) => string>;
139
139
  unhangRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange, options?: import("platejs").EditorUnhangRangeOptions) => import("platejs").TRange>;
140
- above: <N extends import("platejs").TElement | import("platejs").Editor<import("platejs").Value>>(options?: import("platejs").EditorAboveOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
141
- first: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(at: import("platejs").At) => import("platejs").NodeEntry<N> | undefined;
140
+ above: <N extends import("platejs").AncestorIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorAboveOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
141
+ first: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(at: import("platejs").At) => import("platejs").NodeEntry<N> | undefined;
142
142
  fragment: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(at: import("platejs").At) => N[] | undefined;
143
143
  hasPath: (path: import("platejs").Path) => boolean;
144
- last: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(at: import("platejs").At, options?: import("platejs").EditorLastOptions) => import("platejs").NodeEntry<N> | undefined;
145
- leaf: <N extends import("platejs").TText | import("./types").EmptyText | import("./types").RichText>(at: import("platejs").At, options?: import("platejs").EditorLeafOptions) => import("platejs").NodeEntry<N> | undefined;
144
+ last: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(at: import("platejs").At, options?: import("platejs").EditorLastOptions) => import("platejs").NodeEntry<N> | undefined;
145
+ leaf: <N extends import("platejs").TextIn<import("./types").WysiwygContent>>(at: import("platejs").At, options?: import("platejs").EditorLeafOptions) => import("platejs").NodeEntry<N> | undefined;
146
146
  levels: <N extends import("platejs").NodeIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorLevelsOptions<import("./types").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
147
147
  marks: () => {
148
148
  [x: string]: unknown;
149
149
  [x: number]: unknown;
150
150
  } | null;
151
- next: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(options?: import("platejs").EditorNextOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
152
- node: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(atOrOptions: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | import("platejs").AtOrDescendant, nodeOptions?: import("platejs").EditorNodeOptions) => import("platejs").NodeEntry<N> | undefined;
153
- nodes: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(options?: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
154
- parent: <N extends import("platejs").TElement | import("platejs").Editor<import("platejs").Value>>(at: import("platejs").At, options?: import("platejs").EditorParentOptions) => import("platejs").NodeEntry<N> | undefined;
155
- previous: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(options?: import("platejs").EditorPreviousOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
156
- void: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(options?: import("platejs").EditorVoidOptions) => import("platejs").NodeEntry<N> | undefined;
151
+ next: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorNextOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
152
+ node: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(atOrOptions: import("platejs").AtOrDescendant | import("platejs").EditorNodesOptions<import("./types").WysiwygContent>, nodeOptions?: import("platejs").EditorNodeOptions) => import("platejs").NodeEntry<N> | undefined;
153
+ nodes: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
154
+ parent: <N extends import("platejs").AncestorIn<import("./types").WysiwygContent>>(at: import("platejs").At, options?: import("platejs").EditorParentOptions) => import("platejs").NodeEntry<N> | undefined;
155
+ previous: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorPreviousOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
156
+ void: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorVoidOptions) => import("platejs").NodeEntry<N> | undefined;
157
157
  } & {
158
158
  findDocumentOrShadowRoot: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Document | ShadowRoot | undefined>;
159
159
  findEventRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, event: any) => import("slate").BaseRange | undefined>;
@@ -170,18 +170,18 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
170
170
  toDOMNode: import("platejs").OmitFirst<(editor: import("platejs").Editor, node: import("platejs").TNode) => HTMLElement | undefined>;
171
171
  toDOMPoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point) => import("slate-dom").DOMPoint | undefined>;
172
172
  toDOMRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange) => Range | undefined>;
173
- toSlatePoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, domPoint: import("slate-dom").DOMPoint, options: Omit<Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domPoint: import("slate-dom").DOMPoint, options: {
173
+ toSlatePoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, domPoint: import("slate-dom").DOMPoint, options: Omit<Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domPoint: import("slate-dom").DOMPoint, options: {
174
174
  exactMatch: boolean;
175
175
  suppressThrow: T;
176
- searchDirection?: "forward" | "backward";
177
- }) => T extends true ? import("slate").Point | null : import("slate").Point)>[2], "suppressThrow">) => import("slate").BasePoint | null | undefined>;
178
- toSlateRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, domRange: Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
176
+ searchDirection?: 'forward' | 'backward';
177
+ }) => T extends true ? import("slate").Point | null : import("slate").Point>[2], "suppressThrow">) => import("slate").BasePoint | null | undefined>;
178
+ toSlateRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, domRange: Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
179
179
  exactMatch: boolean;
180
180
  suppressThrow: T;
181
- }) => T extends true ? import("slate").Range | null : import("slate").Range)>[1], options: Omit<Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
181
+ }) => T extends true ? import("slate").Range | null : import("slate").Range>[1], options: Omit<Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
182
182
  exactMatch: boolean;
183
183
  suppressThrow: T;
184
- }) => T extends true ? import("slate").Range | null : import("slate").Range)>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
184
+ }) => T extends true ? import("slate").Range | null : import("slate").Range>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
185
185
  findPath: (node: import("platejs").TNode, options?: import("platejs").EditorFindPathOptions) => import("platejs").Path | undefined;
186
186
  hasEditableTarget: (target: EventTarget | null) => target is Node;
187
187
  hasSelectableTarget: (target: EventTarget | null) => target is Node;
@@ -196,7 +196,7 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
196
196
  block: (node?: Partial<import("platejs").TElement>, path?: import("platejs").Path) => import("platejs").TElement;
197
197
  value: () => import("platejs").Value;
198
198
  };
199
- isAt: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
199
+ isAt: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
200
200
  at?: import("platejs").TLocation | null;
201
201
  block?: boolean;
202
202
  blocks?: boolean;
@@ -204,33 +204,32 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
204
204
  start?: boolean;
205
205
  text?: boolean;
206
206
  word?: boolean;
207
- } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean)>;
207
+ } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean>;
208
208
  isText: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => boolean>;
209
209
  scrollIntoView: import("platejs").OmitFirst<(editor: import("platejs").Editor, target: Range | import("platejs").Point, options?: import("platejs").ScrollIntoViewOptions) => void>;
210
- some: import("platejs").OmitFirst<(<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options: import("platejs").EditorNodesOptions<import("platejs").ValueOf<E>>) => boolean)>;
211
- block: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(options?: import("platejs").EditorBlockOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
212
- blocks: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(options?: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N>[];
213
- descendant: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(options: import("platejs").EditorNodesOptions<import("./types").WysiwygContent>) => import("platejs").NodeEntry<N> | undefined;
214
- edgeBlocks: <N1 extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement, N2 extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement = N1>(options?: import("platejs").EditorAboveOptions<import("./types").WysiwygContent> | undefined) => [import("platejs").NodeEntry<N1>, import("platejs").NodeEntry<N2>] | null;
210
+ some: import("platejs").OmitFirst<<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options: import("platejs").EditorNodesOptions<import("platejs").ValueOf<E>>) => boolean>;
211
+ block: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorBlockOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
212
+ blocks: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N>[];
213
+ descendant: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(options: import("platejs").EditorNodesOptions<import("./types").WysiwygContent>) => import("platejs").NodeEntry<N> | undefined;
214
+ edgeBlocks: <N1 extends import("platejs").ElementIn<import("./types").WysiwygContent>, N2 extends import("platejs").ElementIn<import("./types").WysiwygContent> = N1>(options?: import("platejs").EditorAboveOptions<import("./types").WysiwygContent> | undefined) => [import("platejs").NodeEntry<N1>, import("platejs").NodeEntry<N2>] | null;
215
215
  isCollapsed: () => boolean;
216
216
  isEditorEnd: () => boolean;
217
217
  isExpanded: () => boolean;
218
- isInline: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(element: N) => boolean;
219
- isSelectable: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N) => boolean;
220
- mark: <K extends keyof import("./types").RichText>(key: K) => {
218
+ isInline: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(element: N) => boolean;
219
+ isSelectable: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N) => boolean;
220
+ mark: <K extends keyof import("platejs").MarksIn<import("./types").WysiwygContent>>(key: K) => {
221
221
  [x: string]: unknown;
222
222
  [x: number]: unknown;
223
223
  }[K] | null | undefined;
224
224
  nodesRange: (nodes: import("platejs").NodeEntry[]) => import("platejs").TRange | undefined;
225
225
  prop: (options: import("platejs").EditorPropOptions<import("./types").WysiwygContent>) => string | undefined;
226
- } & {
227
- debug: {
228
- error: (message: string | unknown, type?: import("platejs").DebugErrorType, details?: any) => void;
229
- info: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
230
- log: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
231
- warn: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
232
- };
233
- } & {
226
+ } & Record<"html", {
227
+ deserialize: (args_0: {
228
+ element: HTMLElement | string;
229
+ collapseWhiteSpace?: boolean;
230
+ defaultElementPlugin?: import("platejs").WithRequiredKey;
231
+ }) => import("platejs").Descendant[];
232
+ }> & {
234
233
  isElementStateEmpty: (element: import("platejs").TElement) => boolean;
235
234
  redecorate: () => void;
236
235
  } & {
@@ -241,13 +240,14 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
241
240
  clear: () => void;
242
241
  isTarget: (path: import("platejs").Path) => boolean;
243
242
  };
244
- } & Record<"html", {
245
- deserialize: (args_0: {
246
- element: HTMLElement | string;
247
- collapseWhiteSpace?: boolean;
248
- defaultElementPlugin?: import("platejs").WithRequiredKey;
249
- }) => import("platejs").Descendant[];
250
- }> & {
243
+ } & {
244
+ debug: {
245
+ error: (message: string | unknown, type?: import("platejs").DebugErrorType, details?: any) => void;
246
+ info: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
247
+ log: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
248
+ warn: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
249
+ };
250
+ } & {
251
251
  redecorate: (() => void) & (() => void);
252
252
  isElementStateEmpty: (element: import("platejs").TElement) => boolean;
253
253
  };
@@ -302,7 +302,7 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
302
302
  pluginList: import("platejs/react").PlateCorePlugin[];
303
303
  shortcuts: import("platejs/react").Shortcuts;
304
304
  };
305
- operations: import("platejs").Operation<import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>[];
305
+ operations: import("platejs").Operation<import("./types").EmptyText | import("./types").LiElement | import("./types").LicElement | import("./types").RichText | import("./types").UxfLinkElement | import("platejs").TElement | import("platejs").TText>[];
306
306
  plugins: {
307
307
  [x: string]: import("platejs/react").PlateCorePlugin;
308
308
  };
@@ -321,7 +321,7 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
321
321
  withoutNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => boolean | void) => boolean>;
322
322
  escape: () => boolean | undefined;
323
323
  insertFragment: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(fragment: N[], options?: import("platejs").InsertFragmentOptions) => void;
324
- insertNode: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(node: N, options?: import("platejs").InsertNodesOptions<import("./types").WysiwygContent> | undefined) => void;
324
+ insertNode: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(node: N, options?: import("platejs").InsertNodesOptions<import("./types").WysiwygContent> | undefined) => void;
325
325
  insertNodes: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(nodes: N | N[], options?: import("platejs").InsertNodesOptions<import("./types").WysiwygContent> | undefined) => void;
326
326
  insertSoftBreak: () => void;
327
327
  liftNodes: (options?: import("platejs").LiftNodesOptions<import("./types").WysiwygContent> | undefined) => void;
@@ -336,19 +336,19 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
336
336
  removeNodes: (options?: import("platejs").RemoveNodesOptions<import("./types").WysiwygContent> | undefined) => void;
337
337
  replaceNodes: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(nodes: N | N[], options?: import("platejs").ReplaceNodesOptions<import("./types").WysiwygContent> | undefined) => void;
338
338
  selectAll: () => boolean | undefined;
339
- setNodes: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
340
- setNodesBatch: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
339
+ setNodes: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
340
+ setNodesBatch: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
341
341
  splitNodes: (options?: import("platejs").SplitNodesOptions<import("./types").WysiwygContent> | undefined) => void;
342
342
  tab: (options: {
343
343
  reverse: boolean;
344
344
  }) => boolean | undefined;
345
345
  undo: () => void;
346
- unsetNodes: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(props: keyof import("platejs").NodeProps<N> | (keyof import("platejs").NodeProps<N>)[], options?: import("platejs").UnsetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
346
+ unsetNodes: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(props: (keyof import("platejs").NodeProps<N>)[] | keyof import("platejs").NodeProps<N>, options?: import("platejs").UnsetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
347
347
  unwrapNodes: (options?: import("platejs").UnwrapNodesOptions<import("./types").WysiwygContent> | undefined) => void;
348
- wrapNodes: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N, options?: import("platejs").WrapNodesOptions<import("./types").WysiwygContent> | undefined) => void;
349
- writeHistory: (stack: "redos" | "undos", batch: any) => void;
348
+ wrapNodes: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N, options?: import("platejs").WrapNodesOptions<import("./types").WysiwygContent> | undefined) => void;
349
+ writeHistory: (stack: 'redos' | 'undos', batch: any) => void;
350
350
  } & {
351
- delete: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void)>;
351
+ delete: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void>;
352
352
  insertText: (text: string, options?: import("platejs").InsertTextOptions) => void;
353
353
  } & {
354
354
  collapse: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate/dist/interfaces/transforms/selection").SelectionCollapseOptions) => void>;
@@ -361,10 +361,10 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
361
361
  blur: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
362
362
  deselectDOM: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
363
363
  focus: import("platejs").OmitFirst<(editor: import("platejs").Editor, { at, edge, retries }?: import("platejs").FocusOptions) => void>;
364
- insertData: import("slate-dom").DOMEditor["insertData"];
365
- insertFragmentData: import("slate-dom").DOMEditor["insertFragmentData"];
366
- insertTextData: import("slate-dom").DOMEditor["insertTextData"];
367
- setFragmentData: import("slate-dom").DOMEditor["setFragmentData"];
364
+ insertData: import("slate-dom").DOMEditor['insertData'];
365
+ insertFragmentData: import("slate-dom").DOMEditor['insertFragmentData'];
366
+ insertTextData: import("slate-dom").DOMEditor['insertTextData'];
367
+ setFragmentData: import("slate-dom").DOMEditor['setFragmentData'];
368
368
  } & {
369
369
  setSplittingOnce: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: boolean | undefined) => void>;
370
370
  withMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
@@ -372,7 +372,7 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
372
372
  withoutMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
373
373
  withoutSaving: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
374
374
  } & {
375
- apply: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(operation: import("platejs").Operation<N>) => void;
375
+ apply: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(operation: import("platejs").Operation<N>) => void;
376
376
  normalizeNode: <N extends import("platejs").NodeIn<import("./types").WysiwygContent>>(entry: import("platejs").NodeEntry<N>, options?: {
377
377
  operation?: import("platejs").Operation;
378
378
  }) => void;
@@ -396,12 +396,6 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
396
396
  navigate: (options: import("platejs").NavigationNavigateOptions) => boolean;
397
397
  };
398
398
  } & {
399
- nodeId: {
400
- normalize: () => void;
401
- };
402
- } & Record<"nodeId", {
403
- normalize(): void;
404
- }> & {
405
399
  reset: (options: import("platejs").ResetOptions | undefined) => void;
406
400
  init: ((args_0: import("platejs").InitOptions) => void) & ((args_0: import("platejs").InitOptions) => void);
407
401
  insertExitBreak: ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined) & ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined);
@@ -413,7 +407,13 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
413
407
  } | undefined) => true | undefined);
414
408
  setValue: ((value?: string | import("platejs").Value | undefined) => void) & ((value?: string | import("platejs").Value | undefined) => void);
415
409
  apply: <N$1 extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N$1>) => void;
416
- };
410
+ } & {
411
+ nodeId: {
412
+ normalize: () => void;
413
+ };
414
+ } & Record<"nodeId", {
415
+ normalize(): void;
416
+ }>;
417
417
  transforms: {
418
418
  addMark: import("platejs").OmitFirst<(editor: import("platejs").Editor, key: string, value: any) => void>;
419
419
  addMarks: import("platejs").OmitFirst<(editor: import("platejs").Editor, marks: import("platejs").EditorMarks, { remove }?: import("platejs").AddMarksOptions) => void>;
@@ -429,7 +429,7 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
429
429
  withoutNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => boolean | void) => boolean>;
430
430
  escape: () => boolean | undefined;
431
431
  insertFragment: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(fragment: N[], options?: import("platejs").InsertFragmentOptions) => void;
432
- insertNode: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(node: N, options?: import("platejs").InsertNodesOptions<import("./types").WysiwygContent> | undefined) => void;
432
+ insertNode: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(node: N, options?: import("platejs").InsertNodesOptions<import("./types").WysiwygContent> | undefined) => void;
433
433
  insertNodes: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(nodes: N | N[], options?: import("platejs").InsertNodesOptions<import("./types").WysiwygContent> | undefined) => void;
434
434
  insertSoftBreak: () => void;
435
435
  liftNodes: (options?: import("platejs").LiftNodesOptions<import("./types").WysiwygContent> | undefined) => void;
@@ -444,19 +444,19 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
444
444
  removeNodes: (options?: import("platejs").RemoveNodesOptions<import("./types").WysiwygContent> | undefined) => void;
445
445
  replaceNodes: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(nodes: N | N[], options?: import("platejs").ReplaceNodesOptions<import("./types").WysiwygContent> | undefined) => void;
446
446
  selectAll: () => boolean | undefined;
447
- setNodes: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
448
- setNodesBatch: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
447
+ setNodes: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
448
+ setNodesBatch: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
449
449
  splitNodes: (options?: import("platejs").SplitNodesOptions<import("./types").WysiwygContent> | undefined) => void;
450
450
  tab: (options: {
451
451
  reverse: boolean;
452
452
  }) => boolean | undefined;
453
453
  undo: () => void;
454
- unsetNodes: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(props: keyof import("platejs").NodeProps<N> | (keyof import("platejs").NodeProps<N>)[], options?: import("platejs").UnsetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
454
+ unsetNodes: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(props: (keyof import("platejs").NodeProps<N>)[] | keyof import("platejs").NodeProps<N>, options?: import("platejs").UnsetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
455
455
  unwrapNodes: (options?: import("platejs").UnwrapNodesOptions<import("./types").WysiwygContent> | undefined) => void;
456
- wrapNodes: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N, options?: import("platejs").WrapNodesOptions<import("./types").WysiwygContent> | undefined) => void;
457
- writeHistory: (stack: "redos" | "undos", batch: any) => void;
456
+ wrapNodes: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N, options?: import("platejs").WrapNodesOptions<import("./types").WysiwygContent> | undefined) => void;
457
+ writeHistory: (stack: 'redos' | 'undos', batch: any) => void;
458
458
  } & {
459
- delete: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void)>;
459
+ delete: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void>;
460
460
  insertText: (text: string, options?: import("platejs").InsertTextOptions) => void;
461
461
  } & {
462
462
  collapse: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate/dist/interfaces/transforms/selection").SelectionCollapseOptions) => void>;
@@ -469,10 +469,10 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
469
469
  blur: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
470
470
  deselectDOM: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
471
471
  focus: import("platejs").OmitFirst<(editor: import("platejs").Editor, { at, edge, retries }?: import("platejs").FocusOptions) => void>;
472
- insertData: import("slate-dom").DOMEditor["insertData"];
473
- insertFragmentData: import("slate-dom").DOMEditor["insertFragmentData"];
474
- insertTextData: import("slate-dom").DOMEditor["insertTextData"];
475
- setFragmentData: import("slate-dom").DOMEditor["setFragmentData"];
472
+ insertData: import("slate-dom").DOMEditor['insertData'];
473
+ insertFragmentData: import("slate-dom").DOMEditor['insertFragmentData'];
474
+ insertTextData: import("slate-dom").DOMEditor['insertTextData'];
475
+ setFragmentData: import("slate-dom").DOMEditor['setFragmentData'];
476
476
  } & {
477
477
  setSplittingOnce: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: boolean | undefined) => void>;
478
478
  withMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
@@ -480,7 +480,7 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
480
480
  withoutMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
481
481
  withoutSaving: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
482
482
  } & {
483
- apply: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(operation: import("platejs").Operation<N>) => void;
483
+ apply: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(operation: import("platejs").Operation<N>) => void;
484
484
  normalizeNode: <N extends import("platejs").NodeIn<import("./types").WysiwygContent>>(entry: import("platejs").NodeEntry<N>, options?: {
485
485
  operation?: import("platejs").Operation;
486
486
  }) => void;
@@ -504,12 +504,6 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
504
504
  navigate: (options: import("platejs").NavigationNavigateOptions) => boolean;
505
505
  };
506
506
  } & {
507
- nodeId: {
508
- normalize: () => void;
509
- };
510
- } & Record<"nodeId", {
511
- normalize(): void;
512
- }> & {
513
507
  reset: (options: import("platejs").ResetOptions | undefined) => void;
514
508
  init: ((args_0: import("platejs").InitOptions) => void) & ((args_0: import("platejs").InitOptions) => void);
515
509
  insertExitBreak: ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined) & ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined);
@@ -521,15 +515,21 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
521
515
  } | undefined) => true | undefined);
522
516
  setValue: ((value?: string | import("platejs").Value | undefined) => void) & ((value?: string | import("platejs").Value | undefined) => void);
523
517
  apply: <N$1 extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N$1>) => void;
524
- };
518
+ } & {
519
+ nodeId: {
520
+ normalize: () => void;
521
+ };
522
+ } & Record<"nodeId", {
523
+ normalize(): void;
524
+ }>;
525
525
  getApi: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin?: import("platejs").WithRequiredKey<C> | undefined) => {
526
526
  fragment: <N extends import("platejs").ElementOrTextIn<import("platejs").Value>>(at?: import("platejs").At | null, options?: import("platejs").EditorFragmentOptions) => N[];
527
- getDirtyPaths: <N extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N>) => import("platejs").Path[];
527
+ getDirtyPaths: <N extends import("platejs").DescendantIn<import("platejs").Value>>(operation: import("platejs").Operation<N>) => import("platejs").Path[];
528
528
  getFragment: (at?: import("platejs").At) => import("platejs").ElementOrTextIn<import("platejs").Value>[];
529
- isElementReadOnly: <N extends import("platejs").TElement>(element: N) => boolean;
529
+ isElementReadOnly: <N extends import("platejs").ElementIn<import("platejs").Value>>(element: N) => boolean;
530
530
  isSelected: (target: import("platejs").Path | import("platejs").TRange, options?: import("platejs").EditorIsSelectedOptions) => boolean;
531
- isVoid: <N extends import("platejs").TElement>(element: N) => boolean;
532
- markableVoid: <N extends import("platejs").TElement>(element: N) => boolean;
531
+ isVoid: <N extends import("platejs").ElementIn<import("platejs").Value>>(element: N) => boolean;
532
+ markableVoid: <N extends import("platejs").ElementIn<import("platejs").Value>>(element: N) => boolean;
533
533
  setNormalizing: (isNormalizing: boolean) => void;
534
534
  shouldMergeNodes: (prevNodeEntry: import("platejs").NodeEntry, curNodeEntry: import("platejs").NodeEntry, options?: {
535
535
  reverse?: boolean;
@@ -548,7 +548,7 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
548
548
  after: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorAfterOptions) => import("slate").BasePoint | undefined>;
549
549
  before: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorBeforeOptions) => import("platejs").Point | undefined>;
550
550
  edges: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => [import("slate").BasePoint, import("slate").BasePoint] | undefined>;
551
- elementReadOnly: import("platejs").OmitFirst<(<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options?: import("platejs").EditorElementReadOnlyOptions) => import("slate").NodeEntry<import("slate").BaseElement> | undefined)>;
551
+ elementReadOnly: import("platejs").OmitFirst<<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options?: import("platejs").EditorElementReadOnlyOptions) => import("slate").NodeEntry<import("slate").BaseElement> | undefined>;
552
552
  end: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorEndOptions) => import("slate").BasePoint | undefined>;
553
553
  hasBlocks: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
554
554
  hasInlines: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
@@ -556,7 +556,7 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
556
556
  hasTexts: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
557
557
  isBlock: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: any) => value is import("platejs").TElement>;
558
558
  isEdge: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point, at: import("platejs").TLocation) => boolean>;
559
- isEmpty: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, target?: import("platejs").At | null, options?: import("platejs").EditorEmptyOptions) => boolean)>;
559
+ isEmpty: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, target?: import("platejs").At | null, options?: import("platejs").EditorEmptyOptions) => boolean>;
560
560
  isEnd: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
561
561
  isNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
562
562
  isStart: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
@@ -575,22 +575,22 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
575
575
  start: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorStartOptions) => import("slate").BasePoint | undefined>;
576
576
  string: import("platejs").OmitFirst<(editor: import("platejs").Editor, at?: import("platejs").At | null, options?: import("platejs").EditorStringOptions) => string>;
577
577
  unhangRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange, options?: import("platejs").EditorUnhangRangeOptions) => import("platejs").TRange>;
578
- above: <N extends import("platejs").TElement | import("platejs").Editor<import("platejs").Value>>(options?: import("platejs").EditorAboveOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
579
- first: <N extends import("platejs").TElement | import("platejs").TText>(at: import("platejs").At) => import("platejs").NodeEntry<N> | undefined;
578
+ above: <N extends import("platejs").AncestorIn<import("platejs").Value>>(options?: import("platejs").EditorAboveOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
579
+ first: <N extends import("platejs").DescendantIn<import("platejs").Value>>(at: import("platejs").At) => import("platejs").NodeEntry<N> | undefined;
580
580
  fragment: <N extends import("platejs").ElementOrTextIn<import("platejs").Value>>(at: import("platejs").At) => N[] | undefined;
581
581
  hasPath: (path: import("platejs").Path) => boolean;
582
- last: <N extends import("platejs").TElement | import("platejs").TText>(at: import("platejs").At, options?: import("platejs").EditorLastOptions) => import("platejs").NodeEntry<N> | undefined;
583
- leaf: <N extends import("platejs").TText>(at: import("platejs").At, options?: import("platejs").EditorLeafOptions) => import("platejs").NodeEntry<N> | undefined;
582
+ last: <N extends import("platejs").DescendantIn<import("platejs").Value>>(at: import("platejs").At, options?: import("platejs").EditorLastOptions) => import("platejs").NodeEntry<N> | undefined;
583
+ leaf: <N extends import("platejs").TextIn<import("platejs").Value>>(at: import("platejs").At, options?: import("platejs").EditorLeafOptions) => import("platejs").NodeEntry<N> | undefined;
584
584
  levels: <N extends import("platejs").NodeIn<import("platejs").Value>>(options?: import("platejs").EditorLevelsOptions<import("platejs").Value> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
585
585
  marks: () => {
586
586
  [x: string]: unknown;
587
587
  } | null;
588
- next: <N extends import("platejs").TElement | import("platejs").TText>(options?: import("platejs").EditorNextOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
589
- node: <N extends import("platejs").TElement | import("platejs").TText>(atOrOptions: import("platejs").EditorNodesOptions<import("platejs").Value> | import("platejs").AtOrDescendant, nodeOptions?: import("platejs").EditorNodeOptions) => import("platejs").NodeEntry<N> | undefined;
590
- nodes: <N extends import("platejs").TElement | import("platejs").TText>(options?: import("platejs").EditorNodesOptions<import("platejs").Value> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
591
- parent: <N extends import("platejs").TElement | import("platejs").Editor<import("platejs").Value>>(at: import("platejs").At, options?: import("platejs").EditorParentOptions) => import("platejs").NodeEntry<N> | undefined;
592
- previous: <N extends import("platejs").TElement | import("platejs").TText>(options?: import("platejs").EditorPreviousOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
593
- void: <N extends import("platejs").TElement>(options?: import("platejs").EditorVoidOptions) => import("platejs").NodeEntry<N> | undefined;
588
+ next: <N extends import("platejs").DescendantIn<import("platejs").Value>>(options?: import("platejs").EditorNextOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
589
+ node: <N extends import("platejs").DescendantIn<import("platejs").Value>>(atOrOptions: import("platejs").AtOrDescendant | import("platejs").EditorNodesOptions<import("platejs").Value>, nodeOptions?: import("platejs").EditorNodeOptions) => import("platejs").NodeEntry<N> | undefined;
590
+ nodes: <N extends import("platejs").DescendantIn<import("platejs").Value>>(options?: import("platejs").EditorNodesOptions<import("platejs").Value> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
591
+ parent: <N extends import("platejs").AncestorIn<import("platejs").Value>>(at: import("platejs").At, options?: import("platejs").EditorParentOptions) => import("platejs").NodeEntry<N> | undefined;
592
+ previous: <N extends import("platejs").DescendantIn<import("platejs").Value>>(options?: import("platejs").EditorPreviousOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
593
+ void: <N extends import("platejs").ElementIn<import("platejs").Value>>(options?: import("platejs").EditorVoidOptions) => import("platejs").NodeEntry<N> | undefined;
594
594
  } & {
595
595
  findDocumentOrShadowRoot: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Document | ShadowRoot | undefined>;
596
596
  findEventRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, event: any) => import("slate").BaseRange | undefined>;
@@ -607,18 +607,18 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
607
607
  toDOMNode: import("platejs").OmitFirst<(editor: import("platejs").Editor, node: import("platejs").TNode) => HTMLElement | undefined>;
608
608
  toDOMPoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point) => import("slate-dom").DOMPoint | undefined>;
609
609
  toDOMRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange) => Range | undefined>;
610
- toSlatePoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, domPoint: import("slate-dom").DOMPoint, options: Omit<Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domPoint: import("slate-dom").DOMPoint, options: {
610
+ toSlatePoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, domPoint: import("slate-dom").DOMPoint, options: Omit<Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domPoint: import("slate-dom").DOMPoint, options: {
611
611
  exactMatch: boolean;
612
612
  suppressThrow: T;
613
- searchDirection?: "forward" | "backward";
614
- }) => T extends true ? import("slate").Point | null : import("slate").Point)>[2], "suppressThrow">) => import("slate").BasePoint | null | undefined>;
615
- toSlateRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, domRange: Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
613
+ searchDirection?: 'forward' | 'backward';
614
+ }) => T extends true ? import("slate").Point | null : import("slate").Point>[2], "suppressThrow">) => import("slate").BasePoint | null | undefined>;
615
+ toSlateRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, domRange: Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
616
616
  exactMatch: boolean;
617
617
  suppressThrow: T;
618
- }) => T extends true ? import("slate").Range | null : import("slate").Range)>[1], options: Omit<Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
618
+ }) => T extends true ? import("slate").Range | null : import("slate").Range>[1], options: Omit<Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
619
619
  exactMatch: boolean;
620
620
  suppressThrow: T;
621
- }) => T extends true ? import("slate").Range | null : import("slate").Range)>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
621
+ }) => T extends true ? import("slate").Range | null : import("slate").Range>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
622
622
  findPath: (node: import("platejs").TNode, options?: import("platejs").EditorFindPathOptions) => import("platejs").Path | undefined;
623
623
  hasEditableTarget: (target: EventTarget | null) => target is Node;
624
624
  hasSelectableTarget: (target: EventTarget | null) => target is Node;
@@ -633,7 +633,7 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
633
633
  block: (node?: Partial<import("platejs").TElement>, path?: import("platejs").Path) => import("platejs").TElement;
634
634
  value: () => import("platejs").Value;
635
635
  };
636
- isAt: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
636
+ isAt: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
637
637
  at?: import("platejs").TLocation | null;
638
638
  block?: boolean;
639
639
  blocks?: boolean;
@@ -641,30 +641,29 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
641
641
  start?: boolean;
642
642
  text?: boolean;
643
643
  word?: boolean;
644
- } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean)>;
644
+ } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean>;
645
645
  isText: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => boolean>;
646
646
  scrollIntoView: import("platejs").OmitFirst<(editor: import("platejs").Editor, target: Range | import("platejs").Point, options?: import("platejs").ScrollIntoViewOptions) => void>;
647
- some: import("platejs").OmitFirst<(<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options: import("platejs").EditorNodesOptions<import("platejs").ValueOf<E>>) => boolean)>;
648
- block: <N extends import("platejs").TElement>(options?: import("platejs").EditorBlockOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
649
- blocks: <N extends import("platejs").TElement>(options?: import("platejs").EditorNodesOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N>[];
650
- descendant: <N extends import("platejs").TElement | import("platejs").TText>(options: import("platejs").EditorNodesOptions<import("platejs").Value>) => import("platejs").NodeEntry<N> | undefined;
651
- edgeBlocks: <N1 extends import("platejs").TElement, N2 extends import("platejs").TElement = N1>(options?: import("platejs").EditorAboveOptions<import("platejs").Value> | undefined) => [import("platejs").NodeEntry<N1>, import("platejs").NodeEntry<N2>] | null;
647
+ some: import("platejs").OmitFirst<<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options: import("platejs").EditorNodesOptions<import("platejs").ValueOf<E>>) => boolean>;
648
+ block: <N extends import("platejs").ElementIn<import("platejs").Value>>(options?: import("platejs").EditorBlockOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
649
+ blocks: <N extends import("platejs").ElementIn<import("platejs").Value>>(options?: import("platejs").EditorNodesOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N>[];
650
+ descendant: <N extends import("platejs").DescendantIn<import("platejs").Value>>(options: import("platejs").EditorNodesOptions<import("platejs").Value>) => import("platejs").NodeEntry<N> | undefined;
651
+ edgeBlocks: <N1 extends import("platejs").ElementIn<import("platejs").Value>, N2 extends import("platejs").ElementIn<import("platejs").Value> = N1>(options?: import("platejs").EditorAboveOptions<import("platejs").Value> | undefined) => [import("platejs").NodeEntry<N1>, import("platejs").NodeEntry<N2>] | null;
652
652
  isCollapsed: () => boolean;
653
653
  isEditorEnd: () => boolean;
654
654
  isExpanded: () => boolean;
655
- isInline: <N extends import("platejs").TElement | import("platejs").TText>(element: N) => boolean;
656
- isSelectable: <N extends import("platejs").TElement>(element: N) => boolean;
657
- mark: <K extends string>(key: K) => unknown;
655
+ isInline: <N extends import("platejs").DescendantIn<import("platejs").Value>>(element: N) => boolean;
656
+ isSelectable: <N extends import("platejs").ElementIn<import("platejs").Value>>(element: N) => boolean;
657
+ mark: <K extends keyof import("platejs").MarksIn<import("platejs").Value>>(key: K) => unknown;
658
658
  nodesRange: (nodes: import("platejs").NodeEntry[]) => import("platejs").TRange | undefined;
659
659
  prop: (options: import("platejs").EditorPropOptions<import("platejs").Value>) => string | undefined;
660
- } & {
661
- debug: {
662
- error: (message: string | unknown, type?: import("platejs").DebugErrorType, details?: any) => void;
663
- info: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
664
- log: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
665
- warn: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
666
- };
667
- } & {
660
+ } & Record<"html", {
661
+ deserialize: (args_0: {
662
+ element: HTMLElement | string;
663
+ collapseWhiteSpace?: boolean;
664
+ defaultElementPlugin?: import("platejs").WithRequiredKey;
665
+ }) => import("platejs").Descendant[];
666
+ }> & {
668
667
  isElementStateEmpty: (element: import("platejs").TElement) => boolean;
669
668
  redecorate: () => void;
670
669
  } & {
@@ -675,23 +674,24 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
675
674
  clear: () => void;
676
675
  isTarget: (path: import("platejs").Path) => boolean;
677
676
  };
678
- } & Record<"html", {
679
- deserialize: (args_0: {
680
- element: HTMLElement | string;
681
- collapseWhiteSpace?: boolean;
682
- defaultElementPlugin?: import("platejs").WithRequiredKey;
683
- }) => import("platejs").Descendant[];
684
- }> & {
677
+ } & {
678
+ debug: {
679
+ error: (message: string | unknown, type?: import("platejs").DebugErrorType, details?: any) => void;
680
+ info: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
681
+ log: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
682
+ warn: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
683
+ };
684
+ } & {
685
685
  redecorate: (() => void) & (() => void);
686
686
  isElementStateEmpty: (element: import("platejs").TElement) => boolean;
687
687
  } & {
688
688
  fragment: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(at?: import("platejs").At | null, options?: import("platejs").EditorFragmentOptions) => N[];
689
- getDirtyPaths: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(operation: import("platejs").Operation<N>) => import("platejs").Path[];
689
+ getDirtyPaths: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(operation: import("platejs").Operation<N>) => import("platejs").Path[];
690
690
  getFragment: (at?: import("platejs").At) => import("platejs").ElementOrTextIn<import("./types").WysiwygContent>[];
691
- isElementReadOnly: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N) => boolean;
691
+ isElementReadOnly: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N) => boolean;
692
692
  isSelected: (target: import("platejs").Path | import("platejs").TRange, options?: import("platejs").EditorIsSelectedOptions) => boolean;
693
- isVoid: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N) => boolean;
694
- markableVoid: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N) => boolean;
693
+ isVoid: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N) => boolean;
694
+ markableVoid: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N) => boolean;
695
695
  setNormalizing: (isNormalizing: boolean) => void;
696
696
  shouldMergeNodes: (prevNodeEntry: import("platejs").NodeEntry, curNodeEntry: import("platejs").NodeEntry, options?: {
697
697
  reverse?: boolean;
@@ -710,7 +710,7 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
710
710
  after: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorAfterOptions) => import("slate").BasePoint | undefined>;
711
711
  before: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorBeforeOptions) => import("platejs").Point | undefined>;
712
712
  edges: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => [import("slate").BasePoint, import("slate").BasePoint] | undefined>;
713
- elementReadOnly: import("platejs").OmitFirst<(<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options?: import("platejs").EditorElementReadOnlyOptions) => import("slate").NodeEntry<import("slate").BaseElement> | undefined)>;
713
+ elementReadOnly: import("platejs").OmitFirst<<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options?: import("platejs").EditorElementReadOnlyOptions) => import("slate").NodeEntry<import("slate").BaseElement> | undefined>;
714
714
  end: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorEndOptions) => import("slate").BasePoint | undefined>;
715
715
  hasBlocks: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
716
716
  hasInlines: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
@@ -718,7 +718,7 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
718
718
  hasTexts: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
719
719
  isBlock: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: any) => value is import("platejs").TElement>;
720
720
  isEdge: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point, at: import("platejs").TLocation) => boolean>;
721
- isEmpty: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, target?: import("platejs").At | null, options?: import("platejs").EditorEmptyOptions) => boolean)>;
721
+ isEmpty: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, target?: import("platejs").At | null, options?: import("platejs").EditorEmptyOptions) => boolean>;
722
722
  isEnd: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
723
723
  isNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
724
724
  isStart: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
@@ -737,23 +737,23 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
737
737
  start: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorStartOptions) => import("slate").BasePoint | undefined>;
738
738
  string: import("platejs").OmitFirst<(editor: import("platejs").Editor, at?: import("platejs").At | null, options?: import("platejs").EditorStringOptions) => string>;
739
739
  unhangRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange, options?: import("platejs").EditorUnhangRangeOptions) => import("platejs").TRange>;
740
- above: <N extends import("platejs").TElement | import("platejs").Editor<import("platejs").Value>>(options?: import("platejs").EditorAboveOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
741
- first: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(at: import("platejs").At) => import("platejs").NodeEntry<N> | undefined;
740
+ above: <N extends import("platejs").AncestorIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorAboveOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
741
+ first: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(at: import("platejs").At) => import("platejs").NodeEntry<N> | undefined;
742
742
  fragment: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(at: import("platejs").At) => N[] | undefined;
743
743
  hasPath: (path: import("platejs").Path) => boolean;
744
- last: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(at: import("platejs").At, options?: import("platejs").EditorLastOptions) => import("platejs").NodeEntry<N> | undefined;
745
- leaf: <N extends import("platejs").TText | import("./types").EmptyText | import("./types").RichText>(at: import("platejs").At, options?: import("platejs").EditorLeafOptions) => import("platejs").NodeEntry<N> | undefined;
744
+ last: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(at: import("platejs").At, options?: import("platejs").EditorLastOptions) => import("platejs").NodeEntry<N> | undefined;
745
+ leaf: <N extends import("platejs").TextIn<import("./types").WysiwygContent>>(at: import("platejs").At, options?: import("platejs").EditorLeafOptions) => import("platejs").NodeEntry<N> | undefined;
746
746
  levels: <N extends import("platejs").NodeIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorLevelsOptions<import("./types").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
747
747
  marks: () => {
748
748
  [x: string]: unknown;
749
749
  [x: number]: unknown;
750
750
  } | null;
751
- next: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(options?: import("platejs").EditorNextOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
752
- node: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(atOrOptions: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | import("platejs").AtOrDescendant, nodeOptions?: import("platejs").EditorNodeOptions) => import("platejs").NodeEntry<N> | undefined;
753
- nodes: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(options?: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
754
- parent: <N extends import("platejs").TElement | import("platejs").Editor<import("platejs").Value>>(at: import("platejs").At, options?: import("platejs").EditorParentOptions) => import("platejs").NodeEntry<N> | undefined;
755
- previous: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(options?: import("platejs").EditorPreviousOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
756
- void: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(options?: import("platejs").EditorVoidOptions) => import("platejs").NodeEntry<N> | undefined;
751
+ next: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorNextOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
752
+ node: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(atOrOptions: import("platejs").AtOrDescendant | import("platejs").EditorNodesOptions<import("./types").WysiwygContent>, nodeOptions?: import("platejs").EditorNodeOptions) => import("platejs").NodeEntry<N> | undefined;
753
+ nodes: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
754
+ parent: <N extends import("platejs").AncestorIn<import("./types").WysiwygContent>>(at: import("platejs").At, options?: import("platejs").EditorParentOptions) => import("platejs").NodeEntry<N> | undefined;
755
+ previous: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorPreviousOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
756
+ void: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorVoidOptions) => import("platejs").NodeEntry<N> | undefined;
757
757
  } & {
758
758
  findDocumentOrShadowRoot: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Document | ShadowRoot | undefined>;
759
759
  findEventRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, event: any) => import("slate").BaseRange | undefined>;
@@ -770,18 +770,18 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
770
770
  toDOMNode: import("platejs").OmitFirst<(editor: import("platejs").Editor, node: import("platejs").TNode) => HTMLElement | undefined>;
771
771
  toDOMPoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point) => import("slate-dom").DOMPoint | undefined>;
772
772
  toDOMRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange) => Range | undefined>;
773
- toSlatePoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, domPoint: import("slate-dom").DOMPoint, options: Omit<Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domPoint: import("slate-dom").DOMPoint, options: {
773
+ toSlatePoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, domPoint: import("slate-dom").DOMPoint, options: Omit<Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domPoint: import("slate-dom").DOMPoint, options: {
774
774
  exactMatch: boolean;
775
775
  suppressThrow: T;
776
- searchDirection?: "forward" | "backward";
777
- }) => T extends true ? import("slate").Point | null : import("slate").Point)>[2], "suppressThrow">) => import("slate").BasePoint | null | undefined>;
778
- toSlateRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, domRange: Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
776
+ searchDirection?: 'forward' | 'backward';
777
+ }) => T extends true ? import("slate").Point | null : import("slate").Point>[2], "suppressThrow">) => import("slate").BasePoint | null | undefined>;
778
+ toSlateRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, domRange: Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
779
779
  exactMatch: boolean;
780
780
  suppressThrow: T;
781
- }) => T extends true ? import("slate").Range | null : import("slate").Range)>[1], options: Omit<Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
781
+ }) => T extends true ? import("slate").Range | null : import("slate").Range>[1], options: Omit<Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
782
782
  exactMatch: boolean;
783
783
  suppressThrow: T;
784
- }) => T extends true ? import("slate").Range | null : import("slate").Range)>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
784
+ }) => T extends true ? import("slate").Range | null : import("slate").Range>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
785
785
  findPath: (node: import("platejs").TNode, options?: import("platejs").EditorFindPathOptions) => import("platejs").Path | undefined;
786
786
  hasEditableTarget: (target: EventTarget | null) => target is Node;
787
787
  hasSelectableTarget: (target: EventTarget | null) => target is Node;
@@ -792,7 +792,7 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
792
792
  block: (node?: Partial<import("platejs").TElement>, path?: import("platejs").Path) => import("platejs").TElement;
793
793
  value: () => import("platejs").Value;
794
794
  };
795
- isAt: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
795
+ isAt: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
796
796
  at?: import("platejs").TLocation | null;
797
797
  block?: boolean;
798
798
  blocks?: boolean;
@@ -800,20 +800,20 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
800
800
  start?: boolean;
801
801
  text?: boolean;
802
802
  word?: boolean;
803
- } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean)>;
803
+ } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean>;
804
804
  isText: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => boolean>;
805
805
  scrollIntoView: import("platejs").OmitFirst<(editor: import("platejs").Editor, target: Range | import("platejs").Point, options?: import("platejs").ScrollIntoViewOptions) => void>;
806
- some: import("platejs").OmitFirst<(<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options: import("platejs").EditorNodesOptions<import("platejs").ValueOf<E>>) => boolean)>;
807
- block: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(options?: import("platejs").EditorBlockOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
808
- blocks: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(options?: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N>[];
809
- descendant: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(options: import("platejs").EditorNodesOptions<import("./types").WysiwygContent>) => import("platejs").NodeEntry<N> | undefined;
810
- edgeBlocks: <N1 extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement, N2 extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement = N1>(options?: import("platejs").EditorAboveOptions<import("./types").WysiwygContent> | undefined) => [import("platejs").NodeEntry<N1>, import("platejs").NodeEntry<N2>] | null;
806
+ some: import("platejs").OmitFirst<<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options: import("platejs").EditorNodesOptions<import("platejs").ValueOf<E>>) => boolean>;
807
+ block: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorBlockOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
808
+ blocks: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N>[];
809
+ descendant: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(options: import("platejs").EditorNodesOptions<import("./types").WysiwygContent>) => import("platejs").NodeEntry<N> | undefined;
810
+ edgeBlocks: <N1 extends import("platejs").ElementIn<import("./types").WysiwygContent>, N2 extends import("platejs").ElementIn<import("./types").WysiwygContent> = N1>(options?: import("platejs").EditorAboveOptions<import("./types").WysiwygContent> | undefined) => [import("platejs").NodeEntry<N1>, import("platejs").NodeEntry<N2>] | null;
811
811
  isCollapsed: () => boolean;
812
812
  isEditorEnd: () => boolean;
813
813
  isExpanded: () => boolean;
814
- isInline: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(element: N) => boolean;
815
- isSelectable: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N) => boolean;
816
- mark: <K extends keyof import("./types").RichText>(key: K) => {
814
+ isInline: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(element: N) => boolean;
815
+ isSelectable: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N) => boolean;
816
+ mark: <K extends keyof import("platejs").MarksIn<import("./types").WysiwygContent>>(key: K) => {
817
817
  [x: string]: unknown;
818
818
  [x: number]: unknown;
819
819
  }[K] | null | undefined;
@@ -835,7 +835,7 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
835
835
  withoutNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => boolean | void) => boolean>;
836
836
  escape: () => boolean | undefined;
837
837
  insertFragment: <N extends import("platejs").ElementOrTextIn<import("platejs").Value>>(fragment: N[], options?: import("platejs").InsertFragmentOptions) => void;
838
- insertNode: <N extends import("platejs").TElement | import("platejs").TText>(node: N, options?: import("platejs").InsertNodesOptions<import("platejs").Value> | undefined) => void;
838
+ insertNode: <N extends import("platejs").DescendantIn<import("platejs").Value>>(node: N, options?: import("platejs").InsertNodesOptions<import("platejs").Value> | undefined) => void;
839
839
  insertNodes: <N extends import("platejs").ElementOrTextIn<import("platejs").Value>>(nodes: N | N[], options?: import("platejs").InsertNodesOptions<import("platejs").Value> | undefined) => void;
840
840
  insertSoftBreak: () => void;
841
841
  liftNodes: (options?: import("platejs").LiftNodesOptions<import("platejs").Value> | undefined) => void;
@@ -850,19 +850,19 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
850
850
  removeNodes: (options?: import("platejs").RemoveNodesOptions<import("platejs").Value> | undefined) => void;
851
851
  replaceNodes: <N extends import("platejs").ElementOrTextIn<import("platejs").Value>>(nodes: N | N[], options?: import("platejs").ReplaceNodesOptions<import("platejs").Value> | undefined) => void;
852
852
  selectAll: () => boolean | undefined;
853
- setNodes: <N extends import("platejs").TElement | import("platejs").TText>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("platejs").Value> | undefined) => void;
854
- setNodesBatch: <N extends import("platejs").TElement | import("platejs").TText>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
853
+ setNodes: <N extends import("platejs").DescendantIn<import("platejs").Value>>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("platejs").Value> | undefined) => void;
854
+ setNodesBatch: <N extends import("platejs").DescendantIn<import("platejs").Value>>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
855
855
  splitNodes: (options?: import("platejs").SplitNodesOptions<import("platejs").Value> | undefined) => void;
856
856
  tab: (options: {
857
857
  reverse: boolean;
858
858
  }) => boolean | undefined;
859
859
  undo: () => void;
860
- unsetNodes: <N extends import("platejs").TElement | import("platejs").TText>(props: keyof import("platejs").NodeProps<N> | (keyof import("platejs").NodeProps<N>)[], options?: import("platejs").UnsetNodesOptions<import("platejs").Value> | undefined) => void;
860
+ unsetNodes: <N extends import("platejs").DescendantIn<import("platejs").Value>>(props: (keyof import("platejs").NodeProps<N>)[] | keyof import("platejs").NodeProps<N>, options?: import("platejs").UnsetNodesOptions<import("platejs").Value> | undefined) => void;
861
861
  unwrapNodes: (options?: import("platejs").UnwrapNodesOptions<import("platejs").Value> | undefined) => void;
862
- wrapNodes: <N extends import("platejs").TElement>(element: N, options?: import("platejs").WrapNodesOptions<import("platejs").Value> | undefined) => void;
863
- writeHistory: (stack: "redos" | "undos", batch: any) => void;
862
+ wrapNodes: <N extends import("platejs").ElementIn<import("platejs").Value>>(element: N, options?: import("platejs").WrapNodesOptions<import("platejs").Value> | undefined) => void;
863
+ writeHistory: (stack: 'redos' | 'undos', batch: any) => void;
864
864
  } & {
865
- delete: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void)>;
865
+ delete: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void>;
866
866
  insertText: (text: string, options?: import("platejs").InsertTextOptions) => void;
867
867
  } & {
868
868
  collapse: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate/dist/interfaces/transforms/selection").SelectionCollapseOptions) => void>;
@@ -875,10 +875,10 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
875
875
  blur: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
876
876
  deselectDOM: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
877
877
  focus: import("platejs").OmitFirst<(editor: import("platejs").Editor, { at, edge, retries }?: import("platejs").FocusOptions) => void>;
878
- insertData: import("slate-dom").DOMEditor["insertData"];
879
- insertFragmentData: import("slate-dom").DOMEditor["insertFragmentData"];
880
- insertTextData: import("slate-dom").DOMEditor["insertTextData"];
881
- setFragmentData: import("slate-dom").DOMEditor["setFragmentData"];
878
+ insertData: import("slate-dom").DOMEditor['insertData'];
879
+ insertFragmentData: import("slate-dom").DOMEditor['insertFragmentData'];
880
+ insertTextData: import("slate-dom").DOMEditor['insertTextData'];
881
+ setFragmentData: import("slate-dom").DOMEditor['setFragmentData'];
882
882
  } & {
883
883
  setSplittingOnce: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: boolean | undefined) => void>;
884
884
  withMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
@@ -886,7 +886,7 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
886
886
  withoutMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
887
887
  withoutSaving: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
888
888
  } & {
889
- apply: <N extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N>) => void;
889
+ apply: <N extends import("platejs").DescendantIn<import("platejs").Value>>(operation: import("platejs").Operation<N>) => void;
890
890
  normalizeNode: <N extends import("platejs").NodeIn<import("platejs").Value>>(entry: import("platejs").NodeEntry<N>, options?: {
891
891
  operation?: import("platejs").Operation;
892
892
  }) => void;
@@ -910,12 +910,6 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
910
910
  navigate: (options: import("platejs").NavigationNavigateOptions) => boolean;
911
911
  };
912
912
  } & {
913
- nodeId: {
914
- normalize: () => void;
915
- };
916
- } & Record<"nodeId", {
917
- normalize(): void;
918
- }> & {
919
913
  reset: (options: import("platejs").ResetOptions | undefined) => void;
920
914
  init: ((args_0: import("platejs").InitOptions) => void) & ((args_0: import("platejs").InitOptions) => void);
921
915
  insertExitBreak: ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined) & ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined);
@@ -928,6 +922,12 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
928
922
  setValue: ((value?: string | import("platejs").Value | undefined) => void) & ((value?: string | import("platejs").Value | undefined) => void);
929
923
  apply: <N$1 extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N$1>) => void;
930
924
  } & {
925
+ nodeId: {
926
+ normalize: () => void;
927
+ };
928
+ } & Record<"nodeId", {
929
+ normalize(): void;
930
+ }> & {
931
931
  addMark: import("platejs").OmitFirst<(editor: import("platejs").Editor, key: string, value: any) => void>;
932
932
  addMarks: import("platejs").OmitFirst<(editor: import("platejs").Editor, marks: import("platejs").EditorMarks, { remove }?: import("platejs").AddMarksOptions) => void>;
933
933
  deleteBackward: import("platejs").OmitFirst<(editor: import("platejs").Editor, unit?: import("platejs").TextUnit) => void>;
@@ -942,7 +942,7 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
942
942
  withoutNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => boolean | void) => boolean>;
943
943
  escape: () => boolean | undefined;
944
944
  insertFragment: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(fragment: N[], options?: import("platejs").InsertFragmentOptions) => void;
945
- insertNode: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(node: N, options?: import("platejs").InsertNodesOptions<import("./types").WysiwygContent> | undefined) => void;
945
+ insertNode: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(node: N, options?: import("platejs").InsertNodesOptions<import("./types").WysiwygContent> | undefined) => void;
946
946
  insertNodes: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(nodes: N | N[], options?: import("platejs").InsertNodesOptions<import("./types").WysiwygContent> | undefined) => void;
947
947
  insertSoftBreak: () => void;
948
948
  liftNodes: (options?: import("platejs").LiftNodesOptions<import("./types").WysiwygContent> | undefined) => void;
@@ -957,19 +957,19 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
957
957
  removeNodes: (options?: import("platejs").RemoveNodesOptions<import("./types").WysiwygContent> | undefined) => void;
958
958
  replaceNodes: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(nodes: N | N[], options?: import("platejs").ReplaceNodesOptions<import("./types").WysiwygContent> | undefined) => void;
959
959
  selectAll: () => boolean | undefined;
960
- setNodes: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
961
- setNodesBatch: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
960
+ setNodes: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
961
+ setNodesBatch: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
962
962
  splitNodes: (options?: import("platejs").SplitNodesOptions<import("./types").WysiwygContent> | undefined) => void;
963
963
  tab: (options: {
964
964
  reverse: boolean;
965
965
  }) => boolean | undefined;
966
966
  undo: () => void;
967
- unsetNodes: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(props: keyof import("platejs").NodeProps<N> | (keyof import("platejs").NodeProps<N>)[], options?: import("platejs").UnsetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
967
+ unsetNodes: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(props: (keyof import("platejs").NodeProps<N>)[] | keyof import("platejs").NodeProps<N>, options?: import("platejs").UnsetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
968
968
  unwrapNodes: (options?: import("platejs").UnwrapNodesOptions<import("./types").WysiwygContent> | undefined) => void;
969
- wrapNodes: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N, options?: import("platejs").WrapNodesOptions<import("./types").WysiwygContent> | undefined) => void;
970
- writeHistory: (stack: "redos" | "undos", batch: any) => void;
969
+ wrapNodes: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N, options?: import("platejs").WrapNodesOptions<import("./types").WysiwygContent> | undefined) => void;
970
+ writeHistory: (stack: 'redos' | 'undos', batch: any) => void;
971
971
  } & {
972
- apply: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(operation: import("platejs").Operation<N>) => void;
972
+ apply: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(operation: import("platejs").Operation<N>) => void;
973
973
  normalizeNode: <N extends import("platejs").NodeIn<import("./types").WysiwygContent>>(entry: import("platejs").NodeEntry<N>, options?: {
974
974
  operation?: import("platejs").Operation;
975
975
  }) => void;
@@ -981,6 +981,8 @@ export declare const useUxfPlateEditorRef: (id?: PlateId) => {
981
981
  };
982
982
  export declare const useUxfEditorRef: () => {
983
983
  [x: string]: unknown;
984
+ redo: () => void;
985
+ undo: () => void;
984
986
  id: string;
985
987
  history: import("platejs").History;
986
988
  marks: import("platejs").EditorMarks | null;
@@ -1035,8 +1037,6 @@ export declare const useUxfEditorRef: () => {
1035
1037
  shortcuts: import("platejs/react").Shortcuts;
1036
1038
  };
1037
1039
  selection: import("platejs").EditorSelection;
1038
- redo: () => void;
1039
- undo: () => void;
1040
1040
  dom: {
1041
1041
  composing: boolean;
1042
1042
  currentKeyboardEvent: KeyboardEventLike | null;
@@ -1047,9 +1047,9 @@ export declare const useUxfEditorRef: () => {
1047
1047
  plugins: Record<string, any> & Record<string, import("platejs/react").AnyEditorPlatePlugin>;
1048
1048
  setOptions: <C extends import("platejs").AnyPluginConfig>(plugin: import("platejs").WithRequiredKey<C>, options: ((state: import("mutative").Draft<Partial<import("platejs").InferOptions<C>>>) => void) | Partial<import("platejs").InferOptions<C>>) => void;
1049
1049
  getInjectProps: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("platejs").InjectNodeProps<C>;
1050
- getOption: <C extends import("platejs").AnyPluginConfig, StateType extends import("platejs").InferOptions<C>, TSelectors extends import("platejs").InferSelectors<C>, K$1 extends keyof StateType | keyof TSelectors | "state">(plugin: import("platejs").WithRequiredKey<C>, key: K$1, ...args: K$1 extends keyof TSelectors ? Parameters<TSelectors[K$1]> : []) => K$1 extends "state" ? StateType : K$1 extends keyof TSelectors ? ReturnType<TSelectors[K$1]> : K$1 extends keyof StateType ? StateType[K$1] : never;
1050
+ getOption: <C extends import("platejs").AnyPluginConfig, StateType extends import("platejs").InferOptions<C>, TSelectors extends import("platejs").InferSelectors<C>, K$1 extends keyof StateType | keyof TSelectors | 'state'>(plugin: import("platejs").WithRequiredKey<C>, key: K$1, ...args: K$1 extends keyof TSelectors ? Parameters<TSelectors[K$1]> : []) => K$1 extends 'state' ? StateType : K$1 extends keyof TSelectors ? ReturnType<TSelectors[K$1]> : K$1 extends keyof StateType ? StateType[K$1] : never;
1051
1051
  getOptions: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("platejs").InferOptions<C>;
1052
- getOptionsStore: <C extends import("platejs").AnyPluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("zustand-x").TStateApi<import("platejs").InferOptions<C>, [["zustand/mutative-x", never]], {}, import("platejs").InferSelectors<C>>;
1052
+ getOptionsStore: <C extends import("platejs").AnyPluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("zustand-x").TStateApi<import("platejs").InferOptions<C>, [['zustand/mutative-x', never]], {}, import("platejs").InferSelectors<C>>;
1053
1053
  getPlugin: (<C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig<any, {}, {}, {}, {}>>(plugin: import("platejs").WithRequiredKey<C>) => C extends {
1054
1054
  node: any;
1055
1055
  } ? C : import("platejs").EditorPlugin<C>) & (<C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => C extends {
@@ -1060,18 +1060,18 @@ export declare const useUxfEditorRef: () => {
1060
1060
  api: import("platejs").EditorApi & import("platejs").UnionToIntersection<import("platejs").InferApi<import("platejs/react").PlateCorePlugin>>;
1061
1061
  tf: import("platejs").EditorTransforms & import("platejs").UnionToIntersection<import("platejs").InferTransforms<import("platejs/react").PlateCorePlugin>>;
1062
1062
  transforms: import("platejs").EditorTransforms & import("platejs").UnionToIntersection<import("platejs").InferTransforms<import("platejs/react").PlateCorePlugin>>;
1063
- getApi: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin?: import("platejs").WithRequiredKey<C>) => import("platejs/react").PlateEditor["api"] & import("platejs").InferApi<C>;
1064
- getTransforms: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin?: import("platejs").WithRequiredKey<C>) => import("platejs/react").PlateEditor["tf"] & import("platejs").InferTransforms<C>;
1065
- uid?: string | undefined;
1063
+ getApi: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin?: import("platejs").WithRequiredKey<C>) => import("platejs/react").PlateEditor['api'] & import("platejs").InferApi<C>;
1064
+ getTransforms: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin?: import("platejs").WithRequiredKey<C>) => import("platejs/react").PlateEditor['tf'] & import("platejs").InferTransforms<C>;
1065
+ uid?: string;
1066
1066
  } & {
1067
1067
  api: {
1068
1068
  fragment: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(at?: import("platejs").At | null, options?: import("platejs").EditorFragmentOptions) => N[];
1069
- getDirtyPaths: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(operation: import("platejs").Operation<N>) => import("platejs").Path[];
1069
+ getDirtyPaths: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(operation: import("platejs").Operation<N>) => import("platejs").Path[];
1070
1070
  getFragment: (at?: import("platejs").At) => import("platejs").ElementOrTextIn<import("./types").WysiwygContent>[];
1071
- isElementReadOnly: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N) => boolean;
1071
+ isElementReadOnly: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N) => boolean;
1072
1072
  isSelected: (target: import("platejs").Path | import("platejs").TRange, options?: import("platejs").EditorIsSelectedOptions) => boolean;
1073
- isVoid: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N) => boolean;
1074
- markableVoid: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N) => boolean;
1073
+ isVoid: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N) => boolean;
1074
+ markableVoid: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N) => boolean;
1075
1075
  setNormalizing: (isNormalizing: boolean) => void;
1076
1076
  shouldMergeNodes: (prevNodeEntry: import("platejs").NodeEntry, curNodeEntry: import("platejs").NodeEntry, options?: {
1077
1077
  reverse?: boolean;
@@ -1090,7 +1090,7 @@ export declare const useUxfEditorRef: () => {
1090
1090
  after: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorAfterOptions) => import("slate").BasePoint | undefined>;
1091
1091
  before: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorBeforeOptions) => import("platejs").Point | undefined>;
1092
1092
  edges: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => [import("slate").BasePoint, import("slate").BasePoint] | undefined>;
1093
- elementReadOnly: import("platejs").OmitFirst<(<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options?: import("platejs").EditorElementReadOnlyOptions) => import("slate").NodeEntry<import("slate").BaseElement> | undefined)>;
1093
+ elementReadOnly: import("platejs").OmitFirst<<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options?: import("platejs").EditorElementReadOnlyOptions) => import("slate").NodeEntry<import("slate").BaseElement> | undefined>;
1094
1094
  end: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorEndOptions) => import("slate").BasePoint | undefined>;
1095
1095
  hasBlocks: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
1096
1096
  hasInlines: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
@@ -1098,7 +1098,7 @@ export declare const useUxfEditorRef: () => {
1098
1098
  hasTexts: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
1099
1099
  isBlock: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: any) => value is import("platejs").TElement>;
1100
1100
  isEdge: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point, at: import("platejs").TLocation) => boolean>;
1101
- isEmpty: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, target?: import("platejs").At | null, options?: import("platejs").EditorEmptyOptions) => boolean)>;
1101
+ isEmpty: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, target?: import("platejs").At | null, options?: import("platejs").EditorEmptyOptions) => boolean>;
1102
1102
  isEnd: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
1103
1103
  isNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
1104
1104
  isStart: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
@@ -1117,23 +1117,23 @@ export declare const useUxfEditorRef: () => {
1117
1117
  start: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorStartOptions) => import("slate").BasePoint | undefined>;
1118
1118
  string: import("platejs").OmitFirst<(editor: import("platejs").Editor, at?: import("platejs").At | null, options?: import("platejs").EditorStringOptions) => string>;
1119
1119
  unhangRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange, options?: import("platejs").EditorUnhangRangeOptions) => import("platejs").TRange>;
1120
- above: <N extends import("platejs").TElement | import("platejs").Editor<import("platejs").Value>>(options?: import("platejs").EditorAboveOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
1121
- first: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(at: import("platejs").At) => import("platejs").NodeEntry<N> | undefined;
1120
+ above: <N extends import("platejs").AncestorIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorAboveOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
1121
+ first: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(at: import("platejs").At) => import("platejs").NodeEntry<N> | undefined;
1122
1122
  fragment: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(at: import("platejs").At) => N[] | undefined;
1123
1123
  hasPath: (path: import("platejs").Path) => boolean;
1124
- last: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(at: import("platejs").At, options?: import("platejs").EditorLastOptions) => import("platejs").NodeEntry<N> | undefined;
1125
- leaf: <N extends import("platejs").TText | import("./types").EmptyText | import("./types").RichText>(at: import("platejs").At, options?: import("platejs").EditorLeafOptions) => import("platejs").NodeEntry<N> | undefined;
1124
+ last: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(at: import("platejs").At, options?: import("platejs").EditorLastOptions) => import("platejs").NodeEntry<N> | undefined;
1125
+ leaf: <N extends import("platejs").TextIn<import("./types").WysiwygContent>>(at: import("platejs").At, options?: import("platejs").EditorLeafOptions) => import("platejs").NodeEntry<N> | undefined;
1126
1126
  levels: <N extends import("platejs").NodeIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorLevelsOptions<import("./types").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
1127
1127
  marks: () => {
1128
1128
  [x: string]: unknown;
1129
1129
  [x: number]: unknown;
1130
1130
  } | null;
1131
- next: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(options?: import("platejs").EditorNextOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
1132
- node: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(atOrOptions: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | import("platejs").AtOrDescendant, nodeOptions?: import("platejs").EditorNodeOptions) => import("platejs").NodeEntry<N> | undefined;
1133
- nodes: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(options?: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
1134
- parent: <N extends import("platejs").TElement | import("platejs").Editor<import("platejs").Value>>(at: import("platejs").At, options?: import("platejs").EditorParentOptions) => import("platejs").NodeEntry<N> | undefined;
1135
- previous: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(options?: import("platejs").EditorPreviousOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
1136
- void: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(options?: import("platejs").EditorVoidOptions) => import("platejs").NodeEntry<N> | undefined;
1131
+ next: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorNextOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
1132
+ node: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(atOrOptions: import("platejs").AtOrDescendant | import("platejs").EditorNodesOptions<import("./types").WysiwygContent>, nodeOptions?: import("platejs").EditorNodeOptions) => import("platejs").NodeEntry<N> | undefined;
1133
+ nodes: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
1134
+ parent: <N extends import("platejs").AncestorIn<import("./types").WysiwygContent>>(at: import("platejs").At, options?: import("platejs").EditorParentOptions) => import("platejs").NodeEntry<N> | undefined;
1135
+ previous: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorPreviousOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
1136
+ void: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorVoidOptions) => import("platejs").NodeEntry<N> | undefined;
1137
1137
  } & {
1138
1138
  findDocumentOrShadowRoot: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Document | ShadowRoot | undefined>;
1139
1139
  findEventRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, event: any) => import("slate").BaseRange | undefined>;
@@ -1150,18 +1150,18 @@ export declare const useUxfEditorRef: () => {
1150
1150
  toDOMNode: import("platejs").OmitFirst<(editor: import("platejs").Editor, node: import("platejs").TNode) => HTMLElement | undefined>;
1151
1151
  toDOMPoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point) => import("slate-dom").DOMPoint | undefined>;
1152
1152
  toDOMRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange) => Range | undefined>;
1153
- toSlatePoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, domPoint: import("slate-dom").DOMPoint, options: Omit<Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domPoint: import("slate-dom").DOMPoint, options: {
1153
+ toSlatePoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, domPoint: import("slate-dom").DOMPoint, options: Omit<Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domPoint: import("slate-dom").DOMPoint, options: {
1154
1154
  exactMatch: boolean;
1155
1155
  suppressThrow: T;
1156
- searchDirection?: "forward" | "backward";
1157
- }) => T extends true ? import("slate").Point | null : import("slate").Point)>[2], "suppressThrow">) => import("slate").BasePoint | null | undefined>;
1158
- toSlateRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, domRange: Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
1156
+ searchDirection?: 'forward' | 'backward';
1157
+ }) => T extends true ? import("slate").Point | null : import("slate").Point>[2], "suppressThrow">) => import("slate").BasePoint | null | undefined>;
1158
+ toSlateRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, domRange: Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
1159
1159
  exactMatch: boolean;
1160
1160
  suppressThrow: T;
1161
- }) => T extends true ? import("slate").Range | null : import("slate").Range)>[1], options: Omit<Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
1161
+ }) => T extends true ? import("slate").Range | null : import("slate").Range>[1], options: Omit<Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
1162
1162
  exactMatch: boolean;
1163
1163
  suppressThrow: T;
1164
- }) => T extends true ? import("slate").Range | null : import("slate").Range)>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
1164
+ }) => T extends true ? import("slate").Range | null : import("slate").Range>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
1165
1165
  findPath: (node: import("platejs").TNode, options?: import("platejs").EditorFindPathOptions) => import("platejs").Path | undefined;
1166
1166
  hasEditableTarget: (target: EventTarget | null) => target is Node;
1167
1167
  hasSelectableTarget: (target: EventTarget | null) => target is Node;
@@ -1176,7 +1176,7 @@ export declare const useUxfEditorRef: () => {
1176
1176
  block: (node?: Partial<import("platejs").TElement>, path?: import("platejs").Path) => import("platejs").TElement;
1177
1177
  value: () => import("platejs").Value;
1178
1178
  };
1179
- isAt: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
1179
+ isAt: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
1180
1180
  at?: import("platejs").TLocation | null;
1181
1181
  block?: boolean;
1182
1182
  blocks?: boolean;
@@ -1184,33 +1184,32 @@ export declare const useUxfEditorRef: () => {
1184
1184
  start?: boolean;
1185
1185
  text?: boolean;
1186
1186
  word?: boolean;
1187
- } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean)>;
1187
+ } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean>;
1188
1188
  isText: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => boolean>;
1189
1189
  scrollIntoView: import("platejs").OmitFirst<(editor: import("platejs").Editor, target: Range | import("platejs").Point, options?: import("platejs").ScrollIntoViewOptions) => void>;
1190
- some: import("platejs").OmitFirst<(<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options: import("platejs").EditorNodesOptions<import("platejs").ValueOf<E>>) => boolean)>;
1191
- block: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(options?: import("platejs").EditorBlockOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
1192
- blocks: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(options?: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N>[];
1193
- descendant: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(options: import("platejs").EditorNodesOptions<import("./types").WysiwygContent>) => import("platejs").NodeEntry<N> | undefined;
1194
- edgeBlocks: <N1 extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement, N2 extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement = N1>(options?: import("platejs").EditorAboveOptions<import("./types").WysiwygContent> | undefined) => [import("platejs").NodeEntry<N1>, import("platejs").NodeEntry<N2>] | null;
1190
+ some: import("platejs").OmitFirst<<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options: import("platejs").EditorNodesOptions<import("platejs").ValueOf<E>>) => boolean>;
1191
+ block: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorBlockOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
1192
+ blocks: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N>[];
1193
+ descendant: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(options: import("platejs").EditorNodesOptions<import("./types").WysiwygContent>) => import("platejs").NodeEntry<N> | undefined;
1194
+ edgeBlocks: <N1 extends import("platejs").ElementIn<import("./types").WysiwygContent>, N2 extends import("platejs").ElementIn<import("./types").WysiwygContent> = N1>(options?: import("platejs").EditorAboveOptions<import("./types").WysiwygContent> | undefined) => [import("platejs").NodeEntry<N1>, import("platejs").NodeEntry<N2>] | null;
1195
1195
  isCollapsed: () => boolean;
1196
1196
  isEditorEnd: () => boolean;
1197
1197
  isExpanded: () => boolean;
1198
- isInline: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(element: N) => boolean;
1199
- isSelectable: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N) => boolean;
1200
- mark: <K extends keyof import("./types").RichText>(key: K) => {
1198
+ isInline: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(element: N) => boolean;
1199
+ isSelectable: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N) => boolean;
1200
+ mark: <K extends keyof import("platejs").MarksIn<import("./types").WysiwygContent>>(key: K) => {
1201
1201
  [x: string]: unknown;
1202
1202
  [x: number]: unknown;
1203
1203
  }[K] | null | undefined;
1204
1204
  nodesRange: (nodes: import("platejs").NodeEntry[]) => import("platejs").TRange | undefined;
1205
1205
  prop: (options: import("platejs").EditorPropOptions<import("./types").WysiwygContent>) => string | undefined;
1206
- } & {
1207
- debug: {
1208
- error: (message: string | unknown, type?: import("platejs").DebugErrorType, details?: any) => void;
1209
- info: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
1210
- log: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
1211
- warn: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
1212
- };
1213
- } & {
1206
+ } & Record<"html", {
1207
+ deserialize: (args_0: {
1208
+ element: HTMLElement | string;
1209
+ collapseWhiteSpace?: boolean;
1210
+ defaultElementPlugin?: import("platejs").WithRequiredKey;
1211
+ }) => import("platejs").Descendant[];
1212
+ }> & {
1214
1213
  isElementStateEmpty: (element: import("platejs").TElement) => boolean;
1215
1214
  redecorate: () => void;
1216
1215
  } & {
@@ -1221,13 +1220,14 @@ export declare const useUxfEditorRef: () => {
1221
1220
  clear: () => void;
1222
1221
  isTarget: (path: import("platejs").Path) => boolean;
1223
1222
  };
1224
- } & Record<"html", {
1225
- deserialize: (args_0: {
1226
- element: HTMLElement | string;
1227
- collapseWhiteSpace?: boolean;
1228
- defaultElementPlugin?: import("platejs").WithRequiredKey;
1229
- }) => import("platejs").Descendant[];
1230
- }> & {
1223
+ } & {
1224
+ debug: {
1225
+ error: (message: string | unknown, type?: import("platejs").DebugErrorType, details?: any) => void;
1226
+ info: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
1227
+ log: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
1228
+ warn: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
1229
+ };
1230
+ } & {
1231
1231
  redecorate: (() => void) & (() => void);
1232
1232
  isElementStateEmpty: (element: import("platejs").TElement) => boolean;
1233
1233
  };
@@ -1282,7 +1282,7 @@ export declare const useUxfEditorRef: () => {
1282
1282
  pluginList: import("platejs/react").PlateCorePlugin[];
1283
1283
  shortcuts: import("platejs/react").Shortcuts;
1284
1284
  };
1285
- operations: import("platejs").Operation<import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>[];
1285
+ operations: import("platejs").Operation<import("./types").EmptyText | import("./types").LiElement | import("./types").LicElement | import("./types").RichText | import("./types").UxfLinkElement | import("platejs").TElement | import("platejs").TText>[];
1286
1286
  plugins: {
1287
1287
  [x: string]: import("platejs/react").PlateCorePlugin;
1288
1288
  };
@@ -1301,7 +1301,7 @@ export declare const useUxfEditorRef: () => {
1301
1301
  withoutNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => boolean | void) => boolean>;
1302
1302
  escape: () => boolean | undefined;
1303
1303
  insertFragment: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(fragment: N[], options?: import("platejs").InsertFragmentOptions) => void;
1304
- insertNode: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(node: N, options?: import("platejs").InsertNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1304
+ insertNode: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(node: N, options?: import("platejs").InsertNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1305
1305
  insertNodes: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(nodes: N | N[], options?: import("platejs").InsertNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1306
1306
  insertSoftBreak: () => void;
1307
1307
  liftNodes: (options?: import("platejs").LiftNodesOptions<import("./types").WysiwygContent> | undefined) => void;
@@ -1316,19 +1316,19 @@ export declare const useUxfEditorRef: () => {
1316
1316
  removeNodes: (options?: import("platejs").RemoveNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1317
1317
  replaceNodes: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(nodes: N | N[], options?: import("platejs").ReplaceNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1318
1318
  selectAll: () => boolean | undefined;
1319
- setNodes: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1320
- setNodesBatch: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
1319
+ setNodes: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1320
+ setNodesBatch: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
1321
1321
  splitNodes: (options?: import("platejs").SplitNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1322
1322
  tab: (options: {
1323
1323
  reverse: boolean;
1324
1324
  }) => boolean | undefined;
1325
1325
  undo: () => void;
1326
- unsetNodes: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(props: keyof import("platejs").NodeProps<N> | (keyof import("platejs").NodeProps<N>)[], options?: import("platejs").UnsetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1326
+ unsetNodes: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(props: (keyof import("platejs").NodeProps<N>)[] | keyof import("platejs").NodeProps<N>, options?: import("platejs").UnsetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1327
1327
  unwrapNodes: (options?: import("platejs").UnwrapNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1328
- wrapNodes: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N, options?: import("platejs").WrapNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1329
- writeHistory: (stack: "redos" | "undos", batch: any) => void;
1328
+ wrapNodes: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N, options?: import("platejs").WrapNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1329
+ writeHistory: (stack: 'redos' | 'undos', batch: any) => void;
1330
1330
  } & {
1331
- delete: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void)>;
1331
+ delete: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void>;
1332
1332
  insertText: (text: string, options?: import("platejs").InsertTextOptions) => void;
1333
1333
  } & {
1334
1334
  collapse: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate/dist/interfaces/transforms/selection").SelectionCollapseOptions) => void>;
@@ -1341,10 +1341,10 @@ export declare const useUxfEditorRef: () => {
1341
1341
  blur: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
1342
1342
  deselectDOM: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
1343
1343
  focus: import("platejs").OmitFirst<(editor: import("platejs").Editor, { at, edge, retries }?: import("platejs").FocusOptions) => void>;
1344
- insertData: import("slate-dom").DOMEditor["insertData"];
1345
- insertFragmentData: import("slate-dom").DOMEditor["insertFragmentData"];
1346
- insertTextData: import("slate-dom").DOMEditor["insertTextData"];
1347
- setFragmentData: import("slate-dom").DOMEditor["setFragmentData"];
1344
+ insertData: import("slate-dom").DOMEditor['insertData'];
1345
+ insertFragmentData: import("slate-dom").DOMEditor['insertFragmentData'];
1346
+ insertTextData: import("slate-dom").DOMEditor['insertTextData'];
1347
+ setFragmentData: import("slate-dom").DOMEditor['setFragmentData'];
1348
1348
  } & {
1349
1349
  setSplittingOnce: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: boolean | undefined) => void>;
1350
1350
  withMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
@@ -1352,7 +1352,7 @@ export declare const useUxfEditorRef: () => {
1352
1352
  withoutMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
1353
1353
  withoutSaving: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
1354
1354
  } & {
1355
- apply: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(operation: import("platejs").Operation<N>) => void;
1355
+ apply: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(operation: import("platejs").Operation<N>) => void;
1356
1356
  normalizeNode: <N extends import("platejs").NodeIn<import("./types").WysiwygContent>>(entry: import("platejs").NodeEntry<N>, options?: {
1357
1357
  operation?: import("platejs").Operation;
1358
1358
  }) => void;
@@ -1376,12 +1376,6 @@ export declare const useUxfEditorRef: () => {
1376
1376
  navigate: (options: import("platejs").NavigationNavigateOptions) => boolean;
1377
1377
  };
1378
1378
  } & {
1379
- nodeId: {
1380
- normalize: () => void;
1381
- };
1382
- } & Record<"nodeId", {
1383
- normalize(): void;
1384
- }> & {
1385
1379
  reset: (options: import("platejs").ResetOptions | undefined) => void;
1386
1380
  init: ((args_0: import("platejs").InitOptions) => void) & ((args_0: import("platejs").InitOptions) => void);
1387
1381
  insertExitBreak: ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined) & ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined);
@@ -1393,7 +1387,13 @@ export declare const useUxfEditorRef: () => {
1393
1387
  } | undefined) => true | undefined);
1394
1388
  setValue: ((value?: string | import("platejs").Value | undefined) => void) & ((value?: string | import("platejs").Value | undefined) => void);
1395
1389
  apply: <N$1 extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N$1>) => void;
1396
- };
1390
+ } & {
1391
+ nodeId: {
1392
+ normalize: () => void;
1393
+ };
1394
+ } & Record<"nodeId", {
1395
+ normalize(): void;
1396
+ }>;
1397
1397
  transforms: {
1398
1398
  addMark: import("platejs").OmitFirst<(editor: import("platejs").Editor, key: string, value: any) => void>;
1399
1399
  addMarks: import("platejs").OmitFirst<(editor: import("platejs").Editor, marks: import("platejs").EditorMarks, { remove }?: import("platejs").AddMarksOptions) => void>;
@@ -1409,7 +1409,7 @@ export declare const useUxfEditorRef: () => {
1409
1409
  withoutNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => boolean | void) => boolean>;
1410
1410
  escape: () => boolean | undefined;
1411
1411
  insertFragment: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(fragment: N[], options?: import("platejs").InsertFragmentOptions) => void;
1412
- insertNode: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(node: N, options?: import("platejs").InsertNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1412
+ insertNode: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(node: N, options?: import("platejs").InsertNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1413
1413
  insertNodes: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(nodes: N | N[], options?: import("platejs").InsertNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1414
1414
  insertSoftBreak: () => void;
1415
1415
  liftNodes: (options?: import("platejs").LiftNodesOptions<import("./types").WysiwygContent> | undefined) => void;
@@ -1424,19 +1424,19 @@ export declare const useUxfEditorRef: () => {
1424
1424
  removeNodes: (options?: import("platejs").RemoveNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1425
1425
  replaceNodes: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(nodes: N | N[], options?: import("platejs").ReplaceNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1426
1426
  selectAll: () => boolean | undefined;
1427
- setNodes: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1428
- setNodesBatch: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
1427
+ setNodes: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1428
+ setNodesBatch: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
1429
1429
  splitNodes: (options?: import("platejs").SplitNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1430
1430
  tab: (options: {
1431
1431
  reverse: boolean;
1432
1432
  }) => boolean | undefined;
1433
1433
  undo: () => void;
1434
- unsetNodes: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(props: keyof import("platejs").NodeProps<N> | (keyof import("platejs").NodeProps<N>)[], options?: import("platejs").UnsetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1434
+ unsetNodes: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(props: (keyof import("platejs").NodeProps<N>)[] | keyof import("platejs").NodeProps<N>, options?: import("platejs").UnsetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1435
1435
  unwrapNodes: (options?: import("platejs").UnwrapNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1436
- wrapNodes: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N, options?: import("platejs").WrapNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1437
- writeHistory: (stack: "redos" | "undos", batch: any) => void;
1436
+ wrapNodes: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N, options?: import("platejs").WrapNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1437
+ writeHistory: (stack: 'redos' | 'undos', batch: any) => void;
1438
1438
  } & {
1439
- delete: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void)>;
1439
+ delete: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void>;
1440
1440
  insertText: (text: string, options?: import("platejs").InsertTextOptions) => void;
1441
1441
  } & {
1442
1442
  collapse: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate/dist/interfaces/transforms/selection").SelectionCollapseOptions) => void>;
@@ -1449,10 +1449,10 @@ export declare const useUxfEditorRef: () => {
1449
1449
  blur: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
1450
1450
  deselectDOM: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
1451
1451
  focus: import("platejs").OmitFirst<(editor: import("platejs").Editor, { at, edge, retries }?: import("platejs").FocusOptions) => void>;
1452
- insertData: import("slate-dom").DOMEditor["insertData"];
1453
- insertFragmentData: import("slate-dom").DOMEditor["insertFragmentData"];
1454
- insertTextData: import("slate-dom").DOMEditor["insertTextData"];
1455
- setFragmentData: import("slate-dom").DOMEditor["setFragmentData"];
1452
+ insertData: import("slate-dom").DOMEditor['insertData'];
1453
+ insertFragmentData: import("slate-dom").DOMEditor['insertFragmentData'];
1454
+ insertTextData: import("slate-dom").DOMEditor['insertTextData'];
1455
+ setFragmentData: import("slate-dom").DOMEditor['setFragmentData'];
1456
1456
  } & {
1457
1457
  setSplittingOnce: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: boolean | undefined) => void>;
1458
1458
  withMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
@@ -1460,7 +1460,7 @@ export declare const useUxfEditorRef: () => {
1460
1460
  withoutMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
1461
1461
  withoutSaving: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
1462
1462
  } & {
1463
- apply: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(operation: import("platejs").Operation<N>) => void;
1463
+ apply: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(operation: import("platejs").Operation<N>) => void;
1464
1464
  normalizeNode: <N extends import("platejs").NodeIn<import("./types").WysiwygContent>>(entry: import("platejs").NodeEntry<N>, options?: {
1465
1465
  operation?: import("platejs").Operation;
1466
1466
  }) => void;
@@ -1484,12 +1484,6 @@ export declare const useUxfEditorRef: () => {
1484
1484
  navigate: (options: import("platejs").NavigationNavigateOptions) => boolean;
1485
1485
  };
1486
1486
  } & {
1487
- nodeId: {
1488
- normalize: () => void;
1489
- };
1490
- } & Record<"nodeId", {
1491
- normalize(): void;
1492
- }> & {
1493
1487
  reset: (options: import("platejs").ResetOptions | undefined) => void;
1494
1488
  init: ((args_0: import("platejs").InitOptions) => void) & ((args_0: import("platejs").InitOptions) => void);
1495
1489
  insertExitBreak: ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined) & ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined);
@@ -1501,15 +1495,21 @@ export declare const useUxfEditorRef: () => {
1501
1495
  } | undefined) => true | undefined);
1502
1496
  setValue: ((value?: string | import("platejs").Value | undefined) => void) & ((value?: string | import("platejs").Value | undefined) => void);
1503
1497
  apply: <N$1 extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N$1>) => void;
1504
- };
1498
+ } & {
1499
+ nodeId: {
1500
+ normalize: () => void;
1501
+ };
1502
+ } & Record<"nodeId", {
1503
+ normalize(): void;
1504
+ }>;
1505
1505
  getApi: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin?: import("platejs").WithRequiredKey<C> | undefined) => {
1506
1506
  fragment: <N extends import("platejs").ElementOrTextIn<import("platejs").Value>>(at?: import("platejs").At | null, options?: import("platejs").EditorFragmentOptions) => N[];
1507
- getDirtyPaths: <N extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N>) => import("platejs").Path[];
1507
+ getDirtyPaths: <N extends import("platejs").DescendantIn<import("platejs").Value>>(operation: import("platejs").Operation<N>) => import("platejs").Path[];
1508
1508
  getFragment: (at?: import("platejs").At) => import("platejs").ElementOrTextIn<import("platejs").Value>[];
1509
- isElementReadOnly: <N extends import("platejs").TElement>(element: N) => boolean;
1509
+ isElementReadOnly: <N extends import("platejs").ElementIn<import("platejs").Value>>(element: N) => boolean;
1510
1510
  isSelected: (target: import("platejs").Path | import("platejs").TRange, options?: import("platejs").EditorIsSelectedOptions) => boolean;
1511
- isVoid: <N extends import("platejs").TElement>(element: N) => boolean;
1512
- markableVoid: <N extends import("platejs").TElement>(element: N) => boolean;
1511
+ isVoid: <N extends import("platejs").ElementIn<import("platejs").Value>>(element: N) => boolean;
1512
+ markableVoid: <N extends import("platejs").ElementIn<import("platejs").Value>>(element: N) => boolean;
1513
1513
  setNormalizing: (isNormalizing: boolean) => void;
1514
1514
  shouldMergeNodes: (prevNodeEntry: import("platejs").NodeEntry, curNodeEntry: import("platejs").NodeEntry, options?: {
1515
1515
  reverse?: boolean;
@@ -1528,7 +1528,7 @@ export declare const useUxfEditorRef: () => {
1528
1528
  after: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorAfterOptions) => import("slate").BasePoint | undefined>;
1529
1529
  before: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorBeforeOptions) => import("platejs").Point | undefined>;
1530
1530
  edges: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => [import("slate").BasePoint, import("slate").BasePoint] | undefined>;
1531
- elementReadOnly: import("platejs").OmitFirst<(<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options?: import("platejs").EditorElementReadOnlyOptions) => import("slate").NodeEntry<import("slate").BaseElement> | undefined)>;
1531
+ elementReadOnly: import("platejs").OmitFirst<<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options?: import("platejs").EditorElementReadOnlyOptions) => import("slate").NodeEntry<import("slate").BaseElement> | undefined>;
1532
1532
  end: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorEndOptions) => import("slate").BasePoint | undefined>;
1533
1533
  hasBlocks: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
1534
1534
  hasInlines: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
@@ -1536,7 +1536,7 @@ export declare const useUxfEditorRef: () => {
1536
1536
  hasTexts: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
1537
1537
  isBlock: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: any) => value is import("platejs").TElement>;
1538
1538
  isEdge: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point, at: import("platejs").TLocation) => boolean>;
1539
- isEmpty: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, target?: import("platejs").At | null, options?: import("platejs").EditorEmptyOptions) => boolean)>;
1539
+ isEmpty: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, target?: import("platejs").At | null, options?: import("platejs").EditorEmptyOptions) => boolean>;
1540
1540
  isEnd: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
1541
1541
  isNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
1542
1542
  isStart: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
@@ -1555,22 +1555,22 @@ export declare const useUxfEditorRef: () => {
1555
1555
  start: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorStartOptions) => import("slate").BasePoint | undefined>;
1556
1556
  string: import("platejs").OmitFirst<(editor: import("platejs").Editor, at?: import("platejs").At | null, options?: import("platejs").EditorStringOptions) => string>;
1557
1557
  unhangRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange, options?: import("platejs").EditorUnhangRangeOptions) => import("platejs").TRange>;
1558
- above: <N extends import("platejs").TElement | import("platejs").Editor<import("platejs").Value>>(options?: import("platejs").EditorAboveOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
1559
- first: <N extends import("platejs").TElement | import("platejs").TText>(at: import("platejs").At) => import("platejs").NodeEntry<N> | undefined;
1558
+ above: <N extends import("platejs").AncestorIn<import("platejs").Value>>(options?: import("platejs").EditorAboveOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
1559
+ first: <N extends import("platejs").DescendantIn<import("platejs").Value>>(at: import("platejs").At) => import("platejs").NodeEntry<N> | undefined;
1560
1560
  fragment: <N extends import("platejs").ElementOrTextIn<import("platejs").Value>>(at: import("platejs").At) => N[] | undefined;
1561
1561
  hasPath: (path: import("platejs").Path) => boolean;
1562
- last: <N extends import("platejs").TElement | import("platejs").TText>(at: import("platejs").At, options?: import("platejs").EditorLastOptions) => import("platejs").NodeEntry<N> | undefined;
1563
- leaf: <N extends import("platejs").TText>(at: import("platejs").At, options?: import("platejs").EditorLeafOptions) => import("platejs").NodeEntry<N> | undefined;
1562
+ last: <N extends import("platejs").DescendantIn<import("platejs").Value>>(at: import("platejs").At, options?: import("platejs").EditorLastOptions) => import("platejs").NodeEntry<N> | undefined;
1563
+ leaf: <N extends import("platejs").TextIn<import("platejs").Value>>(at: import("platejs").At, options?: import("platejs").EditorLeafOptions) => import("platejs").NodeEntry<N> | undefined;
1564
1564
  levels: <N extends import("platejs").NodeIn<import("platejs").Value>>(options?: import("platejs").EditorLevelsOptions<import("platejs").Value> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
1565
1565
  marks: () => {
1566
1566
  [x: string]: unknown;
1567
1567
  } | null;
1568
- next: <N extends import("platejs").TElement | import("platejs").TText>(options?: import("platejs").EditorNextOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
1569
- node: <N extends import("platejs").TElement | import("platejs").TText>(atOrOptions: import("platejs").EditorNodesOptions<import("platejs").Value> | import("platejs").AtOrDescendant, nodeOptions?: import("platejs").EditorNodeOptions) => import("platejs").NodeEntry<N> | undefined;
1570
- nodes: <N extends import("platejs").TElement | import("platejs").TText>(options?: import("platejs").EditorNodesOptions<import("platejs").Value> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
1571
- parent: <N extends import("platejs").TElement | import("platejs").Editor<import("platejs").Value>>(at: import("platejs").At, options?: import("platejs").EditorParentOptions) => import("platejs").NodeEntry<N> | undefined;
1572
- previous: <N extends import("platejs").TElement | import("platejs").TText>(options?: import("platejs").EditorPreviousOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
1573
- void: <N extends import("platejs").TElement>(options?: import("platejs").EditorVoidOptions) => import("platejs").NodeEntry<N> | undefined;
1568
+ next: <N extends import("platejs").DescendantIn<import("platejs").Value>>(options?: import("platejs").EditorNextOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
1569
+ node: <N extends import("platejs").DescendantIn<import("platejs").Value>>(atOrOptions: import("platejs").AtOrDescendant | import("platejs").EditorNodesOptions<import("platejs").Value>, nodeOptions?: import("platejs").EditorNodeOptions) => import("platejs").NodeEntry<N> | undefined;
1570
+ nodes: <N extends import("platejs").DescendantIn<import("platejs").Value>>(options?: import("platejs").EditorNodesOptions<import("platejs").Value> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
1571
+ parent: <N extends import("platejs").AncestorIn<import("platejs").Value>>(at: import("platejs").At, options?: import("platejs").EditorParentOptions) => import("platejs").NodeEntry<N> | undefined;
1572
+ previous: <N extends import("platejs").DescendantIn<import("platejs").Value>>(options?: import("platejs").EditorPreviousOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
1573
+ void: <N extends import("platejs").ElementIn<import("platejs").Value>>(options?: import("platejs").EditorVoidOptions) => import("platejs").NodeEntry<N> | undefined;
1574
1574
  } & {
1575
1575
  findDocumentOrShadowRoot: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Document | ShadowRoot | undefined>;
1576
1576
  findEventRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, event: any) => import("slate").BaseRange | undefined>;
@@ -1587,18 +1587,18 @@ export declare const useUxfEditorRef: () => {
1587
1587
  toDOMNode: import("platejs").OmitFirst<(editor: import("platejs").Editor, node: import("platejs").TNode) => HTMLElement | undefined>;
1588
1588
  toDOMPoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point) => import("slate-dom").DOMPoint | undefined>;
1589
1589
  toDOMRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange) => Range | undefined>;
1590
- toSlatePoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, domPoint: import("slate-dom").DOMPoint, options: Omit<Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domPoint: import("slate-dom").DOMPoint, options: {
1590
+ toSlatePoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, domPoint: import("slate-dom").DOMPoint, options: Omit<Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domPoint: import("slate-dom").DOMPoint, options: {
1591
1591
  exactMatch: boolean;
1592
1592
  suppressThrow: T;
1593
- searchDirection?: "forward" | "backward";
1594
- }) => T extends true ? import("slate").Point | null : import("slate").Point)>[2], "suppressThrow">) => import("slate").BasePoint | null | undefined>;
1595
- toSlateRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, domRange: Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
1593
+ searchDirection?: 'forward' | 'backward';
1594
+ }) => T extends true ? import("slate").Point | null : import("slate").Point>[2], "suppressThrow">) => import("slate").BasePoint | null | undefined>;
1595
+ toSlateRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, domRange: Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
1596
1596
  exactMatch: boolean;
1597
1597
  suppressThrow: T;
1598
- }) => T extends true ? import("slate").Range | null : import("slate").Range)>[1], options: Omit<Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
1598
+ }) => T extends true ? import("slate").Range | null : import("slate").Range>[1], options: Omit<Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
1599
1599
  exactMatch: boolean;
1600
1600
  suppressThrow: T;
1601
- }) => T extends true ? import("slate").Range | null : import("slate").Range)>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
1601
+ }) => T extends true ? import("slate").Range | null : import("slate").Range>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
1602
1602
  findPath: (node: import("platejs").TNode, options?: import("platejs").EditorFindPathOptions) => import("platejs").Path | undefined;
1603
1603
  hasEditableTarget: (target: EventTarget | null) => target is Node;
1604
1604
  hasSelectableTarget: (target: EventTarget | null) => target is Node;
@@ -1613,7 +1613,7 @@ export declare const useUxfEditorRef: () => {
1613
1613
  block: (node?: Partial<import("platejs").TElement>, path?: import("platejs").Path) => import("platejs").TElement;
1614
1614
  value: () => import("platejs").Value;
1615
1615
  };
1616
- isAt: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
1616
+ isAt: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
1617
1617
  at?: import("platejs").TLocation | null;
1618
1618
  block?: boolean;
1619
1619
  blocks?: boolean;
@@ -1621,30 +1621,29 @@ export declare const useUxfEditorRef: () => {
1621
1621
  start?: boolean;
1622
1622
  text?: boolean;
1623
1623
  word?: boolean;
1624
- } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean)>;
1624
+ } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean>;
1625
1625
  isText: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => boolean>;
1626
1626
  scrollIntoView: import("platejs").OmitFirst<(editor: import("platejs").Editor, target: Range | import("platejs").Point, options?: import("platejs").ScrollIntoViewOptions) => void>;
1627
- some: import("platejs").OmitFirst<(<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options: import("platejs").EditorNodesOptions<import("platejs").ValueOf<E>>) => boolean)>;
1628
- block: <N extends import("platejs").TElement>(options?: import("platejs").EditorBlockOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
1629
- blocks: <N extends import("platejs").TElement>(options?: import("platejs").EditorNodesOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N>[];
1630
- descendant: <N extends import("platejs").TElement | import("platejs").TText>(options: import("platejs").EditorNodesOptions<import("platejs").Value>) => import("platejs").NodeEntry<N> | undefined;
1631
- edgeBlocks: <N1 extends import("platejs").TElement, N2 extends import("platejs").TElement = N1>(options?: import("platejs").EditorAboveOptions<import("platejs").Value> | undefined) => [import("platejs").NodeEntry<N1>, import("platejs").NodeEntry<N2>] | null;
1627
+ some: import("platejs").OmitFirst<<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options: import("platejs").EditorNodesOptions<import("platejs").ValueOf<E>>) => boolean>;
1628
+ block: <N extends import("platejs").ElementIn<import("platejs").Value>>(options?: import("platejs").EditorBlockOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
1629
+ blocks: <N extends import("platejs").ElementIn<import("platejs").Value>>(options?: import("platejs").EditorNodesOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N>[];
1630
+ descendant: <N extends import("platejs").DescendantIn<import("platejs").Value>>(options: import("platejs").EditorNodesOptions<import("platejs").Value>) => import("platejs").NodeEntry<N> | undefined;
1631
+ edgeBlocks: <N1 extends import("platejs").ElementIn<import("platejs").Value>, N2 extends import("platejs").ElementIn<import("platejs").Value> = N1>(options?: import("platejs").EditorAboveOptions<import("platejs").Value> | undefined) => [import("platejs").NodeEntry<N1>, import("platejs").NodeEntry<N2>] | null;
1632
1632
  isCollapsed: () => boolean;
1633
1633
  isEditorEnd: () => boolean;
1634
1634
  isExpanded: () => boolean;
1635
- isInline: <N extends import("platejs").TElement | import("platejs").TText>(element: N) => boolean;
1636
- isSelectable: <N extends import("platejs").TElement>(element: N) => boolean;
1637
- mark: <K extends string>(key: K) => unknown;
1635
+ isInline: <N extends import("platejs").DescendantIn<import("platejs").Value>>(element: N) => boolean;
1636
+ isSelectable: <N extends import("platejs").ElementIn<import("platejs").Value>>(element: N) => boolean;
1637
+ mark: <K extends keyof import("platejs").MarksIn<import("platejs").Value>>(key: K) => unknown;
1638
1638
  nodesRange: (nodes: import("platejs").NodeEntry[]) => import("platejs").TRange | undefined;
1639
1639
  prop: (options: import("platejs").EditorPropOptions<import("platejs").Value>) => string | undefined;
1640
- } & {
1641
- debug: {
1642
- error: (message: string | unknown, type?: import("platejs").DebugErrorType, details?: any) => void;
1643
- info: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
1644
- log: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
1645
- warn: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
1646
- };
1647
- } & {
1640
+ } & Record<"html", {
1641
+ deserialize: (args_0: {
1642
+ element: HTMLElement | string;
1643
+ collapseWhiteSpace?: boolean;
1644
+ defaultElementPlugin?: import("platejs").WithRequiredKey;
1645
+ }) => import("platejs").Descendant[];
1646
+ }> & {
1648
1647
  isElementStateEmpty: (element: import("platejs").TElement) => boolean;
1649
1648
  redecorate: () => void;
1650
1649
  } & {
@@ -1655,23 +1654,24 @@ export declare const useUxfEditorRef: () => {
1655
1654
  clear: () => void;
1656
1655
  isTarget: (path: import("platejs").Path) => boolean;
1657
1656
  };
1658
- } & Record<"html", {
1659
- deserialize: (args_0: {
1660
- element: HTMLElement | string;
1661
- collapseWhiteSpace?: boolean;
1662
- defaultElementPlugin?: import("platejs").WithRequiredKey;
1663
- }) => import("platejs").Descendant[];
1664
- }> & {
1657
+ } & {
1658
+ debug: {
1659
+ error: (message: string | unknown, type?: import("platejs").DebugErrorType, details?: any) => void;
1660
+ info: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
1661
+ log: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
1662
+ warn: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
1663
+ };
1664
+ } & {
1665
1665
  redecorate: (() => void) & (() => void);
1666
1666
  isElementStateEmpty: (element: import("platejs").TElement) => boolean;
1667
1667
  } & {
1668
1668
  fragment: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(at?: import("platejs").At | null, options?: import("platejs").EditorFragmentOptions) => N[];
1669
- getDirtyPaths: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(operation: import("platejs").Operation<N>) => import("platejs").Path[];
1669
+ getDirtyPaths: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(operation: import("platejs").Operation<N>) => import("platejs").Path[];
1670
1670
  getFragment: (at?: import("platejs").At) => import("platejs").ElementOrTextIn<import("./types").WysiwygContent>[];
1671
- isElementReadOnly: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N) => boolean;
1671
+ isElementReadOnly: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N) => boolean;
1672
1672
  isSelected: (target: import("platejs").Path | import("platejs").TRange, options?: import("platejs").EditorIsSelectedOptions) => boolean;
1673
- isVoid: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N) => boolean;
1674
- markableVoid: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N) => boolean;
1673
+ isVoid: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N) => boolean;
1674
+ markableVoid: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N) => boolean;
1675
1675
  setNormalizing: (isNormalizing: boolean) => void;
1676
1676
  shouldMergeNodes: (prevNodeEntry: import("platejs").NodeEntry, curNodeEntry: import("platejs").NodeEntry, options?: {
1677
1677
  reverse?: boolean;
@@ -1690,7 +1690,7 @@ export declare const useUxfEditorRef: () => {
1690
1690
  after: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorAfterOptions) => import("slate").BasePoint | undefined>;
1691
1691
  before: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorBeforeOptions) => import("platejs").Point | undefined>;
1692
1692
  edges: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => [import("slate").BasePoint, import("slate").BasePoint] | undefined>;
1693
- elementReadOnly: import("platejs").OmitFirst<(<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options?: import("platejs").EditorElementReadOnlyOptions) => import("slate").NodeEntry<import("slate").BaseElement> | undefined)>;
1693
+ elementReadOnly: import("platejs").OmitFirst<<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options?: import("platejs").EditorElementReadOnlyOptions) => import("slate").NodeEntry<import("slate").BaseElement> | undefined>;
1694
1694
  end: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorEndOptions) => import("slate").BasePoint | undefined>;
1695
1695
  hasBlocks: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
1696
1696
  hasInlines: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
@@ -1698,7 +1698,7 @@ export declare const useUxfEditorRef: () => {
1698
1698
  hasTexts: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
1699
1699
  isBlock: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: any) => value is import("platejs").TElement>;
1700
1700
  isEdge: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point, at: import("platejs").TLocation) => boolean>;
1701
- isEmpty: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, target?: import("platejs").At | null, options?: import("platejs").EditorEmptyOptions) => boolean)>;
1701
+ isEmpty: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, target?: import("platejs").At | null, options?: import("platejs").EditorEmptyOptions) => boolean>;
1702
1702
  isEnd: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
1703
1703
  isNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
1704
1704
  isStart: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
@@ -1717,23 +1717,23 @@ export declare const useUxfEditorRef: () => {
1717
1717
  start: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorStartOptions) => import("slate").BasePoint | undefined>;
1718
1718
  string: import("platejs").OmitFirst<(editor: import("platejs").Editor, at?: import("platejs").At | null, options?: import("platejs").EditorStringOptions) => string>;
1719
1719
  unhangRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange, options?: import("platejs").EditorUnhangRangeOptions) => import("platejs").TRange>;
1720
- above: <N extends import("platejs").TElement | import("platejs").Editor<import("platejs").Value>>(options?: import("platejs").EditorAboveOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
1721
- first: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(at: import("platejs").At) => import("platejs").NodeEntry<N> | undefined;
1720
+ above: <N extends import("platejs").AncestorIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorAboveOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
1721
+ first: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(at: import("platejs").At) => import("platejs").NodeEntry<N> | undefined;
1722
1722
  fragment: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(at: import("platejs").At) => N[] | undefined;
1723
1723
  hasPath: (path: import("platejs").Path) => boolean;
1724
- last: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(at: import("platejs").At, options?: import("platejs").EditorLastOptions) => import("platejs").NodeEntry<N> | undefined;
1725
- leaf: <N extends import("platejs").TText | import("./types").EmptyText | import("./types").RichText>(at: import("platejs").At, options?: import("platejs").EditorLeafOptions) => import("platejs").NodeEntry<N> | undefined;
1724
+ last: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(at: import("platejs").At, options?: import("platejs").EditorLastOptions) => import("platejs").NodeEntry<N> | undefined;
1725
+ leaf: <N extends import("platejs").TextIn<import("./types").WysiwygContent>>(at: import("platejs").At, options?: import("platejs").EditorLeafOptions) => import("platejs").NodeEntry<N> | undefined;
1726
1726
  levels: <N extends import("platejs").NodeIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorLevelsOptions<import("./types").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
1727
1727
  marks: () => {
1728
1728
  [x: string]: unknown;
1729
1729
  [x: number]: unknown;
1730
1730
  } | null;
1731
- next: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(options?: import("platejs").EditorNextOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
1732
- node: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(atOrOptions: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | import("platejs").AtOrDescendant, nodeOptions?: import("platejs").EditorNodeOptions) => import("platejs").NodeEntry<N> | undefined;
1733
- nodes: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(options?: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
1734
- parent: <N extends import("platejs").TElement | import("platejs").Editor<import("platejs").Value>>(at: import("platejs").At, options?: import("platejs").EditorParentOptions) => import("platejs").NodeEntry<N> | undefined;
1735
- previous: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(options?: import("platejs").EditorPreviousOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
1736
- void: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(options?: import("platejs").EditorVoidOptions) => import("platejs").NodeEntry<N> | undefined;
1731
+ next: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorNextOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
1732
+ node: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(atOrOptions: import("platejs").AtOrDescendant | import("platejs").EditorNodesOptions<import("./types").WysiwygContent>, nodeOptions?: import("platejs").EditorNodeOptions) => import("platejs").NodeEntry<N> | undefined;
1733
+ nodes: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
1734
+ parent: <N extends import("platejs").AncestorIn<import("./types").WysiwygContent>>(at: import("platejs").At, options?: import("platejs").EditorParentOptions) => import("platejs").NodeEntry<N> | undefined;
1735
+ previous: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorPreviousOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
1736
+ void: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorVoidOptions) => import("platejs").NodeEntry<N> | undefined;
1737
1737
  } & {
1738
1738
  findDocumentOrShadowRoot: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Document | ShadowRoot | undefined>;
1739
1739
  findEventRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, event: any) => import("slate").BaseRange | undefined>;
@@ -1750,18 +1750,18 @@ export declare const useUxfEditorRef: () => {
1750
1750
  toDOMNode: import("platejs").OmitFirst<(editor: import("platejs").Editor, node: import("platejs").TNode) => HTMLElement | undefined>;
1751
1751
  toDOMPoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point) => import("slate-dom").DOMPoint | undefined>;
1752
1752
  toDOMRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange) => Range | undefined>;
1753
- toSlatePoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, domPoint: import("slate-dom").DOMPoint, options: Omit<Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domPoint: import("slate-dom").DOMPoint, options: {
1753
+ toSlatePoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, domPoint: import("slate-dom").DOMPoint, options: Omit<Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domPoint: import("slate-dom").DOMPoint, options: {
1754
1754
  exactMatch: boolean;
1755
1755
  suppressThrow: T;
1756
- searchDirection?: "forward" | "backward";
1757
- }) => T extends true ? import("slate").Point | null : import("slate").Point)>[2], "suppressThrow">) => import("slate").BasePoint | null | undefined>;
1758
- toSlateRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, domRange: Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
1756
+ searchDirection?: 'forward' | 'backward';
1757
+ }) => T extends true ? import("slate").Point | null : import("slate").Point>[2], "suppressThrow">) => import("slate").BasePoint | null | undefined>;
1758
+ toSlateRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, domRange: Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
1759
1759
  exactMatch: boolean;
1760
1760
  suppressThrow: T;
1761
- }) => T extends true ? import("slate").Range | null : import("slate").Range)>[1], options: Omit<Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
1761
+ }) => T extends true ? import("slate").Range | null : import("slate").Range>[1], options: Omit<Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
1762
1762
  exactMatch: boolean;
1763
1763
  suppressThrow: T;
1764
- }) => T extends true ? import("slate").Range | null : import("slate").Range)>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
1764
+ }) => T extends true ? import("slate").Range | null : import("slate").Range>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
1765
1765
  findPath: (node: import("platejs").TNode, options?: import("platejs").EditorFindPathOptions) => import("platejs").Path | undefined;
1766
1766
  hasEditableTarget: (target: EventTarget | null) => target is Node;
1767
1767
  hasSelectableTarget: (target: EventTarget | null) => target is Node;
@@ -1772,7 +1772,7 @@ export declare const useUxfEditorRef: () => {
1772
1772
  block: (node?: Partial<import("platejs").TElement>, path?: import("platejs").Path) => import("platejs").TElement;
1773
1773
  value: () => import("platejs").Value;
1774
1774
  };
1775
- isAt: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
1775
+ isAt: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
1776
1776
  at?: import("platejs").TLocation | null;
1777
1777
  block?: boolean;
1778
1778
  blocks?: boolean;
@@ -1780,20 +1780,20 @@ export declare const useUxfEditorRef: () => {
1780
1780
  start?: boolean;
1781
1781
  text?: boolean;
1782
1782
  word?: boolean;
1783
- } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean)>;
1783
+ } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean>;
1784
1784
  isText: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => boolean>;
1785
1785
  scrollIntoView: import("platejs").OmitFirst<(editor: import("platejs").Editor, target: Range | import("platejs").Point, options?: import("platejs").ScrollIntoViewOptions) => void>;
1786
- some: import("platejs").OmitFirst<(<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options: import("platejs").EditorNodesOptions<import("platejs").ValueOf<E>>) => boolean)>;
1787
- block: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(options?: import("platejs").EditorBlockOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
1788
- blocks: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(options?: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N>[];
1789
- descendant: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(options: import("platejs").EditorNodesOptions<import("./types").WysiwygContent>) => import("platejs").NodeEntry<N> | undefined;
1790
- edgeBlocks: <N1 extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement, N2 extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement = N1>(options?: import("platejs").EditorAboveOptions<import("./types").WysiwygContent> | undefined) => [import("platejs").NodeEntry<N1>, import("platejs").NodeEntry<N2>] | null;
1786
+ some: import("platejs").OmitFirst<<E extends import("platejs").Editor = import("platejs").Editor<import("platejs").Value>>(editor: E, options: import("platejs").EditorNodesOptions<import("platejs").ValueOf<E>>) => boolean>;
1787
+ block: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorBlockOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
1788
+ blocks: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(options?: import("platejs").EditorNodesOptions<import("./types").WysiwygContent> | undefined) => import("platejs").NodeEntry<N>[];
1789
+ descendant: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(options: import("platejs").EditorNodesOptions<import("./types").WysiwygContent>) => import("platejs").NodeEntry<N> | undefined;
1790
+ edgeBlocks: <N1 extends import("platejs").ElementIn<import("./types").WysiwygContent>, N2 extends import("platejs").ElementIn<import("./types").WysiwygContent> = N1>(options?: import("platejs").EditorAboveOptions<import("./types").WysiwygContent> | undefined) => [import("platejs").NodeEntry<N1>, import("platejs").NodeEntry<N2>] | null;
1791
1791
  isCollapsed: () => boolean;
1792
1792
  isEditorEnd: () => boolean;
1793
1793
  isExpanded: () => boolean;
1794
- isInline: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(element: N) => boolean;
1795
- isSelectable: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N) => boolean;
1796
- mark: <K extends keyof import("./types").RichText>(key: K) => {
1794
+ isInline: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(element: N) => boolean;
1795
+ isSelectable: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N) => boolean;
1796
+ mark: <K extends keyof import("platejs").MarksIn<import("./types").WysiwygContent>>(key: K) => {
1797
1797
  [x: string]: unknown;
1798
1798
  [x: number]: unknown;
1799
1799
  }[K] | null | undefined;
@@ -1815,7 +1815,7 @@ export declare const useUxfEditorRef: () => {
1815
1815
  withoutNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => boolean | void) => boolean>;
1816
1816
  escape: () => boolean | undefined;
1817
1817
  insertFragment: <N extends import("platejs").ElementOrTextIn<import("platejs").Value>>(fragment: N[], options?: import("platejs").InsertFragmentOptions) => void;
1818
- insertNode: <N extends import("platejs").TElement | import("platejs").TText>(node: N, options?: import("platejs").InsertNodesOptions<import("platejs").Value> | undefined) => void;
1818
+ insertNode: <N extends import("platejs").DescendantIn<import("platejs").Value>>(node: N, options?: import("platejs").InsertNodesOptions<import("platejs").Value> | undefined) => void;
1819
1819
  insertNodes: <N extends import("platejs").ElementOrTextIn<import("platejs").Value>>(nodes: N | N[], options?: import("platejs").InsertNodesOptions<import("platejs").Value> | undefined) => void;
1820
1820
  insertSoftBreak: () => void;
1821
1821
  liftNodes: (options?: import("platejs").LiftNodesOptions<import("platejs").Value> | undefined) => void;
@@ -1830,19 +1830,19 @@ export declare const useUxfEditorRef: () => {
1830
1830
  removeNodes: (options?: import("platejs").RemoveNodesOptions<import("platejs").Value> | undefined) => void;
1831
1831
  replaceNodes: <N extends import("platejs").ElementOrTextIn<import("platejs").Value>>(nodes: N | N[], options?: import("platejs").ReplaceNodesOptions<import("platejs").Value> | undefined) => void;
1832
1832
  selectAll: () => boolean | undefined;
1833
- setNodes: <N extends import("platejs").TElement | import("platejs").TText>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("platejs").Value> | undefined) => void;
1834
- setNodesBatch: <N extends import("platejs").TElement | import("platejs").TText>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
1833
+ setNodes: <N extends import("platejs").DescendantIn<import("platejs").Value>>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("platejs").Value> | undefined) => void;
1834
+ setNodesBatch: <N extends import("platejs").DescendantIn<import("platejs").Value>>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
1835
1835
  splitNodes: (options?: import("platejs").SplitNodesOptions<import("platejs").Value> | undefined) => void;
1836
1836
  tab: (options: {
1837
1837
  reverse: boolean;
1838
1838
  }) => boolean | undefined;
1839
1839
  undo: () => void;
1840
- unsetNodes: <N extends import("platejs").TElement | import("platejs").TText>(props: keyof import("platejs").NodeProps<N> | (keyof import("platejs").NodeProps<N>)[], options?: import("platejs").UnsetNodesOptions<import("platejs").Value> | undefined) => void;
1840
+ unsetNodes: <N extends import("platejs").DescendantIn<import("platejs").Value>>(props: (keyof import("platejs").NodeProps<N>)[] | keyof import("platejs").NodeProps<N>, options?: import("platejs").UnsetNodesOptions<import("platejs").Value> | undefined) => void;
1841
1841
  unwrapNodes: (options?: import("platejs").UnwrapNodesOptions<import("platejs").Value> | undefined) => void;
1842
- wrapNodes: <N extends import("platejs").TElement>(element: N, options?: import("platejs").WrapNodesOptions<import("platejs").Value> | undefined) => void;
1843
- writeHistory: (stack: "redos" | "undos", batch: any) => void;
1842
+ wrapNodes: <N extends import("platejs").ElementIn<import("platejs").Value>>(element: N, options?: import("platejs").WrapNodesOptions<import("platejs").Value> | undefined) => void;
1843
+ writeHistory: (stack: 'redos' | 'undos', batch: any) => void;
1844
1844
  } & {
1845
- delete: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void)>;
1845
+ delete: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void>;
1846
1846
  insertText: (text: string, options?: import("platejs").InsertTextOptions) => void;
1847
1847
  } & {
1848
1848
  collapse: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate/dist/interfaces/transforms/selection").SelectionCollapseOptions) => void>;
@@ -1855,10 +1855,10 @@ export declare const useUxfEditorRef: () => {
1855
1855
  blur: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
1856
1856
  deselectDOM: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
1857
1857
  focus: import("platejs").OmitFirst<(editor: import("platejs").Editor, { at, edge, retries }?: import("platejs").FocusOptions) => void>;
1858
- insertData: import("slate-dom").DOMEditor["insertData"];
1859
- insertFragmentData: import("slate-dom").DOMEditor["insertFragmentData"];
1860
- insertTextData: import("slate-dom").DOMEditor["insertTextData"];
1861
- setFragmentData: import("slate-dom").DOMEditor["setFragmentData"];
1858
+ insertData: import("slate-dom").DOMEditor['insertData'];
1859
+ insertFragmentData: import("slate-dom").DOMEditor['insertFragmentData'];
1860
+ insertTextData: import("slate-dom").DOMEditor['insertTextData'];
1861
+ setFragmentData: import("slate-dom").DOMEditor['setFragmentData'];
1862
1862
  } & {
1863
1863
  setSplittingOnce: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: boolean | undefined) => void>;
1864
1864
  withMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
@@ -1866,7 +1866,7 @@ export declare const useUxfEditorRef: () => {
1866
1866
  withoutMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
1867
1867
  withoutSaving: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
1868
1868
  } & {
1869
- apply: <N extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N>) => void;
1869
+ apply: <N extends import("platejs").DescendantIn<import("platejs").Value>>(operation: import("platejs").Operation<N>) => void;
1870
1870
  normalizeNode: <N extends import("platejs").NodeIn<import("platejs").Value>>(entry: import("platejs").NodeEntry<N>, options?: {
1871
1871
  operation?: import("platejs").Operation;
1872
1872
  }) => void;
@@ -1890,12 +1890,6 @@ export declare const useUxfEditorRef: () => {
1890
1890
  navigate: (options: import("platejs").NavigationNavigateOptions) => boolean;
1891
1891
  };
1892
1892
  } & {
1893
- nodeId: {
1894
- normalize: () => void;
1895
- };
1896
- } & Record<"nodeId", {
1897
- normalize(): void;
1898
- }> & {
1899
1893
  reset: (options: import("platejs").ResetOptions | undefined) => void;
1900
1894
  init: ((args_0: import("platejs").InitOptions) => void) & ((args_0: import("platejs").InitOptions) => void);
1901
1895
  insertExitBreak: ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined) & ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined);
@@ -1908,6 +1902,12 @@ export declare const useUxfEditorRef: () => {
1908
1902
  setValue: ((value?: string | import("platejs").Value | undefined) => void) & ((value?: string | import("platejs").Value | undefined) => void);
1909
1903
  apply: <N$1 extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N$1>) => void;
1910
1904
  } & {
1905
+ nodeId: {
1906
+ normalize: () => void;
1907
+ };
1908
+ } & Record<"nodeId", {
1909
+ normalize(): void;
1910
+ }> & {
1911
1911
  addMark: import("platejs").OmitFirst<(editor: import("platejs").Editor, key: string, value: any) => void>;
1912
1912
  addMarks: import("platejs").OmitFirst<(editor: import("platejs").Editor, marks: import("platejs").EditorMarks, { remove }?: import("platejs").AddMarksOptions) => void>;
1913
1913
  deleteBackward: import("platejs").OmitFirst<(editor: import("platejs").Editor, unit?: import("platejs").TextUnit) => void>;
@@ -1922,7 +1922,7 @@ export declare const useUxfEditorRef: () => {
1922
1922
  withoutNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => boolean | void) => boolean>;
1923
1923
  escape: () => boolean | undefined;
1924
1924
  insertFragment: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(fragment: N[], options?: import("platejs").InsertFragmentOptions) => void;
1925
- insertNode: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(node: N, options?: import("platejs").InsertNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1925
+ insertNode: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(node: N, options?: import("platejs").InsertNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1926
1926
  insertNodes: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(nodes: N | N[], options?: import("platejs").InsertNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1927
1927
  insertSoftBreak: () => void;
1928
1928
  liftNodes: (options?: import("platejs").LiftNodesOptions<import("./types").WysiwygContent> | undefined) => void;
@@ -1937,19 +1937,19 @@ export declare const useUxfEditorRef: () => {
1937
1937
  removeNodes: (options?: import("platejs").RemoveNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1938
1938
  replaceNodes: <N extends import("platejs").ElementOrTextIn<import("./types").WysiwygContent>>(nodes: N | N[], options?: import("platejs").ReplaceNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1939
1939
  selectAll: () => boolean | undefined;
1940
- setNodes: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1941
- setNodesBatch: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
1940
+ setNodes: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1941
+ setNodesBatch: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
1942
1942
  splitNodes: (options?: import("platejs").SplitNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1943
1943
  tab: (options: {
1944
1944
  reverse: boolean;
1945
1945
  }) => boolean | undefined;
1946
1946
  undo: () => void;
1947
- unsetNodes: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(props: keyof import("platejs").NodeProps<N> | (keyof import("platejs").NodeProps<N>)[], options?: import("platejs").UnsetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1947
+ unsetNodes: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(props: (keyof import("platejs").NodeProps<N>)[] | keyof import("platejs").NodeProps<N>, options?: import("platejs").UnsetNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1948
1948
  unwrapNodes: (options?: import("platejs").UnwrapNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1949
- wrapNodes: <N extends import("platejs").TElement | import("./types").UxfLinkElement | import("./types").UxfParagraphElement | import("./types").UxfBlockQuoteElement | import("./types").UxfImageElement | import("./types").UxfHeadingElement | import("./types").LicElement | import("./types").LiElement | import("./types").UxfUnorderedListElement | import("./types").UxfOrderedListElement | import("./types").UxfVideoElement | import("./types").UxfButtonElement>(element: N, options?: import("platejs").WrapNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1950
- writeHistory: (stack: "redos" | "undos", batch: any) => void;
1949
+ wrapNodes: <N extends import("platejs").ElementIn<import("./types").WysiwygContent>>(element: N, options?: import("platejs").WrapNodesOptions<import("./types").WysiwygContent> | undefined) => void;
1950
+ writeHistory: (stack: 'redos' | 'undos', batch: any) => void;
1951
1951
  } & {
1952
- apply: <N extends import("platejs").TElement | import("platejs").TText | import("./types").EmptyText | import("./types").RichText | import("./types").UxfLinkElement | import("./types").LicElement | import("./types").LiElement>(operation: import("platejs").Operation<N>) => void;
1952
+ apply: <N extends import("platejs").DescendantIn<import("./types").WysiwygContent>>(operation: import("platejs").Operation<N>) => void;
1953
1953
  normalizeNode: <N extends import("platejs").NodeIn<import("./types").WysiwygContent>>(entry: import("platejs").NodeEntry<N>, options?: {
1954
1954
  operation?: import("platejs").Operation;
1955
1955
  }) => void;