declare const mapify: (array: T[], key: (value: T) => string) => Map; export default mapify;