import { ReactNode } from 'react'; import { optionsType } from '../AllProjectsDropdown/types'; export interface AppHeaderProps { scriptId?: string | undefined | null; width?: string; borderRadius?: string; logo: ReactNode; leftContent?: ReactNode; rightContent?: ReactNode; projectsList?: optionsType[]; appHeaderMenuItems: appHeaderMenuItemProps[]; appHeaderHiddenMenuItems?: appHeaderMenuItemProps[]; selectedMenu: string; selectedSubMenu?: string; selectedQuickMenu?: string; selectedProject?: optionsType; onMenuClick?: (text: any) => void; onSubMenuClick?: (text: any) => void; onQuickMenuClick?: (text: any) => void; onProjectMenuClick?: (text: any) => void; onProjectDropdownLabelClick?: () => void; onMoreMenuOptionClick?: (text: any, callback: () => void) => void; disabled?: boolean; isClient?: boolean; hideNavbar?: boolean; profileContent?: ReactNode; } export interface appHeaderMenuItemProps { iconName?: string; label: string; path?: string; disable?: boolean; disableText?: string; hide?: boolean; access?: string; isReviewer?: boolean; entityPendingCounts?: { [key: string]: number; }; subMenuItems?: appHeaderSubMenuItemProps[]; } export interface appHeaderSubMenuItemProps { label: string; path?: string; disable?: boolean; disableText?: string; hide?: boolean; quickMenuItems?: appHeaderQuickMenuItemProps[]; hiddenMenuItems?: appHeaderHiddenMenuItemProps[]; } export interface appHeaderQuickMenuItemProps { label: string; path: string; iconName: string; disable?: boolean; disableText?: string; hide?: boolean; } export interface appHeaderHiddenMenuItemProps { label: string; value?: string | string[]; icon?: string; disable?: boolean; disableText?: string; hide?: boolean; path?: string; iconName?: string; }