import { Login } from "../WalletModal/types"; export interface LangType { code: string; language: string; } export interface Profile { username?: string; image?: string; profileLink: string; noProfileLink: string; showPip?: boolean; } export interface ConnectedNetwork { title: string; chainId: string; imgSrc: string; rpcUrl: string; } export interface PushedProps { isPushed: boolean; pushNav: (isPushed: boolean) => void; } export interface NavTheme { background: string; hover: string; } export interface MenuSubEntry { label: string; subText?: string; href: string; calloutClass?: string; } export interface MenuEntry { label: string; subText?: string; icon: string; items?: MenuSubEntry[]; href?: string; calloutClass?: string; initialOpenState?: boolean; } export interface ScoialSubEntry { label: string; href: string; } export interface SocailLink { label: string; icon: string; items?: ScoialSubEntry[]; href?: string; } export interface PanelProps { isDark: boolean; showThemeToggle?: boolean; toggleTheme: (isDark: boolean) => void; cakePriceUsd?: number; locationUrl?: string; showPoweredBySection?: boolean; showDappAudit?: boolean; showPHWidget?: boolean; currentLang: string; langs: LangType[]; setLang: (lang: LangType) => void; links: Array; roundLogoIcon?: string; nameLogo?: string; } export interface SocailProps { socials?: Array; } export interface NavProps extends PanelProps, SocailProps { account?: string; scanLabel?: string; scanUrl?: string; logoIcon?: string; titleFirstPart?: string; titleSecondPart?: string; logoSize?: string; nameLogo?: string; locationUrl?: string; login: Login; profile?: Profile; logout: () => void; showGasslessTranscationTab?: boolean; gaslessTranscationChecked?: boolean; gasslessTranscationLabel?: string; gaslessTransactionTooltip?: string; toggleTranscationState?: (checked: boolean) => void; currentNetwork?: ConnectedNetwork; showNetworkSwitch?: boolean; activeChainId?: string | undefined; changeNetwork?: (networkData: ConnectedNetwork) => void; networks?: ConnectedNetwork[]; }