declare const flatten: (array: any[], deep?: number) => T[]; export default flatten;