import { PlatePlugin, SlateProps, SPEditor, TDescendant } from "@udecode/plate-core";
/**
 * Convert Slate Nodes into HTML string
 */
export declare const serializeHTMLFromNodes: (editor: SPEditor, { plugins, nodes, slateProps, stripDataAttributes, preserveClassNames, stripWhitespace, }: {
    /**
     * Plugins with renderElement or renderLeaf.
     */
    plugins: PlatePlugin[];
    /**
     * Slate nodes to convert to HTML.
     */
    nodes: TDescendant[];
    /**
     * Enable stripping data attributes
     */
    stripDataAttributes?: boolean | undefined;
    /**
     * List of className prefixes to preserve from being stripped out
     */
    preserveClassNames?: string[] | undefined;
    /**
     * Slate props to provide if the rendering depends on slate hooks
     */
    slateProps?: Partial<SlateProps> | undefined;
    /**
     * Whether stripping whitespaces from serialized HTML
     * @default true
     */
    stripWhitespace?: boolean | undefined;
}) => string;
