export declare function flatten(arr: Array): T[];