You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
import { MenuDataItem , Route , MessageDescriptor } from '../types' ;
export declare function stripQueryStringAndHashFromPath ( url : string ) : string ;
export declare const isUrl : ( path : string ) = > boolean ;
export declare const getKeyByPath : ( item : MenuDataItem ) = > string | undefined ;
/**
* @param routes 路由配置
* @param locale 是否使用国际化
* @param formatMessage 国际化的程序
* @param ignoreFilter 是否筛选掉不展示的 menuItem 项, plugin-layout需要所有项目来计算布局样式
* @returns { breadcrumb, menuData}
*/
declare const transformRoute : ( routes : Route [ ] , locale? : boolean | undefined , formatMessage ? : ( ( message : MessageDescriptor ) = > string ) | undefined , ignoreFilter? : boolean | undefined ) = > {
breadcrumb : Map < string , MenuDataItem > ;
menuData : MenuDataItem [ ] ;
} ;
export default transformRoute ;