@uxf/wysiwyg 16.3.0 → 16.4.0

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.
@@ -5,6 +5,8 @@
5
5
  export declare const useLinkActions: () => {
6
6
  editor: {
7
7
  [x: string]: unknown;
8
+ redo: () => void;
9
+ undo: () => void;
8
10
  id: string;
9
11
  history: import("platejs").History;
10
12
  marks: import("platejs").EditorMarks | null;
@@ -59,8 +61,6 @@ export declare const useLinkActions: () => {
59
61
  shortcuts: import("platejs/react").Shortcuts;
60
62
  };
61
63
  selection: import("platejs").EditorSelection;
62
- redo: () => void;
63
- undo: () => void;
64
64
  dom: {
65
65
  composing: boolean;
66
66
  currentKeyboardEvent: KeyboardEventLike | null;
@@ -71,9 +71,9 @@ export declare const useLinkActions: () => {
71
71
  plugins: Record<string, any> & Record<string, import("platejs/react").AnyEditorPlatePlugin>;
72
72
  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;
73
73
  getInjectProps: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("platejs").InjectNodeProps<C>;
74
- 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;
74
+ 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;
75
75
  getOptions: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => import("platejs").InferOptions<C>;
76
- 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>>;
76
+ 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>>;
77
77
  getPlugin: (<C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig<any, {}, {}, {}, {}>>(plugin: import("platejs").WithRequiredKey<C>) => C extends {
78
78
  node: any;
79
79
  } ? C : import("platejs").EditorPlugin<C>) & (<C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => C extends {
@@ -84,18 +84,18 @@ export declare const useLinkActions: () => {
84
84
  api: import("platejs").EditorApi & import("platejs").UnionToIntersection<import("platejs").InferApi<import("platejs/react").PlateCorePlugin>>;
85
85
  tf: import("platejs").EditorTransforms & import("platejs").UnionToIntersection<import("platejs").InferTransforms<import("platejs/react").PlateCorePlugin>>;
86
86
  transforms: import("platejs").EditorTransforms & import("platejs").UnionToIntersection<import("platejs").InferTransforms<import("platejs/react").PlateCorePlugin>>;
87
- getApi: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin?: import("platejs").WithRequiredKey<C>) => import("platejs/react").PlateEditor["api"] & import("platejs").InferApi<C>;
88
- getTransforms: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin?: import("platejs").WithRequiredKey<C>) => import("platejs/react").PlateEditor["tf"] & import("platejs").InferTransforms<C>;
89
- uid?: string | undefined;
87
+ getApi: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin?: import("platejs").WithRequiredKey<C>) => import("platejs/react").PlateEditor['api'] & import("platejs").InferApi<C>;
88
+ getTransforms: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin?: import("platejs").WithRequiredKey<C>) => import("platejs/react").PlateEditor['tf'] & import("platejs").InferTransforms<C>;
89
+ uid?: string;
90
90
  } & {
91
91
  api: {
92
92
  fragment: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(at?: import("platejs").At | null, options?: import("platejs").EditorFragmentOptions) => N[];
93
- getDirtyPaths: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(operation: import("platejs").Operation<N>) => import("platejs").Path[];
93
+ getDirtyPaths: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(operation: import("platejs").Operation<N>) => import("platejs").Path[];
94
94
  getFragment: (at?: import("platejs").At) => import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>[];
95
- isElementReadOnly: <N extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement>(element: N) => boolean;
95
+ isElementReadOnly: <N extends import("platejs").ElementIn<import("../../..").WysiwygContent>>(element: N) => boolean;
96
96
  isSelected: (target: import("platejs").Path | import("platejs").TRange, options?: import("platejs").EditorIsSelectedOptions) => boolean;
97
- isVoid: <N extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement>(element: N) => boolean;
98
- markableVoid: <N extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement>(element: N) => boolean;
97
+ isVoid: <N extends import("platejs").ElementIn<import("../../..").WysiwygContent>>(element: N) => boolean;
98
+ markableVoid: <N extends import("platejs").ElementIn<import("../../..").WysiwygContent>>(element: N) => boolean;
99
99
  setNormalizing: (isNormalizing: boolean) => void;
100
100
  shouldMergeNodes: (prevNodeEntry: import("platejs").NodeEntry, curNodeEntry: import("platejs").NodeEntry, options?: {
101
101
  reverse?: boolean;
@@ -114,7 +114,7 @@ export declare const useLinkActions: () => {
114
114
  after: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorAfterOptions) => import("slate").BasePoint | undefined>;
115
115
  before: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorBeforeOptions) => import("platejs").Point | undefined>;
116
116
  edges: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => [import("slate").BasePoint, import("slate").BasePoint] | undefined>;
117
- 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)>;
117
+ 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>;
118
118
  end: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorEndOptions) => import("slate").BasePoint | undefined>;
119
119
  hasBlocks: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
120
120
  hasInlines: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
@@ -122,7 +122,7 @@ export declare const useLinkActions: () => {
122
122
  hasTexts: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
123
123
  isBlock: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: any) => value is import("platejs").TElement>;
124
124
  isEdge: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point, at: import("platejs").TLocation) => boolean>;
125
- isEmpty: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, target?: import("platejs").At | null, options?: import("platejs").EditorEmptyOptions) => boolean)>;
125
+ isEmpty: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, target?: import("platejs").At | null, options?: import("platejs").EditorEmptyOptions) => boolean>;
126
126
  isEnd: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
127
127
  isNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
128
128
  isStart: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
@@ -141,23 +141,23 @@ export declare const useLinkActions: () => {
141
141
  start: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorStartOptions) => import("slate").BasePoint | undefined>;
142
142
  string: import("platejs").OmitFirst<(editor: import("platejs").Editor, at?: import("platejs").At | null, options?: import("platejs").EditorStringOptions) => string>;
143
143
  unhangRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange, options?: import("platejs").EditorUnhangRangeOptions) => import("platejs").TRange>;
