import * as H from 'history'; import { RouteComponentProps as BasicRouteProps, match } from 'react-router-dom'; import React from 'react'; export interface LinkProps extends React.AnchorHTMLAttributes { to: H.LocationDescriptor; replace?: boolean; innerRef?: React.Ref; } export interface MenuDataItem { authority?: string[] | string; children?: MenuDataItem[]; hideChildrenInMenu?: boolean; hideInMenu?: boolean; icon?: React.ReactNode; locale?: string | false; name?: string; key?: string; path?: string; [key: string]: any; parentKeys?: string[]; } export interface Route extends MenuDataItem { routes?: Route[]; } export declare type WithFalse = T | false; export interface RouterTypes

extends Omit { computedMatch?: match

; route?: Route; location: BasicRouteProps['location'] | { pathname?: string; }; } export interface MessageDescriptor { id: any; description?: string; defaultMessage?: string; }