/** * 数组扁平化 * @param arr 原数组 * @param depth 展开深度,默认 1 */ export declare const flatten: (arr: any[], depth?: number) => T[];