/** * Utility function to easily convert a list of IDs to a map of id => element * @param ID The type of ID for the element * @param T The type of element to retrieve * @param ids The list of ids * @param getter A function that given an ID, returns a promise of the matching element * @param key The key for the ID * @return A promise containing a map of ID => element */ export declare function mapFromGetAll(ids: Array, getter: (id: ID) => Promise, key: keyof T): Promise>;