import type React from "react"; import { ApplicationMenuItem } from "../configuration/configuration.definition"; export type NavbarConfig = { version: string; applicationCode: string; display: boolean; }; export type NavbarContextValue = { menu: ApplicationMenuItem[]; version: NavbarConfig["version"]; displayed: boolean; open: boolean; toggle: () => void; applicationCode: string; }; export type NavbarProviderProps = { children: React.ReactNode; config?: NavbarConfig; }; export type NavbarProviderComponent = (props: NavbarProviderProps) => JSX.Element; export type UseNavbarHook = () => NavbarContextValue;