/** * 数组向上展开 * @category Array * @param arr * @param depth number: 展开的层级; true: 全展开; * @returns {any[]} */ export declare const flatten: (arr: T[], depth?: number | true) => T[];