import { type User } from 'src/types/user';

export type NavigationSidebarItemUser = Partial<User> &
  Pick<User, 'id' | 'profilePicture'>;

export type NavigationSidebarGroup<T> = {
  titleKey?: string;
  items: T[];
};

export type ResolveSidebarGroupsParams<T> = {
  items?: T[];
  groups?: NavigationSidebarGroup<T>[];
};
