export declare const getRound: (floatNum: number, num?: number) => number; /** * Traversing the tree, function will stop traversing once it returns false * @param {Array} tree * @param {Function} fn * @param {String} childrenKey * @param parent * */ export declare function treeForEachSkipChildren(tree: T[], fn: (node: T, parent?: T | undefined) => boolean | void | 'skipChildren', childrenKey?: string, parent?: T): false | undefined; /** * Traversing the tree, function will stop traversing once it returns false * @param {Array} tree * @param {Function} fn * @param {String} childrenKey * @param parent * */ export declare function treeForEach(tree: T[], fn: (node: T, parent?: T | undefined) => boolean | void, childrenKey?: string, parent?: T): false | undefined; export declare const sleep: (s?: number) => Promise; export declare const toMap: (items: Array | Set, idKey?: string) => Map; export declare const arrangementArr: (source: T[], target: T[], idKey?: string) => T[];