export declare const flatten: (prev: T[], curr: T[]) => T[];