export declare const toArray: (x: T | T[]) => T[];