import { ProfileModuleActionType, ProfileModuleType, View } from '.'; export type MenuItem = { id?: string; label: string; view?: View; children?: MenuItem[]; icon?: string; iconFileName?: string; route?: string; frameUrl?: string; externalUrl?: string; hidden?: boolean; command?: () => void; alwaysOpen?: boolean; showChildren?: boolean; permission?: ProfileModuleActionType[] | ProfileModuleType[] | ProfileModuleActionType | ProfileModuleType; };