import type { MenuDataItem, MessageDescriptor, Route } from '../typing';
interface MenuReturnType {
    breadcrumb: Record<string, MenuDataItem>;
    breadcrumbMap: Map<string, MenuDataItem>;
    menuData: MenuDataItem[];
}
declare function getMenuData(routes: readonly Route[], menu?: {
    locale?: boolean;
}, formatMessage?: (message: MessageDescriptor) => string, menuDataRender?: (menuData: MenuDataItem[]) => MenuDataItem[]): MenuReturnType;
export { getMenuData };
