import { EntityNode, FlattenNode, TreeItemProps } from './type';
/**
 * 平铺树节点使节点可以进行遍历
 */
export declare function flattenTreeData(treeNodeList?: TreeItemProps[], expandedKeys?: string[] | true): FlattenNode[];
export declare function arrDel(list: string[], value: string): string[];
export declare function arrAdd(list: string[], value: string): string[];
/**
 * 获取树组件的props
 */
export declare function getTreeNodeProps(key: string, { expandedKeys, checkedKeys }: {
    expandedKeys: string[];
    checkedKeys: string[];
}): {
    eventKey: string;
    expanded: boolean;
    checked: boolean;
};
/**
 * 获取节点的数据
 * 用对象形式可以快速查找响应节点
 */
export declare function getTreeNodeLevel(treeData?: TreeItemProps[]): Record<string, any>;
/** check时父子组件的关联 */
export declare function conductCheck(keyList: Array<string>, keyEntities: Record<string, EntityNode>, checked: true | {
    checked: false;
}): string[];
