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<string, MenuDataItem>;
    formatMessage?: (message: MessageDescriptor) => string;
    breadcrumbRender?: WithFalse<(routers: LayoutItemType[]) => LayoutItemType[]>;
    itemRender?: BreadcrumbProps['itemRender'];
}
export declare function getBreadcrumb(breadcrumbMap: Map<string, MenuDataItem>, url: string): MenuDataItem;
export declare function getBreadcrumbFromProps(props: BreadcrumbProLayoutProps): {
    location: BreadcrumbProLayoutProps['location'];
    breadcrumbMap: BreadcrumbProLayoutProps['breadcrumbMap'];
};
export type BreadcrumbListReturn = Pick<BreadcrumbProps, Extract<keyof BreadcrumbProps, 'items' | 'itemRender'>>;
export declare function genBreadcrumbProps(props: BreadcrumbProLayoutProps): LayoutItemType[];
export declare function getBreadcrumbProps(props: Omit<BreadcrumbProLayoutProps, 'breadcrumbRender'> & {
    breadcrumbRender?: WithFalse<(routers: LayoutItemType[]) => LayoutItemType[]>;
}, layoutPros: ProLayoutProps): BreadcrumbListReturn;
