declare module '#app' {
  interface PageMeta {
    menuItem?: MenuMeta
  }
}

declare global {
  interface MenuMeta {
    title: string
    icon: string
    role?: string
    image?: string
    active?: boolean
  }

  interface MenuItem {
    title: string
    icon: string
    role: string
    link: any
    menuItems: Array<MenuItem>
    active: boolean
    name: string
    image?: string
  }
}

export type MenuMeta = globalThis.MenuMeta
export type MenuItem = globalThis.MenuItem

export {}
