export declare type Text = { text: string; [key: string]: unknown; }; export declare type Element = { children: Node[]; [key: string]: unknown; }; export declare type Node = Element | Text; declare function isElement(node: Node): node is Element; declare function isText(node: Node): node is Text; export declare const Node: { isElement: typeof isElement; isText: typeof isText; }; export declare type SlateValue = Node[]; export {};