import { type NormalizedLocales } from '@rspress/shared'; /** * @deprecated should use useSite and useLang instead * * ```ts * const site = useSite(); * const lang = useLang(); * const locales = site.themeConfig.locales; * const localeInfo = locales?.find((locale) => locale.lang === lang); * ``` * * For i18n text: * ```ts * const t = useI18n(); *