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