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