/**
 * i18n translation assets barrel — system-i18n.
 *
 * Re-exports the raw JSON translation resources and the supported locale list.
 * Import as: `import { translations, supportedLocales } from '@zync/ui/i18n'`
 *
 * NOTE: consuming apps must also call `i18n.use(initReactI18next).init(...)` in
 * their entry point (see apps/zync-app/src/i18n.ts).
 */
import en from './en.json'
import he from './he.json'

export const translations = { en, he } as const
export const supportedLocales = ['en', 'he'] as const
export type SupportedLocale = (typeof supportedLocales)[number]

export { en, he }

// RTL / locale runtime
export { LocaleProvider, useLocale } from './LocaleProvider'
export { useDirection } from './useDirection'
export { contractorPortalCsvHeaders } from './contractor-portal-csv'
