import type React from "react"; import type { AppBarProps } from "@mui/material/AppBar"; export type TopbarConfig = { applicationTitle?: string; applicationTitleUrl?: string; marketLocales?: string[]; }; export type TopbarContextValue = { applicationTitle: Required["applicationTitle"]; applicationTitleUrl: Required["applicationTitleUrl"]; marketLocales: TopbarConfig["marketLocales"]; }; export type TopbarProviderProps = { children: React.ReactNode; config?: TopbarConfig; }; export type TopbarProviderComponent = (props: TopbarProviderProps) => JSX.Element; export type TopbarProps = { applicationTitle?: string; applicationTitleUrl?: string; } & AppBarProps; export type TopbarComponent = (props: TopbarProps) => JSX.Element; export type UseTopbarHook = () => TopbarContextValue;