// Type Imports
import type { Locale } from '@configs/i18n'

const dictionaries = {
  en: () => import('@/data/dictionaries/en.json').then(module => module.default),
  id: () => import('@/data/dictionaries/id.json').then(module => module.default)
}

export const getDictionary = async (locale: Locale) => dictionaries[locale]()
