import type { CompositionNode, LeafPropsFactory, CompositionComponentNode, NodePropsFactory, CompositionStructureNode } from './types.js'; /** * Test if the Node within VisualBuilder is an Element * * @deprecated Visual Builder has been updated to favour components over Elements * @param node The Node to test * @returns `true` if the Node is an element, `false` otherwise. */ export declare function isElementNode(node: CompositionNode>): node is CompositionComponentNode>; /** * Test if the Node within VisualBuilder is a Component * * @param node The Node to test * @returns `true` if the Node is an element, `false` otherwise. */ export declare function isComponentNode(node: CompositionNode>): node is CompositionComponentNode>; export declare function isComponentNodeOfType>(node: CompositionNode>, test: (data: Record) => data is ET): node is CompositionComponentNode; export declare function isStructureNode(node: CompositionNode>): node is CompositionStructureNode; /** * Test if the provided value is a Visual Builder node * * @param toTest The value to test * @returns `true` when the value is a Visual Builder node, `false` * otherwise */ export declare function isNode(toTest: any): toTest is CompositionNode; export declare const defaultPropsFactory: LeafPropsFactory; export declare const defaultNodePropsFactory: NodePropsFactory; export declare function ucFirst(input: string | undefined | null): string | null;