/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { VtsSafeAny } from '@ui-vts-kit/ng-vts/core/types'; import { FlattenNode, VtsTreeNode, VtsTreeNodeKey } from './vts-tree-base-node'; export declare function isCheckDisabled(node: VtsTreeNode): boolean; export declare function isInArray(needle: VtsSafeAny, haystack: VtsSafeAny[]): boolean; export declare function getPosition(level: string | number, index: number): string; export declare function getKey(key: VtsTreeNodeKey, pos: string): VtsTreeNodeKey; /** * Flat nest tree data into flatten list. This is used for virtual list render. * @param treeNodeList Origin data node list * @param expandedKeys * need expanded keys, provides `true` means all expanded (used in `rc-tree-select`). */ export declare function flattenTreeData(treeNodeList?: VtsTreeNode[], expandedKeys?: VtsTreeNodeKey[] | true): FlattenNode[];