import type { DeepestListItemOrSelf, TypeOfList } from '../types'; import type { List } from '@sdkset/types'; /** * 用于`flatten`的内部实现。 * * @example * _flatten([[[[[1]]]]]) * => [1] * * @param array 给定数组 * @param depth 递归深度 * @param strict 传递 true 将忽略类数组以外的参数 * @param output 递归输出 */ export declare function _flatten(array: V, depth: number, strict?: boolean, output?: DeepestListItemOrSelf>[]): DeepestListItemOrSelf>[];