1 | import type { MenuDataItem } from './typings';
|
2 | import type { ProSettings } from './defaultSettings';
|
3 | export declare const matchParamsPath: (pathname: string, breadcrumb?: Record<string, MenuDataItem> | undefined, breadcrumbMap?: Map<string, MenuDataItem> | undefined) => MenuDataItem;
|
4 | export declare type GetPageTitleProps = {
|
5 | pathname?: string;
|
6 | breadcrumb?: Record<string, MenuDataItem>;
|
7 | breadcrumbMap?: Map<string, MenuDataItem>;
|
8 | menu?: ProSettings['menu'];
|
9 | title?: ProSettings['title'];
|
10 | pageName?: string;
|
11 | formatMessage?: (data: {
|
12 | id: any;
|
13 | defaultMessage?: string;
|
14 | }) => string;
|
15 | };
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 | declare const getPageTitleInfo: (props: GetPageTitleProps, ignoreTitle?: boolean | undefined) => {
|
23 | title: string;
|
24 | id: string;
|
25 | pageName: string;
|
26 | };
|
27 | export { getPageTitleInfo };
|
28 | declare const getPageTitle: (props: GetPageTitleProps, ignoreTitle?: boolean | undefined) => string;
|
29 | export default getPageTitle;
|