9 lines
334 B
TypeScript
9 lines
334 B
TypeScript
|
import type { NavEntryInfo } from '@sup39/mdx-nav';
|
||
|
import { I18N, translate } from './i18n';
|
||
|
export type I18NNavEntryInfo = {
|
||
|
label: I18N<string>;
|
||
|
link: string;
|
||
|
children?: I18NNavEntryInfo[];
|
||
|
};
|
||
|
export declare function translateNav(nav18: I18NNavEntryInfo[], localeInfo: Parameters<typeof translate>[1]): NavEntryInfo[];
|