import React from "react"; import type { NavigationGroupItem } from "../../util/AdminNavigationUtil"; import { SoundSwitch } from "./Default/SoundSwitch"; import { SquareLogo } from "./Default/SquareLogo"; import type { ExpandableProps } from "./Default/SquareLogo"; import { NavigatorSide } from "./Default/NavigatorSide"; import "./index.less"; export { AdminAppContext, type AdminAppContextType } from "./context"; export interface Props { name: string; permissions: Feature[]; superAdminPermission: Feature; navigationGroups: Array>; LogoComponent?: React.ComponentType; NavigatorSideComponent?: React.ComponentType; WelcomeComponent?: React.ComponentType; sideMenuWidth?: number; badges?: { [key: string]: number | number[]; }; noBrowserRouter?: boolean; onLifecycleError?: (error: unknown, componentStack: string) => void; onNotFound?: (notFoundPath: string) => void; } interface State { menuExpanded: boolean; } export declare class AdminApp extends React.PureComponent, State> { static displayName: string; static SquareLogo: typeof SquareLogo; static SoundSwitch: typeof SoundSwitch; static NavigatorSide: typeof NavigatorSide; private readonly menuExpandedKey; private readonly adminAppContext; private registeredTitleUpdater; constructor(props: Props); toggleMenuExpansion: () => void; render(): React.JSX.Element; }