144
- above: <N extends import("platejs").TElement | import("platejs").Editor<import("platejs").Value>>(options?: import("platejs").EditorAboveOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
145
- first: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(at: import("platejs").At) => import("platejs").NodeEntry<N> | undefined;
144
+ above: <N extends import("platejs").AncestorIn<import("../../..").WysiwygContent>>(options?: import("platejs").EditorAboveOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
145
+ first: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(at: import("platejs").At) => import("platejs").NodeEntry<N> | undefined;
146
146
  fragment: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(at: import("platejs").At) => N[] | undefined;
147
147
  hasPath: (path: import("platejs").Path) => boolean;
148
- last: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(at: import("platejs").At, options?: import("platejs").EditorLastOptions) => import("platejs").NodeEntry<N> | undefined;
149
- leaf: <N extends import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText>(at: import("platejs").At, options?: import("platejs").EditorLeafOptions) => import("platejs").NodeEntry<N> | undefined;
148
+ last: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(at: import("platejs").At, options?: import("platejs").EditorLastOptions) => import("platejs").NodeEntry<N> | undefined;
149
+ leaf: <N extends import("platejs").TextIn<import("../../..").WysiwygContent>>(at: import("platejs").At, options?: import("platejs").EditorLeafOptions) => import("platejs").NodeEntry<N> | undefined;
150
150
  levels: <N extends import("platejs").NodeIn<import("../../..").WysiwygContent>>(options?: import("platejs").EditorLevelsOptions<import("../../..").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
151
151
  marks: () => {
152
152
  [x: string]: unknown;
153
153
  [x: number]: unknown;
154
154
  } | null;
155
- next: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(options?: import("platejs").EditorNextOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
156
- node: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(atOrOptions: import("platejs").EditorNodesOptions<import("../../..").WysiwygContent> | import("platejs").AtOrDescendant, nodeOptions?: import("platejs").EditorNodeOptions) => import("platejs").NodeEntry<N> | undefined;
157
- nodes: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(options?: import("platejs").EditorNodesOptions<import("../../..").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
158
- 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;
159
- previous: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(options?: import("platejs").EditorPreviousOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
160
- void: <N extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement>(options?: import("platejs").EditorVoidOptions) => import("platejs").NodeEntry<N> | undefined;
155
+ next: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(options?: import("platejs").EditorNextOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
156
+ node: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(atOrOptions: import("platejs").AtOrDescendant | import("platejs").EditorNodesOptions<import("../../..").WysiwygContent>, nodeOptions?: import("platejs").EditorNodeOptions) => import("platejs").NodeEntry<N> | undefined;
157
+ nodes: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(options?: import("platejs").EditorNodesOptions<import("../../..").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
158
+ parent: <N extends import("platejs").AncestorIn<import("../../..").WysiwygContent>>(at: import("platejs").At, options?: import("platejs").EditorParentOptions) => import("platejs").NodeEntry<N> | undefined;
159
+ previous: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(options?: import("platejs").EditorPreviousOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
160
+ void: <N extends import("platejs").ElementIn<import("../../..").WysiwygContent>>(options?: import("platejs").EditorVoidOptions) => import("platejs").NodeEntry<N> | undefined;
161
161
  } & {
162
162
  findDocumentOrShadowRoot: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Document | ShadowRoot | undefined>;
163
163
  findEventRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, event: any) => import("slate").BaseRange | undefined>;
@@ -174,18 +174,18 @@ export declare const useLinkActions: () => {
174
174
  toDOMNode: import("platejs").OmitFirst<(editor: import("platejs").Editor, node: import("platejs").TNode) => HTMLElement | undefined>;
175
175
  toDOMPoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point) => import("slate-dom").DOMPoint | undefined>;
176
176
  toDOMRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange) => Range | undefined>;
177
- 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: {
177
+ 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: {
178
178
  exactMatch: boolean;
179
179
  suppressThrow: T;
180
- searchDirection?: "forward" | "backward";
181
- }) => T extends true ? import("slate").Point | null : import("slate").Point)>[2], "suppressThrow">) => import("slate").BasePoint | null | undefined>;
182
- toSlateRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, domRange: Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
180
+ searchDirection?: 'forward' | 'backward';
181
+ }) => T extends true ? import("slate").Point | null : import("slate").Point>[2], "suppressThrow">) => import("slate").BasePoint | null | undefined>;
182
+ toSlateRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, domRange: Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
183
183
  exactMatch: boolean;
184
184
  suppressThrow: T;
185
- }) => 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: {
185
+ }) => 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: {
186
186
  exactMatch: boolean;
187
187
  suppressThrow: T;
188
- }) => T extends true ? import("slate").Range | null : import("slate").Range)>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
188
+ }) => T extends true ? import("slate").Range | null : import("slate").Range>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
189
189
  findPath: (node: import("platejs").TNode, options?: import("platejs").EditorFindPathOptions) => import("platejs").Path | undefined;
190
190
  hasEditableTarget: (target: EventTarget | null) => target is Node;
191
191
  hasSelectableTarget: (target: EventTarget | null) => target is Node;
@@ -200,7 +200,7 @@ export declare const useLinkActions: () => {
200
200
  block: (node?: Partial<import("platejs").TElement>, path?: import("platejs").Path) => import("platejs").TElement;
201
201
  value: () => import("platejs").Value;
202
202
  };
203
- isAt: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
203
+ isAt: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
204
204
  at?: import("platejs").TLocation | null;
205
205
  block?: boolean;
206
206
  blocks?: boolean;
@@ -208,33 +208,32 @@ export declare const useLinkActions: () => {
208
208
  start?: boolean;
209
209
  text?: boolean;
210
210
  word?: boolean;
211
- } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean)>;
211
+ } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean>;
212
212
  isText: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => boolean>;
213
213
  scrollIntoView: import("platejs").OmitFirst<(editor: import("platejs").Editor, target: Range | import("platejs").Point, options?: import("platejs").ScrollIntoViewOptions) => void>;
