import {SectionListRenderItem} from 'react-native';
import {ChatUser, Conversation} from '@modules/chats/interfaces';
import {ChatSearchSection} from '@modules/chats/components';

export type RenderItem = SectionListRenderItem<
  Conversation | ChatUser,
  ChatSearchSection
>;

export type SelectedItem = {id: string; isUser: boolean; name: string};

export type SelectedItemsState = Map<string, SelectedItem>;
