export type AuthStackParams = { Login: undefined Register: undefined ResetPassword: undefined } export type MainTabParams = { ConversationList: undefined Contacts: undefined Profile: undefined } export type RootStackParams = { Main: undefined SingleChat: { targetId: string; targetName: string; targetAvatar?: string } GroupChat: { groupId: string; groupName: string } UserSearch: { addToGroupId?: string } | undefined FriendRequests: undefined GroupList: undefined CreateGroup: undefined GroupMembers: { groupId: string; groupName: string } GroupSettings: { groupId: string; groupName: string; isAdmin?: boolean } GroupJoinRequests: { groupId: string; groupName: string } EditProfile: undefined MessageSearch: { targetId?: string; chatType?: 'SINGLE' | 'GROUP' } }