import type { BreadcrumbProps } from 'ant-design-vue'; import type { ProSettings } from '../defaultSettings'; import type { ProLayoutProps } from '../ProLayout'; import type { LayoutItemType, MenuDataItem, MessageDescriptor, WithFalse } from '../typing'; export interface BreadcrumbProLayoutProps { breadcrumbList?: Array<{ title: string; href: string; }>; home?: string; location?: Location | { pathname?: string; }; menu?: ProSettings['menu']; breadcrumbMap?: Map; formatMessage?: (message: MessageDescriptor) => string; breadcrumbRender?: WithFalse<(routers: LayoutItemType[]) => LayoutItemType[]>; itemRender?: BreadcrumbProps['itemRender']; } export declare function getBreadcrumb(breadcrumbMap: Map, url: string): MenuDataItem; export declare function getBreadcrumbFromProps(props: BreadcrumbProLayoutProps): { location: BreadcrumbProLayoutProps['location']; breadcrumbMap: BreadcrumbProLayoutProps['breadcrumbMap']; }; export type BreadcrumbListReturn = Pick>; export declare function genBreadcrumbProps(props: BreadcrumbProLayoutProps): LayoutItemType[]; export declare function getBreadcrumbProps(props: Omit & { breadcrumbRender?: WithFalse<(routers: LayoutItemType[]) => LayoutItemType[]>; }, layoutPros: ProLayoutProps): BreadcrumbListReturn;