export interface Dictionary { [key: string]: T; } export declare const keyBy: (collection: T[], iteratee: (value: T) => string) => Dictionary;