interface Translations { search: string; searchNoResult: string; toc: string; tocNoHeadings: string; lastUpdate: string; chooseLanguage: string; nextPage: string; previousPage: string; chooseTheme: string; editOnGithub: string; } interface LocaleItem { name: string; locale: string; } interface I18nContextType { locale?: string; onChange?: (v: string) => void; text: Translations; locales?: LocaleItem[]; } declare function useI18n(): I18nContextType; export { type LocaleItem as L, type Translations as T, useI18n as u };