1 | import { createHyperscript, HyperscriptCreators, HyperscriptShorthands } from './hyperscript';
|
2 | import { createEditor, createText } from './creators';
|
3 |
|
4 |
|
5 |
|
6 | declare const jsx: <S extends "anchor" | "cursor" | "editor" | "element" | "focus" | "fragment" | "selection" | "text">(tagName: S, attributes?: Object | undefined, ...children: any[]) => ReturnType<{
|
7 | anchor: typeof import("./creators").createAnchor;
|
8 | cursor: typeof import("./creators").createCursor;
|
9 | editor: (tagName: string, attributes: {
|
10 | [key: string]: any;
|
11 | }, children: any[]) => import("slate").BaseEditor;
|
12 | element: typeof import("./creators").createElement;
|
13 | focus: typeof import("./creators").createFocus;
|
14 | fragment: typeof import("./creators").createFragment;
|
15 | selection: typeof import("./creators").createSelection;
|
16 | text: typeof createText;
|
17 | }[S]>;
|
18 | export { jsx, createHyperscript, createEditor, createText, HyperscriptCreators, HyperscriptShorthands, };
|
19 |
|
\ | No newline at end of file |