export interface DropdownState {
  isHamburgerMenuOpen: boolean
  isMyPagesMobileMenuOpen: boolean
  isMyPagesMenuOpen: boolean
  isHeaderLanguageSwitcherOpen: boolean
  isHeaderLanguageSwitcherMobileOpen: boolean
  isFooterLanguageSwitcherOpen: boolean
  openMegaMenu: string | false
  toggleMegaMenu: (menu: string | false) => void
  toggleDropdown: (dropdown: DropdownTypeEnum) => void
}

export enum DropdownTypeEnum {
  HamburgerMenu = "hamburgerMenu",
  MyPagesMobileMenu = "myPagesMobileMenu",
  MyPagesMenu = "myPagesMenu",
  HeaderLanguageSwitcher = "headerLanguageSwitcher",
  HeaderLanguageSwitcherMobile = "headerLanguageSwitcherMobile",
  FooterLanguageSwitcher = "footerLanguageSwitcher",
}

export type DropdownType = `${DropdownTypeEnum}`
