import { ReactNode, HTMLAttributes } from 'react'; import { TreeNodeProps as TreeNodeType } from '../recursive-tree'; export declare type CollapsingNodeProps = { /** * The title to be rendered and to be clicked to open the content. */ title: ReactNode; /** * If the content is open or not. */ isOpen?: boolean; } & Omit, 'title'> & TreeNodeType; export declare function CollapsingNode({ title, isOpen, node, depth, className }: CollapsingNodeProps): JSX.Element;