/**
 * 过滤掉叶子节点，返回嵌套数组
 * @param arr 要过滤的树
 * @param children 子节点指定字段名,默认‘children’
 * @returns 返回过滤掉叶子节点的嵌套数组
 */
export declare const findNonEmptyChildrenItems: (arr: any[], children?: string) => any[];
/**
 * 树形数组转扁平数组
 * @param list 要拍平的树
 * @param child 子节点指定字段名,默认‘children’
 * @param deleteChild 是否删除children字段，默认为true
 * @returns
 */
export declare const flatTree: (list: any[], child?: string, deleteChild?: boolean) => any[];
/**
 * 根据条件过滤节点
 * @param tree 要过滤的树
 * @param predicate 过滤条件，符合条件的节点保留
 * @param children 子节点指定字段名,默认‘children’
 * @returns
 */
export declare const filterTreeArray: (tree: any[], predicate: (node: any) => boolean, children?: string) => any;
/**
 * 树结构查找节点,深度优先
 * @param tree 要过滤的树
 * @param func 过滤条件，符合条件的节点保留(参数为函数，返回值为布尔值)
 * @returns 查找到的节点
 */
export declare const treeFind: (tree: any[], func: (node: any) => boolean, children?: string) => any;
