/**
* Convert an array of objects to an object, whereeach member of the array has
* a unique value for the given key. The newobject keys eachobjectby its
* value for the given key.
*/
export declarefunction keyBy<A extends any[]>(key: string, array: A): Record<string, A[number]>;