214
- 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)>;
215
- block: <N extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement>(options?: import("platejs").EditorBlockOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
216
- blocks: <N extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement>(options?: import("platejs").EditorNodesOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N>[];
217
- descendant: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(options: import("platejs").EditorNodesOptions<import("../../..").WysiwygContent>) => import("platejs").NodeEntry<N> | undefined;
218
- edgeBlocks: <N1 extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement, N2 extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement = N1>(options?: import("platejs").EditorAboveOptions<import("../../..").WysiwygContent> | undefined) => [import("platejs").NodeEntry<N1>, import("platejs").NodeEntry<N2>] | null;
214
+ 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>;
215
+ block: <N extends import("platejs").ElementIn<import("../../..").WysiwygContent>>(options?: import("platejs").EditorBlockOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
216
+ blocks: <N extends import("platejs").ElementIn<import("../../..").WysiwygContent>>(options?: import("platejs").EditorNodesOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N>[];
217
+ descendant: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(options: import("platejs").EditorNodesOptions<import("../../..").WysiwygContent>) => import("platejs").NodeEntry<N> | undefined;
218
+ edgeBlocks: <N1 extends import("platejs").ElementIn<import("../../..").WysiwygContent>, N2 extends import("platejs").ElementIn<import("../../..").WysiwygContent> = N1>(options?: import("platejs").EditorAboveOptions<import("../../..").WysiwygContent> | undefined) => [import("platejs").NodeEntry<N1>, import("platejs").NodeEntry<N2>] | null;
219
219
  isCollapsed: () => boolean;
220
220
  isEditorEnd: () => boolean;
221
221
  isExpanded: () => boolean;
222
- isInline: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(element: N) => boolean;
223
- isSelectable: <N extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement>(element: N) => boolean;
224
- mark: <K extends keyof import("../../..").RichText>(key: K) => {
222
+ isInline: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(element: N) => boolean;
223
+ isSelectable: <N extends import("platejs").ElementIn<import("../../..").WysiwygContent>>(element: N) => boolean;
224
+ mark: <K extends keyof import("platejs").MarksIn<import("../../..").WysiwygContent>>(key: K) => {
225
225
  [x: string]: unknown;
226
226
  [x: number]: unknown;
227
227
  }[K] | null | undefined;
228
228
  nodesRange: (nodes: import("platejs").NodeEntry[]) => import("platejs").TRange | undefined;
229
229
  prop: (options: import("platejs").EditorPropOptions<import("../../..").WysiwygContent>) => string | undefined;
230
- } & {
231
- debug: {
232
- error: (message: string | unknown, type?: import("platejs").DebugErrorType, details?: any) => void;
233
- info: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
234
- log: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
235
- warn: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
236
- };
237
- } & {
230
+ } & Record<"html", {
231
+ deserialize: (args_0: {
232
+ element: HTMLElement | string;
233
+ collapseWhiteSpace?: boolean;
234
+ defaultElementPlugin?: import("platejs").WithRequiredKey;
235
+ }) => import("platejs").Descendant[];
236
+ }> & {
238
237
  isElementStateEmpty: (element: import("platejs").TElement) => boolean;
239
238
  redecorate: () => void;
240
239
  } & {
@@ -245,13 +244,14 @@ export declare const useLinkActions: () => {
245
244
  clear: () => void;
246
245
  isTarget: (path: import("platejs").Path) => boolean;
247
246
  };
248
- } & Record<"html", {
249
- deserialize: (args_0: {
250
- element: HTMLElement | string;
251
- collapseWhiteSpace?: boolean;
252
- defaultElementPlugin?: import("platejs").WithRequiredKey;
253
- }) => import("platejs").Descendant[];
254
- }> & {
247
+ } & {
248
+ debug: {
249
+ error: (message: string | unknown, type?: import("platejs").DebugErrorType, details?: any) => void;
250
+ info: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
251
+ log: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
252
+ warn: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
253
+ };
254
+ } & {
255
255
  redecorate: (() => void) & (() => void);
256
256
  isElementStateEmpty: (element: import("platejs").TElement) => boolean;
257
257
  };
@@ -306,7 +306,7 @@ export declare const useLinkActions: () => {
306
306
  pluginList: import("platejs/react").PlateCorePlugin[];
307
307
  shortcuts: import("platejs/react").Shortcuts;
308
308
  };
309
- operations: import("platejs").Operation<import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>[];
309
+ operations: import("platejs").Operation<import("../../..").EmptyText | import("../../..").LiElement | import("../../..").LicElement | import("../../..").RichText | import("../../..").UxfLinkElement | import("platejs").TElement | import("platejs").TText>[];
310
310
  plugins: {
311
311
  [x: string]: import("platejs/react").PlateCorePlugin;
312
312
  };
@@ -325,7 +325,7 @@ export declare const useLinkActions: () => {
325
325
  withoutNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => boolean | void) => boolean>;
326
326
  escape: () => boolean | undefined;
327
327
  insertFragment: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(fragment: N[], options?: import("platejs").InsertFragmentOptions) => void;
328
- insertNode: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(node: N, options?: import("platejs").InsertNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
328
+ insertNode: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(node: N, options?: import("platejs").InsertNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
329
329
  insertNodes: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(nodes: N | N[], options?: import("platejs").InsertNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
330
330
  insertSoftBreak: () => void;
331
331
  liftNodes: (options?: import("platejs").LiftNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
@@ -340,19 +340,19 @@ export declare const useLinkActions: () => {
340
340
  removeNodes: (options?: import("platejs").RemoveNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
341
341
  replaceNodes: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(nodes: N | N[], options?: import("platejs").ReplaceNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
342
342
  selectAll: () => boolean | undefined;
343
- setNodes: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
344
- setNodesBatch: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
343
+ setNodes: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
344
+ setNodesBatch: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
345
345
  splitNodes: (options?: import("platejs").SplitNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
346
346
  tab: (options: {
347
347
  reverse: boolean;
348
348
  }) => boolean | undefined;
349
349
  undo: () => void;
350
- unsetNodes: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(props: keyof import("platejs").NodeProps<N> | (keyof import("platejs").NodeProps<N>)[], options?: import("platejs").UnsetNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
350
+ unsetNodes: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(props: (keyof import("platejs").NodeProps<N>)[] | keyof import("platejs").NodeProps<N>, options?: import("platejs").UnsetNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
351
351
  unwrapNodes: (options?: import("platejs").UnwrapNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
352
- wrapNodes: <N extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement>(element: N, options?: import("platejs").WrapNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
353
- writeHistory: (stack: "redos" | "undos", batch: any) => void;
352
+ wrapNodes: <N extends import("platejs").ElementIn<import("../../..").WysiwygContent>>(element: N, options?: import("platejs").WrapNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
353
+ writeHistory: (stack: 'redos' | 'undos', batch: any) => void;
354
354
  } & {
355
- delete: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void)>;
355
+ delete: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void>;
356
356
  insertText: (text: string, options?: import("platejs").InsertTextOptions) => void;
357
357
  } & {
358
358
  collapse: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate/dist/interfaces/transforms/selection").SelectionCollapseOptions) => void>;
@@ -365,10 +365,10 @@ export declare const useLinkActions: () => {
365
365
  blur: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
366
366
  deselectDOM: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
367
367
  focus: import("platejs").OmitFirst<(editor: import("platejs").Editor, { at, edge, retries }?: import("platejs").FocusOptions) => void>;
368
- insertData: import("slate-dom").DOMEditor["insertData"];
369
- insertFragmentData: import("slate-dom").DOMEditor["insertFragmentData"];
370
- insertTextData: import("slate-dom").DOMEditor["insertTextData"];
371
- setFragmentData: import("slate-dom").DOMEditor["setFragmentData"];
368
+ insertData: import("slate-dom").DOMEditor['insertData'];
369
+ insertFragmentData: import("slate-dom").DOMEditor['insertFragmentData'];
370
+ insertTextData: import("slate-dom").DOMEditor['insertTextData'];
371
+ setFragmentData: import("slate-dom").DOMEditor['setFragmentData'];
372
372
  } & {
373
373
  setSplittingOnce: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: boolean | undefined) => void>;
374
374
  withMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
@@ -376,7 +376,7 @@ export declare const useLinkActions: () => {
376
376
  withoutMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
377
377
  withoutSaving: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
378
378
  } & {
379
- apply: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(operation: import("platejs").Operation<N>) => void;
379
+ apply: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(operation: import("platejs").Operation<N>) => void;
380
380
  normalizeNode: <N extends import("platejs").NodeIn<import("../../..").WysiwygContent>>(entry: import("platejs").NodeEntry<N>, options?: {
381
381
  operation?: import("platejs").Operation;
382
382
  }) => void;
@@ -400,12 +400,6 @@ export declare const useLinkActions: () => {
400
400
  navigate: (options: import("platejs").NavigationNavigateOptions) => boolean;
401
401
  };
402
402
  } & {
403
- nodeId: {
404
- normalize: () => void;
405
- };
406
- } & Record<"nodeId", {
407
- normalize(): void;
408
- }> & {
409
403
  reset: (options: import("platejs").ResetOptions | undefined) => void;
410
404
  init: ((args_0: import("platejs").InitOptions) => void) & ((args_0: import("platejs").InitOptions) => void);
411
405
  insertExitBreak: ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined) & ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined);
@@ -417,7 +411,13 @@ export declare const useLinkActions: () => {
417
411
  } | undefined) => true | undefined);
418
412
  setValue: ((value?: string | import("platejs").Value | undefined) => void) & ((value?: string | import("platejs").Value | undefined) => void);
419
413
  apply: <N$1 extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N$1>) => void;
420
- };
414
+ } & {
415
+ nodeId: {
416
+ normalize: () => void;
417
+ };
418
+ } & Record<"nodeId", {
419
+ normalize(): void;
420
+ }>;
421
421
  transforms: {
422
422
  addMark: import("platejs").OmitFirst<(editor: import("platejs").Editor, key: string, value: any) => void>;
423
423
  addMarks: import("platejs").OmitFirst<(editor: import("platejs").Editor, marks: import("platejs").EditorMarks, { remove }?: import("platejs").AddMarksOptions) => void>;
@@ -433,7 +433,7 @@ export declare const useLinkActions: () => {
433
433
  withoutNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => boolean | void) => boolean>;
434
434
  escape: () => boolean | undefined;
435
435
  insertFragment: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(fragment: N[], options?: import("platejs").InsertFragmentOptions) => void;
436
- insertNode: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(node: N, options?: import("platejs").InsertNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
436
+ insertNode: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(node: N, options?: import("platejs").InsertNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
437
437
  insertNodes: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(nodes: N | N[], options?: import("platejs").InsertNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
438
438
  insertSoftBreak: () => void;
439
439
  liftNodes: (options?: import("platejs").LiftNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
@@ -448,19 +448,19 @@ export declare const useLinkActions: () => {
448
448
  removeNodes: (options?: import("platejs").RemoveNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
449
449
  replaceNodes: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(nodes: N | N[], options?: import("platejs").ReplaceNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
450
450
  selectAll: () => boolean | undefined;
451
- setNodes: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
452
- setNodesBatch: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
451
+ setNodes: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
452
+ setNodesBatch: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
453
453
  splitNodes: (options?: import("platejs").SplitNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
454
454
  tab: (options: {
455
455
  reverse: boolean;
456
456
  }) => boolean | undefined;
457
457
  undo: () => void;
458
- unsetNodes: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(props: keyof import("platejs").NodeProps<N> | (keyof import("platejs").NodeProps<N>)[], options?: import("platejs").UnsetNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
458
+ unsetNodes: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(props: (keyof import("platejs").NodeProps<N>)[] | keyof import("platejs").NodeProps<N>, options?: import("platejs").UnsetNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
459
459
  unwrapNodes: (options?: import("platejs").UnwrapNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
460
- wrapNodes: <N extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement>(element: N, options?: import("platejs").WrapNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
461
- writeHistory: (stack: "redos" | "undos", batch: any) => void;
460
+ wrapNodes: <N extends import("platejs").ElementIn<import("../../..").WysiwygContent>>(element: N, options?: import("platejs").WrapNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
461
+ writeHistory: (stack: 'redos' | 'undos', batch: any) => void;
462
462
  } & {
463
- delete: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void)>;
463
+ delete: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void>;
464
464
  insertText: (text: string, options?: import("platejs").InsertTextOptions) => void;
465
465
  } & {
466
466
  collapse: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate/dist/interfaces/transforms/selection").SelectionCollapseOptions) => void>;
@@ -473,10 +473,10 @@ export declare const useLinkActions: () => {
473
473
  blur: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
474
474
  deselectDOM: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
475
475
  focus: import("platejs").OmitFirst<(editor: import("platejs").Editor, { at, edge, retries }?: import("platejs").FocusOptions) => void>;
476
- insertData: import("slate-dom").DOMEditor["insertData"];
477
- insertFragmentData: import("slate-dom").DOMEditor["insertFragmentData"];
478
- insertTextData: import("slate-dom").DOMEditor["insertTextData"];
479
- setFragmentData: import("slate-dom").DOMEditor["setFragmentData"];
476
+ insertData: import("slate-dom").DOMEditor['insertData'];
477
+ insertFragmentData: import("slate-dom").DOMEditor['insertFragmentData'];
478
+ insertTextData: import("slate-dom").DOMEditor['insertTextData'];
479
+ setFragmentData: import("slate-dom").DOMEditor['setFragmentData'];
480
480
  } & {
481
481
  setSplittingOnce: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: boolean | undefined) => void>;
482
482
  withMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
@@ -484,7 +484,7 @@ export declare const useLinkActions: () => {
484
484
  withoutMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
485
485
  withoutSaving: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
486
486
  } & {
487
- apply: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(operation: import("platejs").Operation<N>) => void;
487
+ apply: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(operation: import("platejs").Operation<N>) => void;
488
488
  normalizeNode: <N extends import("platejs").NodeIn<import("../../..").WysiwygContent>>(entry: import("platejs").NodeEntry<N>, options?: {
489
489
  operation?: import("platejs").Operation;
490
490
  }) => void;
@@ -508,12 +508,6 @@ export declare const useLinkActions: () => {
508
508
  navigate: (options: import("platejs").NavigationNavigateOptions) => boolean;
509
509
  };
510
510
  } & {
511
- nodeId: {
512
- normalize: () => void;
513
- };
514
- } & Record<"nodeId", {
515
- normalize(): void;
516
- }> & {
517
511
  reset: (options: import("platejs").ResetOptions | undefined) => void;
518
512
  init: ((args_0: import("platejs").InitOptions) => void) & ((args_0: import("platejs").InitOptions) => void);
519
513
  insertExitBreak: ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined) & ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined);
@@ -525,15 +519,21 @@ export declare const useLinkActions: () => {
525
519
  } | undefined) => true | undefined);
526
520
  setValue: ((value?: string | import("platejs").Value | undefined) => void) & ((value?: string | import("platejs").Value | undefined) => void);
527
521
  apply: <N$1 extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N$1>) => void;
528
- };
522
+ } & {
523
+ nodeId: {
524
+ normalize: () => void;
525
+ };
526
+ } & Record<"nodeId", {
527
+ normalize(): void;
528
+ }>;
529
529
  getApi: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin?: import("platejs").WithRequiredKey<C> | undefined) => {
530
530
  fragment: <N extends import("platejs").ElementOrTextIn<import("platejs").Value>>(at?: import("platejs").At | null, options?: import("platejs").EditorFragmentOptions) => N[];
531
- getDirtyPaths: <N extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N>) => import("platejs").Path[];
531
+ getDirtyPaths: <N extends import("platejs").DescendantIn<import("platejs").Value>>(operation: import("platejs").Operation<N>) => import("platejs").Path[];
532
532
  getFragment: (at?: import("platejs").At) => import("platejs").ElementOrTextIn<import("platejs").Value>[];
533
- isElementReadOnly: <N extends import("platejs").TElement>(element: N) => boolean;
533
+ isElementReadOnly: <N extends import("platejs").ElementIn<import("platejs").Value>>(element: N) => boolean;
534
534
  isSelected: (target: import("platejs").Path | import("platejs").TRange, options?: import("platejs").EditorIsSelectedOptions) => boolean;
535
- isVoid: <N extends import("platejs").TElement>(element: N) => boolean;
536
- markableVoid: <N extends import("platejs").TElement>(element: N) => boolean;
535
+ isVoid: <N extends import("platejs").ElementIn<import("platejs").Value>>(element: N) => boolean;
536
+ markableVoid: <N extends import("platejs").ElementIn<import("platejs").Value>>(element: N) => boolean;
537
537
  setNormalizing: (isNormalizing: boolean) => void;
538
538
  shouldMergeNodes: (prevNodeEntry: import("platejs").NodeEntry, curNodeEntry: import("platejs").NodeEntry, options?: {
539
539
  reverse?: boolean;
@@ -552,7 +552,7 @@ export declare const useLinkActions: () => {
552
552
  after: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorAfterOptions) => import("slate").BasePoint | undefined>;
553
553
  before: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorBeforeOptions) => import("platejs").Point | undefined>;
554
554
  edges: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => [import("slate").BasePoint, import("slate").BasePoint] | undefined>;
555
- 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)>;
555
+ 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>;
556
556
  end: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorEndOptions) => import("slate").BasePoint | undefined>;
557
557
  hasBlocks: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
558
558
  hasInlines: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
@@ -560,7 +560,7 @@ export declare const useLinkActions: () => {
560
560
  hasTexts: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
561
561
  isBlock: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: any) => value is import("platejs").TElement>;
562
562
  isEdge: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point, at: import("platejs").TLocation) => boolean>;
563
- isEmpty: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, target?: import("platejs").At | null, options?: import("platejs").EditorEmptyOptions) => boolean)>;
563
+ isEmpty: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, target?: import("platejs").At | null, options?: import("platejs").EditorEmptyOptions) => boolean>;
564
564
  isEnd: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
565
565
  isNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
566
566
  isStart: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
@@ -579,22 +579,22 @@ export declare const useLinkActions: () => {
579
579
  start: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorStartOptions) => import("slate").BasePoint | undefined>;
580
580
  string: import("platejs").OmitFirst<(editor: import("platejs").Editor, at?: import("platejs").At | null, options?: import("platejs").EditorStringOptions) => string>;
581
581
  unhangRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange, options?: import("platejs").EditorUnhangRangeOptions) => import("platejs").TRange>;
582
- 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;
583
- first: <N extends import("platejs").TElement | import("platejs").TText>(at: import("platejs").At) => import("platejs").NodeEntry<N> | undefined;
582
+ above: <N extends import("platejs").AncestorIn<import("platejs").Value>>(options?: import("platejs").EditorAboveOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
583
+ first: <N extends import("platejs").DescendantIn<import("platejs").Value>>(at: import("platejs").At) => import("platejs").NodeEntry<N> | undefined;
584
584
  fragment: <N extends import("platejs").ElementOrTextIn<import("platejs").Value>>(at: import("platejs").At) => N[] | undefined;
585
585
  hasPath: (path: import("platejs").Path) => boolean;
586
- last: <N extends import("platejs").TElement | import("platejs").TText>(at: import("platejs").At, options?: import("platejs").EditorLastOptions) => import("platejs").NodeEntry<N> | undefined;
587
- leaf: <N extends import("platejs").TText>(at: import("platejs").At, options?: import("platejs").EditorLeafOptions) => import("platejs").NodeEntry<N> | undefined;
586
+ last: <N extends import("platejs").DescendantIn<import("platejs").Value>>(at: import("platejs").At, options?: import("platejs").EditorLastOptions) => import("platejs").NodeEntry<N> | undefined;
587
+ leaf: <N extends import("platejs").TextIn<import("platejs").Value>>(at: import("platejs").At, options?: import("platejs").EditorLeafOptions) => import("platejs").NodeEntry<N> | undefined;
588
588
  levels: <N extends import("platejs").NodeIn<import("platejs").Value>>(options?: import("platejs").EditorLevelsOptions<import("platejs").Value> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
589
589
  marks: () => {
590
590
  [x: string]: unknown;
591
591
  } | null;
592
- next: <N extends import("platejs").TElement | import("platejs").TText>(options?: import("platejs").EditorNextOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
593
- 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;
594
- nodes: <N extends import("platejs").TElement | import("platejs").TText>(options?: import("platejs").EditorNodesOptions<import("platejs").Value> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
595
- 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;
596
- previous: <N extends import("platejs").TElement | import("platejs").TText>(options?: import("platejs").EditorPreviousOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
597
- void: <N extends import("platejs").TElement>(options?: import("platejs").EditorVoidOptions) => import("platejs").NodeEntry<N> | undefined;
592
+ next: <N extends import("platejs").DescendantIn<import("platejs").Value>>(options?: import("platejs").EditorNextOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
593
+ 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;
594
+ nodes: <N extends import("platejs").DescendantIn<import("platejs").Value>>(options?: import("platejs").EditorNodesOptions<import("platejs").Value> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
595
+ parent: <N extends import("platejs").AncestorIn<import("platejs").Value>>(at: import("platejs").At, options?: import("platejs").EditorParentOptions) => import("platejs").NodeEntry<N> | undefined;
596
+ previous: <N extends import("platejs").DescendantIn<import("platejs").Value>>(options?: import("platejs").EditorPreviousOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
597
+ void: <N extends import("platejs").ElementIn<import("platejs").Value>>(options?: import("platejs").EditorVoidOptions) => import("platejs").NodeEntry<N> | undefined;
598
598
  } & {
599
599
  findDocumentOrShadowRoot: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Document | ShadowRoot | undefined>;
600
600
  findEventRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, event: any) => import("slate").BaseRange | undefined>;
@@ -611,18 +611,18 @@ export declare const useLinkActions: () => {
611
611
  toDOMNode: import("platejs").OmitFirst<(editor: import("platejs").Editor, node: import("platejs").TNode) => HTMLElement | undefined>;
612
612
  toDOMPoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point) => import("slate-dom").DOMPoint | undefined>;
613
613
  toDOMRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange) => Range | undefined>;
614
- 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: {
614
+ 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: {
615
615
  exactMatch: boolean;
616
616
  suppressThrow: T;
617
- searchDirection?: "forward" | "backward";
618
- }) => T extends true ? import("slate").Point | null : import("slate").Point)>[2], "suppressThrow">) => import("slate").BasePoint | null | undefined>;
619
- toSlateRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, domRange: Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
617
+ searchDirection?: 'forward' | 'backward';
618
+ }) => T extends true ? import("slate").Point | null : import("slate").Point>[2], "suppressThrow">) => import("slate").BasePoint | null | undefined>;
619
+ toSlateRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, domRange: Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
620
620
  exactMatch: boolean;
621
621
  suppressThrow: T;
622
- }) => 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: {
622
+ }) => 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: {
623
623
  exactMatch: boolean;
624
624
  suppressThrow: T;
625
- }) => T extends true ? import("slate").Range | null : import("slate").Range)>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
625
+ }) => T extends true ? import("slate").Range | null : import("slate").Range>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
626
626
  findPath: (node: import("platejs").TNode, options?: import("platejs").EditorFindPathOptions) => import("platejs").Path | undefined;
627
627
  hasEditableTarget: (target: EventTarget | null) => target is Node;
628
628
  hasSelectableTarget: (target: EventTarget | null) => target is Node;
@@ -637,7 +637,7 @@ export declare const useLinkActions: () => {
637
637
  block: (node?: Partial<import("platejs").TElement>, path?: import("platejs").Path) => import("platejs").TElement;
638
638
  value: () => import("platejs").Value;
639
639
  };
640
- isAt: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
640
+ isAt: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
641
641
  at?: import("platejs").TLocation | null;
642
642
  block?: boolean;
643
643
  blocks?: boolean;
@@ -645,30 +645,29 @@ export declare const useLinkActions: () => {
645
645
  start?: boolean;
646
646
  text?: boolean;
647
647
  word?: boolean;
648
- } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean)>;
648
+ } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean>;
649
649
  isText: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => boolean>;
650
650
  scrollIntoView: import("platejs").OmitFirst<(editor: import("platejs").Editor, target: Range | import("platejs").Point, options?: import("platejs").ScrollIntoViewOptions) => void>;
651
- 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)>;
652
- block: <N extends import("platejs").TElement>(options?: import("platejs").EditorBlockOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
653
- blocks: <N extends import("platejs").TElement>(options?: import("platejs").EditorNodesOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N>[];
654
- descendant: <N extends import("platejs").TElement | import("platejs").TText>(options: import("platejs").EditorNodesOptions<import("platejs").Value>) => import("platejs").NodeEntry<N> | undefined;
655
- 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;
651
+ 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>;
652
+ block: <N extends import("platejs").ElementIn<import("platejs").Value>>(options?: import("platejs").EditorBlockOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N> | undefined;
653
+ blocks: <N extends import("platejs").ElementIn<import("platejs").Value>>(options?: import("platejs").EditorNodesOptions<import("platejs").Value> | undefined) => import("platejs").NodeEntry<N>[];
654
+ descendant: <N extends import("platejs").DescendantIn<import("platejs").Value>>(options: import("platejs").EditorNodesOptions<import("platejs").Value>) => import("platejs").NodeEntry<N> | undefined;
655
+ 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;
656
656
  isCollapsed: () => boolean;
657
657
  isEditorEnd: () => boolean;
658
658
  isExpanded: () => boolean;
659
- isInline: <N extends import("platejs").TElement | import("platejs").TText>(element: N) => boolean;
660
- isSelectable: <N extends import("platejs").TElement>(element: N) => boolean;
661
- mark: <K extends string>(key: K) => unknown;
659
+ isInline: <N extends import("platejs").DescendantIn<import("platejs").Value>>(element: N) => boolean;
660
+ isSelectable: <N extends import("platejs").ElementIn<import("platejs").Value>>(element: N) => boolean;
661
+ mark: <K extends keyof import("platejs").MarksIn<import("platejs").Value>>(key: K) => unknown;
662
662
  nodesRange: (nodes: import("platejs").NodeEntry[]) => import("platejs").TRange | undefined;
663
663
  prop: (options: import("platejs").EditorPropOptions<import("platejs").Value>) => string | undefined;
664
- } & {
665
- debug: {
666
- error: (message: string | unknown, type?: import("platejs").DebugErrorType, details?: any) => void;
667
- info: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
668
- log: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
669
- warn: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
670
- };
671
- } & {
664
+ } & Record<"html", {
665
+ deserialize: (args_0: {
666
+ element: HTMLElement | string;
667
+ collapseWhiteSpace?: boolean;
668
+ defaultElementPlugin?: import("platejs").WithRequiredKey;
669
+ }) => import("platejs").Descendant[];
670
+ }> & {
672
671
  isElementStateEmpty: (element: import("platejs").TElement) => boolean;
673
672
  redecorate: () => void;
674
673
  } & {
@@ -679,23 +678,24 @@ export declare const useLinkActions: () => {
679
678
  clear: () => void;
680
679
  isTarget: (path: import("platejs").Path) => boolean;
681
680
  };
682
- } & Record<"html", {
683
- deserialize: (args_0: {
684
- element: HTMLElement | string;
685
- collapseWhiteSpace?: boolean;
686
- defaultElementPlugin?: import("platejs").WithRequiredKey;
687
- }) => import("platejs").Descendant[];
688
- }> & {
681
+ } & {
682
+ debug: {
683
+ error: (message: string | unknown, type?: import("platejs").DebugErrorType, details?: any) => void;
684
+ info: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
685
+ log: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
686
+ warn: (message: string, type?: import("platejs").DebugErrorType, details?: any) => void;
687
+ };
688
+ } & {
689
689
  redecorate: (() => void) & (() => void);
690
690
  isElementStateEmpty: (element: import("platejs").TElement) => boolean;
691
691
  } & {
692
692
  fragment: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(at?: import("platejs").At | null, options?: import("platejs").EditorFragmentOptions) => N[];
693
- getDirtyPaths: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(operation: import("platejs").Operation<N>) => import("platejs").Path[];
693
+ getDirtyPaths: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(operation: import("platejs").Operation<N>) => import("platejs").Path[];
694
694
  getFragment: (at?: import("platejs").At) => import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>[];
695
- isElementReadOnly: <N extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement>(element: N) => boolean;
695
+ isElementReadOnly: <N extends import("platejs").ElementIn<import("../../..").WysiwygContent>>(element: N) => boolean;
696
696
  isSelected: (target: import("platejs").Path | import("platejs").TRange, options?: import("platejs").EditorIsSelectedOptions) => boolean;
697
- isVoid: <N extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement>(element: N) => boolean;
698
- markableVoid: <N extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement>(element: N) => boolean;
697
+ isVoid: <N extends import("platejs").ElementIn<import("../../..").WysiwygContent>>(element: N) => boolean;
698
+ markableVoid: <N extends import("platejs").ElementIn<import("../../..").WysiwygContent>>(element: N) => boolean;
699
699
  setNormalizing: (isNormalizing: boolean) => void;
700
700
  shouldMergeNodes: (prevNodeEntry: import("platejs").NodeEntry, curNodeEntry: import("platejs").NodeEntry, options?: {
701
701
  reverse?: boolean;
@@ -714,7 +714,7 @@ export declare const useLinkActions: () => {
714
714
  after: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorAfterOptions) => import("slate").BasePoint | undefined>;
715
715
  before: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorBeforeOptions) => import("platejs").Point | undefined>;
716
716
  edges: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => [import("slate").BasePoint, import("slate").BasePoint] | undefined>;
717
- 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)>;
717
+ 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>;
718
718
  end: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorEndOptions) => import("slate").BasePoint | undefined>;
719
719
  hasBlocks: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
720
720
  hasInlines: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
@@ -722,7 +722,7 @@ export declare const useLinkActions: () => {
722
722
  hasTexts: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
723
723
  isBlock: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: any) => value is import("platejs").TElement>;
724
724
  isEdge: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point, at: import("platejs").TLocation) => boolean>;
725
- isEmpty: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, target?: import("platejs").At | null, options?: import("platejs").EditorEmptyOptions) => boolean)>;
725
+ isEmpty: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, target?: import("platejs").At | null, options?: import("platejs").EditorEmptyOptions) => boolean>;
726
726
  isEnd: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
