import type { TextNode, TypedNode, Node, NodeInput, RichTextNode, StringNode } from './types.js'; export declare function isText(toTest: Node | null | undefined): toTest is TextNode; export declare function isTypedNode(toTest: Node | null | undefined): toTest is TypedNode; export declare function isRichTextNode(toTest: any): toTest is RichTextNode; export declare function isStringNode(toTest: any): toTest is StringNode; export declare function isNonEmptyString(toTest: any): toTest is string; export declare function processNodeInput(input: NodeInput | null | undefined): RichTextNode | StringNode | undefined; export declare function getRandomId(scope?: string): string; /** * Test if the provided value is a valid output of the XHTML field-type within * Optimizely CMS * * @param toTest * @returns */ export declare function isNodeInput(toTest: any): toTest is NodeInput;