import { RootState } from '../store' ; export const contactsMap = ( state ) => state . contacts . contactsMap ; export const contactGroupsMap = ( state ) => state . contacts . contactGroupsMap ; export const groupsWithContactsMap = ( state ) => state . contacts . groupsWithContactsMap ; export const recipientsLabelCache = ( state ) => state . contacts . recipientsLabelCache ; export const groupsLabelCache = ( state ) => state . contacts . groupsLabelCache ;