/** * Creates a new array with all sub-array elements concatenated into it recursively up to the specified depth. * @param arr The array to flatten. * @param depth default 1 * @returns A new array with the sub-array elements concatenated into it. */ export declare function arrayFlatten(arr: any, depth?: number): T;