import { IconType } from '../icon'; export interface TreeNode { key: string; title?: string; parentKey?: string | null; children?: TreeNode[]; isLeaf?: boolean; expanded?: boolean; selected?: boolean; checked?: boolean; indeterminate?: boolean; disabled?: boolean; loading?: boolean; icon?: IconType[]; visiblePrefixes?: boolean[]; dropping?: boolean; level?: number; isLastChild?: boolean; [key: string]: any; } export interface BuildTreeOptions { data: TreeNode[]; expandedKeys?: string[]; selectedKeys?: string[]; checkedKeys?: string[]; parentKey?: string | null; hasLoad?: boolean; checkStrictly?: boolean; checkable?: boolean; } export declare const updateParentIndeterminate: (nodes: TreeNode[], parentKey: string) => void; export declare const buildTree: ({ data, expandedKeys, selectedKeys, checkedKeys, parentKey, hasLoad, checkStrictly, checkable, }: BuildTreeOptions) => TreeNode[];