/** * Flatten a 2-dimensional array into a 1-dimensional one. */ export declare function flattenArray(nestedArray: T[][]): T[]; /** * Remove all duplicates from the list. * Doesn't preserve ordering. */ export declare function uniq(a: A[]): A[]; /** * Removed all duplicates from the list based on the hash function. * First element matching the hash function wins. */ export declare function uniqueBasedOnHash>(list: A[], elementToHash: (a: A) => string, __result?: A[]): A[];