727
727
  isNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
728
728
  isStart: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
@@ -741,23 +741,23 @@ export declare const useLinkActions: () => {
741
741
  start: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorStartOptions) => import("slate").BasePoint | undefined>;
742
742
  string: import("platejs").OmitFirst<(editor: import("platejs").Editor, at?: import("platejs").At | null, options?: import("platejs").EditorStringOptions) => string>;
743
743
  unhangRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange, options?: import("platejs").EditorUnhangRangeOptions) => import("platejs").TRange>;
744
- above: <N extends import("platejs").TElement | import("platejs").Editor<import("platejs").Value>>(options?: import("platejs").EditorAboveOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
745
- first: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(at: import("platejs").At) => import("platejs").NodeEntry<N> | undefined;
744
+ above: <N extends import("platejs").AncestorIn<import("../../..").WysiwygContent>>(options?: import("platejs").EditorAboveOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
745
+ first: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(at: import("platejs").At) => import("platejs").NodeEntry<N> | undefined;
746
746
  fragment: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(at: import("platejs").At) => N[] | undefined;
747
747
  hasPath: (path: import("platejs").Path) => boolean;
748
- last: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(at: import("platejs").At, options?: import("platejs").EditorLastOptions) => import("platejs").NodeEntry<N> | undefined;
749
- leaf: <N extends import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText>(at: import("platejs").At, options?: import("platejs").EditorLeafOptions) => import("platejs").NodeEntry<N> | undefined;
748
+ last: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(at: import("platejs").At, options?: import("platejs").EditorLastOptions) => import("platejs").NodeEntry<N> | undefined;
749
+ leaf: <N extends import("platejs").TextIn<import("../../..").WysiwygContent>>(at: import("platejs").At, options?: import("platejs").EditorLeafOptions) => import("platejs").NodeEntry<N> | undefined;
750
750
  levels: <N extends import("platejs").NodeIn<import("../../..").WysiwygContent>>(options?: import("platejs").EditorLevelsOptions<import("../../..").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
751
751
  marks: () => {
752
752
  [x: string]: unknown;
753
753
  [x: number]: unknown;
754
754
  } | null;
755
- next: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(options?: import("platejs").EditorNextOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
756
- node: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(atOrOptions: import("platejs").EditorNodesOptions<import("../../..").WysiwygContent> | import("platejs").AtOrDescendant, nodeOptions?: import("platejs").EditorNodeOptions) => import("platejs").NodeEntry<N> | undefined;
757
- nodes: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(options?: import("platejs").EditorNodesOptions<import("../../..").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
758
- 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;
759
- previous: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(options?: import("platejs").EditorPreviousOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
760
- void: <N extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement>(options?: import("platejs").EditorVoidOptions) => import("platejs").NodeEntry<N> | undefined;
755
+ next: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(options?: import("platejs").EditorNextOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
756
+ node: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(atOrOptions: import("platejs").AtOrDescendant | import("platejs").EditorNodesOptions<import("../../..").WysiwygContent>, nodeOptions?: import("platejs").EditorNodeOptions) => import("platejs").NodeEntry<N> | undefined;
757
+ nodes: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(options?: import("platejs").EditorNodesOptions<import("../../..").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
758
+ parent: <N extends import("platejs").AncestorIn<import("../../..").WysiwygContent>>(at: import("platejs").At, options?: import("platejs").EditorParentOptions) => import("platejs").NodeEntry<N> | undefined;
759
+ previous: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(options?: import("platejs").EditorPreviousOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
760
+ void: <N extends import("platejs").ElementIn<import("../../..").WysiwygContent>>(options?: import("platejs").EditorVoidOptions) => import("platejs").NodeEntry<N> | undefined;
761
761
  } & {
762
762
  findDocumentOrShadowRoot: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Document | ShadowRoot | undefined>;
763
763
  findEventRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, event: any) => import("slate").BaseRange | undefined>;
@@ -774,18 +774,18 @@ export declare const useLinkActions: () => {
774
774
  toDOMNode: import("platejs").OmitFirst<(editor: import("platejs").Editor, node: import("platejs").TNode) => HTMLElement | undefined>;
775
775
  toDOMPoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point) => import("slate-dom").DOMPoint | undefined>;
776
776
  toDOMRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange) => Range | undefined>;
777
- 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: {
777
+ 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: {
778
778
  exactMatch: boolean;
779
779
  suppressThrow: T;
780
- searchDirection?: "forward" | "backward";
781
- }) => T extends true ? import("slate").Point | null : import("slate").Point)>[2], "suppressThrow">) => import("slate").BasePoint | null | undefined>;
782
- toSlateRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, domRange: Parameters<(<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
780
+ searchDirection?: 'forward' | 'backward';
781
+ }) => T extends true ? import("slate").Point | null : import("slate").Point>[2], "suppressThrow">) => import("slate").BasePoint | null | undefined>;
782
+ toSlateRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, domRange: Parameters<<T extends boolean>(editor: import("slate-dom").DOMEditor, domRange: Range | StaticRange | Selection, options: {
783
783
  exactMatch: boolean;
784
784
  suppressThrow: T;
785
- }) => 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: {
785
+ }) => 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: {
786
786
  exactMatch: boolean;
787
787
  suppressThrow: T;
788
- }) => T extends true ? import("slate").Range | null : import("slate").Range)>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
788
+ }) => T extends true ? import("slate").Range | null : import("slate").Range>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
789
789
  findPath: (node: import("platejs").TNode, options?: import("platejs").EditorFindPathOptions) => import("platejs").Path | undefined;
