export interface IUser { id: string; email: string; firstName?: string; lastName?: string; } export interface IOption { value: string; label: string; } export type Prefer = P & Omit; export type ElementPropsWithoutRef = Pick< React.ComponentPropsWithoutRef, keyof React.ComponentPropsWithoutRef >; export type OverwritableType = Prefer< OwnProps, ElementPropsWithoutRef >; export type SectionsConfig = { [key in 'channels' | 'dm' | 'contacts']: boolean; };