import React from "react"; import type { NavigationGroupItem } from "../../util/AdminNavigationUtil"; import { AdminAppContext } from "./context"; interface Props { permissions: Feature[]; superAdminPermission: Feature; navigationGroups: Array>; WelcomeComponent?: React.ComponentType; onLifecycleError?: (error: unknown, componentStack: string) => void; onNotFound?: (notFoundPath: string) => void; } export declare class RouteSwitch extends React.PureComponent> { static displayName: string; static contextType: React.Context; context: React.ContextType; private readonly navigationModules; constructor(props: Props); renderWelcome: () => React.JSX.Element; render(): React.JSX.Element; } export {};