@uxf/wysiwyg 11.129.0 → 11.130.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.
Files changed (148) hide show
  1. package/README.md +9 -7
  2. package/create-all-plugins-with-ui.d.ts +78 -14
  3. package/create-all-plugins-with-ui.js +3 -5
  4. package/create-plugins-with-ui.d.ts +2 -2
  5. package/create-plugins-with-ui.js +25 -30
  6. package/data-format.test.d.ts +1 -0
  7. package/data-format.test.js +132 -0
  8. package/editor-smoke.test.d.ts +1 -0
  9. package/editor-smoke.test.js +9 -0
  10. package/hooks.d.ts +1971 -8
  11. package/hooks.js +18 -11
  12. package/package.json +15 -47
  13. package/plugins/blockquote/create-blockquote-plugin.d.ts +9 -3
  14. package/plugins/blockquote/create-blockquote-plugin.js +31 -3
  15. package/plugins/blockquote/create-blockquote-plugin.test.d.ts +1 -0
  16. package/plugins/blockquote/create-blockquote-plugin.test.js +55 -0
  17. package/plugins/blockquote/types.d.ts +1 -1
  18. package/plugins/blockquote/types.js +2 -2
  19. package/plugins/button/create-button-plugin.d.ts +1 -2
  20. package/plugins/button/create-button-plugin.js +3 -5
  21. package/plugins/button/transforms/is-button-active.js +1 -2
  22. package/plugins/button/transforms/update-button.js +1 -2
  23. package/plugins/constants.test.d.ts +1 -0
  24. package/plugins/constants.test.js +52 -0
  25. package/plugins/embedded/types.d.ts +6 -0
  26. package/plugins/embedded/types.js +2 -0
  27. package/plugins/embedded/utils.d.ts +2 -1
  28. package/plugins/embedded/utils.js +4 -4
  29. package/plugins/embedded/video/create-video-plugin.d.ts +10 -3
  30. package/plugins/embedded/video/create-video-plugin.js +8 -9
  31. package/plugins/embedded/video/create-video-plugin.test.d.ts +1 -0
  32. package/plugins/embedded/video/create-video-plugin.test.js +30 -0
  33. package/plugins/embedded/video/update-video.js +1 -2
  34. package/plugins/exit-break/create-exit-break-plugin.d.ts +8 -3
  35. package/plugins/exit-break/create-exit-break-plugin.js +8 -25
  36. package/plugins/heading/create-headings-plugin.d.ts +13 -4
  37. package/plugins/heading/create-headings-plugin.js +22 -36
  38. package/plugins/heading/create-headings-plugin.test.d.ts +1 -0
  39. package/plugins/heading/create-headings-plugin.test.js +42 -0
  40. package/plugins/highlight/createHighlightPlugin.d.ts +4 -2
  41. package/plugins/highlight/createHighlightPlugin.js +8 -21
  42. package/plugins/highlight/types.d.ts +1 -2
  43. package/plugins/image/create-image-plugin.d.ts +3 -3
  44. package/plugins/image/create-image-plugin.js +58 -91
  45. package/plugins/image/create-image-plugin.test.d.ts +1 -0
  46. package/plugins/image/create-image-plugin.test.js +33 -0
  47. package/plugins/image/transforms/is-image-active.js +1 -2
  48. package/plugins/image/transforms/update-image.js +1 -2
  49. package/plugins/image/types.d.ts +6 -3
  50. package/plugins/image/types.js +2 -2
  51. package/plugins/image/utils/is-image-url.js +2 -2
  52. package/plugins/image/with-paste-image-url.d.ts +5 -5
  53. package/plugins/image/with-paste-image-url.js +29 -25
  54. package/plugins/image/with-paste-image.d.ts +4 -7
  55. package/plugins/image/with-paste-image.js +41 -39
  56. package/plugins/link/constants.d.ts +1 -1
  57. package/plugins/link/constants.js +2 -2
  58. package/plugins/link/create-link-plugin.d.ts +38 -3
  59. package/plugins/link/create-link-plugin.js +9 -7
  60. package/plugins/link/create-link-plugin.test.d.ts +1 -0
  61. package/plugins/link/create-link-plugin.test.js +24 -0
  62. package/plugins/link/floating-link-wrapper.d.ts +14 -7
  63. package/plugins/link/floating-link-wrapper.js +46 -17
  64. package/plugins/link/hooks/index.d.ts +1 -1
  65. package/plugins/link/hooks/index.js +2 -2
  66. package/plugins/link/hooks/use-floating-link-selectors.d.ts +8 -0
  67. package/plugins/link/hooks/use-floating-link-selectors.js +21 -0
  68. package/plugins/link/hooks/use-link-actions.d.ts +991 -8
  69. package/plugins/link/hooks/use-link-actions.js +22 -19
  70. package/plugins/link/hooks/use-link-cancel-on-escape.d.ts +1 -1
  71. package/plugins/link/hooks/use-link-cancel-on-escape.js +2 -2
  72. package/plugins/link/hooks/use-link-submit-on-enter.js +5 -5
  73. package/plugins/link/transforms/get-active-link.d.ts +1 -1
  74. package/plugins/link/transforms/get-active-link.js +3 -5
  75. package/plugins/link/transforms/insert-link.js +9 -9
  76. package/plugins/link/transforms/submit-link.d.ts +2 -3
  77. package/plugins/link/transforms/submit-link.js +13 -13
  78. package/plugins/link/transforms/trigger-link-insert-or-edit.js +2 -2
  79. package/plugins/link/transforms/unwrap-link.js +2 -2
  80. package/plugins/list/constants.d.ts +11 -3
  81. package/plugins/list/constants.js +14 -10
  82. package/plugins/list/create-list-plugin.d.ts +26 -4
  83. package/plugins/list/create-list-plugin.js +13 -12
  84. package/plugins/list/create-list-plugin.test.d.ts +1 -0
  85. package/plugins/list/create-list-plugin.test.js +20 -0
  86. package/plugins/mark-bold/create-bold-plugin.d.ts +3 -3
  87. package/plugins/mark-bold/create-bold-plugin.js +2 -2
  88. package/plugins/mark-bold/types.d.ts +2 -2
  89. package/plugins/mark-bold/types.js +3 -3
  90. package/plugins/mark-code/create-code-plugin.d.ts +7 -3
  91. package/plugins/mark-code/create-code-plugin.js +6 -2
  92. package/plugins/mark-code/types.d.ts +2 -2
  93. package/plugins/mark-code/types.js +3 -3
  94. package/plugins/mark-italic/create-italic-plugin.d.ts +3 -3
  95. package/plugins/mark-italic/create-italic-plugin.js +2 -2
  96. package/plugins/mark-italic/types.d.ts +2 -2
  97. package/plugins/mark-italic/types.js +3 -3
  98. package/plugins/mark-underline/create-underline-plugin.d.ts +3 -3
  99. package/plugins/mark-underline/create-underline-plugin.js +2 -2
  100. package/plugins/mark-underline/types.d.ts +2 -2
  101. package/plugins/mark-underline/types.js +3 -3
  102. package/plugins/marks.test.d.ts +1 -0
  103. package/plugins/marks.test.js +42 -0
  104. package/plugins/node-id/add-ids-to-nodes.d.ts +1 -1
  105. package/plugins/node-id/create-node-id-plugin.d.ts +22 -3
  106. package/plugins/node-id/create-node-id-plugin.js +3 -2
  107. package/plugins/paragraph/create-paragraph-plugin.d.ts +1 -3
  108. package/plugins/paragraph/create-paragraph-plugin.js +3 -4
  109. package/plugins/paragraph/types.d.ts +1 -1
  110. package/plugins/paragraph/types.js +2 -2
  111. package/plugins/structural.test.d.ts +1 -0
  112. package/plugins/structural.test.js +29 -0
  113. package/plugins/trailing-block/create-trailing-block-plugin.d.ts +13 -3
  114. package/plugins/trailing-block/create-trailing-block-plugin.js +8 -2
  115. package/serializers/serialize-to-plaintext.js +2 -2
  116. package/styles/styles.css +1 -0
  117. package/types.d.ts +23 -14
  118. package/ui/floating-link.js +28 -28
  119. package/ui/highlight-mark.d.ts +2 -3
  120. package/ui/highlight-mark.js +4 -1
  121. package/ui/link-element.js +6 -3
  122. package/ui/toolbar/buttons/button-toolbar-button.d.ts +1 -1
  123. package/ui/toolbar/buttons/element-toolbar-button.d.ts +1 -1
  124. package/ui/toolbar/buttons/image-toolbar-button.d.ts +1 -1
  125. package/ui/toolbar/buttons/link-toolbar-button.d.ts +1 -1
  126. package/ui/toolbar/buttons/link-toolbar-button.js +1 -1
  127. package/ui/toolbar/buttons/list-toolbar-button.d.ts +1 -1
  128. package/ui/toolbar/buttons/list-toolbar-button.js +3 -3
  129. package/ui/toolbar/buttons/mark-toolbar-button.d.ts +1 -1
  130. package/ui/toolbar/buttons/undo-redo-button-group.d.ts +1 -1
  131. package/ui/toolbar/buttons/video-toolbar-button.d.ts +1 -1
  132. package/ui/toolbar/types.d.ts +1 -1
  133. package/ui/utils.js +1 -1
  134. package/utils.d.ts +18 -19
  135. package/utils.js +31 -28
  136. package/utils.test.d.ts +1 -0
  137. package/utils.test.js +23 -0
  138. package/wysiwyg-editor.d.ts +2 -2
  139. package/wysiwyg-editor.js +29 -23
  140. package/wysiwyg-editor.test.js +111 -6
  141. package/plugins/image/with-image.d.ts +0 -7
  142. package/plugins/image/with-image.js +0 -19
  143. package/plugins/reset-node/create-reset-node.d.ts +0 -3
  144. package/plugins/reset-node/create-reset-node.js +0 -28
  145. package/plugins/select-on-backspace/create-select-on-backspace-plugin.d.ts +0 -3
  146. package/plugins/select-on-backspace/create-select-on-backspace-plugin.js +0 -14
  147. package/plugins/soft-break/create-soft-break-plugin.d.ts +0 -3
  148. package/plugins/soft-break/create-soft-break-plugin.js +0 -22
