UNPKG

dumi-theme-nocobase

Version:
10 lines (9 loc) 341 B
import { useSiteData } from 'dumi'; type ILocaleItem = ReturnType<typeof useSiteData>['locales'][0]; export declare function getTargetLocalePath({ pathname, current, target }: { pathname?: string; current: ILocaleItem; target: ILocaleItem; }): string; export declare const removeTitleCode: (title?: string) => string; export {};