790
790
  hasEditableTarget: (target: EventTarget | null) => target is Node;
791
791
  hasSelectableTarget: (target: EventTarget | null) => target is Node;
@@ -796,7 +796,7 @@ export declare const useLinkActions: () => {
796
796
  block: (node?: Partial<import("platejs").TElement>, path?: import("platejs").Path) => import("platejs").TElement;
797
797
  value: () => import("platejs").Value;
798
798
  };
799
- isAt: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
799
+ isAt: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
800
800
  at?: import("platejs").TLocation | null;
801
801
  block?: boolean;
802
802
  blocks?: boolean;
@@ -804,20 +804,20 @@ export declare const useLinkActions: () => {
804
804
  start?: boolean;
805
805
  text?: boolean;
806
806
  word?: boolean;
807
- } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean)>;
807
+ } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean>;
808
808
  isText: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => boolean>;
809
809
  scrollIntoView: import("platejs").OmitFirst<(editor: import("platejs").Editor, target: Range | import("platejs").Point, options?: import("platejs").ScrollIntoViewOptions) => void>;
810
- 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)>;
811
- block: <N extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement>(options?: import("platejs").EditorBlockOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
812
- blocks: <N extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement>(options?: import("platejs").EditorNodesOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N>[];
813
- descendant: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(options: import("platejs").EditorNodesOptions<import("../../..").WysiwygContent>) => import("platejs").NodeEntry<N> | undefined;
814
- edgeBlocks: <N1 extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement, N2 extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement = N1>(options?: import("platejs").EditorAboveOptions<import("../../..").WysiwygContent> | undefined) => [import("platejs").NodeEntry<N1>, import("platejs").NodeEntry<N2>] | null;
810
+ 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>;
811
+ block: <N extends import("platejs").ElementIn<import("../../..").WysiwygContent>>(options?: import("platejs").EditorBlockOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N> | undefined;
812
+ blocks: <N extends import("platejs").ElementIn<import("../../..").WysiwygContent>>(options?: import("platejs").EditorNodesOptions<import("../../..").WysiwygContent> | undefined) => import("platejs").NodeEntry<N>[];
813
+ descendant: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(options: import("platejs").EditorNodesOptions<import("../../..").WysiwygContent>) => import("platejs").NodeEntry<N> | undefined;
814
+ edgeBlocks: <N1 extends import("platejs").ElementIn<import("../../..").WysiwygContent>, N2 extends import("platejs").ElementIn<import("../../..").WysiwygContent> = N1>(options?: import("platejs").EditorAboveOptions<import("../../..").WysiwygContent> | undefined) => [import("platejs").NodeEntry<N1>, import("platejs").NodeEntry<N2>] | null;
815
815
  isCollapsed: () => boolean;
816
816
  isEditorEnd: () => boolean;
817
817
  isExpanded: () => boolean;
818
- isInline: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(element: N) => boolean;
819
- isSelectable: <N extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement>(element: N) => boolean;
820
- mark: <K extends keyof import("../../..").RichText>(key: K) => {
818
+ isInline: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(element: N) => boolean;
819
+ isSelectable: <N extends import("platejs").ElementIn<import("../../..").WysiwygContent>>(element: N) => boolean;
820
+ mark: <K extends keyof import("platejs").MarksIn<import("../../..").WysiwygContent>>(key: K) => {
821
821
  [x: string]: unknown;
822
822
  [x: number]: unknown;
823
823
  }[K] | null | undefined;
@@ -839,7 +839,7 @@ export declare const useLinkActions: () => {
839
839
  withoutNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => boolean | void) => boolean>;
840
840
  escape: () => boolean | undefined;
841
841
  insertFragment: <N extends import("platejs").ElementOrTextIn<import("platejs").Value>>(fragment: N[], options?: import("platejs").InsertFragmentOptions) => void;
842
- insertNode: <N extends import("platejs").TElement | import("platejs").TText>(node: N, options?: import("platejs").InsertNodesOptions<import("platejs").Value> | undefined) => void;
842
+ insertNode: <N extends import("platejs").DescendantIn<import("platejs").Value>>(node: N, options?: import("platejs").InsertNodesOptions<import("platejs").Value> | undefined) => void;
843
843
  insertNodes: <N extends import("platejs").ElementOrTextIn<import("platejs").Value>>(nodes: N | N[], options?: import("platejs").InsertNodesOptions<import("platejs").Value> | undefined) => void;
844
844
  insertSoftBreak: () => void;
845
845
  liftNodes: (options?: import("platejs").LiftNodesOptions<import("platejs").Value> | undefined) => void;
@@ -854,19 +854,19 @@ export declare const useLinkActions: () => {
854
854
  removeNodes: (options?: import("platejs").RemoveNodesOptions<import("platejs").Value> | undefined) => void;
855
855
  replaceNodes: <N extends import("platejs").ElementOrTextIn<import("platejs").Value>>(nodes: N | N[], options?: import("platejs").ReplaceNodesOptions<import("platejs").Value> | undefined) => void;
856
856
  selectAll: () => boolean | undefined;
857
- setNodes: <N extends import("platejs").TElement | import("platejs").TText>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("platejs").Value> | undefined) => void;
858
- setNodesBatch: <N extends import("platejs").TElement | import("platejs").TText>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
857
+ setNodes: <N extends import("platejs").DescendantIn<import("platejs").Value>>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("platejs").Value> | undefined) => void;
858
+ setNodesBatch: <N extends import("platejs").DescendantIn<import("platejs").Value>>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
859
859
  splitNodes: (options?: import("platejs").SplitNodesOptions<import("platejs").Value> | undefined) => void;
860
860
  tab: (options: {
861
861
  reverse: boolean;
862
862
  }) => boolean | undefined;
863
863
  undo: () => void;
864
- 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;
864
+ 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;
865
865
  unwrapNodes: (options?: import("platejs").UnwrapNodesOptions<import("platejs").Value> | undefined) => void;
866
- wrapNodes: <N extends import("platejs").TElement>(element: N, options?: import("platejs").WrapNodesOptions<import("platejs").Value> | undefined) => void;
867
- writeHistory: (stack: "redos" | "undos", batch: any) => void;
866
+ wrapNodes: <N extends import("platejs").ElementIn<import("platejs").Value>>(element: N, options?: import("platejs").WrapNodesOptions<import("platejs").Value> | undefined) => void;
867
+ writeHistory: (stack: 'redos' | 'undos', batch: any) => void;
868
868
  } & {
869
- delete: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void)>;
869
+ delete: import("platejs").OmitFirst<<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void>;
870
870
  insertText: (text: string, options?: import("platejs").InsertTextOptions) => void;
871
871
  } & {
872
872
  collapse: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate/dist/interfaces/transforms/selection").SelectionCollapseOptions) => void>;
@@ -879,10 +879,10 @@ export declare const useLinkActions: () => {
879
879
  blur: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
880
880
  deselectDOM: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
881
881
  focus: import("platejs").OmitFirst<(editor: import("platejs").Editor, { at, edge, retries }?: import("platejs").FocusOptions) => void>;
882
- insertData: import("slate-dom").DOMEditor["insertData"];
883
- insertFragmentData: import("slate-dom").DOMEditor["insertFragmentData"];
884
- insertTextData: import("slate-dom").DOMEditor["insertTextData"];
885
- setFragmentData: import("slate-dom").DOMEditor["setFragmentData"];
882
+ insertData: import("slate-dom").DOMEditor['insertData'];
883
+ insertFragmentData: import("slate-dom").DOMEditor['insertFragmentData'];
884
+ insertTextData: import("slate-dom").DOMEditor['insertTextData'];
885
+ setFragmentData: import("slate-dom").DOMEditor['setFragmentData'];
886
886
  } & {
887
887
  setSplittingOnce: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: boolean | undefined) => void>;
888
888
  withMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
@@ -890,7 +890,7 @@ export declare const useLinkActions: () => {
890
890
  withoutMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
891
891
  withoutSaving: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
892
892
  } & {
893
- apply: <N extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N>) => void;
893
+ apply: <N extends import("platejs").DescendantIn<import("platejs").Value>>(operation: import("platejs").Operation<N>) => void;
894
894
  normalizeNode: <N extends import("platejs").NodeIn<import("platejs").Value>>(entry: import("platejs").NodeEntry<N>, options?: {
895
895
  operation?: import("platejs").Operation;
896
896
  }) => void;
@@ -914,12 +914,6 @@ export declare const useLinkActions: () => {
914
914
  navigate: (options: import("platejs").NavigationNavigateOptions) => boolean;
915
915
  };
916
916
  } & {
917
- nodeId: {
918
- normalize: () => void;
919
- };
920
- } & Record<"nodeId", {
921
- normalize(): void;
922
- }> & {
923
917
  reset: (options: import("platejs").ResetOptions | undefined) => void;
924
918
  init: ((args_0: import("platejs").InitOptions) => void) & ((args_0: import("platejs").InitOptions) => void);
925
919
  insertExitBreak: ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined) & ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined);