@@ -1,12 +1,995 @@
1
+ /**
2
+ * The floating-link store is `LinkPlugin` options in Plate 53. The returned shape is unchanged except
3
+ * `editor`, which used to be `editor.current` and so always `undefined`. Nothing reads it.
4
+ */
1
5
  export declare const useLinkActions: () => {
2
- editor: unknown;
3
- setUrl: (url: string) => void;
4
- getUrl: string;
5
- setText: (text: string) => void;
6
- getText: string;
7
- setTarget: (target: string | undefined) => void;
6
+ editor: {
7
+ [x: string]: unknown;
8
+ id: string;
9
+ history: import("platejs").History;
10
+ marks: import("platejs").EditorMarks | null;
11
+ meta: import("platejs").UnknownObject & {
12
+ isNormalizing?: boolean;
13
+ } & {
14
+ key: any;
15
+ components: import("platejs").NodeComponents;
16
+ userId?: string | null;
17
+ isFallback: boolean;
18
+ pluginCache: {
19
+ decorate: string[];
20
+ handlers: {
21
+ onChange: string[];
22
+ onNodeChange: string[];
23
+ onTextChange: string[];
24
+ };
25
+ inject: {
26
+ nodeProps: string[];
27
+ };
28
+ node: {
29
+ isContainer: string[];
30
+ isLeaf: string[];
31
+ isMetadataProp: string[];
32
+ isText: string[];
33
+ leafProps: string[];
34
+ textProps: string[];
35
+ types: Record<string, string>;
36
+ };
37
+ transformInitialValue: string[];
38
+ render: {
39
+ aboveEditable: string[];
40
+ aboveNodes: string[];
41
+ aboveSlate: string[];
42
+ afterContainer: string[];
43
+ afterEditable: string[];
44
+ beforeContainer: string[];
45
+ beforeEditable: string[];
46
+ belowNodes: string[];
47
+ belowRootNodes: string[];
48
+ };
49
+ rules: {
50
+ match: string[];
51
+ };
52
+ useHooks: string[];
53
+ };
54
+ pluginList: any[];
55
+ uid?: string;
56
+ } & {
57
+ inputRules: import("platejs").ResolvedInputRulesMeta;
58
+ pluginList: import("platejs/react").AnyEditorPlatePlugin[];
59
+ shortcuts: import("platejs/react").Shortcuts;
60
+ };
61
+ selection: import("platejs").EditorSelection;
62
+ redo: () => void;
63
+ undo: () => void;
64
+ dom: {
65
+ composing: boolean;
66
+ currentKeyboardEvent: KeyboardEventLike | null;
67
+ focused: boolean;
68
+ prevSelection: import("platejs").TRange | null;
69
+ readOnly: boolean;
70
+ };
71
+ plugins: Record<string, any> & Record<string, import("platejs/react").AnyEditorPlatePlugin>;
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
+ 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;
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("platejs").ZustandStoreApi<import("platejs").InferOptions<C>, [["zustand/mutative-x", never]], {}, import("platejs").InferSelectors<C>>;
77
+ getPlugin: (<C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig<any, {}, {}, {}, {}>>(plugin: import("platejs").WithRequiredKey<C>) => C extends {
78
+ node: any;
79
+ } ? C : import("platejs").EditorPlugin<C>) & (<C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin: import("platejs").WithRequiredKey<C>) => C extends {
80
+ node: any;
81
+ } ? C : import("platejs/react").EditorPlatePlugin<C>);
82
+ getType: (pluginKey: string) => string;
83
+ setOption: <C extends import("platejs").AnyPluginConfig, K$1 extends keyof import("platejs").InferOptions<C>>(plugin: import("platejs").WithRequiredKey<C>, optionKey: K$1, value: import("platejs").InferOptions<C>[K$1]) => void;
84
+ api: import("platejs").EditorApi & import("platejs").UnionToIntersection<import("platejs").InferApi<import("platejs/react").PlateCorePlugin>>;
85
+ tf: import("platejs").EditorTransforms & import("platejs").UnionToIntersection<import("platejs").InferTransforms<import("platejs/react").PlateCorePlugin>>;
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;
90
+ } & {
91
+ api: {
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[];
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;
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;
99
+ setNormalizing: (isNormalizing: boolean) => void;
100
+ shouldMergeNodes: (prevNodeEntry: import("platejs").NodeEntry, curNodeEntry: import("platejs").NodeEntry, options?: {
101
+ reverse?: boolean;
102
+ }) => boolean;
103
+ shouldNormalize: (options: {
104
+ dirtyPaths: import("platejs").Path[];
105
+ initialDirtyPathsLength: number;
106
+ iteration: number;
107
+ operation?: import("platejs").Operation;
108
+ }) => boolean;
109
+ shouldNormalizeNode: (entry: import("platejs").NodeEntry) => boolean;
110
+ onChange: (options?: {
111
+ operation?: import("platejs").Operation;
112
+ }) => void;
113
+ } & {
114
+ after: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorAfterOptions) => import("slate").BasePoint | undefined>;
115
+ before: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorBeforeOptions) => import("platejs").Point | undefined>;
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)>;
118
+ end: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorEndOptions) => import("slate").BasePoint | undefined>;
119
+ hasBlocks: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
120
+ hasInlines: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
121
+ hasMark: import("platejs").OmitFirst<(editor: import("platejs").Editor, key: string) => boolean>;
122
+ hasTexts: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
123
+ isBlock: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: any) => value is import("platejs").TElement>;
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)>;
126
+ isEnd: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
127
+ isNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
128
+ isStart: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
129
+ path: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("slate").EditorPathOptions) => import("slate").Path | undefined>;
130
+ pathRef: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").Path, options?: import("slate").EditorPathRefOptions) => import("slate").PathRef>;
131
+ pathRefs: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Set<import("slate").PathRef>>;
132
+ point: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("slate").EditorPointOptions) => import("slate").BasePoint | undefined>;
133
+ pointRef: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point, options?: import("slate").EditorPointRefOptions) => import("slate").PointRef>;
134
+ pointRefs: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Set<import("slate").PointRef>>;
135
+ positions: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("platejs").EditorPositionsOptions) => Generator<import("slate").BasePoint, void, undefined>>;
136
+ range: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At | "before" | "start", to?: import("platejs").At | null, options?: {
137
+ before?: import("platejs").EditorBeforeOptions;
138
+ }) => import("platejs").TRange | undefined>;
139
+ rangeRef: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange, options?: import("slate").EditorRangeRefOptions) => import("slate").RangeRef>;
140
+ rangeRefs: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Set<import("slate").RangeRef>>;
141
+ start: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorStartOptions) => import("slate").BasePoint | undefined>;
142
+ string: import("platejs").OmitFirst<(editor: import("platejs").Editor, at?: import("platejs").At | null, options?: import("platejs").EditorStringOptions) => string>;
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;
146
+ fragment: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(at: import("platejs").At) => N[] | undefined;
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;
150
+ levels: <N extends import("platejs").NodeIn<import("../../..").WysiwygContent>>(options?: import("platejs").EditorLevelsOptions<import("../../..").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
151
+ marks: () => {
152
+ [x: string]: unknown;
153
+ [x: number]: unknown;
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;
161
+ } & {
162
+ findDocumentOrShadowRoot: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Document | ShadowRoot | undefined>;
163
+ findEventRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, event: any) => import("slate").BaseRange | undefined>;
164
+ findKey: import("platejs").OmitFirst<(editor: import("platejs").Editor, node: import("platejs").TNode) => import("slate-dom").Key | undefined>;
165
+ getWindow: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Window | undefined>;
166
+ hasDOMNode: import("platejs").OmitFirst<(editor: import("platejs").Editor, target: Node, options?: Parameters<(editor: import("slate-dom").DOMEditor, target: Node, options?: {
167
+ editable?: boolean;
168
+ }) => boolean>[2]) => boolean>;
169
+ hasRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange) => boolean>;
170
+ isComposing: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
171
+ isFocused: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
172
+ isReadOnly: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
173
+ isTargetInsideNonReadonlyVoid: import("platejs").OmitFirst<(editor: import("platejs").Editor, target: EventTarget | null) => boolean>;
174
+ toDOMNode: import("platejs").OmitFirst<(editor: import("platejs").Editor, node: import("platejs").TNode) => HTMLElement | undefined>;
175
+ toDOMPoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point) => import("slate-dom").DOMPoint | undefined>;
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: {
178
+ exactMatch: boolean;
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: {
183
+ exactMatch: boolean;
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: {
186
+ exactMatch: boolean;
187
+ suppressThrow: T;
188
+ }) => T extends true ? import("slate").Range | null : import("slate").Range)>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
189
+ findPath: (node: import("platejs").TNode, options?: import("platejs").EditorFindPathOptions) => import("platejs").Path | undefined;
190
+ hasEditableTarget: (target: EventTarget | null) => target is Node;
191
+ hasSelectableTarget: (target: EventTarget | null) => target is Node;
192
+ hasTarget: (target: EventTarget | null) => target is Node;
193
+ toSlateNode: <N extends import("platejs").NodeIn<import("../../..").WysiwygContent>>(domNode: Parameters<(editor: import("platejs").Editor, domNode: Node) => import("platejs").TNode | undefined>[1]) => N | undefined;
194
+ } & {
195
+ isMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean | undefined>;
196
+ isSaving: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean | undefined>;
197
+ isSplittingOnce: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean | undefined>;
198
+ } & {
199
+ create: {
200
+ block: (node?: Partial<import("platejs").TElement>, path?: import("platejs").Path) => import("platejs").TElement;
201
+ value: () => import("platejs").Value;
202
+ };
203
+ isAt: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
204
+ at?: import("platejs").TLocation | null;
205
+ block?: boolean;
206
+ blocks?: boolean;
207
+ end?: boolean;
208
+ start?: boolean;
209
+ text?: boolean;
210
+ word?: boolean;
211
+ } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean)>;
212
+ isText: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => boolean>;
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;
219
+ isCollapsed: () => boolean;
220
+ isEditorEnd: () => boolean;
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) => {
225
+ [x: string]: unknown;
226
+ [x: number]: unknown;
227
+ }[K] | null | undefined;
228
+ nodesRange: (nodes: import("platejs").NodeEntry[]) => import("platejs").TRange | undefined;
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
+ } & {
238
+ isElementStateEmpty: (element: import("platejs").TElement) => boolean;
239
+ redecorate: () => void;
240
+ } & {
241
+ isScrolling: () => boolean;
242
+ } & {
243
+ navigation: {
244
+ activeTarget: () => import("platejs").NavigationFeedbackActiveTarget | null;
245
+ clear: () => void;
246
+ isTarget: (path: import("platejs").Path) => boolean;
247
+ };
248
+ } & Record<"html", {
249
+ deserialize: (args_0: {
250
+ element: HTMLElement | string;
251
+ collapseWhiteSpace?: boolean;
252
+ defaultElementPlugin?: import("platejs").WithRequiredKey;
253
+ }) => import("platejs").Descendant[];
254
+ }> & {
255
+ redecorate: (() => void) & (() => void);
256
+ isElementStateEmpty: (element: import("platejs").TElement) => boolean;
257
+ };
258
+ children: import("../../..").WysiwygContent;
259
+ meta: import("platejs").UnknownObject & {
260
+ isNormalizing?: boolean;
261
+ } & {
262
+ key: any;
263
+ components: import("platejs").NodeComponents;
264
+ userId?: string | null;
265
+ isFallback: boolean;
266
+ pluginCache: {
267
+ decorate: string[];
268
+ handlers: {
269
+ onChange: string[];
270
+ onNodeChange: string[];
271
+ onTextChange: string[];
272
+ };
273
+ inject: {
274
+ nodeProps: string[];
275
+ };
276
+ node: {
277
+ isContainer: string[];
278
+ isLeaf: string[];
279
+ isMetadataProp: string[];
280
+ isText: string[];
281
+ leafProps: string[];
282
+ textProps: string[];
283
+ types: Record<string, string>;
284
+ };
285
+ transformInitialValue: string[];
286
+ render: {
287
+ aboveEditable: string[];
288
+ aboveNodes: string[];
289
+ aboveSlate: string[];
290
+ afterContainer: string[];
291
+ afterEditable: string[];
292
+ beforeContainer: string[];
293
+ beforeEditable: string[];
294
+ belowNodes: string[];
295
+ belowRootNodes: string[];
296
+ };
297
+ rules: {
298
+ match: string[];
299
+ };
300
+ useHooks: string[];
301
+ };
302
+ pluginList: any[];
303
+ uid?: string;
304
+ } & {
305
+ inputRules: import("platejs").ResolvedInputRulesMeta;
306
+ pluginList: import("platejs/react").PlateCorePlugin[];
307
+ shortcuts: import("platejs/react").Shortcuts;
308
+ };
309
+ operations: import("platejs").Operation<import("platejs").TElement | import("platejs").TText | import("../../..").EmptyText | import("../../..").RichText | import("../../..").UxfLinkElement | import("../../..").LicElement | import("../../..").LiElement>[];
310
+ plugins: {
311
+ [x: string]: import("platejs/react").PlateCorePlugin;
312
+ };
313
+ tf: {
314
+ addMark: import("platejs").OmitFirst<(editor: import("platejs").Editor, key: string, value: any) => void>;
315
+ addMarks: import("platejs").OmitFirst<(editor: import("platejs").Editor, marks: import("platejs").EditorMarks, { remove }?: import("platejs").AddMarksOptions) => void>;
316
+ deleteBackward: import("platejs").OmitFirst<(editor: import("platejs").Editor, unit?: import("platejs").TextUnit) => void>;
317
+ deleteForward: import("platejs").OmitFirst<(editor: import("platejs").Editor, unit?: import("platejs").TextUnit) => void>;
318
+ deleteFragment: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate").EditorFragmentDeletionOptions) => void>;
319
+ duplicateNodes: import("platejs").OmitFirst<(editor: import("platejs").Editor, { block, nodes, ...options }?: import("platejs").DuplicateNodesOptions) => void>;
320
+ insertBreak: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
321
+ removeMarks: import("platejs").OmitFirst<(editor: import("platejs").Editor, keys?: string[] | string | null, { at, shouldChange, ...options }?: import("platejs").RemoveMarksOptions) => void>;
322
+ reset: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("platejs").ResetOptions) => void>;
323
+ toggleBlock: import("platejs").OmitFirst<(editor: import("platejs").Editor, type: string, { defaultType: defaultTypeProp, someOptions, wrap, ...options }?: import("platejs").ToggleBlockOptions) => void>;
324
+ toggleMark: import("platejs").OmitFirst<(editor: import("platejs").Editor, key: string, { remove }?: import("platejs").ToggleMarkOptions) => void>;
325
+ withoutNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => boolean | void) => boolean>;
326
+ escape: () => boolean | undefined;
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;
329
+ insertNodes: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(nodes: N | N[], options?: import("platejs").InsertNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
330
+ insertSoftBreak: () => void;
331
+ liftNodes: (options?: import("platejs").LiftNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
332
+ mergeNodes: (options?: import("platejs").MergeNodesOptions<import("../../..").WysiwygContent, import("platejs").Editor<import("platejs").Value>> | undefined) => void;
333
+ moveLine: (options: {
334
+ reverse: boolean;
335
+ }) => boolean | undefined;
336
+ moveNodes: (options: import("platejs").MoveNodesOptions<import("../../..").WysiwygContent>) => boolean | void;
337
+ normalize: (options?: import("platejs").EditorNormalizeOptions) => void;
338
+ redo: () => void;
339
+ removeMark: (key: string) => void;
340
+ removeNodes: (options?: import("platejs").RemoveNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
341
+ replaceNodes: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(nodes: N | N[], options?: import("platejs").ReplaceNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
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;
345
+ splitNodes: (options?: import("platejs").SplitNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
346
+ tab: (options: {
347
+ reverse: boolean;
348
+ }) => boolean | undefined;
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;
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;
354
+ } & {
355
+ delete: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void)>;
356
+ insertText: (text: string, options?: import("platejs").InsertTextOptions) => void;
357
+ } & {
358
+ collapse: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate/dist/interfaces/transforms/selection").SelectionCollapseOptions) => void>;
359
+ move: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate/dist/interfaces/transforms/selection").SelectionMoveOptions) => void>;
360
+ select: import("platejs").OmitFirst<(editor: import("platejs").Editor, target?: import("platejs").At, options?: import("platejs").SelectOptions) => void>;
361
+ setPoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, props: Partial<import("platejs").Point>, options?: import("slate/dist/interfaces/transforms/selection").SelectionSetPointOptions) => void>;
362
+ setSelection: import("platejs").OmitFirst<(editor: import("platejs").Editor, props: Partial<import("platejs").TRange>) => void>;
363
+ deselect: () => void;
364
+ } & {
365
+ blur: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
366
+ deselectDOM: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
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"];
372
+ } & {
373
+ setSplittingOnce: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: boolean | undefined) => void>;
374
+ withMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
375
+ withNewBatch: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
376
+ withoutMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
377
+ withoutSaving: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
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;
380
+ normalizeNode: <N extends import("platejs").NodeIn<import("../../..").WysiwygContent>>(entry: import("platejs").NodeEntry<N>, options?: {
381
+ operation?: import("platejs").Operation;
382
+ }) => void;
383
+ } & {
384
+ init: ((args_0: import("platejs").InitOptions) => void) & ((args_0: import("platejs").InitOptions) => void);
385
+ insertExitBreak: ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined) & ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined);
386
+ liftBlock: ((args_0?: import("platejs").LiftBlockOptions | undefined) => true | undefined) & ((args_0?: import("platejs").LiftBlockOptions | undefined) => true | undefined);
387
+ resetBlock: ((args_0?: {
388
+ at?: import("platejs").Path;
389
+ } | undefined) => true | undefined) & ((args_0?: {
390
+ at?: import("platejs").Path;
391
+ } | undefined) => true | undefined);
392
+ setValue: ((value?: string | import("platejs").Value | undefined) => void) & ((value?: string | import("platejs").Value | undefined) => void);
393
+ apply: <N$1 extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N$1>) => void;
394
+ } & {
395
+ withScrolling: (fn: () => void, options?: import("platejs").WithAutoScrollOptions | undefined) => void;
396
+ } & {
397
+ navigation: {
398
+ clear: () => void;
399
+ flashTarget: (options: import("platejs").NavigationFlashTargetOptions) => boolean;
400
+ navigate: (options: import("platejs").NavigationNavigateOptions) => boolean;
401
+ };
402
+ } & {
403
+ nodeId: {
404
+ normalize: () => void;
405
+ };
406
+ } & Record<"nodeId", {
407
+ normalize(): void;
408
+ }> & {
409
+ reset: (options: import("platejs").ResetOptions | undefined) => void;
410
+ init: ((args_0: import("platejs").InitOptions) => void) & ((args_0: import("platejs").InitOptions) => void);
411
+ insertExitBreak: ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined) & ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined);
412
+ liftBlock: ((args_0?: import("platejs").LiftBlockOptions | undefined) => true | undefined) & ((args_0?: import("platejs").LiftBlockOptions | undefined) => true | undefined);
413
+ resetBlock: ((args_0?: {
414
+ at?: import("platejs").Path;
415
+ } | undefined) => true | undefined) & ((args_0?: {
416
+ at?: import("platejs").Path;
417
+ } | undefined) => true | undefined);
418
+ setValue: ((value?: string | import("platejs").Value | undefined) => void) & ((value?: string | import("platejs").Value | undefined) => void);
419
+ apply: <N$1 extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N$1>) => void;
420
+ };
421
+ transforms: {
422
+ addMark: import("platejs").OmitFirst<(editor: import("platejs").Editor, key: string, value: any) => void>;
423
+ addMarks: import("platejs").OmitFirst<(editor: import("platejs").Editor, marks: import("platejs").EditorMarks, { remove }?: import("platejs").AddMarksOptions) => void>;
424
+ deleteBackward: import("platejs").OmitFirst<(editor: import("platejs").Editor, unit?: import("platejs").TextUnit) => void>;
425
+ deleteForward: import("platejs").OmitFirst<(editor: import("platejs").Editor, unit?: import("platejs").TextUnit) => void>;
426
+ deleteFragment: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate").EditorFragmentDeletionOptions) => void>;
427
+ duplicateNodes: import("platejs").OmitFirst<(editor: import("platejs").Editor, { block, nodes, ...options }?: import("platejs").DuplicateNodesOptions) => void>;
428
+ insertBreak: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
429
+ removeMarks: import("platejs").OmitFirst<(editor: import("platejs").Editor, keys?: string[] | string | null, { at, shouldChange, ...options }?: import("platejs").RemoveMarksOptions) => void>;
430
+ reset: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("platejs").ResetOptions) => void>;
431
+ toggleBlock: import("platejs").OmitFirst<(editor: import("platejs").Editor, type: string, { defaultType: defaultTypeProp, someOptions, wrap, ...options }?: import("platejs").ToggleBlockOptions) => void>;
432
+ toggleMark: import("platejs").OmitFirst<(editor: import("platejs").Editor, key: string, { remove }?: import("platejs").ToggleMarkOptions) => void>;
433
+ withoutNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => boolean | void) => boolean>;
434
+ escape: () => boolean | undefined;
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;
437
+ insertNodes: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(nodes: N | N[], options?: import("platejs").InsertNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
438
+ insertSoftBreak: () => void;
439
+ liftNodes: (options?: import("platejs").LiftNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
440
+ mergeNodes: (options?: import("platejs").MergeNodesOptions<import("../../..").WysiwygContent, import("platejs").Editor<import("platejs").Value>> | undefined) => void;
441
+ moveLine: (options: {
442
+ reverse: boolean;
443
+ }) => boolean | undefined;
444
+ moveNodes: (options: import("platejs").MoveNodesOptions<import("../../..").WysiwygContent>) => boolean | void;
445
+ normalize: (options?: import("platejs").EditorNormalizeOptions) => void;
446
+ redo: () => void;
447
+ removeMark: (key: string) => void;
448
+ removeNodes: (options?: import("platejs").RemoveNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
449
+ replaceNodes: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(nodes: N | N[], options?: import("platejs").ReplaceNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
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;
453
+ splitNodes: (options?: import("platejs").SplitNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
454
+ tab: (options: {
455
+ reverse: boolean;
456
+ }) => boolean | undefined;
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;
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;
462
+ } & {
463
+ delete: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void)>;
464
+ insertText: (text: string, options?: import("platejs").InsertTextOptions) => void;
465
+ } & {
466
+ collapse: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate/dist/interfaces/transforms/selection").SelectionCollapseOptions) => void>;
467
+ move: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate/dist/interfaces/transforms/selection").SelectionMoveOptions) => void>;
468
+ select: import("platejs").OmitFirst<(editor: import("platejs").Editor, target?: import("platejs").At, options?: import("platejs").SelectOptions) => void>;
469
+ setPoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, props: Partial<import("platejs").Point>, options?: import("slate/dist/interfaces/transforms/selection").SelectionSetPointOptions) => void>;
470
+ setSelection: import("platejs").OmitFirst<(editor: import("platejs").Editor, props: Partial<import("platejs").TRange>) => void>;
471
+ deselect: () => void;
472
+ } & {
473
+ blur: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
474
+ deselectDOM: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
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"];
480
+ } & {
481
+ setSplittingOnce: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: boolean | undefined) => void>;
482
+ withMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
483
+ withNewBatch: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
484
+ withoutMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
485
+ withoutSaving: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
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;
488
+ normalizeNode: <N extends import("platejs").NodeIn<import("../../..").WysiwygContent>>(entry: import("platejs").NodeEntry<N>, options?: {
489
+ operation?: import("platejs").Operation;
490
+ }) => void;
491
+ } & {
492
+ init: ((args_0: import("platejs").InitOptions) => void) & ((args_0: import("platejs").InitOptions) => void);
493
+ insertExitBreak: ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined) & ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined);
494
+ liftBlock: ((args_0?: import("platejs").LiftBlockOptions | undefined) => true | undefined) & ((args_0?: import("platejs").LiftBlockOptions | undefined) => true | undefined);
495
+ resetBlock: ((args_0?: {
496
+ at?: import("platejs").Path;
497
+ } | undefined) => true | undefined) & ((args_0?: {
498
+ at?: import("platejs").Path;
499
+ } | undefined) => true | undefined);
500
+ setValue: ((value?: string | import("platejs").Value | undefined) => void) & ((value?: string | import("platejs").Value | undefined) => void);
501
+ apply: <N$1 extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N$1>) => void;
502
+ } & {
503
+ withScrolling: (fn: () => void, options?: import("platejs").WithAutoScrollOptions | undefined) => void;
504
+ } & {
505
+ navigation: {
506
+ clear: () => void;
507
+ flashTarget: (options: import("platejs").NavigationFlashTargetOptions) => boolean;
508
+ navigate: (options: import("platejs").NavigationNavigateOptions) => boolean;
509
+ };
510
+ } & {
511
+ nodeId: {
512
+ normalize: () => void;
513
+ };
514
+ } & Record<"nodeId", {
515
+ normalize(): void;
516
+ }> & {
517
+ reset: (options: import("platejs").ResetOptions | undefined) => void;
518
+ init: ((args_0: import("platejs").InitOptions) => void) & ((args_0: import("platejs").InitOptions) => void);
519
+ insertExitBreak: ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined) & ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined);
520
+ liftBlock: ((args_0?: import("platejs").LiftBlockOptions | undefined) => true | undefined) & ((args_0?: import("platejs").LiftBlockOptions | undefined) => true | undefined);
521
+ resetBlock: ((args_0?: {
522
+ at?: import("platejs").Path;
523
+ } | undefined) => true | undefined) & ((args_0?: {
524
+ at?: import("platejs").Path;
525
+ } | undefined) => true | undefined);
526
+ setValue: ((value?: string | import("platejs").Value | undefined) => void) & ((value?: string | import("platejs").Value | undefined) => void);
527
+ apply: <N$1 extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N$1>) => void;
528
+ };
529
+ getApi: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin?: import("platejs").WithRequiredKey<C> | undefined) => {
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[];
532
+ getFragment: (at?: import("platejs").At) => import("platejs").ElementOrTextIn<import("platejs").Value>[];
533
+ isElementReadOnly: <N extends import("platejs").TElement>(element: N) => boolean;
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;
537
+ setNormalizing: (isNormalizing: boolean) => void;
538
+ shouldMergeNodes: (prevNodeEntry: import("platejs").NodeEntry, curNodeEntry: import("platejs").NodeEntry, options?: {
539
+ reverse?: boolean;
540
+ }) => boolean;
541
+ shouldNormalize: (options: {
542
+ dirtyPaths: import("platejs").Path[];
543
+ initialDirtyPathsLength: number;
544
+ iteration: number;
545
+ operation?: import("platejs").Operation;
546
+ }) => boolean;
547
+ shouldNormalizeNode: (entry: import("platejs").NodeEntry) => boolean;
548
+ onChange: (options?: {
549
+ operation?: import("platejs").Operation;
550
+ }) => void;
551
+ } & {
552
+ after: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorAfterOptions) => import("slate").BasePoint | undefined>;
553
+ before: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorBeforeOptions) => import("platejs").Point | undefined>;
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)>;
556
+ end: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorEndOptions) => import("slate").BasePoint | undefined>;
557
+ hasBlocks: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
558
+ hasInlines: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
559
+ hasMark: import("platejs").OmitFirst<(editor: import("platejs").Editor, key: string) => boolean>;
560
+ hasTexts: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
561
+ isBlock: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: any) => value is import("platejs").TElement>;
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)>;
564
+ isEnd: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
565
+ isNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
566
+ isStart: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
567
+ path: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("slate").EditorPathOptions) => import("slate").Path | undefined>;
568
+ pathRef: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").Path, options?: import("slate").EditorPathRefOptions) => import("slate").PathRef>;
569
+ pathRefs: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Set<import("slate").PathRef>>;
570
+ point: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("slate").EditorPointOptions) => import("slate").BasePoint | undefined>;
571
+ pointRef: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point, options?: import("slate").EditorPointRefOptions) => import("slate").PointRef>;
572
+ pointRefs: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Set<import("slate").PointRef>>;
573
+ positions: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("platejs").EditorPositionsOptions) => Generator<import("slate").BasePoint, void, undefined>>;
574
+ range: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At | "before" | "start", to?: import("platejs").At | null, options?: {
575
+ before?: import("platejs").EditorBeforeOptions;
576
+ }) => import("platejs").TRange | undefined>;
577
+ rangeRef: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange, options?: import("slate").EditorRangeRefOptions) => import("slate").RangeRef>;
578
+ rangeRefs: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Set<import("slate").RangeRef>>;
579
+ start: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorStartOptions) => import("slate").BasePoint | undefined>;
580
+ string: import("platejs").OmitFirst<(editor: import("platejs").Editor, at?: import("platejs").At | null, options?: import("platejs").EditorStringOptions) => string>;
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;
584
+ fragment: <N extends import("platejs").ElementOrTextIn<import("platejs").Value>>(at: import("platejs").At) => N[] | undefined;
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;
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
+ marks: () => {
590
+ [x: string]: unknown;
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;
598
+ } & {
599
+ findDocumentOrShadowRoot: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Document | ShadowRoot | undefined>;
600
+ findEventRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, event: any) => import("slate").BaseRange | undefined>;
601
+ findKey: import("platejs").OmitFirst<(editor: import("platejs").Editor, node: import("platejs").TNode) => import("slate-dom").Key | undefined>;
602
+ getWindow: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Window | undefined>;
603
+ hasDOMNode: import("platejs").OmitFirst<(editor: import("platejs").Editor, target: Node, options?: Parameters<(editor: import("slate-dom").DOMEditor, target: Node, options?: {
604
+ editable?: boolean;
605
+ }) => boolean>[2]) => boolean>;
606
+ hasRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange) => boolean>;
607
+ isComposing: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
608
+ isFocused: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
609
+ isReadOnly: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
610
+ isTargetInsideNonReadonlyVoid: import("platejs").OmitFirst<(editor: import("platejs").Editor, target: EventTarget | null) => boolean>;
611
+ toDOMNode: import("platejs").OmitFirst<(editor: import("platejs").Editor, node: import("platejs").TNode) => HTMLElement | undefined>;
612
+ toDOMPoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point) => import("slate-dom").DOMPoint | undefined>;
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: {
615
+ exactMatch: boolean;
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: {
620
+ exactMatch: boolean;
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: {
623
+ exactMatch: boolean;
624
+ suppressThrow: T;
625
+ }) => T extends true ? import("slate").Range | null : import("slate").Range)>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
626
+ findPath: (node: import("platejs").TNode, options?: import("platejs").EditorFindPathOptions) => import("platejs").Path | undefined;
627
+ hasEditableTarget: (target: EventTarget | null) => target is Node;
628
+ hasSelectableTarget: (target: EventTarget | null) => target is Node;
629
+ hasTarget: (target: EventTarget | null) => target is Node;
630
+ toSlateNode: <N extends import("platejs").NodeIn<import("platejs").Value>>(domNode: Parameters<(editor: import("platejs").Editor, domNode: Node) => import("platejs").TNode | undefined>[1]) => N | undefined;
631
+ } & {
632
+ isMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean | undefined>;
633
+ isSaving: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean | undefined>;
634
+ isSplittingOnce: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean | undefined>;
635
+ } & {
636
+ create: {
637
+ block: (node?: Partial<import("platejs").TElement>, path?: import("platejs").Path) => import("platejs").TElement;
638
+ value: () => import("platejs").Value;
639
+ };
640
+ isAt: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
641
+ at?: import("platejs").TLocation | null;
642
+ block?: boolean;
643
+ blocks?: boolean;
644
+ end?: boolean;
645
+ start?: boolean;
646
+ text?: boolean;
647
+ word?: boolean;
648
+ } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean)>;
649
+ isText: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => boolean>;
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;
656
+ isCollapsed: () => boolean;
657
+ isEditorEnd: () => boolean;
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;
662
+ nodesRange: (nodes: import("platejs").NodeEntry[]) => import("platejs").TRange | undefined;
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
+ } & {
672
+ isElementStateEmpty: (element: import("platejs").TElement) => boolean;
673
+ redecorate: () => void;
674
+ } & {
675
+ isScrolling: () => boolean;
676
+ } & {
677
+ navigation: {
678
+ activeTarget: () => import("platejs").NavigationFeedbackActiveTarget | null;
679
+ clear: () => void;
680
+ isTarget: (path: import("platejs").Path) => boolean;
681
+ };
682
+ } & Record<"html", {
683
+ deserialize: (args_0: {
684
+ element: HTMLElement | string;
685
+ collapseWhiteSpace?: boolean;
686
+ defaultElementPlugin?: import("platejs").WithRequiredKey;
687
+ }) => import("platejs").Descendant[];
688
+ }> & {
689
+ redecorate: (() => void) & (() => void);
690
+ isElementStateEmpty: (element: import("platejs").TElement) => boolean;
691
+ } & {
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[];
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;
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;
699
+ setNormalizing: (isNormalizing: boolean) => void;
700
+ shouldMergeNodes: (prevNodeEntry: import("platejs").NodeEntry, curNodeEntry: import("platejs").NodeEntry, options?: {
701
+ reverse?: boolean;
702
+ }) => boolean;
703
+ shouldNormalize: (options: {
704
+ dirtyPaths: import("platejs").Path[];
705
+ initialDirtyPathsLength: number;
706
+ iteration: number;
707
+ operation?: import("platejs").Operation;
708
+ }) => boolean;
709
+ shouldNormalizeNode: (entry: import("platejs").NodeEntry) => boolean;
710
+ onChange: (options?: {
711
+ operation?: import("platejs").Operation;
712
+ }) => void;
713
+ } & {
714
+ after: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorAfterOptions) => import("slate").BasePoint | undefined>;
715
+ before: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorBeforeOptions) => import("platejs").Point | undefined>;
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)>;
718
+ end: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorEndOptions) => import("slate").BasePoint | undefined>;
719
+ hasBlocks: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
720
+ hasInlines: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
721
+ hasMark: import("platejs").OmitFirst<(editor: import("platejs").Editor, key: string) => boolean>;
722
+ hasTexts: import("platejs").OmitFirst<(editor: import("platejs").Editor, element: import("platejs").TElement) => boolean>;
723
+ isBlock: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: any) => value is import("platejs").TElement>;
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)>;
726
+ isEnd: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
727
+ isNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
728
+ isStart: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point | null | undefined, at: import("platejs").TLocation) => boolean>;
729
+ path: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("slate").EditorPathOptions) => import("slate").Path | undefined>;
730
+ pathRef: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").Path, options?: import("slate").EditorPathRefOptions) => import("slate").PathRef>;
731
+ pathRefs: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Set<import("slate").PathRef>>;
732
+ point: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("slate").EditorPointOptions) => import("slate").BasePoint | undefined>;
733
+ pointRef: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point, options?: import("slate").EditorPointRefOptions) => import("slate").PointRef>;
734
+ pointRefs: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Set<import("slate").PointRef>>;
735
+ positions: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("platejs").EditorPositionsOptions) => Generator<import("slate").BasePoint, void, undefined>>;
736
+ range: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At | "before" | "start", to?: import("platejs").At | null, options?: {
737
+ before?: import("platejs").EditorBeforeOptions;
738
+ }) => import("platejs").TRange | undefined>;
739
+ rangeRef: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange, options?: import("slate").EditorRangeRefOptions) => import("slate").RangeRef>;
740
+ rangeRefs: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Set<import("slate").RangeRef>>;
741
+ start: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At, options?: import("platejs").EditorStartOptions) => import("slate").BasePoint | undefined>;
742
+ string: import("platejs").OmitFirst<(editor: import("platejs").Editor, at?: import("platejs").At | null, options?: import("platejs").EditorStringOptions) => string>;
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;
746
+ fragment: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(at: import("platejs").At) => N[] | undefined;
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;
750
+ levels: <N extends import("platejs").NodeIn<import("../../..").WysiwygContent>>(options?: import("platejs").EditorLevelsOptions<import("../../..").WysiwygContent> | undefined) => Generator<import("platejs").NodeEntry<N>, void, undefined>;
751
+ marks: () => {
752
+ [x: string]: unknown;
753
+ [x: number]: unknown;
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;
761
+ } & {
762
+ findDocumentOrShadowRoot: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Document | ShadowRoot | undefined>;
763
+ findEventRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, event: any) => import("slate").BaseRange | undefined>;
764
+ findKey: import("platejs").OmitFirst<(editor: import("platejs").Editor, node: import("platejs").TNode) => import("slate-dom").Key | undefined>;
765
+ getWindow: import("platejs").OmitFirst<(editor: import("platejs").Editor) => Window | undefined>;
766
+ hasDOMNode: import("platejs").OmitFirst<(editor: import("platejs").Editor, target: Node, options?: Parameters<(editor: import("slate-dom").DOMEditor, target: Node, options?: {
767
+ editable?: boolean;
768
+ }) => boolean>[2]) => boolean>;
769
+ hasRange: import("platejs").OmitFirst<(editor: import("platejs").Editor, range: import("platejs").TRange) => boolean>;
770
+ isComposing: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
771
+ isFocused: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
772
+ isReadOnly: import("platejs").OmitFirst<(editor: import("platejs").Editor) => boolean>;
773
+ isTargetInsideNonReadonlyVoid: import("platejs").OmitFirst<(editor: import("platejs").Editor, target: EventTarget | null) => boolean>;
774
+ toDOMNode: import("platejs").OmitFirst<(editor: import("platejs").Editor, node: import("platejs").TNode) => HTMLElement | undefined>;
775
+ toDOMPoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, point: import("platejs").Point) => import("slate-dom").DOMPoint | undefined>;
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: {
778
+ exactMatch: boolean;
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: {
783
+ exactMatch: boolean;
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: {
786
+ exactMatch: boolean;
787
+ suppressThrow: T;
788
+ }) => T extends true ? import("slate").Range | null : import("slate").Range)>[2], "supressThrow">) => import("slate").BaseRange | null | undefined>;
789
+ findPath: (node: import("platejs").TNode, options?: import("platejs").EditorFindPathOptions) => import("platejs").Path | undefined;
790
+ hasEditableTarget: (target: EventTarget | null) => target is Node;
791
+ hasSelectableTarget: (target: EventTarget | null) => target is Node;
792
+ hasTarget: (target: EventTarget | null) => target is Node;
793
+ toSlateNode: <N extends import("platejs").NodeIn<import("../../..").WysiwygContent>>(domNode: Parameters<(editor: import("platejs").Editor, domNode: Node) => import("platejs").TNode | undefined>[1]) => N | undefined;
794
+ } & {
795
+ create: {
796
+ block: (node?: Partial<import("platejs").TElement>, path?: import("platejs").Path) => import("platejs").TElement;
797
+ value: () => import("platejs").Value;
798
+ };
799
+ isAt: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, { at, block, blocks, end, start, text, word, ...options }?: {
800
+ at?: import("platejs").TLocation | null;
801
+ block?: boolean;
802
+ blocks?: boolean;
803
+ end?: boolean;
804
+ start?: boolean;
805
+ text?: boolean;
806
+ word?: boolean;
807
+ } & Omit<import("platejs").EditorAboveOptions<import("platejs").ValueOf<E>>, "at" | "block">) => boolean)>;
808
+ isText: import("platejs").OmitFirst<(editor: import("platejs").Editor, at: import("platejs").At) => boolean>;
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;
815
+ isCollapsed: () => boolean;
816
+ isEditorEnd: () => boolean;
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) => {
821
+ [x: string]: unknown;
822
+ [x: number]: unknown;
823
+ }[K] | null | undefined;
824
+ nodesRange: (nodes: import("platejs").NodeEntry[]) => import("platejs").TRange | undefined;
825
+ prop: (options: import("platejs").EditorPropOptions<import("../../..").WysiwygContent>) => string | undefined;
826
+ } & import("platejs").InferApi<C>;
827
+ getTransforms: <C extends import("platejs").AnyPluginConfig = import("platejs").PluginConfig>(plugin?: import("platejs").WithRequiredKey<C> | undefined) => {
828
+ addMark: import("platejs").OmitFirst<(editor: import("platejs").Editor, key: string, value: any) => void>;
829
+ addMarks: import("platejs").OmitFirst<(editor: import("platejs").Editor, marks: import("platejs").EditorMarks, { remove }?: import("platejs").AddMarksOptions) => void>;
830
+ deleteBackward: import("platejs").OmitFirst<(editor: import("platejs").Editor, unit?: import("platejs").TextUnit) => void>;
831
+ deleteForward: import("platejs").OmitFirst<(editor: import("platejs").Editor, unit?: import("platejs").TextUnit) => void>;
832
+ deleteFragment: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate").EditorFragmentDeletionOptions) => void>;
833
+ duplicateNodes: import("platejs").OmitFirst<(editor: import("platejs").Editor, { block, nodes, ...options }?: import("platejs").DuplicateNodesOptions) => void>;
834
+ insertBreak: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
835
+ removeMarks: import("platejs").OmitFirst<(editor: import("platejs").Editor, keys?: string[] | string | null, { at, shouldChange, ...options }?: import("platejs").RemoveMarksOptions) => void>;
836
+ reset: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("platejs").ResetOptions) => void>;
837
+ toggleBlock: import("platejs").OmitFirst<(editor: import("platejs").Editor, type: string, { defaultType: defaultTypeProp, someOptions, wrap, ...options }?: import("platejs").ToggleBlockOptions) => void>;
838
+ toggleMark: import("platejs").OmitFirst<(editor: import("platejs").Editor, key: string, { remove }?: import("platejs").ToggleMarkOptions) => void>;
839
+ withoutNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => boolean | void) => boolean>;
840
+ escape: () => boolean | undefined;
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;
843
+ insertNodes: <N extends import("platejs").ElementOrTextIn<import("platejs").Value>>(nodes: N | N[], options?: import("platejs").InsertNodesOptions<import("platejs").Value> | undefined) => void;
844
+ insertSoftBreak: () => void;
845
+ liftNodes: (options?: import("platejs").LiftNodesOptions<import("platejs").Value> | undefined) => void;
846
+ mergeNodes: (options?: import("platejs").MergeNodesOptions<import("platejs").Value, import("platejs").Editor<import("platejs").Value>> | undefined) => void;
847
+ moveLine: (options: {
848
+ reverse: boolean;
849
+ }) => boolean | undefined;
850
+ moveNodes: (options: import("platejs").MoveNodesOptions<import("platejs").Value>) => boolean | void;
851
+ normalize: (options?: import("platejs").EditorNormalizeOptions) => void;
852
+ redo: () => void;
853
+ removeMark: (key: string) => void;
854
+ removeNodes: (options?: import("platejs").RemoveNodesOptions<import("platejs").Value> | undefined) => void;
855
+ replaceNodes: <N extends import("platejs").ElementOrTextIn<import("platejs").Value>>(nodes: N | N[], options?: import("platejs").ReplaceNodesOptions<import("platejs").Value> | undefined) => void;
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;
859
+ splitNodes: (options?: import("platejs").SplitNodesOptions<import("platejs").Value> | undefined) => void;
860
+ tab: (options: {
861
+ reverse: boolean;
862
+ }) => boolean | undefined;
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;
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;
868
+ } & {
869
+ delete: import("platejs").OmitFirst<(<E extends import("platejs").Editor>(editor: E, options?: import("platejs").DeleteTextOptions) => void)>;
870
+ insertText: (text: string, options?: import("platejs").InsertTextOptions) => void;
871
+ } & {
872
+ collapse: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate/dist/interfaces/transforms/selection").SelectionCollapseOptions) => void>;
873
+ move: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate/dist/interfaces/transforms/selection").SelectionMoveOptions) => void>;
874
+ select: import("platejs").OmitFirst<(editor: import("platejs").Editor, target?: import("platejs").At, options?: import("platejs").SelectOptions) => void>;
875
+ setPoint: import("platejs").OmitFirst<(editor: import("platejs").Editor, props: Partial<import("platejs").Point>, options?: import("slate/dist/interfaces/transforms/selection").SelectionSetPointOptions) => void>;
876
+ setSelection: import("platejs").OmitFirst<(editor: import("platejs").Editor, props: Partial<import("platejs").TRange>) => void>;
877
+ deselect: () => void;
878
+ } & {
879
+ blur: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
880
+ deselectDOM: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
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"];
886
+ } & {
887
+ setSplittingOnce: import("platejs").OmitFirst<(editor: import("platejs").Editor, value: boolean | undefined) => void>;
888
+ withMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
889
+ withNewBatch: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
890
+ withoutMerging: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
891
+ withoutSaving: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => void) => void>;
892
+ } & {
893
+ apply: <N extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N>) => void;
894
+ normalizeNode: <N extends import("platejs").NodeIn<import("platejs").Value>>(entry: import("platejs").NodeEntry<N>, options?: {
895
+ operation?: import("platejs").Operation;
896
+ }) => void;
897
+ } & {
898
+ init: ((args_0: import("platejs").InitOptions) => void) & ((args_0: import("platejs").InitOptions) => void);
899
+ insertExitBreak: ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined) & ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined);
900
+ liftBlock: ((args_0?: import("platejs").LiftBlockOptions | undefined) => true | undefined) & ((args_0?: import("platejs").LiftBlockOptions | undefined) => true | undefined);
901
+ resetBlock: ((args_0?: {
902
+ at?: import("platejs").Path;
903
+ } | undefined) => true | undefined) & ((args_0?: {
904
+ at?: import("platejs").Path;
905
+ } | undefined) => true | undefined);
906
+ setValue: ((value?: string | import("platejs").Value | undefined) => void) & ((value?: string | import("platejs").Value | undefined) => void);
907
+ apply: <N$1 extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N$1>) => void;
908
+ } & {
909
+ withScrolling: (fn: () => void, options?: import("platejs").WithAutoScrollOptions | undefined) => void;
910
+ } & {
911
+ navigation: {
912
+ clear: () => void;
913
+ flashTarget: (options: import("platejs").NavigationFlashTargetOptions) => boolean;
914
+ navigate: (options: import("platejs").NavigationNavigateOptions) => boolean;
915
+ };
916
+ } & {
917
+ nodeId: {
918
+ normalize: () => void;
919
+ };
920
+ } & Record<"nodeId", {
921
+ normalize(): void;
922
+ }> & {
923
+ reset: (options: import("platejs").ResetOptions | undefined) => void;
924
+ init: ((args_0: import("platejs").InitOptions) => void) & ((args_0: import("platejs").InitOptions) => void);
925
+ insertExitBreak: ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined) & ((args_0?: import("platejs").InsertExitBreakOptions | undefined) => true | undefined);
926
+ liftBlock: ((args_0?: import("platejs").LiftBlockOptions | undefined) => true | undefined) & ((args_0?: import("platejs").LiftBlockOptions | undefined) => true | undefined);
927
+ resetBlock: ((args_0?: {
928
+ at?: import("platejs").Path;
929
+ } | undefined) => true | undefined) & ((args_0?: {
930
+ at?: import("platejs").Path;
931
+ } | undefined) => true | undefined);
932
+ setValue: ((value?: string | import("platejs").Value | undefined) => void) & ((value?: string | import("platejs").Value | undefined) => void);
933
+ apply: <N$1 extends import("platejs").TElement | import("platejs").TText>(operation: import("platejs").Operation<N$1>) => void;
934
+ } & {
935
+ addMark: import("platejs").OmitFirst<(editor: import("platejs").Editor, key: string, value: any) => void>;
936
+ addMarks: import("platejs").OmitFirst<(editor: import("platejs").Editor, marks: import("platejs").EditorMarks, { remove }?: import("platejs").AddMarksOptions) => void>;
937
+ deleteBackward: import("platejs").OmitFirst<(editor: import("platejs").Editor, unit?: import("platejs").TextUnit) => void>;
938
+ deleteForward: import("platejs").OmitFirst<(editor: import("platejs").Editor, unit?: import("platejs").TextUnit) => void>;
939
+ deleteFragment: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("slate").EditorFragmentDeletionOptions) => void>;
940
+ duplicateNodes: import("platejs").OmitFirst<(editor: import("platejs").Editor, { block, nodes, ...options }?: import("platejs").DuplicateNodesOptions) => void>;
941
+ insertBreak: import("platejs").OmitFirst<(editor: import("platejs").Editor) => void>;
942
+ removeMarks: import("platejs").OmitFirst<(editor: import("platejs").Editor, keys?: string[] | string | null, { at, shouldChange, ...options }?: import("platejs").RemoveMarksOptions) => void>;
943
+ reset: import("platejs").OmitFirst<(editor: import("platejs").Editor, options?: import("platejs").ResetOptions) => void>;
944
+ toggleBlock: import("platejs").OmitFirst<(editor: import("platejs").Editor, type: string, { defaultType: defaultTypeProp, someOptions, wrap, ...options }?: import("platejs").ToggleBlockOptions) => void>;
945
+ toggleMark: import("platejs").OmitFirst<(editor: import("platejs").Editor, key: string, { remove }?: import("platejs").ToggleMarkOptions) => void>;
946
+ withoutNormalizing: import("platejs").OmitFirst<(editor: import("platejs").Editor, fn: () => boolean | void) => boolean>;
947
+ escape: () => boolean | undefined;
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;
950
+ insertNodes: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(nodes: N | N[], options?: import("platejs").InsertNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
951
+ insertSoftBreak: () => void;
952
+ liftNodes: (options?: import("platejs").LiftNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
953
+ mergeNodes: (options?: import("platejs").MergeNodesOptions<import("../../..").WysiwygContent, import("platejs").Editor<import("platejs").Value>> | undefined) => void;
954
+ moveLine: (options: {
955
+ reverse: boolean;
956
+ }) => boolean | undefined;
957
+ moveNodes: (options: import("platejs").MoveNodesOptions<import("../../..").WysiwygContent>) => boolean | void;
958
+ normalize: (options?: import("platejs").EditorNormalizeOptions) => void;
959
+ redo: () => void;
960
+ removeMark: (key: string) => void;
961
+ removeNodes: (options?: import("platejs").RemoveNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
962
+ replaceNodes: <N extends import("platejs").ElementOrTextIn<import("../../..").WysiwygContent>>(nodes: N | N[], options?: import("platejs").ReplaceNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
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;
966
+ splitNodes: (options?: import("platejs").SplitNodesOptions<import("../../..").WysiwygContent> | undefined) => void;
967
+ tab: (options: {
968
+ reverse: boolean;
969
+ }) => boolean | undefined;
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;
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;
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;
977
+ normalizeNode: <N extends import("platejs").NodeIn<import("../../..").WysiwygContent>>(entry: import("platejs").NodeEntry<N>, options?: {
978
+ operation?: import("platejs").Operation;
979
+ }) => void;
980
+ } & import("platejs").InferTransforms<C>;
981
+ } & {
982
+ isDragging?: boolean;
983
+ } & {
984
+ store: import("platejs/react").PlateStore;
985
+ };
986
+ getActiveLinkValue: () => import("../types").TLinkElement | undefined;
8
987
  getTarget: string;
9
- setAllValues: (url: string, text: string, target: string | undefined) => void;
10
- getActiveLinkValue: () => import("@udecode/plate-link").TLinkElement | undefined;
988
+ getText: string;
989
+ getUrl: string;
11
990
  isEditing: boolean;
991
+ setAllValues: (url: string, text: string, target: string | undefined) => void;
992
+ setTarget: (target: string | undefined) => void;
993
+ setText: (text: string) => void;
994
+ setUrl: (url: string) => void;
12
995
  };