import { ReactNode } from 'react'; interface MenuObjectProps { profile: ProfileItemProps; categories: MenuItemProps[]; } interface MenuItemProps { text: string; path?: string; icon?: ReactNode; disabled?: boolean; condition?: boolean; function?: () => void; searchText?: string; displayType?: "page" | "sidebar"; barPosition?: "header" | "footer"; subitems?: MenuItemProps[]; key?: string; } interface ProfileItemProps extends MenuItemProps { name: string; image: string | null; } export type { MenuItemProps as M, MenuObjectProps as a };