@@ -932,6 +926,12 @@ export declare const useLinkActions: () => {
932
926
  setValue: ((value?: string | import("platejs").Value | undefined) => void) & ((value?: string | import("platejs").Value | undefined) => void);
933
927
  apply: <N$1 extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N$1>) => void;
934
928
  } & {
929
+ nodeId: {
930
+ normalize: () => void;
931
+ };
932
+ } & Record<"nodeId", {
933
+ normalize(): void;
934
+ }> & {
935
935
  addMark: import("platejs").OmitFirst<(editor: import("platejs").Editor, key: string, value: any) => void>;
936
936
  addMarks: import("platejs").OmitFirst<(editor: import("platejs").Editor, marks: import("platejs").EditorMarks, { remove }?: import("platejs").AddMarksOptions) => void>;
937
937
  deleteBackward: import("platejs").OmitFirst<(editor: import("platejs").Editor, unit?: import("platejs").TextUnit) => void>;
@@ -946,7 +946,7 @@ export declare const useLinkActions: () => {
946
946
  withoutNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => boolean | void) => boolean>;
947
947
  escape: () => boolean | undefined;
948
948
  insertFragment: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(fragment: N[], options?: import("platejs").InsertFragmentOptions) => void;
949
- insertNode: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(node: N, options?: import("platejs").InsertNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
949
+ insertNode: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(node: N, options?: import("platejs").InsertNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
950
950
  insertNodes: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(nodes: N | N[], options?: import("platejs").InsertNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
951
951
  insertSoftBreak: () => void;
952
952
  liftNodes: (options?: import("platejs").LiftNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
@@ -961,19 +961,19 @@ export declare const useLinkActions: () => {
961
961
  removeNodes: (options?: import("platejs").RemoveNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
962
962
  replaceNodes: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(nodes: N | N[], options?: import("platejs").ReplaceNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
963
963
  selectAll: () => boolean | undefined;
964
- setNodes: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
965
- setNodesBatch: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
964
+ setNodes: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(props: Partial<import("platejs").NodeProps<N>>, options?: import("platejs").SetNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
965
+ setNodesBatch: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(updates: import("platejs").NodeBatchUpdate<N>[]) => void;
966
966
  splitNodes: (options?: import("platejs").SplitNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
967
967
  tab: (options: {
968
968
  reverse: boolean;
969
969
  }) => boolean | undefined;
970
970
  undo: () => void;
971
- unsetNodes: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(props: keyof import("platejs").NodeProps<N> | (keyof import("platejs").NodeProps<N>)[], options?: import("platejs").UnsetNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
971
+ unsetNodes: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(props: (keyof import("platejs").NodeProps<N>)[] | keyof import("platejs").NodeProps<N>, options?: import("platejs").UnsetNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
972
972
  unwrapNodes: (options?: import("platejs").UnwrapNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
973
- wrapNodes: <N extends import("platejs").TElement | import("../../..").UxfLinkElement | import("../../..").UxfParagraphElement | import("../../..").UxfBlockQuoteElement | import("../../..").UxfImageElement | import("../../..").UxfHeadingElement | import("../../..").LicElement | import("../../..").LiElement | import("../../..").UxfUnorderedListElement | import("../../..").UxfOrderedListElement | import("../../..").UxfVideoElement | import("../../..").UxfButtonElement>(element: N, options?: import("platejs").WrapNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
974
- writeHistory: (stack: "redos" | "undos", batch: any) => void;
973
+ wrapNodes: <N extends import("platejs").ElementIn<import("../../..").WysiwygContent>>(element: N, options?: import("platejs").WrapNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
974
+ writeHistory: (stack: 'redos' | 'undos', batch: any) => void;
975
975
  } & {
976
- apply: <N extends import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>(operation: import("platejs").Operation<N>) => void;
976
+ apply: <N extends import("platejs").DescendantIn<import("../../..").WysiwygContent>>(operation: import("platejs").Operation<N>) => void;
977
977
  normalizeNode: <N extends import("platejs").NodeIn<import("../../..").WysiwygContent>>(entry: import("platejs").NodeEntry<N>, options?: {
978
978
  operation?: import("platejs").Operation;
979
979
  }) => void;