import { CSSProperties } from 'react';
import { Node, Descendant, CustomElement, FormattedText } from './slate';
interface NodeInfo {
    tag: string;
    css: CSSProperties;
}
export declare const DEFAULTCOLOR = "rgb(26, 43, 78)";
export declare const EMPTY_DESCENDANT: Descendant[];
export declare function isTextWrapper(node: Node): boolean;
export declare function toStyleString(css: CSSProperties): string;
export declare function serializeElement(element: CustomElement): NodeInfo;
export declare function serializeLeaf(leaf: FormattedText): NodeInfo;
export declare function serializeText(nodes: Descendant[]): string;
export declare function serializeHTML(nodes: Descendant[]): string;
export declare function deserializeHTML(html: string): Descendant[];
export declare const getSlateFragmentAttribute: (dataTransfer: DataTransfer) => string | void;
export {};
