import * as React from "react";

type SubLinkType = {
  description?: string;
  icon?: string;
  name: string;
  type: 'route' | 'link';
  url: string;
}

type subNavType = {
  isMega?: boolean;
  developerPanel?: boolean;
  navItems: SubLinkType[];
}

type LinkType = {
  name: string;
  type: 'route' | 'link';
  url: string
  subNav: subNavType
}

export interface NavBarProps {
  links: LinkType[]; 
}

declare const NavBar: React.FC<NavBarProps & JSX.IntrinsicElements['nav']>;

export { NavBar };
