/**
 * Convert an array of objects to an object, where each property of the new
 * object is an array whose members share the same value for the given key.
 */
export declare function groupBy<A extends any[]>(key: string, array: A): Record<string, A>;
