1 | import type { ILocalesConfig, IRouteMeta, ISidebarGroup } from './types';
|
2 | export declare const getLocaleClearPath: (routePath: string, locale: ILocalesConfig[0]) => string;
|
3 |
|
4 |
|
5 |
|
6 | export declare function getRouteParentPath(path: string, { meta, is2LevelNav, locale, }: {
|
7 | meta?: IRouteMeta;
|
8 | is2LevelNav: boolean;
|
9 | locale: ILocalesConfig[0];
|
10 | }): string;
|
11 |
|
12 |
|
13 |
|
14 | export declare const useFullSidebarData: () => Record<string, ISidebarGroup[]>;
|
15 | interface ITreeSidebarLeaf {
|
16 | path: string;
|
17 | title: string;
|
18 | order: number;
|
19 | children: (ITreeSidebarLeaf | ISidebarGroup)[];
|
20 | }
|
21 |
|
22 |
|
23 |
|
24 | export declare const useTreeSidebarData: () => ITreeSidebarLeaf[];
|
25 |
|
26 |
|
27 |
|
28 | export declare const useSidebarData: () => ISidebarGroup[];
|
29 | export {};
|