1 | import type { MenuDataItem, MessageDescriptor, Route } from '../typing';
|
2 | declare const getMenuData: (routes: Readonly<Route[]>, menu?: {
|
3 | locale?: boolean;
|
4 | }, formatMessage?: ((message: MessageDescriptor) => string) | undefined, menuDataRender?: ((menuData: MenuDataItem[]) => MenuDataItem[]) | undefined) => {
|
5 | breadcrumb: Record<string, MenuDataItem>;
|
6 | breadcrumbMap: Map<string, MenuDataItem>;
|
7 | menuData: MenuDataItem[];
|
8 | };
|
9 | export { getMenuData };
|