export declare function flatten(a: (T | T[])[]): T[];