/**
 * 路由切换器 组件
 *
 * TODO:
 * 1. 添加 ICON 支持，showIcon, RouteIcon 请求中 LoadingIcon 之类的
 * 2. 增加 可编辑/固定 模式
 * 3. 将组件转为 纯 react 组件，容易控制
 */
import { MenuItem, MenuDivider } from 'amis/lib/components/ContextMenu';
import React from 'react';
import { RouteItem } from "../../routes/types";
export declare type RouteMenuItem = Array<MenuItem | MenuDivider>;
export declare type TabItem = Partial<Omit<RouteItem, 'id'>> & {
    pathname: string;
    label: string;
    id?: string | number;
    shared?: boolean;
    isRoot?: boolean;
    active?: boolean;
    state?: string;
};
declare const _default: React.ComponentClass<Pick<any, string | number | symbol> | (Pick<any, string | number | symbol> & {
    wrappedComponentRef?: ((instance: any) => void) | React.RefObject<any> | null | undefined;
}), any> & import("react-router").WithRouterStatics<any>;
export default _default;
